]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix i386 exp missing underflows (bug 18961).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-14 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18875]
4 [BZ #18961]
5 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6 (MO): New macro.
7 (__ieee754_exp): For small results, force underflow exception and
8 remove excess range and precision from return value.
9 (__exp_finite): Likewise.
10 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11 (MO): New macro.
12 (__ieee754_expf): For small results, force underflow exception and
13 remove excess range and precision from return value.
14 (__expf_finite): Likewise.
15 * math/auto-libm-test-in: Add more tests of exp.
16 * math/auto-libm-test-out: Regenerated.
17
18 [BZ #16521]
19 [BZ #18875]
20 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
21 small results.
22 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23 (MO): New macro.
24 (__ieee754_exp2): For small results, force underflow exception and
25 remove excess range and precision from return value.
26 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27 (MO): New macro.
28 (__ieee754_exp2f): For small results, force underflow exception
29 and remove excess range and precision from return value.
30 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31 (MO): New macro.
32 (__ieee754_exp2l): Force underflow exception for small results.
33 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
36 (MO): New macro.
37 (__ieee754_exp2l): Force underflow exception for small results.
38 * math/auto-libm-test-in: Add more tests or exp2.
39 * math/auto-libm-test-out: Regenerated.
40
41 2015-09-14 Carlos O'Donell <carlos@redhat.com>
42
43 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
44
45 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
46 /dev/null.
47
48 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
49
50 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
51 io fs process)): Drop spurious backslash.
52
53 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
54
55 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
56 Use sysinfo system call instead of parsing /proc/meminfo.
57 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
58 Likewise.
59
60 2015-09-11 Mike Frysinger <vapier@gentoo.org>
61
62 [BZ #16985]
63 * programs/localedef.c (main): Display argv[remaining] when
64 output_path is NULL.
65
66 2015-09-11 Joseph Myers <joseph@codesourcery.com>
67
68 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
69 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
70 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
71 tanh.
72 * math/auto-libm-test-out: Regenerated.
73 * sysdeps/i386/fpu/libm-test-ulps: Update.
74 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
75 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
76 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77
78 2015-09-11 Roland McGrath <roland@hack.frob.com>
79
80 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
81 Use 'override' keyword to freeze the value here, preventing
82 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
83
84 2015-09-11 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #14912]
87 * sysdeps/aarch64/bits/atomic.h: Move to ...
88 * sysdeps/aarch64/atomic-machine.h: ...here.
89 (_AARCH64_BITS_ATOMIC_H): Rename macro to
90 _AARCH64_ATOMIC_MACHINE_H.
91 * sysdeps/alpha/bits/atomic.h: Move to ...
92 * sysdeps/alpha/atomic-machine.h: ...here.
93 * sysdeps/arm/bits/atomic.h: Move to ...
94 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
95 * bits/atomic.h: Move to ...
96 * sysdeps/generic/atomic-machine.h: ...here.
97 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
98 * sysdeps/i386/bits/atomic.h: Move to ...
99 * sysdeps/i386/atomic-machine.h: ...here.
100 * sysdeps/ia64/bits/atomic.h: Move to ...
101 * sysdeps/ia64/atomic-machine.h: ...here.
102 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
103 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
104 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
105 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
106 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
107 * sysdeps/microblaze/bits/atomic.h: Move to ...
108 * sysdeps/microblaze/atomic-machine.h: ...here.
109 * sysdeps/mips/bits/atomic.h: Move to ...
110 * sysdeps/mips/atomic-machine.h: ...here.
111 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
112 * sysdeps/powerpc/bits/atomic.h: Move to ...
113 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
114 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
115 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
116 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
117 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
118 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
119 <atomic-machine.h> instead of <bits/atomic.h>.
120 * sysdeps/s390/bits/atomic.h: Move to ...
121 * sysdeps/s390/atomic-machine.h: ...here.
122 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
123 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
124 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
125 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
126 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
127 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
128 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
129 * sysdeps/tile/bits/atomic.h: Move to ...
130 * sysdeps/tile/atomic-machine.h: ...here.
131 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
132 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
133 <sysdeps/tile/atomic-machine.h> instead of
134 <sysdeps/tile/bits/atomic.h>.
135 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
136 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
137 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
138 <sysdeps/tile/atomic-machine.h> instead of
139 <sysdeps/tile/bits/atomic.h>.
140 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
141 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
142 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
143 <sysdeps/arm/atomic-machine.h> instead of
144 <sysdeps/arm/bits/atomic.h>.
145 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
146 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
147 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
148 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
149 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
150 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
151 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
152 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
153 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
154 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
155 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
156 * sysdeps/x86_64/bits/atomic.h: Move to ...
157 * sysdeps/x86_64/atomic-machine.h: ...here.
158 * include/atomic.h: Include <atomic-machine.h> instead of
159 <bits/atomic.h>.
160
161 * sysdeps/mips/mips32/libm-test-ulps: Update.
162 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
163
164 [BZ #18952]
165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
166 not convert non-integer negative arguments to int to determine the
167 value of signgam.
168 * math/auto-libm-test-in: Add more tests of lgamma.
169 * math/auto-libm-test-out: Regenerated.
170
171 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
172 cosh, csqrt, erfc, expm1 and lgamma.
173 * math/auto-libm-test-out: Regenerated.
174 * sysdeps/i386/fpu/libm-test-ulps: Update.
175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176
177 2015-09-10 Joseph Myers <joseph@codesourcery.com>
178
179 [BZ #2542]
180 [BZ #2543]
181 [BZ #2558]
182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
183 __lgamma_neg for arguments from -28.0 to -2.0.
184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
185 __lgamma_negf for arguments from -15.0 to -2.0.
186 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
187 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
188 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
189 Call __lgamma_negl for arguments from -33.0 to -2.0.
190 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
191 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
192 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
193 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
198 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
199 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
200 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
201 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
202 (__lgamma_neg): Likewise.
203 (__lgamma_negl): Likewise.
204 (__lgamma_product): Likewise.
205 (__lgamma_productl): Likewise.
206 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
207 * math/auto-libm-test-in: Add more tests of lgamma.
208 * math/auto-libm-test-out: Regenerated.
209 * sysdeps/i386/fpu/libm-test-ulps: Update.
210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
211
212 2015-09-09 Justin Maggard <jmaggard@netgear.com>
213
214 [BZ #18675]
215 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
216
217 2015-09-08 Joseph Myers <joseph@codesourcery.com>
218
219 [BZ #14912]
220 * bits/libc-lock.h: Move to ...
221 * sysdeps/generic/libc-lock.h: ...here.
222 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
223 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
224 * sysdeps/mach/hurd/libc-lock.h: ...here.
225 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
226 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
227 * sysdeps/mach/bits/libc-lock.h: Move to ...
228 * sysdeps/mach/libc-lock.h: ...here.
229 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
230 * sysdeps/nptl/bits/libc-lock.h: Move to ...
231 * sysdeps/nptl/libc-lock.h: ...here.
232 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
233 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
234 * sysdeps/nptl/libc-lockP.h: ...here.
235 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
236 * crypt/crypt_util.c: Include <libc-lock.h> instead of
237 <bits/libc-lock.h>.
238 * dirent/scandir-tail.c: Likewise.
239 * dlfcn/dlerror.c: Likewise.
240 * elf/dl-close.c: Likewise.
241 * elf/dl-iteratephdr.c: Likewise.
242 * elf/dl-lookup.c: Likewise.
243 * elf/dl-open.c: Likewise.
244 * elf/dl-support.c: Likewise.
245 * elf/dl-writev.h: Likewise.
246 * elf/rtld.c: Likewise.
247 * grp/fgetgrent.c: Likewise.
248 * gshadow/fgetsgent.c: Likewise.
249 * gshadow/sgetsgent.c: Likewise.
250 * iconv/gconv_conf.c: Likewise.
251 * iconv/gconv_db.c: Likewise.
252 * iconv/gconv_dl.c: Likewise.
253 * iconv/gconv_int.h: Likewise.
254 * iconv/gconv_trans.c: Likewise.
255 * include/link.h: Likewise.
256 * inet/getnameinfo.c: Likewise.
257 * inet/getnetgrent.c: Likewise.
258 * inet/getnetgrent_r.c: Likewise.
259 * intl/bindtextdom.c: Likewise.
260 * intl/dcigettext.c: Likewise.
261 * intl/finddomain.c: Likewise.
262 * intl/gettextP.h: Likewise.
263 * intl/loadmsgcat.c: Likewise.
264 * intl/localealias.c: Likewise.
265 * intl/textdomain.c: Likewise.
266 * libidn/idn-stub.c: Likewise.
267 * libio/libioP.h: Likewise.
268 * locale/duplocale.c: Likewise.
269 * locale/freelocale.c: Likewise.
270 * locale/newlocale.c: Likewise.
271 * locale/setlocale.c: Likewise.
272 * login/getutent_r.c: Likewise.
273 * login/getutid_r.c: Likewise.
274 * login/getutline_r.c: Likewise.
275 * login/utmp-private.h: Likewise.
276 * login/utmpname.c: Likewise.
277 * malloc/mtrace.c: Likewise.
278 * misc/efgcvt.c: Likewise.
279 * misc/error.c: Likewise.
280 * misc/fstab.c: Likewise.
281 * misc/getpass.c: Likewise.
282 * misc/mntent.c: Likewise.
283 * misc/syslog.c: Likewise.
284 * nis/nis_call.c: Likewise.
285 * nis/nis_callback.c: Likewise.
286 * nis/nss-default.c: Likewise.
287 * nis/nss_compat/compat-grp.c: Likewise.
288 * nis/nss_compat/compat-initgroups.c: Likewise.
289 * nis/nss_compat/compat-pwd.c: Likewise.
290 * nis/nss_compat/compat-spwd.c: Likewise.
291 * nis/nss_nis/nis-alias.c: Likewise.
292 * nis/nss_nis/nis-ethers.c: Likewise.
293 * nis/nss_nis/nis-grp.c: Likewise.
294 * nis/nss_nis/nis-hosts.c: Likewise.
295 * nis/nss_nis/nis-network.c: Likewise.
296 * nis/nss_nis/nis-proto.c: Likewise.
297 * nis/nss_nis/nis-pwd.c: Likewise.
298 * nis/nss_nis/nis-rpc.c: Likewise.
299 * nis/nss_nis/nis-service.c: Likewise.
300 * nis/nss_nis/nis-spwd.c: Likewise.
301 * nis/nss_nisplus/nisplus-alias.c: Likewise.
302 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
303 * nis/nss_nisplus/nisplus-grp.c: Likewise.
304 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
305 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
306 * nis/nss_nisplus/nisplus-network.c: Likewise.
307 * nis/nss_nisplus/nisplus-proto.c: Likewise.
308 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
309 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
310 * nis/nss_nisplus/nisplus-service.c: Likewise.
311 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
312 * nis/ypclnt.c: Likewise.
313 * nptl/libc_pthread_init.c: Likewise.
314 * nss/getXXbyYY.c: Likewise.
315 * nss/getXXent.c: Likewise.
316 * nss/getXXent_r.c: Likewise.
317 * nss/nss_db/db-XXX.c: Likewise.
318 * nss/nss_db/db-netgrp.c: Likewise.
319 * nss/nss_db/nss_db.h: Likewise.
320 * nss/nss_files/files-XXX.c: Likewise.
321 * nss/nss_files/files-alias.c: Likewise.
322 * nss/nsswitch.c: Likewise.
323 * posix/regex_internal.h: Likewise.
324 * posix/wordexp.c: Likewise.
325 * pwd/fgetpwent.c: Likewise.
326 * resolv/res_hconf.c: Likewise.
327 * resolv/res_libc.c: Likewise.
328 * shadow/fgetspent.c: Likewise.
329 * shadow/lckpwdf.c: Likewise.
330 * shadow/sgetspent.c: Likewise.
331 * socket/opensock.c: Likewise.
332 * stdio-common/reg-modifier.c: Likewise.
333 * stdio-common/reg-printf.c: Likewise.
334 * stdio-common/reg-type.c: Likewise.
335 * stdio-common/vfprintf.c: Likewise.
336 * stdio-common/vfscanf.c: Likewise.
337 * stdlib/abort.c: Likewise.
338 * stdlib/cxa_atexit.c: Likewise.
339 * stdlib/fmtmsg.c: Likewise.
340 * stdlib/random.c: Likewise.
341 * stdlib/setenv.c: Likewise.
342 * string/strsignal.c: Likewise.
343 * sunrpc/auth_none.c: Likewise.
344 * sunrpc/bindrsvprt.c: Likewise.
345 * sunrpc/create_xid.c: Likewise.
346 * sunrpc/key_call.c: Likewise.
347 * sunrpc/rpc_thread.c: Likewise.
348 * sysdeps/arm/backtrace.c: Likewise.
349 * sysdeps/generic/ldsodefs.h: Likewise.
350 * sysdeps/generic/stdio-lock.h: Likewise.
351 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
352 * sysdeps/i386/backtrace.c: Likewise.
353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
354 * sysdeps/m68k/backtrace.c: Likewise.
355 * sysdeps/mach/hurd/cthreads.c: Likewise.
356 * sysdeps/mach/hurd/dirstream.h: Likewise.
357 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
358 * sysdeps/nptl/malloc-machine.h: Likewise.
359 * sysdeps/nptl/stdio-lock.h: Likewise.
360 * sysdeps/posix/dirstream.h: Likewise.
361 * sysdeps/posix/getaddrinfo.c: Likewise.
362 * sysdeps/posix/system.c: Likewise.
363 * sysdeps/pthread/aio_suspend.c: Likewise.
364 * sysdeps/s390/s390-32/backtrace.c: Likewise.
365 * sysdeps/s390/s390-64/backtrace.c: Likewise.
366 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
367 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
368 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
369 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
370 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
371 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
372 * sysdeps/unix/sysv/linux/system.c: Likewise.
373 * sysdeps/x86_64/backtrace.c: Likewise.
374 * time/alt_digit.c: Likewise.
375 * time/era.c: Likewise.
376 * time/tzset.c: Likewise.
377 * wcsmbs/wcsmbsload.c: Likewise.
378 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
379 instead of <bits/libc-lock.h> in comment.
380
381 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
382
383 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
384 Only use .set mips2 if the current ISA is below mips2.
385 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
386 Likewise.
387 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
388 mips32r2 if the current ISA is below mips32r2.
389 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
390 (TLS_IE): Updated to use the TLD_RDHWR macro.
391 (TLS_LE): Likewise.
392 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
393 __ASSEMBLER__ condition.
394
395 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
396
397 Fix parallel build of before-compile targets.
398
399 * sysdeps/mach/Makefile ($(patsubst
400 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
401 mach-before-compile target.
402 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
403 io fs process)): Move rule to dedicated hurd-before-compile target.
404
405 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
406
407 Fix rules generating headers in hurd/ and mach/ when initial make call
408 has subdir= explicitly set.
409
410 * sysdeps/mach/Makefile ($(patsubst
411 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
412 calling $(MAKE).
413 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
414 io fs process)): Force subdir to hurd when calling $(MAKE).
415 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
416 subdir to mach when calling $(MAKE).
417
418 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
419
420 Check sysheaders when looking for Mach and Hurd headers
421
422 * sysdeps/mach/configure.ac: Add sysheaders check.
423 * sysdeps/mach/configure: Regenerate.
424 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
425 * sysdeps/mach/hurd/configure: Regenerate.
426
427 2015-09-04 Roland McGrath <roland@hack.frob.com>
428
429 [BZ #18921]
430 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
431 Fix inverted sense of test of 'o_directory_works' value.
432 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
433 Bernhard Voelker <mail@bernhard-voelker.de>.
434
435 2015-09-04 Joseph Myers <joseph@codesourcery.com>
436
437 [BZ #14912]
438 * bits/linkmap.h: Move to ...
439 * sysdeps/generic/linkmap.h: ...here.
440 * sysdeps/aarch64/bits/linkmap.h: Move to ...
441 * sysdeps/aarch64/linkmap.h: ...here.
442 * sysdeps/arm/bits/linkmap.h: Move to ...
443 * sysdeps/arm/linkmap.h: ...here.
444 * sysdeps/hppa/bits/linkmap.h: Move to ...
445 * sysdeps/hppa/linkmap.h: ...here.
446 * sysdeps/ia64/bits/linkmap.h: Move to ...
447 * sysdeps/ia64/linkmap.h: ...here.
448 * sysdeps/mips/bits/linkmap.h: Move to ...
449 * sysdeps/mips/linkmap.h: ...here.
450 * sysdeps/s390/bits/linkmap.h: Move to ...
451 * sysdeps/s390/linkmap.h: ...here.
452 * sysdeps/sh/bits/linkmap.h: Move to ...
453 * sysdeps/sh/linkmap.h: ...here.
454 * sysdeps/x86/bits/linkmap.h: Move to ...
455 * sysdeps/x86/linkmap.h: ...here.
456 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
457
458 2015-09-04 Andreas Schwab <schwab@suse.de>
459
460 [BZ #18635]
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
462 (__makecontext): Terminate FDE before return label.
463 (__novec_makecontext): Likewise.
464
465 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
466
467 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
468 first member of struct sv in syscall macro.
469
470 2015-09-04 Joseph Myers <joseph@codesourcery.com>
471
472 [BZ #14912]
473 * bits/stdio-lock.h: Move to ...
474 * sysdeps/generic/stdio-lock.h: ...here.
475 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
476 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
477 * sysdeps/nptl/stdio-lock.h: ...here.
478 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
479 * include/libio.h: Include <stdio-lock.h> instead of
480 <bits/stdio-lock.h>.
481 * sysdeps/nptl/fork.c: Likewise.
482 * sysdeps/pthread/flockfile.c: Likewise.
483 * sysdeps/pthread/ftrylockfile.c: Likewise.
484 * sysdeps/pthread/funlockfile.c: Likewise.
485
486 [BZ #14912]
487 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
488 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
489 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
490 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
491 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
492 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
493 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
494
495 2015-09-03 Roland McGrath <roland@hack.frob.com>
496
497 * elf/Makefile (test-xfail-tst-protected1a): New variable.
498 (test-xfail-tst-protected1b): New variable.
499
500 2015-09-03 Joseph Myers <joseph@codesourcery.com>
501
502 [BZ #14912]
503 * bits/libc-tsd.h: Move to ...
504 * sysdeps/generic/libc-tsd.h: ...here.
505 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
506 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
507 * sysdeps/mach/hurd/libc-tsd.h: ...here.
508 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
509 * include/ctype.h: Include <libc-tsd.h> instead of
510 <bits/libc-tsd.h>.
511 * include/rpc/rpc.h: Likewise.
512 * locale/localeinfo.h: Likewise.
513 * sunrpc/rpc_thread.c: Likewise.
514 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
515 * sysdeps/nptl/malloc-machine.h: Likewise.
516
517 * Makefile (headers): Remove bits/libc-lock.h.
518 * libio/Makefile (headers): Remove bits/stdio-lock.h.
519
520 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
521 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
522 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
523 <bits/stdio-lock.h>.
524 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
525 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
526
527 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
528
529 [BZ #18757]
530 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
531 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
532 BZ #18757.
533
534 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
535
536 * malloc/mtrace.pl: Filter out NULL entries.
537
538 2015-09-01 Joseph Myers <joseph@codesourcery.com>
539
540 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
541 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
542 macro.
543
544 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
545 (TCP_CC_INFO): Likewise.
546 (TCP_SAVE_SYN): Likewise.
547 (TCP_SAVED_SYN): Likewise.
548
549 2015-08-31 Brett Neumeier <brett@neumeier.us>
550
551 [BZ #18870]
552 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
553
554 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
555
556 [BZ #18873]
557 Fix broken overflow check in posix_fallocate
558 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
559 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
560 Fix parenthesization typo.
561
562 2015-08-28 Mike Frysinger <vapier@gentoo.org>
563
564 [BZ #18887]
565 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
566 tst-mntent-blank-passno.
567 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
568 * misc/tst-mntent-blank-corrupt.c: New test.
569 * misc/tst-mntent-blank-passno.c: New test ripped from ...
570 * misc/tst-mntent.c (do_test): ... here.
571
572 2015-08-29 Mike Frysinger <vapier@gentoo.org>
573
574 [BZ #4404]
575 * po/de.po: Fix SIGALRM typo.
576
577 2015-08-28 James Perkins <james@loowit.net>
578
579 * time/tst-strptime2.c (tests): Replace short list of test
580 strings for strptime %z specifier with code which exhaustively
581 tests every combination of sign and 0 to 5 digits. Tests for
582 rejection of invalid strings.
583
584 2015-08-28 James Perkins <james@loowit.net>
585
586 [BZ #16141]
587 * time/strptime_l.c (__strptime_internal): Fix %z minutes
588 calculation, removing incorrect decimal time rounding, so that
589 all minute values result in a valid seconds value.
590 * time/strptime_l.c (__strptime_internal): Extend %z time zone
591 offset range limits to UTC-99:59 through UTC+99:59 to parse
592 current and historical use cases.
593 * time/tst-strptime2.c (tests): Modify and add tests for the
594 strptime %z input field descriptor, specifically conversion of
595 minutes to seconds and validating an offset range of -9959 to
596 +9959.
597
598 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
599 Dmitry V. Levin <ldv@altlinux.org>
600
601 [BZ #18877]
602 * posix/Makefile (tests): Add tst-mmap-offset.
603 * posix/tst-mmap.c: New file.
604 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
605 offset calculation for negative values.
606
607 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
608
609 * sysdeps/i386/init-arch.h: New file.
610 * sysdeps/i386/i586/init-arch.h: Likewise.
611 * sysdeps/i386/i686/init-arch.h: Likewise.
612 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
613 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
614 * sysdeps/x86/cpu-features.h (bit_I586): New.
615 (bit_I686): Likewise.
616 (bit_CX8): Likewise.
617 (bit_CMOV): Likewise.
618 (index_CX8): Likewise.
619 (index_CMOV): Likewise.
620 (index_I586): Likewise.
621 (index_I686): Likewise.
622 (reg_CX8): Likewise.
623 (reg_CMOV): Likewise.
624 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
625 available at compile-time.
626 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
627 available at compile-time.
628 * sysdeps/x86/init-arch.h (USE_I586): New macro.
629 (USE_I686): Likewise.
630
631 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
632
633 * sysdeps/i386/bcopy.S: New file.
634 * sysdeps/i386/bzero.S: Likewise.
635 * sysdeps/i386/memcpy.S: Likewise.
636 * sysdeps/i386/memmove.S: Likewise.
637 * sysdeps/i386/mempcpy.S: Likewise.
638 * sysdeps/i386/memset.S: Likewise.
639 * sysdeps/i386/bzero.c: Removed.
640 * sysdeps/i386/memset.c: Likewise.
641 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
642 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
643 * sysdeps/i386/i586/memset_chk.S: Likewise.
644 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
645 * sysdeps/i386/memcpy_chk.S: Here.
646 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
647 * sysdeps/i386/memmove_chk.S: Here.
648 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
649 * sysdeps/i386/mempcpy_chk.S: Likewise.
650 * sysdeps/i386/i686/memset_chk.S: Moved to ...
651 * sysdeps/i386/memset_chk.S: Likewise.
652
653 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
654
655 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
656 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
657 file, move DIAG_POP_NEEDS_COMMENT to end of file.
658 * soft-fp/fmadf4.c: Ditto.
659 * soft-fp/fmatf4.c: Ditto.
660
661 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
662
663 * sysdeps/i386/i586/Implies: Removed.
664 * sysdeps/i386/i686/Implies: Likewise.
665
666 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
667
668 * sysdeps/i386/i486/strlen.S: Moved to ...
669 * sysdeps/i386/strlen.S: Here.
670
671 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
672
673 * sysdeps/i386/i486/strcat.S: Moved to ...
674 * sysdeps/i386/strcat.S: Here.
675
676 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
677
678 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
679 * sysdeps/i386/pthread_spin_trylock.S: Here.
680 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
681 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
682
683 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
684
685 * sysdeps/i386/i486/string-inlines.c: Moved to ...
686 * sysdeps/i386/string-inlines.c: Here.
687
688 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
689
690 * sysdeps/i386/i486/htonl.S: Moved ...
691 * sysdeps/i386/htonl.S: here.
692
693 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
696 * sysdeps/i386/bits/atomic.h: Here.
697
698 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/i386/i486/Versions: Removed.
701
702 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
703
704 [BZ #2898]
705 * misc/mktemp.c: Add mkdtemp to the link_warning message.
706 Based on patch by Aurelien Jarno.
707
708 2015-08-26 Stan Shebs <stanshebs@google.com>
709
710 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
711 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
712
713 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
714
715 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
716 * sysdeps/powerpc/dl-procinfo.c:
717 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
718 feature so it shows when LD_SHOW_AUXV=1.
719
720 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
721
722 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
723 (__arch_compare_and_exchange_val_32_acq): Remove and use common
724 definition. ISA 2.07B no longer requires full sync.
725
726 2015-08-26 Mike Frysinger <vapier@gentoo.org>
727
728 [BZ #18863]
729 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
730 (si_call_addr): Define.
731 (si_syscall): Define.
732 (si_arch): Define.
733
734 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
735
736 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
737 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
738 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
739 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
740 (__memset_zero_constant_len_parameter): New.
741 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
742 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
743 (__memset_zero_constant_len_parameter): Don't define if
744 __memset_chk or USE_AS_BZERO are defined.
745
746 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
747 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
748 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
749
750 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
751 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
752 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
753 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
754 comments.
755 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
756 -mno-mmx for $(all-rtld-routines).
757 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
758 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
759 i386.
760
761 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
762
763 * sysdeps/generic/unwind.h
764 (_Unwind_Word): Use __mode__(__unwind_word__)
765 instead of __mode__(__word__).
766 (_Unwind_Sword): Likewise.
767
768 * sysdeps/s390/s390-64/utf8-utf16-z9.c
769 (MAX_NEEDED_INPUT): New define.
770 (MAX_NEEDED_OUTPUT): New define.
771
772 * NEWS: New item for IBM z13 string optimizations.
773
774 * sysdeps/s390/multiarch/memrchr-c.c: New File.
775 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
776 * sysdeps/s390/multiarch/memrchr.c: Likewise.
777 * sysdeps/s390/multiarch/Makefile
778 (sysdep_routines): Add memrchr functions.
779 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
780 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
781
782 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
783 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
784 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
785 * sysdeps/s390/multiarch/Makefile
786 (sysdep_routines): Add wmemcmp functions.
787 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
788 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
789 * benchtests/bench-wmemcmp.c: New File.
790 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
791
792 * sysdeps/s390/multiarch/wmemset-c.c: New File.
793 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
794 * sysdeps/s390/multiarch/wmemset.c: Likewise.
795 * sysdeps/s390/multiarch/Makefile
796 (sysdep_routines): Add wmemset functions.
797 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
798 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
799 * wcsmbs/wmemset.c: Use WMEMSET if defined.
800 * string/test-memset.c: Add wmemset support.
801 * wcsmbs/test-wmemset.c: New File.
802 * wcsmbs/Makefile (strop-tests): Add wmemset.
803 * benchtests/bench-memset.c: Add wmemset support.
804 * benchtests/bench-wmemset.c: New File.
805 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
806
807 * sysdeps/s390/multiarch/memccpy-c.c: New File.
808 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
809 * sysdeps/s390/multiarch/memccpy.c: Likewise.
810 * sysdeps/s390/multiarch/Makefile
811 (sysdep_routines): Add memccpy functions.
812 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
813 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
814 * string/memccpy.c: Use MEMCCPY if defined.
815
816 * sysdeps/s390/multiarch/memchr-vx.S: New File.
817 * sysdeps/s390/multiarch/memchr.c: Likewise.
818 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
819 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
820 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
821 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
822 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
823 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
824 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
825 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
826 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
827 and rawmemchr functions.
828 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
829 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
830 and wmemchr.
831 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
832 * string/test-memchr.c: Add wmemchr support.
833 * wcsmbs/test-wmemchr.c: New File.
834 * wcsmbs/Makefile (strop-tests): Add wmemchr.
835 * benchtests/bench-memchr.c: Add wmemchr support.
836 * benchtests/bench-wmemchr.c: New File.
837 * benchtests/Makefile (wcsmbs-bench): wmemchr.
838
839 * sysdeps/s390/multiarch/strcspn-c.c: New File.
840 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
841 * sysdeps/s390/multiarch/strcspn.c: Likewise.
842 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
843 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
844 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
845 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
846 wcscspn functions.
847 * sysdeps/s390/multiarch/ifunc-impl-list.c
848 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
849 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
850 * string/test-strcspn.c: Add wcscspn support.
851 * wcsmbs/test-wcscspn.c: New File.
852 * wcsmbs/Makefile (strop-tests): Add wcscspn.
853 * benchtests/bench-strcspn.c: Add wcscspn support.
854 * benchtests/bench-wcscspn.c: New File.
855 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
856
857 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
858 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
859 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
860 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
861 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
862 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
863 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
864 wcspbrk functions.
865 * sysdeps/s390/multiarch/ifunc-impl-list.c
866 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
867 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
868 * string/test-strpbrk.c: Add wcspbrk support.
869 * wcsmbs/test-wcspbrk.c: New File.
870 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
871 * benchtests/bench-strpbrk.c: Add wcspbrk support.
872 * benchtests/bench-wcspbrk.c: New File.
873 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
874
875 * sysdeps/s390/multiarch/strspn-c.c: New File.
876 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
877 * sysdeps/s390/multiarch/strspn.c: Likewise.
878 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
879 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
880 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
881 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
882 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
883 wcsspn functions.
884 * sysdeps/s390/multiarch/ifunc-impl-list.c
885 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
886 * string/test-strspn.c: Add wcsspn support.
887 * wcsmbs/test-wcsspn.c: New File.
888 * wcsmbs/Makefile (strop-tests): Add wcsspn.
889 * benchtests/bench-strspn.c: Add wcsspn support.
890 * benchtests/bench-wcsspn.c: New File.
891 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
892
893 * sysdeps/s390/multiarch/strrchr-c.c: New File.
894 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
895 * sysdeps/s390/multiarch/strrchr.c: Likewise.
896 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
897 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
898 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
899 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
900 wcsrchr functions.
901 * sysdeps/s390/multiarch/ifunc-impl-list.c
902 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
903 * benchtests/bench-wcsrchr.c: New File.
904 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
905
906 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
907 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
908 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
909 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
910 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
911 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
912 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
913 wcschrnul functions.
914 * sysdeps/s390/multiarch/ifunc-impl-list.c
915 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
916 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
917 * string/test-strchr.c: Add wcschrnul support.
918 * wcsmbs/test-wcschrnul.c: New File.
919 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
920 * benchtests/bench-strchr.c: Add wcschrnul support.
921 * benchtests/bench-wcschrnul.c: New File.
922 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
923
924 * sysdeps/s390/multiarch/strchr-c.c: New File.
925 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
926 * sysdeps/s390/multiarch/strchr.c: Likewise.
927 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
928 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
929 * sysdeps/s390/multiarch/wcschr.c: Likewise.
930 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
931 wcschr functions.
932 * sysdeps/s390/multiarch/ifunc-impl-list.c
933 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
934 * string/strchr.c (STRCHR): Define and use macro.
935 * benchtests/bench-wcschr.c: New File.
936 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
937
938 * sysdeps/s390/multiarch/strncmp-c.c: New File.
939 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
940 * sysdeps/s390/multiarch/strncmp.c: Likewise.
941 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
942 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
943 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
944 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
945 wcsncmp functions.
946 * sysdeps/s390/multiarch/ifunc-impl-list.c
947 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
948 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
949 * benchtests/bench-strncmp.c: Add wcsncmp support.
950 * benchtests/bench-wcsncmp.c: New File.
951 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
952
953 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
954 * sysdeps/s390/multiarch/strcmp.c: Likewise.
955 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
956 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
957 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
958 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
959 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
960 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
961 wcscmp functions.
962 * sysdeps/s390/multiarch/ifunc-impl-list.c
963 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
964 * string/strcmp.c (STRCMP): Define and use macro.
965 * benchtests/bench-wcscmp.c: New File.
966 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
967 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
968 instead of _HAVE_STRING_ARCH_memchr.
969
970 * sysdeps/s390/multiarch/strncat-c.c: New File.
971 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
972 * sysdeps/s390/multiarch/strncat.c: Likewise.
973 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
974 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
975 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
976 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
977 wcsncat functions.
978 * sysdeps/s390/multiarch/ifunc-impl-list.c
979 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
980 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
981 * string/test-strncat.c: Add wcsncat support.
982 * wcsmbs/test-wcsncat.c: New File.
983 * wcsmbs/Makefile (strop-tests): Add wcsncat.
984 * benchtests/bench-strncat.c: Add wcsncat support.
985 * benchtests/bench-wcsncat.c: New File.
986 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
987
988 * sysdeps/s390/multiarch/strcat-c.c: New File.
989 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
990 * sysdeps/s390/multiarch/strcat.c: Likewise.
991 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
992 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
993 * sysdeps/s390/multiarch/wcscat.c: Likewise.
994 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
995 wcscat functions.
996 * sysdeps/s390/multiarch/ifunc-impl-list.c
997 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
998 * string/strcat.c (STRCAT): Define and use macro.
999 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1000 * string/test-strcat.c: Add wcscat support.
1001 * wcsmbs/test-wcscat.c: New File.
1002 * wcsmbs/Makefile (strop-tests): Add wcscat.
1003 * benchtests/bench-strcat.c: Add wcscat support.
1004 * benchtests/bench-wcscat.c: New File.
1005 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1006
1007 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1008 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1009 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1010 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1011 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1012 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1013 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1014 wcpncpy functions.
1015 * sysdeps/s390/multiarch/ifunc-impl-list.c
1016 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1017 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1018 * string/test-stpncpy.c: Add wcpncpy support.
1019 * wcsmbs/test-wcpncpy.c: New File.
1020 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1021 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1022 * benchtests/bench-wcpncpy.c: New File.
1023 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1024
1025 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1026 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1027 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1028 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1029 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1030 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1031 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1032 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1033 wcsncpy functions.
1034 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1035 * sysdeps/s390/multiarch/ifunc-impl-list.c
1036 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1037 * string/test-strncpy.c: Add wcsncpy support.
1038 * wcsmbs/test-wcsncpy.c: New File.
1039 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1040 * benchtests/bench-strncpy.c: Add wcsncpy support.
1041 * benchtests/bench-wcsncpy.c: New File.
1042 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1043
1044 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1045 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1046 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1047 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1048 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1049 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1050 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1051 wcpcpy functions.
1052 * string/stpcpy.c: Use STPCPY if defined.
1053 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1054 * sysdeps/s390/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1056 * string/test-stpcpy.c: Add wcpcpy support.
1057 * wcsmbs/test-wcpcpy.c: New File.
1058 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1059 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1060 * benchtests/bench-wcpcpy.c: New File.
1061 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1062
1063 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1064 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1065 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1066 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1067 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1068 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1069 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1070 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1071 wcscpy functions.
1072 * sysdeps/s390/multiarch/ifunc-impl-list.c
1073 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1074 * benchtests/bench-wcscpy.c: New File.
1075 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1076
1077 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1078 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1079 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1080 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1081 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1082 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1083 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1084 wcsnlen functions.
1085 * sysdeps/s390/multiarch/ifunc-impl-list.c
1086 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1087 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1088 * string/test-strnlen.c: Add wcsnlen support.
1089 * wcsmbs/test-wcsnlen.c: New File.
1090 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1091 * benchtests/bench-strnlen.c: Add wcsnlen support.
1092 * benchtests/bench-wcsnlen.c: New File.
1093 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1094
1095 * sysdeps/s390/multiarch/Makefile: New File.
1096 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1097 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1098 * sysdeps/s390/multiarch/strlen.c: Likewise.
1099 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1100 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1101 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1102 * string/strlen.c (STRLEN): Define and use macro.
1103 * sysdeps/s390/multiarch/ifunc-impl-list.c
1104 (IFUNC_VX_IMPL): New macro function.
1105 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1106 * benchtests/Makefile (wcsmbs-bench): New variable.
1107 (string-bench-all): Added wcsmbs-bench.
1108 * benchtests/bench-wcslen.c: New File.
1109
1110 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1111 s390_vx_libc_ifunc2): New macro function.
1112
1113 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1114 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1115 assembler support.
1116 * sysdeps/s390/configure: Regenerated.
1117
1118 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1119 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1120
1121 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1122 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1123 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1124
1125 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1126 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1127 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1128 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1129 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1130 (memcmp, bcmp): Use __memcmp_default as alias source.
1131 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1132 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1133 Rename to __memcmp_default.
1134 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1135 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1136 (memcpy): Use __memcpy_default as alias source.
1137 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1138 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1139 Rename to __memcpy_default.
1140 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1141 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1142 (memset): Use __memset_default as alias source.
1143 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1144 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1145 Rename to __memset_default.
1146 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1147 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1148 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1149 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1150 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1151 (memcmp, bcmp): Use __memcmp_default as alias source.
1152 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1153 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1154 Rename to __memcmp_default.
1155 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1156 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1157 (memcpy): Use __memcpy_default as alias source.
1158 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1159 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1160 Rename to __memcpy_default.
1161 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1162 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1163 (memset): Use __memset_default as alias source.
1164 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1165 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1166 Rename to __memset_default.
1167 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1168 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1169
1170 [BZ #18610]
1171 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1172 __ieee_instruction_pointer to __unused.
1173 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1174 __ieee_instruction_pointer.
1175 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1176 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1177 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1178 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1179 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1180 Mark dxc-field as reserved.
1181
1182 2015-08-25 Roland McGrath <roland@hack.frob.com>
1183
1184 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1185 if the weak reference is not null.
1186
1187 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1188
1189 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1190
1191 [BZ #11214]
1192 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1193
1194 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1195
1196 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1197 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1198 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1199 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1200 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1201 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1202 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1203 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1204 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1205 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1206 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1207 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1208 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1209 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1210 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1211 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1212 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1213 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1214
1215 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1216
1217 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1218 register other than r0 for tabort, it has special meaning.
1219 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1220 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1221 transaction before starting syscall.
1222
1223 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1224
1225 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1226
1227 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1230
1231 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1232 * sysdeps/x86_64/rtld-memset.S: Likewise.
1233 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1234 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1235 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1236 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1237
1238 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1239
1240 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1241
1242 * debug/strcpy_chk.c: Improve performance.
1243 * debug/stpcpy_chk.c: Likewise.
1244 * sysdeps/x86_64/strcpy_chk.S: Remove.
1245 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1246
1247 [BZ #18240]
1248 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1249
1250 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 [BZ #15128]
1253 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1254 ifuncmain8.
1255 (modules-names): Add ifuncmod8.
1256 ($(objpfx)ifuncmain8): New rule.
1257 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1258 <cpuid.h>.
1259 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1260 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1261 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1262 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1263 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1264 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1265 * sysdeps/x86_64/ifuncmain8.c: New file.
1266 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1267 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1268 Removed.
1269 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1270 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1271 Change rtld_savespace_sse to __glibc_unused2.
1272 (RTLD_CHECK_FOREIGN_CALL): Removed.
1273 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1274 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1275 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1276
1277 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1278
1279 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1280
1281 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1282
1283 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1284 Unconditionally set __fpcr to avoid uninialized warning.
1285 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1286
1287 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1288
1289 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1290 is corrupt.
1291
1292 * malloc/arena.c (arena_get2): Drop unused argument.
1293 (arena_lock): Adjust.
1294 (arena_get_retry): Likewise.
1295
1296 2015-08-24 Andreas Schwab <schwab@suse.de>
1297
1298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1299 Don't define.
1300 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1301 (__ASSUME_IPC64): Don't undef.
1302 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1303 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1304 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1305 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1306 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1307 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1308 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1309 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1310 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1311 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1312 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1313 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1314 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1315 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1316 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1321 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1322 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1323
1324 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1325
1326 * manual/Makefile (install): Only build manual when perl is available.
1327
1328 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1329
1330 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1331 '#undef memcpy' by '#undef memchr'.
1332
1333 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1334
1335 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1336 memchr not point to the internal __GI_memchr implementation.
1337
1338 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1339
1340 * timezone/Makefile (CFLAGS-zdump.c): Remove
1341 -Wno-strict-prototypes.
1342 (CFLAGS-zic.c): Likewise.
1343 (CFLAGS-ialloc.c): Likewise.
1344 (CFLAGS-scheck.c): Likewise.
1345
1346 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1347 -Wno-error=undef.
1348
1349 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1350
1351 * i386/i686/multiarch/strcasestr-c.c: Removed.
1352 * x86_64/multiarch/strcasestr.c: Likewise.
1353 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1354 Remove strcasestr.
1355
1356 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1357
1358 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1359
1360 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1361 variables for high and low parts before possibly modifying them.
1362
1363 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1366 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1367 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1368 of "multiarch/init-arch.h".
1369 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1370 * sysdeps/x86/init-arch.h: This.
1371
1372 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1373
1374 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1375 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1376
1377 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1378
1379 [BZ #17787]
1380 * manual/macros.texi: Add twoexp macro.
1381 * manual/filesys.texi: Fix exponents.
1382 * manual/llio.texi: Likewise.
1383 * manual/stdio.texi: Likewise.
1384
1385 2015-08-20 Florian Weimer <fweimer@redhat.com>
1386
1387 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1388 incorrect use.
1389
1390 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1391
1392 [BZ #18370]
1393 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1394 whose real or imaginary part has small absolute value.
1395 * math/s_csqrtf.c (__csqrtf): Likewise.
1396 * math/s_csqrtl.c (__csqrtl): Likewise.
1397 * math/auto-libm-test-in: Add more tests of csqrt.
1398 * math/auto-libm-test-out: Regenerated.
1399 * sysdeps/i386/fpu/libm-test-ulps: Update.
1400
1401 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1402
1403 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1404 __ppc_set_ppr_very_low): New functions.
1405 * manual/platform.texi: Add documentation about
1406 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1407
1408 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1409
1410 * string/stpncpy.c (stpncpy): Improve performance using
1411 __strnlen/memcpy/memset.
1412
1413 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1414
1415 [BZ #18796]
1416 * scripts/test-installation.pl: Don't add -lmvec to build options if
1417 libmvec wasn't built.
1418
1419 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1420
1421 [BZ #14341]
1422 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1423 case when there is a gap between DT_REL and DT_JMPREL sections.
1424 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1425 (LDFLAGS-tst-split-dynreloc): New.
1426 (tst-split-dynreloc-ENV): Likewise.
1427 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1428 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1429
1430 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 [BZ #18822]
1433 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1434 attribute_hidden.
1435 (__xstat64_conv): Likewise.
1436 (__xstat32_conv): Likewise.
1437
1438 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 [BZ #18822]
1441 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1442 Don't load %ebx when calling __setcontext. Call __setcontext
1443 with HIDDEN_JUMPTARGET.
1444 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1445 libc_hidden_def.
1446
1447 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * sysdeps/i386/i686/Makefile
1450 [$(subdir) == string] (sysdep_routines): Moved to ...
1451 * sysdeps/i386/Makefile: Here.
1452 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1453 * sysdeps/i386/cacheinfo.c: Here.
1454 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1455 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1456 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1457 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1458
1459 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1462 __i586__ is defined.
1463 (HAS_I686): Defined to 1 if __i686__ is defined.
1464
1465 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1466
1467 * elf/Makefile [$(have-z-execstack) = yes]
1468 (CPPFLAGS-tst-execstack.c): New variable.
1469
1470 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1471 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1472 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1473 UTMPX || _HAVE_UT_TV].
1474 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1475 UTMPX || _HAVE_UT_TV - 0].
1476
1477 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1478
1479 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1480 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1481 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1482
1483 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/dl-procinfo.c:
1486 (_dl_powerpc_cap_flags): Added missing strings for some
1487 hwcap features.
1488 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1489
1490 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1491
1492 Port the 0x7efe...feff pattern to GCC 6.
1493 See Steve Ellcey's bug report in:
1494 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1495 * string/memrchr.c (MEMRCHR):
1496 * string/rawmemchr.c (RAWMEMCHR):
1497 * string/strchr.c (strchr):
1498 * string/strchrnul.c (STRCHRNUL):
1499 Rewrite code to avoid issues with signed shift overflow.
1500
1501 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1504 whether cpuid is available only if HAS_CPUID is 0.
1505 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1506 (HAS_I586): Likewise.
1507 (HAS_I686): Likewise.
1508
1509 2015-08-18 Zack Weinberg <zackw@panix.com>
1510
1511 * misc/Versions (libc): Add GLIBC_2.23.
1512
1513 2015-08-18 Alan Modra <amodra@gmail.com>
1514
1515 [BZ #18421]
1516 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1517 .Lp__global.
1518 (_start): Load %dp via .Lp__global.
1519 [!SHARED]: Use .section .rodata.
1520
1521 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1522
1523 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1524 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1525
1526 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1527
1528 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1529 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1530
1531 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1532
1533 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1534 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1535
1536 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1537
1538 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1539 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1540
1541 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1542
1543 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1544 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1545
1546 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1547
1548 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1549 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1550
1551 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1552
1553 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1554
1555 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1556
1557 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1558 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1559 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1560 (__ASSUME_LWS_CAS): Delete.
1561
1562 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1563
1564 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1565 * sysdeps/hppa/configure: Regenerated.
1566 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1567 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1568 * sysdeps/hppa/nptl/tls.h: Likewise.
1569
1570 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1571
1572 [BZ #18823]
1573 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1574 for scaling up small arguments.
1575 * math/s_csqrtf.c (__csqrtf): Likewise.
1576 * math/s_csqrtl.c (__csqrtl): Likewise.
1577 * math/auto-libm-test-in: Add more tests of csqrt.
1578 * math/auto-libm-test-out: Regenerated.
1579
1580 2015-08-17 Andreas Schwab <schwab@suse.de>
1581
1582 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1583 version set GLIBC_2.19.
1584
1585 2015-08-16 Zack Weinberg <zackw@panix.com>
1586
1587 [BZ #18681]
1588 * misc/regexp.h: This interface is no longer supported.
1589 Remove all contents, leaving only an #error directive.
1590 * misc/regexp.c (loc1, loc2, locs, step, advance):
1591 Demote to compatibility symbols.
1592
1593 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1594
1595 [BZ #18084]
1596 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1597 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1598 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1599 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1600 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1601 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1602 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1603 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1604 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1605
1606 2015-08-15 Zack Weinberg <zackw@panix.com>
1607
1608 [BZ #18795]
1609 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1610 buffer length is known to be too large, not if it's known to be
1611 small enough.
1612 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1613 overflow at runtime, involving a length parameter, twice: once
1614 with a compile-time constant length parameter, once without.
1615
1616 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1617
1618 [BZ #18824]
1619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1620 scaling x * y up instead of down.
1621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1623 * math/auto-libm-test-in: Add more tests of fma.
1624 * math/auto-libm-test-out: Regenerated.
1625
1626 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1627
1628 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1629
1630 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1631
1632 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1633 unnecessary movq.
1634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1635 Likewise.
1636
1637 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1638
1639 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1640 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1641 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1642 and tgamma.
1643 * math/auto-libm-test-out: Regenerated.
1644 * sysdeps/i386/fpu/libm-test-ulps: Update.
1645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1646
1647 [BZ #16520]
1648 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1649 (__tanh): Force underflow exception for arguments with small
1650 absolute value.
1651 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1652 (__tanhf): Force underflow exception for arguments with small
1653 absolute value.
1654 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1655 (__tanhl): Force underflow exception for arguments with small
1656 absolute value.
1657 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1658 (__tanhl): Force underflow exception for arguments with small
1659 absolute value.
1660 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1661 (__tanhl): Force underflow exception for arguments with small
1662 absolute value.
1663 * math/auto-libm-test-in: Add more tests of tanh.
1664 * math/auto-libm-test-out: Regenerated.
1665 * sysdeps/i386/fpu/libm-test-ulps: Update.
1666
1667 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1670 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1671
1672 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1675 <cpuid.h>.
1676
1677 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1680 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1681
1682 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1685 Remove $(objpfx)init-arch.o.
1686 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1687 init-arch.
1688 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1689 (INIT_ARCH_EXT): Defined as empty.
1690 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1691 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1692 __init_cpu_features call. Replace HAS_XXX with
1693 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1694 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1695 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1696 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1697 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1698 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1699 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1700 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1701 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1703 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1704 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1706 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1707 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1709 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1710 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1711 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1712 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1713 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1714 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1715 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1716 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1717 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1718 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1719 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1720 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1721 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1722 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1723 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1725 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1726 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1727 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1728 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1729
1730 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1733 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1734 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1735 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1736 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1737 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1738 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1739 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1740 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1741 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1742 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1743 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1744 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1745 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1746 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1747 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1748 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1749 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1750 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1751 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1752 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1753 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1754 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1755 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1756 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1757 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1758 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1759 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1760 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1761 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1763 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1764 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1766 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1769 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1775
1776 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1777
1778 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1779 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1783 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1784 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1785 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1786 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1787 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1788 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1790 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1791 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1792 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1794 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1796 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1799 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1800 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1801 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1802 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1803 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1804 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1805 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1806 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1807 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1808 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1809 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1810 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1811 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1812 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1813 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1814 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1815 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1816 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1817 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1818 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1819 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1820 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1821
1822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1825 (dl_platform_init): Call init_cpu_features.
1826 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1827 * sysdeps/i386/i686/cacheinfo.c
1828 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1829 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1830 * sysdeps/i386/i686/multiarch/Versions: Removed.
1831 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1832 Removed.
1833 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1834 * sysdeps/unix/sysv/linux/x86/Makefile
1835 (libpthread-sysdep_routines): Remove init-arch.
1836 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1837 <sysdeps/x86_64/dl-procinfo.c> instead of
1838 sysdeps/generic/dl-procinfo.c>.
1839 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1840 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1841 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1842 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1843 [$(subdir) == elf] (tests-static): Add
1844 tst-get-cpu-features-static.
1845 * sysdeps/x86/Versions: New file.
1846 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1847 * sysdeps/x86/cpu-features.c: Likewise.
1848 * sysdeps/x86/cpu-features.h: Likewise.
1849 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1850 * sysdeps/x86/libc-start.c: Likewise.
1851 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1852 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1853 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1854 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1855 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1856 Assume USE_MULTIARCH is defined and don't check it.
1857 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1858 (is_amd): Likewise.
1859 (max_cpuid): Likewise.
1860 (intel_check_word): Likewise.
1861 (__cache_sysconf): Don't call __init_cpu_features.
1862 (__x86_preferred_memory_instruction): Removed.
1863 (init_cacheinfo): Don't call __init_cpu_features. Replace
1864 __cpu_features with GLRO(dl_x86_cpu_features).
1865 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1866 (dl_platform_init): Call init_cpu_features.
1867 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1868 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1869 * sysdeps/x86_64/multiarch/Versions: Removed.
1870 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1871 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1872 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1873 Removed.
1874 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1875
1876 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1877
1878 [BZ #18820]
1879 * libio/Makefile (test-fmemopen-mem): New test.
1880 * libio/test-fmemopen.c (do_bz18820): New test.
1881 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1882 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1883
1884 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1885
1886 [BZ #16734]
1887 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1888 (FREE_BUF): Delete.
1889 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1890 * libio/genops.c (_IO_setb): Use malloc and free directly.
1891 (_IO_default_doallocate, _IO_default_finish): Likewise.
1892 ( _IO_unbuffer_all): Likewise.
1893 ( libc_freeres_fn): Likewise.
1894 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1895 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1896 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1897 (_IO_wdefault_doallocate): Likewise.
1898
1899 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1900
1901 [BZ #18086]
1902 * sysdeps/posix/nice.c (nice): Restore old errno.
1903 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1904
1905 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1906
1907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1908
1909 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1910
1911 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1912 __bcopy and add a weak_alias to bcopy.
1913 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1914 for static build.
1915
1916 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1917 cleanup macro usage.
1918 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1919 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1920 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1921 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1922 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1924 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1925 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1926 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1927 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1929 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1930 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1931 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1932 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1933 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1934 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1935 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1936 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1937
1938 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1939 libc_hidden_def.
1940 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1941
1942 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1943 (sysdep_routines): Add strstr-ppc64.
1944 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1945
1946 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1947
1948 [BZ #18778]
1949 * elf/Makefile (tests): Add Add tst-nodelete2.
1950 (modules-names): Add tst-nodelete2mod.
1951 (tst-nodelete2mod.so-no-z-defs): New.
1952 ($(objpfx)tst-nodelete2): Likewise.
1953 ($(objpfx)tst-nodelete2.out): Likewise.
1954 (LDFLAGS-tst-nodelete2): Likewise.
1955 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1956 out of loop through all loaded libraries.
1957 * elf/tst-nodelete2.c: New file.
1958 * elf/tst-nodelete2mod.c: Likewise.
1959 * elf/tst-znodelete-zlib.cc: Delete.
1960
1961 2015-08-11 Andreas Schwab <schwab@suse.de>
1962
1963 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1964 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1965 (__openat64_nocancel): Likewise.
1966
1967 2015-08-11 Joseph Myers <joseph@codesourcery.com>
1968
1969 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1970 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1971 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1972 * math/auto-libm-test-out: Regenerated.
1973 * sysdeps/i386/fpu/libm-test-ulps: Update.
1974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1975
1976 2015-08-10 Joseph Myers <joseph@codesourcery.com>
1977
1978 [BZ #18790]
1979 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1980 threshold for returning +/- 1.
1981 * math/auto-libm-test-in: Add more tests of tanh.
1982 * math/auto-libm-test-out: Regenerated.
1983 * sysdeps/i386/fpu/libm-test-ulps: Update.
1984
1985 2015-08-10 Andreas Schwab <schwab@suse.de>
1986
1987 [BZ #18781]
1988 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1989 MORE_OFLAGS to oflag.
1990 * io/test-lfs.c (do_test): Test openat64.
1991
1992 2015-08-10 Joseph Myers <joseph@codesourcery.com>
1993
1994 [BZ #18789]
1995 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1996 smaller threshold for returning the argument.
1997 * math/auto-libm-test-in: Add more tests of sinh.
1998 * math/auto-libm-test-out: Regenerated.
1999 * sysdeps/i386/fpu/libm-test-ulps: Update.
2000
2001 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 [BZ #18674]
2004 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2005 break.
2006
2007 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2008
2009 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2010 (generated): Don't add $(addprefix z.,$(tzfiles)).
2011
2012 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2013
2014 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2015 * scripts/sysd-rules.awk: Likewise.
2016
2017 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2018
2019 * iconvdata/tst-tables.sh: Change echo -n to printf.
2020 * nss/db-Makefile: Likewise.
2021 * posix/tst-getconf.sh: Likewise.
2022 * stdio-common/tst-unbputc.sh: Likewise.
2023
2024 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2025
2026 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2027 MADV_*_PAGES defines behind this feature check.
2028
2029 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2030
2031 [BZ #18480]
2032 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2033 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2034 Define.
2035 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2036 LOAD_REGS_5, LOAD_REGS_6): Update.
2037 (INTERNAL_SYSCALL): Update using new LOAD defines.
2038 (INTERNAL_SYSCALL_NCS): Likewise.
2039 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2040
2041 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2042
2043 [BZ #16734]
2044 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2045
2046 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2047
2048 [BZ #17905]
2049 * catgets/Makefile (tst-catgets-mem): New test.
2050 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2051 * catgets/open_catalog.c (__open_catalog): Likewise.
2052 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2053
2054 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2055
2056 [BZ #18787]
2057 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2058 clobber registers.
2059 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2060 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2061 Cast return to __typeof (oldval).
2062
2063 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2064
2065 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2066 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2067 and delete sys/syscall.h include.
2068
2069 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2070
2071 [BZ #16517]
2072 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2073 (tan): Force underflow exception for arguments with small absolute
2074 value.
2075 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2076 (__kernel_tanf): Force underflow exception for arguments with
2077 small absolute value.
2078 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2079 (__kernel_tanl): Force underflow exception for arguments with
2080 small absolute value.
2081 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2082 (__kernel_tanl): Force underflow exception for arguments with
2083 small absolute value.
2084 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2085 (__kernel_tanl): Force underflow exception for arguments with
2086 small absolute value.
2087 * math/auto-libm-test-in: Add more tests of tan.
2088 * math/auto-libm-test-out: Regenerated.
2089
2090 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2091
2092 Fix sysdeps/i386/fpu/s_scalbn.S build
2093
2094 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2095
2096 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2097
2098 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2099
2100 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2101
2102 Fix gcrt0.o compilation
2103
2104 When static-start-installed-name is different from
2105 start-installed-name, we must not use the shared objects.
2106
2107 * csu/Makefile
2108 (extra-objs): Add gmon-start.o when building shared library and
2109 $(static-start-installed-name) is different from
2110 $(start-installed-name).
2111 $(objpfx)g$(static-start-installed-name): When building shared
2112 library and $(static-start-installed-name) is different from
2113 $(static-start-installed-name), revert to non-shared rule,
2114 i.e. using $(objpfx)% and gmon-start.o.
2115
2116 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #16519]
2119 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2120 (__ieee754_sinh): Force underflow exception for arguments with
2121 small absolute value.
2122 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2123 (__ieee754_sinhf): Force underflow exception for arguments with
2124 small absolute value.
2125 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2126 (__ieee754_sinhl): Force underflow exception for arguments with
2127 small absolute value.
2128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2129 (__ieee754_sinhl): Force underflow exception for arguments with
2130 small absolute value.
2131 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2132 (__ieee754_sinhl): Force underflow exception for arguments with
2133 small absolute value.
2134 * math/auto-libm-test-in: Add more tests of sinh.
2135 * math/auto-libm-test-out: Regenerated.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137
2138 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2139
2140 * libio/oldfileops.c: Include unistd.h.
2141
2142 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2143
2144 * stdlib/isomac.c: Include ctype.h.
2145
2146 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2147
2148 * dirent/tst-seekdir.c (main): Converted to ...
2149 (do_test): ... this.
2150 (TEST_FUNCTION): New macro.
2151 Include test-skeleton.c.
2152 * elf/tst-dlmodcount.c (main): Converted to ...
2153 (do_test): ... this.
2154 (TEST_FUNCTION): New macro.
2155 Include test-skeleton.c.
2156 * elf/tst-order-main.c (main): Converted to ...
2157 (do_test): ... this.
2158 (TEST_FUNCTION): New macro.
2159 Include test-skeleton.c.
2160 * elf/tst-pie2.c (main): Converted to ...
2161 (do_test): ... this.
2162 (TEST_FUNCTION): New macro.
2163 Include test-skeleton.c.
2164 * inet/tst-ether_aton.c (main): Converted to ...
2165 (do_test): ... this.
2166 (TEST_FUNCTION): New macro.
2167 Include test-skeleton.c.
2168 * misc/tst-mntent.c (main): Converted to ...
2169 (do_test): ... this.
2170 (TEST_FUNCTION): New macro.
2171 Include test-skeleton.c.
2172 * misc/tst-tsearch.c (main): Converted to ...
2173 (do_test): ... this.
2174 (TEST_FUNCTION): New macro.
2175 Include test-skeleton.c.
2176 * posix/tst-regexloc.c (main): Converted to ...
2177 (do_test): ... this.
2178 (TEST_FUNCTION): New macro.
2179 Include test-skeleton.c.
2180 * resolv/tst-aton.c (main): Converted to ...
2181 (do_test): ... this.
2182 (TEST_FUNCTION): New macro.
2183 Include test-skeleton.c.
2184 * stdio-common/test-fwrite.c (main): Converted to ...
2185 (do_test): ... this.
2186 (TEST_FUNCTION): New macro.
2187 Include test-skeleton.c.
2188 * stdio-common/tst-ferror.c (main): Converted to ...
2189 (do_test): ... this.
2190 (TEST_FUNCTION): New macro.
2191 Include test-skeleton.c.
2192 * stdio-common/tst-printf.c (main): Converted to ...
2193 (do_test): ... this.
2194 (TEST_FUNCTION): New macro.
2195 Include test-skeleton.c.
2196 * stdio-common/tst-printfsz.c (main): Converted to ...
2197 (do_test): ... this.
2198 (TEST_FUNCTION): New macro.
2199 Include test-skeleton.c.
2200 * stdlib/tst-strtod.c (main): Converted to ...
2201 (do_test): ... this.
2202 (TEST_FUNCTION): New macro.
2203 Include test-skeleton.c.
2204 * string/tst-strlen.c (main): Converted to ...
2205 (do_test): ... this.
2206 (TEST_FUNCTION): New macro.
2207 Include test-skeleton.c.
2208 * string/tst-svc.c (main): Converted to ...
2209 (do_test): ... this.
2210 (TEST_FUNCTION): New macro.
2211 Include test-skeleton.c.
2212 * time/tst-strptime.c (main): Converted to ...
2213 (do_test): ... this.
2214 (TEST_FUNCTION): New macro.
2215 Include test-skeleton.c.
2216 * timezone/tst-timezone.c (main): Converted to ...
2217 (do_test): ... this.
2218 (TEST_FUNCTION): New macro.
2219 Include test-skeleton.c.
2220
2221 2015-08-05 Zack Weinberg <zackw@panix.com>
2222
2223 * misc/regexp.h: Update comments.
2224
2225 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2226
2227 [BZ #18635]
2228 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2229 before return label.
2230
2231 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 [BZ #18661]
2234 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2235 when calling __errno_location.
2236 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2237 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2238
2239 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 [BZ #18661]
2242 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2243 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2244 __gettimeofday.
2245
2246 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2247
2248 [BZ #18661]
2249 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2250 (__start_context): Don't use pop to restore %rdi so that stack
2251 is aligned to 16 bytes when calling __setcontext.
2252
2253 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2256 only for libc.
2257 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2258
2259 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2260
2261 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2262 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2263 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2264
2265 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2266
2267 * string/memccpy.c (memccpy):
2268 Improve performance by using memchr/memcpy/__mempcpy.
2269
2270 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2271
2272 * string/strncpy.c (strncpy):
2273 Improve performance by using __strnlen/memcpy.
2274
2275 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2276
2277 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2278 Optimize to avoid an unnecessary FPCR read.
2279
2280 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2281
2282 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2283 Optimize to reduce FPCR/FPSR accesses.
2284
2285 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2288 dead->data[category] != NULL.
2289
2290 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #18647]
2293 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2294 and |x| close to 1, use absolute value of x when computing log.
2295 * math/auto-libm-test-in: Add more tests of pow.
2296 * math/auto-libm-test-out: Regenerated.
2297
2298 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2299
2300 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2301 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2302 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2303
2304 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2305
2306 [BZ #18525]
2307 * locales/km_KH: Remove timezone definition.
2308 * locales/lo_LA: Likewise.
2309 * locales/my_MM: Likewise.
2310 * locales/nan_TW@latin: Likewise.
2311 * locales/th_TH: Likewise.
2312 * locales/uk_UA: Likewise.
2313
2314 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2315
2316 [BZ #18265]
2317 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2318 (wcsncat): Likewise.
2319 (wcscmp): Likewise.
2320 (wcsncmp): Likewise.
2321
2322 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2323
2324 * test-skeleton.c (usage): New function.
2325 (main): Call usage when opt is '?'.
2326
2327 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2328
2329 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2330 before first use.
2331
2332 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2333
2334 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2335 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2336 in there too.
2337
2338 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2339
2340 * version.h (RELEASE): Set to "development".
2341 (VERSION): Set to "2.22.90"
2342
2343 * version.h (RELEASE): Set to "stable".
2344 (VERSION): Set to "2.22"
2345 * include/features.h (__GLIBC_MINOR__): Set to 22.
2346
2347 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2348
2349 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2350 Restructure macro to avoid "value computed is not used" warning.
2351 (atomic_compare_and_exchange_val_acq): Likewise.
2352
2353 2015-08-04 Andreas Schwab <schwab@suse.de>
2354
2355 [BZ #18635]
2356 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2357 ret.
2358 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2359
2360 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2361
2362 * po/pl.po: Updated translation.
2363 * po/uk.po: Likewise.
2364 * po/fi.po: Likewise.
2365 * po/ko.po: Likewise.
2366 * po/ru.po: Likewise.
2367 * po/vi.po: Likewise.
2368
2369 2015-07-31 Zack Weinberg <zackw@panix.com>
2370
2371 [BZ #18681]
2372 * regexp.h: Add unconditional #warning stating that this header
2373 will be removed soon. Revise banner comment to match.
2374 (compile): Consistently use ERROR instead of RETURN to report
2375 errors (partial fix for bz#18681).
2376 * regexp.c: Don't include regexp.h. Remove some unnecessary
2377 declarations.
2378
2379 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2380
2381 * po/libc.pot: Regenerated.
2382
2383 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2384
2385 [BZ #18740]
2386 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2387 float-vlen4-arch-ext-cflags): Removed.
2388 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2389 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2390
2391 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2392
2393 [BZ #14113]
2394 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2395 aligned to __aligned__.
2396 (pthread_cond_t, pthread_rwlock_t): Likewise.
2397
2398 2015-07-30 Torvald Riegel <triegel@redhat.com>
2399
2400 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2401
2402 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2403
2404 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2405 (struct sigaction): Change sa_flags from a long to an int, and add
2406 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2407
2408 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2409
2410 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2411 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2412 sysdeps/generic/sysdep.h include.
2413 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2414 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2415 sysdeps/hppa/sysdep.h.
2416 (ENTRY, PSEUDO): Undefine before defining.
2417
2418 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2419
2420 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2421 from scratch to use INTERNAL_SYSCALL.
2422
2423 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2424
2425 [BZ #18078]
2426 * scripts/check-localplt.awk: Support alternate relocations.
2427 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2428 sections.
2429 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2430 malloc entries with + REL R_386_GLOB_DAT.
2431 * sysdeps/x86_64/localplt.data: New file.
2432
2433 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2434
2435 [BZ #18731]
2436 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2437 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2438 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2439
2440 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2441
2442 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2443
2444 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2445
2446 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2447 directly in terms of __sync_fetch_and_add and delete (int) cast.
2448
2449 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2450
2451 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2452 the -D_ASM_IA64_CURRENT_H flag.
2453
2454 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2455
2456 [BZ #18641]
2457 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2458
2459 2015-07-27 Andreas Schwab <schwab@suse.de>
2460
2461 * conform/conformtest.pl (checknamespace): Filter out string
2462 literals while tokenizing.
2463
2464 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2465
2466 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2467 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2468 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2469
2470 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2471
2472 * nptl/tst-join7mod.c: Add #include <string.h>.
2473
2474 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2475
2476 * sysdeps/nios2/libm-test-ulps: Update.
2477
2478 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2479
2480 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2481 Fix order of arguments to the rt_sigprocmask syscall.
2482 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2483 Likewise.
2484
2485 2015-07-24 Roland McGrath <roland@hack.frob.com>
2486
2487 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2488
2489 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2490
2491 [BZ #18457]
2492 * nptl/Makefile (tests): New test case tst-join7.
2493 (modules-names): New test case module tst-join7mod.
2494 * nptl/tst-join7.c: New file.
2495 * nptl/tst-join7mod.c: New file.
2496 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2497 all translation units in libc.so, libpthread.so and rtld.
2498
2499 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2500
2501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2502
2503 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2504
2505 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2506 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2507 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2508 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2509 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2511 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2512 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2513 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2514 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2515 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2516 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2517 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2518 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2519 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2520 implementation.
2521
2522 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2523
2524 [BZ #17711]
2525 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2526 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2527 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2528 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2529 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2530 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2531
2532 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2533
2534 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2535 instead of just saying load lock in the comments.
2536
2537 2015-07-23 Roland McGrath <roland@hack.frob.com>
2538
2539 * sysdeps/unix/Subdirs: Moved ...
2540 * sysdeps/posix/Subdirs: ... here.
2541 * login/pty.h (struct termios, struct winsize): Add forward decls.
2542 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2543 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2544 * sysdeps/arm/nacl/libc.abilist: Updated.
2545 * sysdeps/nacl/libutil.abilist: New file.
2546
2547 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2548 (SIGWINCH): New macro.
2549
2550 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2551 * sysdeps/arm/nacl/libc.abilist: Add it.
2552
2553 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2554
2555 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2556
2557 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2558
2559 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2560 Swap __glibc_reserved0 and sa_flags order.
2561
2562 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2563
2564 [BZ #18657]
2565 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2566 are pending TLS destructor calls.
2567 * include/link.h (struct link_map): Add concurrency note for
2568 L_TLS_DTOR_COUNT.
2569 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2570 Don't touch the link map flag. Atomically increment
2571 l_tls_dtor_count.
2572 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2573 Avoid taking the load lock and don't touch the link map flag.
2574 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2575 * stdlib/Makefile (tests): Use it.
2576 * stdlib/tst-tls-atexit.c (do_test): dlopen
2577 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2578 to allow tst-tls-atexit-nodelete test case to use it.
2579
2580 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2581
2582 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2583 to bits/types.h.
2584 (msgqnum_t): New typedef.
2585 (msglen_t): Likewise.
2586 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2587 and msg_qbytes type to msglen_t.
2588
2589 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2590
2591 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2592 pad0 to __glibc_reserved0.
2593 (struct stat64): Likewise.
2594
2595 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2596
2597 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2598 Change sa_flags from a long to an int and add __glibc_reserved0 before
2599 it for padding.
2600
2601 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2602
2603 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2604 anonymous by deleting "siginfo" name.
2605
2606 2015-07-21 Roland McGrath <roland@hack.frob.com>
2607
2608 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2609 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2610 rather than __nacl_irt_filename.
2611 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2612
2613 * NEWS: New item for arm-nacl port.
2614 * sysdeps/arm/nacl/libc.abilist: New file.
2615 * sysdeps/nacl/ld.abilist: New file.
2616 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2617 * sysdeps/nacl/libanl.abilist: New file.
2618 * sysdeps/nacl/libcrypt.abilist: New file.
2619 * sysdeps/nacl/libdl.abilist: New file.
2620 * sysdeps/nacl/libm.abilist: New file.
2621 * sysdeps/nacl/libpthread.abilist: New file.
2622 * sysdeps/nacl/libresolv.abilist: New file.
2623 * sysdeps/nacl/librt.abilist: New file.
2624
2625 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2626
2627 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2628 __startcontext to initialize the new context.
2629 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2630 up CFI directive to forbid further backtracing.
2631
2632 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2633
2634 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2635 reference.
2636 * charmaps/ANSI_X3.4-1968: Likewise.
2637 * charmaps/BS_4730: Likewise.
2638 * charmaps/BS_VIEWDATA: Likewise.
2639 * charmaps/CP1250: Likewise.
2640 * charmaps/CP1251: Likewise.
2641 * charmaps/CP1252: Likewise.
2642 * charmaps/CP1253: Likewise.
2643 * charmaps/CP1254: Likewise.
2644 * charmaps/CP1255: Likewise.
2645 * charmaps/CP1256: Likewise.
2646 * charmaps/CSN_369103: Likewise.
2647 * charmaps/EBCDIC-DK-NO: Likewise.
2648 * charmaps/GB_1988-80: Likewise.
2649 * charmaps/GREEK-CCITT: Likewise.
2650 * charmaps/GREEK7: Likewise.
2651 * charmaps/INIS-8: Likewise.
2652 * charmaps/ISIRI-3342: Likewise.
2653 * charmaps/ISO_2033-1983: Likewise.
2654 * charmaps/ISO_5427-EXT: Likewise.
2655 * locales/POSIX: Likewise.
2656 * locales/ar_SA: Likewise.
2657 * locales/be_BY: Likewise.
2658 * locales/be_BY@latin: Likewise.
2659 * locales/ca_ES: Likewise.
2660 * locales/cs_CZ: Likewise.
2661 * locales/da_DK: Likewise.
2662 * locales/de_BE: Likewise.
2663 * locales/de_CH: Likewise.
2664 * locales/de_LU: Likewise.
2665 * locales/en_AU: Likewise.
2666 * locales/en_BW: Likewise.
2667 * locales/en_CA: Likewise.
2668 * locales/en_DK: Likewise.
2669 * locales/en_GB: Likewise.
2670 * locales/en_IE: Likewise.
2671 * locales/en_NZ: Likewise.
2672 * locales/en_ZA: Likewise.
2673 * locales/en_ZW: Likewise.
2674 * locales/es_AR: Likewise.
2675 * locales/es_BO: Likewise.
2676 * locales/es_CL: Likewise.
2677 * locales/es_CO: Likewise.
2678 * locales/es_DO: Likewise.
2679 * locales/es_EC: Likewise.
2680 * locales/es_ES: Likewise.
2681 * locales/es_HN: Likewise.
2682 * locales/es_MX: Likewise.
2683 * locales/es_PA: Likewise.
2684 * locales/es_PE: Likewise.
2685 * locales/es_PY: Likewise.
2686 * locales/es_SV: Likewise.
2687 * locales/es_US: Likewise.
2688 * locales/es_UY: Likewise.
2689 * locales/es_VE: Likewise.
2690 * locales/et_EE: Likewise.
2691 * locales/fa_IR: Likewise.
2692 * locales/fo_FO: Likewise.
2693 * locales/fr_CA: Likewise.
2694 * locales/fr_CH: Likewise.
2695 * locales/gv_GB: Likewise.
2696 * locales/he_IL: Likewise.
2697 * locales/hr_HR: Likewise.
2698 * locales/id_ID: Likewise.
2699 * locales/is_IS: Likewise.
2700 * locales/it_CH: Likewise.
2701 * locales/iw_IL: Likewise.
2702 * locales/kl_GL: Likewise.
2703 * locales/ko_KR: Likewise.
2704 * locales/kw_GB: Likewise.
2705 * locales/lg_UG: Likewise.
2706 * locales/lt_LT: Likewise.
2707 * locales/lv_LV: Likewise.
2708 * locales/mi_NZ: Likewise.
2709 * locales/nhn_MX: Likewise.
2710 * locales/nl_BE: Likewise.
2711 * locales/pl_PL: Likewise.
2712 * locales/sk_SK: Likewise.
2713 * locales/sl_SI: Likewise.
2714 * locales/sv_FI: Likewise.
2715 * locales/tl_PH: Likewise.
2716 * locales/tr_TR: Likewise.
2717 * locales/vi_VN: Likewise.
2718
2719 2015-07-21 Khem Raj <raj.khem@gmail.com>
2720
2721 [BZ #17475]
2722 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2723 of tu_IN and bh_IN.
2724
2725 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2726
2727 [BZ #18694]
2728 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2729 bits/wordsize.h.
2730 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2731
2732 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2733
2734 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2735 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2736 (spawn_thread): New function.
2737 (load): Rename to reg_dtor_and_close. Move dlopen to...
2738 (do_test): ... here. Use IS_LOADED to test for its
2739 availability.
2740
2741 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2742
2743 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2744
2745 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 [BZ #18696]
2748 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2749 si_addr_bnd.
2750 (si_lower): New.
2751 (si_upper): Likewise.
2752
2753 2015-07-16 David S. Miller <davem@davemloft.net>
2754
2755 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2756
2757 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2758
2759 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2760 buffer.
2761 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2762 fail output information.
2763
2764 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2765
2766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2767 and strstr-ppc64..
2768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2769 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2770 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2771 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2772 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2773
2774 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2775
2776 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2777 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2778 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2779 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2780
2781 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2782
2783 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2784 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2785 rtld_hidden_proto.
2786 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2787
2788 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2789
2790 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2791 the test can fail.
2792
2793 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2794
2795 [BZ #18676]
2796 * elf/tst-nodelete-opened.c: New test case.
2797 * elf/tst-nodelete-opened-lib.c: New test case module.
2798 * elf/Makefile (tests, modules-names): Use them.
2799 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2800 early.
2801
2802 2015-07-15 David S. Miller <davem@davemloft.net>
2803
2804 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2805 futex-intenal.h
2806 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2807 * sysdeps/sparc/sparc64/Makefile: Likewise.
2808 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2809 Remove space from macro define.
2810 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2811
2812 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2813
2814 [BZ #17475]
2815 * locale/iso-639.def: Update Bhili and Tulu language codes as
2816 per iso639-3.
2817
2818 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2819
2820 * elf/tst-leaks1.c (main): Converted to ...
2821 (do_test): ... this.
2822 (TEST_FUNCTION): New macro.
2823 Include test-skeleton.c.
2824 * localedata/tst-langinfo.c (main): Converted to ...
2825 (do_test): ... this.
2826 (TEST_FUNCTION): New macro.
2827 Include test-skeleton.c.
2828 * math/test-fpucw.c (main): Converted to ...
2829 (do_test): ... this.
2830 (TEST_FUNCTION): New macro.
2831 Include test-skeleton.c.
2832 * math/test-tgmath.c (main): Converted to ...
2833 (do_test): ... this.
2834 (TEST_FUNCTION): New macro.
2835 Include test-skeleton.c.
2836 * math/test-tgmath2.c (main): Converted to ...
2837 (do_test): ... this.
2838 (TEST_FUNCTION): New macro.
2839 Include test-skeleton.c.
2840 * setjmp/tst-setjmp.c (main): Converted to ...
2841 (do_test): ... this.
2842 (TEST_FUNCTION): New macro.
2843 Include test-skeleton.c.
2844 * stdio-common/tst-sscanf.c (main): Converted to ...
2845 (do_test): ... this.
2846 (TEST_FUNCTION): New macro.
2847 Include test-skeleton.c.
2848 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2849 (do_test): ... this.
2850 (TEST_FUNCTION): New macro.
2851 Include test-skeleton.c.
2852
2853 * elf/tst-audit9.c (main): Converted to ...
2854 (do_test): ... this.
2855 (TEST_FUNCTION): New macro.
2856 Include test-skeleton.c.
2857
2858 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2859
2860 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2861
2862 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2863
2864 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2865 New variable.
2866
2867 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2868
2869 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2870
2871 2015-07-14 Roland McGrath <roland@hack.frob.com>
2872
2873 * sysdeps/generic/dl-fileid.h: New file.
2874 * sysdeps/posix/dl-fileid.h: New file.
2875 * sysdeps/nacl/dl-fileid.h: New file.
2876 * include/link.h: Include <dl-fileid.h>.
2877 (struct link_map): Replace l_dev and l_ino with l_file_id.
2878 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2879 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2880 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2881
2882 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2883
2884 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2885
2886 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2887
2888 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2889 Add iff $CXX is set.
2890 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2891 Likewise.
2892 (tst-nodelete-zmodiff): Likewise.
2893 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2894
2895 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2896
2897 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2898
2899 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2900
2901 * sysdeps/aarch64/fpu/math_private.h
2902 (define math_opt_barrier): Add AArch64 version.
2903 (math_force_eval): Likewise.
2904
2905 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2906
2907 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2908
2909 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2912 %ld with %jd and cast to intmax_t.
2913 (do_test_length_zero): Likewise.
2914
2915 2015-07-10 Roland McGrath <roland@hack.frob.com>
2916
2917 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2918
2919 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
2920
2921 * sysdeps/tile/libm-test-ulps: Regenerated.
2922
2923 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2924 Comment out the whole function, not just its body.
2925
2926 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2927
2928 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2929 locks.
2930
2931 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2932
2933 2015-07-10 Torvald Riegel <triegel@redhat.com>
2934
2935 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2936 (sem_assume_only_signals_cause_futex_EINTR): Remove.
2937
2938 2015-07-10 Torvald Riegel <triegel@redhat.com>
2939
2940 * sysdeps/nptl/futex-internal.h: New file.
2941 * sysdeps/nacl/futex-internal.h: New file.
2942 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2943 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2944 error checking.
2945 (setxid_unmark_thread): Likewise.
2946 (__nptl_setxid): Likewise.
2947 (__wait_lookup_done): Likewise.
2948 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2949 * nptl/nptl-init.c (sighandler_setxid): Likewise.
2950 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2951 * nptl/pthread_once.c (clear_once_control): Likewise.
2952 (__pthread_once_slow): Likewise.
2953 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2954 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2955 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2956 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2957 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2958 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2959 Likewise.
2960 (__pthread_rwlock_rdlock): Likewise.
2961 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2962 Likewise.
2963 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2964 Likewise.
2965 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2966 Likewise.
2967 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2968 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2969 Likewise.
2970 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2971 __ASSUME_PRIVATE_FUTEX check.
2972 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2973 Check that shared futexes are supported.
2974 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2975 wrappers with error checking.
2976 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2977 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2978 * nptl/pthread_barrierattr_setpshared.c
2979 (pthread_barrierattr_setpshared): Check that shared futexes are
2980 supported.
2981 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2982 Likewise.
2983 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2984 Likewise.
2985 * nptl/sem_init.c (futex_private_if_supported): Remove.
2986 (__new_sem_init): Adapt and check that shared futexes are supported.
2987 * nptl/sem_open.c (sem_open): Likewise.
2988 * nptl/sem_post.c (futex_wake): Remove.
2989 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2990 (do_futex_wait): Use futex wrappers with error checking.
2991 * nptl/sem_wait.c: Include lowlevellock.h.
2992 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2993 Use futex_supports_pshared.
2994 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2995 Use futex wrappers with error checking.
2996 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2997 Likewise.
2998 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2999 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3000 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3001 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3002 (futex_wake): Likewise.
3003 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3004 (do_futex_wait): Use futex wrappers with error checking.
3005 (__new_sem_wait_slow): Update EINTR handling.
3006 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3007
3008 2015-07-09 Martin Sebor <msebor@redhat.com>
3009
3010 [BZ #18435]
3011 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3012 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3013 * nptl/Makefile (test-xfail-tst-once5): Define.
3014
3015 2015-07-09 Roland McGrath <roland@hack.frob.com>
3016
3017 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3018 * elf/dl-minimal.c: For readability, reorder some definitions and
3019 introduce more page breaks. Include <stdio.h>.
3020 (__libc_fatal): New function.
3021
3022 * include/unistd.h: Add rtld_hidden_proto for _exit.
3023 * posix/_exit.c: Add rtld_hidden_def.
3024 * sysdeps/mach/hurd/_exit.c: Likewise.
3025 * sysdeps/nacl/_exit.c: Likewise.
3026 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3027 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3028
3029 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3032 bndmov encoding with zero displacement.
3033
3034 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3035 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 [BZ #18134]
3038 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3039 * sysdeps/i386/configure: Regenerated.
3040 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3041 (_dl_runtime_profile): Save and restore Intel MPX return bound
3042 registers when calling _dl_call_pltexit. Add
3043 PRESERVE_BND_REGS_PREFIX before return.
3044 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3045 (LRV_BND1_OFFSET): Likewise.
3046 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3047 lrv_bnd1.
3048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3049 typo in bndmov encoding.
3050 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3051 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3052 branch instructions to preserve bounds.
3053
3054 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3055
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3057 [GLIBC_2.22]: Add fmemopen.
3058
3059 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3060
3061 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3062 returns an error, also try to use host port from __mach_host_self for
3063 the __vm_wire call.
3064 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3065
3066 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3067
3068 [BZ #18400]
3069 [BZ #18648]
3070 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3071 Fix pr_uid and pr_gid members.
3072 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3073 definition to elf_greg_t.
3074
3075 2015-07-08 Roland McGrath <roland@hack.frob.com>
3076
3077 [BZ #18383]
3078 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3079 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3080 * sysdeps/arm/configure: Regenerated.
3081 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3082 (test-xfail-tst-tlsalign-static): Variable removed.
3083
3084 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3085 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3086 rather than explicit 'ln -s'.
3087
3088 * resolv/rpc/netdb.h: New file.
3089 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3090
3091 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3092
3093 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3094 length buffers.
3095 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3096 test-skeleton.c.
3097
3098 [BZ #6544]
3099 [BZ #11216]
3100 [BZ #12836]
3101 [BZ #13151]
3102 [BZ #13152]
3103 [BZ #14292]
3104 * include/stdio.h (fmemopen): Remove hidden prototype.
3105 (__fmemopen): Add new hidden prototype.
3106 * libio/Makefile: Add oldfmemopen object.
3107 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3108 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3109 compliance.
3110 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3111 symbol compatibility.
3112 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3113 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3114 fmemopen.
3115 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3116 on append and read mode.
3117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3118 fmemopen.
3119 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3120 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3121 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3122 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3123 Likewise.
3124 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3125 [GLIBC_2.22]: Likewise.
3126 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3127 Likewise.
3128 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3129 Likewise.
3130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3131 [GLIBC_2.22]: Likewise.
3132 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3133 [GLIBC_2.22]: Likewise.
3134 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3135 [GLIBC_2.22]: Likewise.
3136 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3137 [GLIBC_2.22]: Likewise.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3139 [GLIBC_2.22]: Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3141 [GLIBC_2.22]: Likewise.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3143 [GLIBC_2.22]: Likewise.
3144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3145 Likewise.
3146 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3147 Likewise.
3148 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3150 [GLIBC_2.22]: Likewise.
3151 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3152 [GLIBC_2.22]: Likewise.
3153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3154 [GLIBC_2.22]: Likewise.
3155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3156 [GLIBC_2.22]: Likewise.
3157 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3158 Likewise.
3159 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3160 Likewise.
3161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3162 Likewise.
3163 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3164 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3165
3166 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3167
3168 [BZ #18643]
3169 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3170 IPV6_PATHMTU, and IPV6_DONTFRAG.
3171
3172 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3173
3174 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3175 and _IO_UNBUFFERED.
3176 * libio/oldfileops.c: Likewise.
3177 * libio/wfileops.c: Likewise.
3178
3179 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3180
3181 * nscd/selinux.c: Delete selinux/flask.h include.
3182
3183 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3184
3185 [BZ #18641]
3186 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3187 (putpwent): Likewise.
3188 (getpwnam): Likewise.
3189 (getpwent_r): Likewise.
3190 (getpwuid_r): Likewise.
3191 (getpwnam_r): Likewise.
3192 (fgetpwent_r): Likewise.
3193
3194 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3195
3196 [BZ #18557]
3197 * inet/rcmd.c (__validuser2_sa): Check user first to
3198 short-circuit host check.
3199
3200 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3201 Mikhail Ilin <m.ilin@samsung.com>
3202
3203 [BZ #17833]
3204 * elf/Makefile (tests): Add tst-nodelete.
3205 (modules-names): Add tst-nodelete-uniquemod.
3206 (tst-nodelete-uniquemod.so-no-z-defs): New.
3207 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3208 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3209 ($(objpfx)tst-nodelete): Likewise.
3210 ($(objpfx)tst-nodelete.out): Likewise.
3211 (LDFLAGS-tst-nodelete): Likewise.
3212 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3213 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3214 implement forced object deletion.
3215 (_dl_close): Pass false to _dl_close_worker.
3216 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3217 * elf/tst-nodelete.cc: New file.
3218 * elf/tst-nodeletelib.cc: Likewise.
3219 * elf/tst-znodeletelib.cc: Likewise.
3220 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3221
3222 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3223
3224 [BZ #18508]
3225 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3226 Depend on $(libdl).
3227 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3228 is not called infinitely times.
3229 (backtrace_helper): New function.
3230 (trace_arg): New struct.
3231 (st1): Enlarge stack size.
3232 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3233 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3234 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3235 Likewise.
3236
3237 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3238
3239 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3240
3241 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3242
3243 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3244 Include sys/types.h instead of bits/types.h.
3245 Remove inclusion of bits/wordsize.h.
3246
3247 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3248
3249 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3250 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3251 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3252 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3253 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3254 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3255
3256 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3259 link-defines.sym.
3260 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3261 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3262 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3263 and LR_SIZE.
3264 * sysdeps/i386/link-defines.sym: New file.
3265
3266 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3269 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3270 ($(objpfx)tst-audit3): New rule.
3271 ($(objpfx)tst-audit3.out): Likewise.
3272 * sysdeps/i386/tst-audit3.c: New file.
3273 * sysdeps/i386/tst-audit3.h: Likewise.
3274 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3275 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3276
3277 2015-07-07 Torvald Riegel <triegel@redhat.com>
3278
3279 [BZ #18633]
3280 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3281 pointer in C code.
3282 (__strcat_c): Likewise.
3283 (__strcat_g): Likewise.
3284
3285 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3286
3287 [BZ #18592]
3288 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3289
3290 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3291
3292 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3293 New function. (__ieee754_sqrtf): New function.
3294 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3295 New function.
3296 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3297 New function.
3298
3299 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3300
3301 * sysdeps/ieee754/support.c: Remove unused file.
3302
3303 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3304
3305 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3306 registers instead of d ones so the layout is kernel abi compatible.
3307 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3308 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3309 Likewise.
3310
3311 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3312
3313 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3314
3315 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3316
3317 [BZ #18619]
3318 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3319 and return argument in case of subnormal argument.
3320
3321 2015-07-01 Martin Sebor <msebor@redhat.com>
3322
3323 [BZ #18435]
3324 * nptl/Makefile: Add tst-once5.cc.
3325 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3326 Remove macro redefinitions.
3327 * nptl/tst-once5.cc: New test.
3328
3329 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3330
3331 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3332
3333 * sysdeps/arm/libm-test-ulps: Regenerated.
3334
3335 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3337
3338 2015-06-30 Torvald Riegel <triegel@redhat.com>
3339
3340 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3341 lll_lock_wait_private and lll_futex_wake probes.
3342
3343 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3345 Likewise.
3346 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3347 atomic_spin_nop.
3348 * sysdeps/x86_64/bits/atomic.h: Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3350 to atomic_spin_nop and move ...
3351 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3352 ... here and ...
3353 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3354 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3355 atomic_spin_nop instead of BUSY_WAIT_NOP.
3356 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3357 Likewise.
3358 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3359 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3360 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3361 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3362 instead of atomic_delay.
3363
3364 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #18613]
3367 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3368 X_ADJ not X when adjusting exponent.
3369 (__ieee754_gamma_r): Do intermediate computations in
3370 round-to-nearest then adjust overflowing and underflowing results
3371 as needed.
3372 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3373 of X_ADJ not X when adjusting exponent.
3374 (__ieee754_gammaf_r): Do intermediate computations in
3375 round-to-nearest then adjust overflowing and underflowing results
3376 as needed.
3377 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3378 log of X_ADJ not X when adjusting exponent.
3379 (__ieee754_gammal_r): Do intermediate computations in
3380 round-to-nearest then adjust overflowing and underflowing results
3381 as needed. Use 1.0L not 1.0f as numerator of division.
3382 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3383 log of X_ADJ not X when adjusting exponent.
3384 (__ieee754_gammal_r): Do intermediate computations in
3385 round-to-nearest then adjust overflowing and underflowing results
3386 as needed. Use 1.0L not 1.0f as numerator of division.
3387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3388 of X_ADJ not X when adjusting exponent.
3389 (__ieee754_gammal_r): Do intermediate computations in
3390 round-to-nearest then adjust overflowing and underflowing results
3391 as needed. Use 1.0L not 1.0f as numerator of division.
3392 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3393 to auto-libm-test-in.
3394 (tgamma_test): Use ALL_RM_TEST.
3395 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3396 tests of tgamma with spurious-overflow.
3397 * math/auto-libm-test-out: Regenerated.
3398 * math/gen-libm-have-vector-test.sh: Do not check for START.
3399 * sysdeps/i386/fpu/libm-test-ulps: Update.
3400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3401
3402 [BZ #18612]
3403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3404 arguments, just return 0.5 times the argument, with underflow
3405 forced as needed.
3406 * math/auto-libm-test-in: Add more tests of j1.
3407 * math/auto-libm-test-out: Regenerated.
3408
3409 [BZ #16559]
3410 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3411 (__ieee754_j1): Force underflow exception for small results.
3412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3413 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3414 (__ieee754_j1f): Force underflow exception for small results.
3415 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3416 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3418 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3419 (__ieee754_j1l): Force underflow exception for small results.
3420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3421 * math/auto-libm-test-in: Add more tests of j1 and jn.
3422 * math/auto-libm-test-out: Regenerated.
3423
3424 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3426 (PF_MPLS): Likewise.
3427 (AF_IB): Likewise.
3428 (AF_MPLS): Likewise.
3429 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3430 value and macro.
3431 (MS_RMT_MASK): Include MS_LAZYTIME.
3432
3433 2015-06-26 Mel Gorman <mgorman@suse.de>
3434
3435 [BZ #18502]
3436 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3437 already minimal.
3438
3439 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3440
3441 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3442 (DT_MIPS_NUM): Update.
3443 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3444 DT_MIPS_RLD_MAP_REL.
3445
3446 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3447
3448 [BZ #16559]
3449 [BZ #18602]
3450 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3451 round-to-nearest internally then recompute results that
3452 underflowed to zero in the original rounding mode.
3453 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3454 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3457 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3458 * sysdeps/i386/fpu/libm-test-ulps: Update.
3459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460
3461 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3462
3463 * NEWS: Fixed description of link with vector math library.
3464
3465 2015-06-25 Andreas Schwab <schwab@suse.de>
3466
3467 [BZ #18549]
3468 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3469 * libio/test-fmemopen.c (do_test): Add test for it.
3470
3471 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 [BZ #17841]
3474 * Makeconfig (no-pie-ldflag): New.
3475 (+link): Set to $(+link-pie) if default to PIE.
3476 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3477 * config.make.in (build-pie-default): New.
3478 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3479 is default. AC_SUBST.
3480 * configure: Regenerated.
3481 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3482
3483 2015-06-24 Roland McGrath <roland@hack.frob.com>
3484
3485 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3486 to 'unsigned int'.
3487
3488 * resolv/gai_misc.h (struct waitlist): Change type of field
3489 counterp to 'volatile unsigned int *'.
3490 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3491 FUTEXADDR and OLDVAL.
3492 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3493 Give local variable TOTAL type 'volatile unsigned int'.
3494 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3495 * resolv/gai_suspend.c (gai_suspend):
3496 Give local variable CNTR type 'unsigned int'.
3497
3498 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3499 counterp to 'volatile unsigned int *'.
3500 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3501 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3502 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3503 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3504 Give local variable TOTAL type 'volatile unsigned int'.
3505 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3506
3507 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 [BZ #18383]
3510 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3511 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3512 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3513 comment for i386/x86-64.
3514 (test-xfail-tst-tlsalign-extern-static): Removed.
3515
3516 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3517
3518 * math/test-double.h: New file.
3519 * math/test-float.h: Likewise.
3520 * math/test-ldouble.h: Likewise.
3521 * math/test-math-inline.h: Likewise.
3522 * math/test-math-no-inline.h: Likewise.
3523 * math/test-math-scalar.h: Likewise.
3524 * math/test-math-vector.h: Likewise.
3525 * math/test-vec-loop.h: Remove file. Contents moved into
3526 test-math-vector.h.
3527 * math/libm-test.inc (MATHCONST): Do not document macro.
3528 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3529 and test-math-scalar.h.
3530 (FUNC): Remove macro.
3531 (FUNC_TEST): Likewise.
3532 (FLOAT): Likewise.
3533 (MATHCONST): Likewise.
3534 (PRINTF_EXPR): Likewise.
3535 (PRINTF_XEXPR): Likewise.
3536 (PRINTF_NEXPR): Likewise.
3537 (TEST_DOUBLE): Likewise.
3538 (TEST_MATHVEC): Likewise.
3539 (__NO_MATH_INLINES): Likewise.
3540 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3541 and test-math-scalar.h.
3542 (FUNC): Remove macro.
3543 (FUNC_TEST): Likewise.
3544 (FLOAT): Likewise.
3545 (MATHCONST): Likewise.
3546 (PRINTF_EXPR): Likewise.
3547 (PRINTF_XEXPR): Likewise.
3548 (PRINTF_NEXPR): Likewise.
3549 (TEST_FLOAT): Likewise.
3550 (TEST_MATHVEC): Likewise.
3551 (__NO_MATH_INLINES): Likewise.
3552 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3553 and test-math-scalar.h.
3554 (FUNC): Remove macro.
3555 (FUNC_TEST): Likewise.
3556 (FLOAT): Likewise.
3557 (MATHCONST): Likewise.
3558 (PRINTF_EXPR): Likewise.
3559 (PRINTF_XEXPR): Likewise.
3560 (PRINTF_NEXPR): Likewise.
3561 (TEST_DOUBLE): Likewise.
3562 (TEST_MATHVEC): Likewise.
3563 (TEST_INLINE): Likewise.
3564 (__NO_MATH_INLINES): Likewise.
3565 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3566 test-math-scalar.h.
3567 (FUNC): Remove macro.
3568 (FUNC_TEST): Likewise.
3569 (FLOAT): Likewise.
3570 (MATHCONST): Likewise.
3571 (PRINTF_EXPR): Likewise.
3572 (PRINTF_XEXPR): Likewise.
3573 (PRINTF_NEXPR): Likewise.
3574 (TEST_FLOAT): Likewise.
3575 (TEST_MATHVEC): Likewise.
3576 (TEST_INLINE): Likewise.
3577 (__NO_MATH_INLINES): Likewise.
3578 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3579 and test-math-scalar.h.
3580 (FUNC): Remove macro.
3581 (FUNC_TEST): Likewise.
3582 (FLOAT): Likewise.
3583 (MATHCONST): Likewise.
3584 (PRINTF_EXPR): Likewise.
3585 (PRINTF_XEXPR): Likewise.
3586 (PRINTF_NEXPR): Likewise.
3587 (TEST_LDOUBLE): Likewise.
3588 (TEST_MATHVEC): Likewise.
3589 (TEST_INLINE): Likewise.
3590 (__NO_MATH_INLINES): Likewise.
3591 * math/test-ldouble.c: Include test-ldouble.h,
3592 test-math-no-inline.h and test-math-scalar.h.
3593 (FUNC): Remove macro.
3594 (FUNC_TEST): Likewise.
3595 (FLOAT): Likewise.
3596 (MATHCONST): Likewise.
3597 (PRINTF_EXPR): Likewise.
3598 (PRINTF_XEXPR): Likewise.
3599 (PRINTF_NEXPR): Likewise.
3600 (TEST_LDOUBLE): Likewise.
3601 (TEST_MATHVEC): Likewise.
3602 (__NO_MATH_INLINES): Likewise.
3603 * math/test-double-vlen2.h: Include test-double.h,
3604 test-math-no-inline.h and test-math-vector.h.
3605 (FLOAT): Remove macro.
3606 (FUNC): Likewise.
3607 (MATHCONST): Likewise.
3608 (PRINTF_EXPR): Likewise.
3609 (PRINTF_XEXPR): Likewise.
3610 (PRINTF_NEXPR): Likewise.
3611 (TEST_DOUBLE): Likewise.
3612 (TEST_MATHVEC): Likewise.
3613 (__NO_MATH_INLINES): Likewise.
3614 (CNCT): Likewise.
3615 (CONCAT): Likewise.
3616 (WRAPPER_NAME): Likewise.
3617 (WRAPPER_DECL): Likewise.
3618 (WRAPPER_DECL_ff): Likewise.
3619 (WRAPPER_DECL_fFF): Likewise.
3620 (VECTOR_WRAPPER): Likewise.
3621 (VECTOR_WRAPPER_ff): Likewise.
3622 (VECTOR_WRAPPER_fFF): Likewise.
3623 (VEC_LEN): New macro.
3624 * math/test-double-vlen4.h: Include test-double.h,
3625 test-math-no-inline.h and test-math-vector.h.
3626 (FLOAT): Remove macro.
3627 (FUNC): Likewise.
3628 (MATHCONST): Likewise.
3629 (PRINTF_EXPR): Likewise.
3630 (PRINTF_XEXPR): Likewise.
3631 (PRINTF_NEXPR): Likewise.
3632 (TEST_DOUBLE): Likewise.
3633 (TEST_MATHVEC): Likewise.
3634 (__NO_MATH_INLINES): Likewise.
3635 (CNCT): Likewise.
3636 (CONCAT): Likewise.
3637 (WRAPPER_NAME): Likewise.
3638 (WRAPPER_DECL): Likewise.
3639 (WRAPPER_DECL_ff): Likewise.
3640 (WRAPPER_DECL_fFF): Likewise.
3641 (VECTOR_WRAPPER): Likewise.
3642 (VECTOR_WRAPPER_ff): Likewise.
3643 (VECTOR_WRAPPER_fFF): Likewise.
3644 (VEC_LEN): New macro.
3645 * math/test-double-vlen8.h: Include test-double.h,
3646 test-math-no-inline.h and test-math-vector.h.
3647 (FLOAT): Remove macro.
3648 (FUNC): Likewise.
3649 (MATHCONST): Likewise.
3650 (PRINTF_EXPR): Likewise.
3651 (PRINTF_XEXPR): Likewise.
3652 (PRINTF_NEXPR): Likewise.
3653 (TEST_DOUBLE): Likewise.
3654 (TEST_MATHVEC): Likewise.
3655 (__NO_MATH_INLINES): Likewise.
3656 (CNCT): Likewise.
3657 (CONCAT): Likewise.
3658 (WRAPPER_NAME): Likewise.
3659 (WRAPPER_DECL): Likewise.
3660 (WRAPPER_DECL_ff): Likewise.
3661 (WRAPPER_DECL_fFF): Likewise.
3662 (VECTOR_WRAPPER): Likewise.
3663 (VECTOR_WRAPPER_ff): Likewise.
3664 (VECTOR_WRAPPER_fFF): Likewise.
3665 (VEC_LEN): New macro.
3666 * math/test-float-vlen4.h: Include test-float.h,
3667 test-math-no-inline.h and test-math-vector.h.
3668 (FLOAT): Remove macro.
3669 (FUNC): Likewise.
3670 (MATHCONST): Likewise.
3671 (PRINTF_EXPR): Likewise.
3672 (PRINTF_XEXPR): Likewise.
3673 (PRINTF_NEXPR): Likewise.
3674 (TEST_FLOAT): Likewise.
3675 (TEST_MATHVEC): Likewise.
3676 (__NO_MATH_INLINES): Likewise.
3677 (CNCT): Likewise.
3678 (CONCAT): Likewise.
3679 (WRAPPER_NAME): Likewise.
3680 (WRAPPER_DECL): Likewise.
3681 (WRAPPER_DECL_ff): Likewise.
3682 (WRAPPER_DECL_fFF): Likewise.
3683 (VECTOR_WRAPPER): Likewise.
3684 (VECTOR_WRAPPER_ff): Likewise.
3685 (VECTOR_WRAPPER_fFF): Likewise.
3686 (VEC_LEN): New macro.
3687 * math/test-float-vlen8.h: Include test-float.h,
3688 test-math-no-inline.h and test-math-vector.h.
3689 (FLOAT): Remove macro.
3690 (FUNC): Likewise.
3691 (MATHCONST): Likewise.
3692 (PRINTF_EXPR): Likewise.
3693 (PRINTF_XEXPR): Likewise.
3694 (PRINTF_NEXPR): Likewise.
3695 (TEST_FLOAT): Likewise.
3696 (TEST_MATHVEC): Likewise.
3697 (__NO_MATH_INLINES): Likewise.
3698 (CNCT): Likewise.
3699 (CONCAT): Likewise.
3700 (WRAPPER_NAME): Likewise.
3701 (WRAPPER_DECL): Likewise.
3702 (WRAPPER_DECL_ff): Likewise.
3703 (WRAPPER_DECL_fFF): Likewise.
3704 (VECTOR_WRAPPER): Likewise.
3705 (VECTOR_WRAPPER_ff): Likewise.
3706 (VECTOR_WRAPPER_fFF): Likewise.
3707 (VEC_LEN): New macro.
3708 * math/test-float-vlen16.h: Include test-float.h,
3709 test-math-no-inline.h and test-math-vector.h.
3710 (FLOAT): Remove macro.
3711 (FUNC): Likewise.
3712 (MATHCONST): Likewise.
3713 (PRINTF_EXPR): Likewise.
3714 (PRINTF_XEXPR): Likewise.
3715 (PRINTF_NEXPR): Likewise.
3716 (TEST_FLOAT): Likewise.
3717 (TEST_MATHVEC): Likewise.
3718 (__NO_MATH_INLINES): Likewise.
3719 (CNCT): Likewise.
3720 (CONCAT): Likewise.
3721 (WRAPPER_NAME): Likewise.
3722 (WRAPPER_DECL): Likewise.
3723 (WRAPPER_DECL_ff): Likewise.
3724 (WRAPPER_DECL_fFF): Likewise.
3725 (VECTOR_WRAPPER): Likewise.
3726 (VECTOR_WRAPPER_ff): Likewise.
3727 (VECTOR_WRAPPER_fFF): Likewise.
3728 (VEC_LEN): New macro.
3729 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3730 test-vec-loop.h.
3731 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3732 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3733 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3734 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3735 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3736 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3737 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3738
3739 2015-06-24 Roland McGrath <roland@hack.frob.com>
3740
3741 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3742 (__getlogin_r): ... this.
3743
3744 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3745
3746 [BZ #18594]
3747 * math/s_ccosh.c (__ccosh): Compare with least normal value
3748 instead of comparing class with FP_SUBNORMAL.
3749 * math/s_ccoshf.c (__ccoshf): Likewise.
3750 * math/s_ccoshl.c (__ccoshl): Likewise.
3751 * math/s_cexp.c (__cexp): Likewise.
3752 * math/s_cexpf.c (__cexpf): Likewise.
3753 * math/s_cexpl.c (__cexpl): Likewise.
3754 * math/s_csin.c (__csin): Likewise.
3755 * math/s_csinf.c (__csinf): Likewise.
3756 * math/s_csinh.c (__csinh): Likewise.
3757 * math/s_csinhf.c (__csinhf): Likewise.
3758 * math/s_csinhl.c (__csinhl): Likewise.
3759 * math/s_csinl.c (__csinl): Likewise.
3760 * math/s_ctan.c (__ctan): Likewise.
3761 * math/s_ctanf.c (__ctanf): Likewise.
3762 * math/s_ctanh.c (__ctanh): Likewise.
3763 * math/s_ctanhf.c (__ctanhf): Likewise.
3764 * math/s_ctanhl.c (__ctanhl): Likewise.
3765 * math/s_ctanl.c (__ctanl): Likewise.
3766 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3767 csin, csinh, ctan and ctanh.
3768 * math/auto-libm-test-out: Regenerated.
3769 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
3773 2015-06-24 Roland McGrath <roland@hack.frob.com>
3774
3775 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3776 return value is wrong, print the expected value too.
3777
3778 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 [BZ #18585]
3781 * elf/readlib.c (is_gdb_python_file): New.
3782 (process_file): Don't issue errors on filenames with -gdb.py
3783 suffix.
3784
3785 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3786
3787 * math/auto-libm-test-in: Add more tests of csin and csinh.
3788 * math/auto-libm-test-out: Regenerated.
3789 * math/libm-test.inc (csin_test_data): Remove tests moved to
3790 auto-libm-test-in.
3791 (csinh_test_data): Likewise.
3792
3793 [BZ #18593]
3794 * math/s_csin.c (__csin): Negate before rather than after possibly
3795 overflowing multiplication.
3796 * math/s_csinf.c (__csinf): Likewise.
3797 * math/s_csinh.c (__csinh): Likewise.
3798 * math/s_csinhf.c (__csinhf): Likewise.
3799 * math/s_csinhl.c (__csinhl): Likewise.
3800 * math/s_csinl.c (__csinl): Likewise.
3801 * math/auto-libm-test-in: Add some tests of csin and csinh.
3802 * math/auto-libm-test-out: Regenerated.
3803 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3804 (csinh_test_data): Likewise.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3806
3807 [BZ #18586]
3808 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3809 underflow exception for small results.
3810
3811 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3812
3813 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3814 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3815 variable and included header.
3816 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3817 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3818 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3819 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3820 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3821 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3822 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3823 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3824 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3825 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3826 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3827 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3828 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3829 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3830 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3831 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3832
3833 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #16526]
3836 [BZ #16538]
3837 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3838 (__sin): Force underflow exception for arguments with small
3839 absolute value.
3840 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3841 (__kernel_sinf): Force underflow exception for arguments with
3842 small absolute value.
3843 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3844 (__kernel_sincosl): Force underflow exception for arguments with
3845 small absolute value.
3846 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3847 (__kernel_sinl): Force underflow exception for arguments with
3848 small absolute value.
3849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3850 (__kernel_sincosl): Force underflow exception for arguments with
3851 small absolute value.
3852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3853 (__kernel_sinl): Force underflow exception for arguments with
3854 small absolute value.
3855 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3856 (__kernel_sinl): Force underflow exception for arguments with
3857 small absolute value.
3858 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3859 (__kernel_sinf): Force underflow exception for arguments with
3860 small absolute value.
3861 * math/auto-libm-test-in: Add more tests of sin and sincos.
3862 * math/auto-libm-test-out: Regenerated.
3863
3864 [BZ #18245]
3865 [BZ #18583]
3866 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3867 (__kernel_standard_l): Use feholdexcept and fesetenv around
3868 conversion to double instead of special-casing overflow and
3869 underflow.
3870 * math/libm-test.inc (fmod_test_data): Add more tests.
3871 (remainder_test_data): Likewise.
3872 (sqrt_test_data): Likewise.
3873
3874 2015-06-23 Torvald Riegel <triegel@redhat.com>
3875
3876 [BZ #17403]
3877 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3878 atomic_read_barrier, atomic_write_barrier): Define.
3879 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3880 atomic_read_barrier, atomic_write_barrier): Define.
3881
3882 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3883
3884 * math/Makefile [$(PERL) != no]
3885 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3886 dependency on libm-test.stmp below the inclusion of Rules.
3887
3888 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3889
3890 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3891 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3892 and included header.
3893 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3896 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3901 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3902 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3903 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3904 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3905 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3906 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3907 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3908 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3909 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3910 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3911 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3912
3913 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3914
3915 [BZ #18371]
3916 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3917 intermediate but not final result might underflow.
3918 * math/s_csqrtf.c (__csqrtf): Likewise.
3919 * math/s_csqrtl.c (__csqrtl): Likewise.
3920 * math/auto-libm-test-in: Add more tests of csqrt.
3921 * math/auto-libm-test-out: Regenerated.
3922 * sysdeps/i386/fpu/libm-test-ulps: Update.
3923
3924 [BZ #18219]
3925 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3926 threshold on absolute value of exponent for which scaling is used.
3927 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3928 * math/auto-libm-test-in: Add more tests of exp2.
3929 * math/auto-libm-test-out: Regenerated.
3930
3931 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
3932
3933 [BZ #17977]
3934 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3935 when initializing interface list, based on the bug analysis
3936 and the patch proposed by Eric Newton.
3937 * resolv/tst-res_hconf_reorder.c: New test.
3938 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3939 tst-res_hconf_reorder.
3940 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3941 and $(shared-thread-library).
3942 (tst-res_hconf_reorder-ENV): New variable.
3943
3944 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3945 in comment.
3946
3947 2015-06-22 Joseph Myers <joseph@codesourcery.com>
3948
3949 [BZ #16353]
3950 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3951 (__expm1): Force underflow exception for arguments with small
3952 absolute value.
3953 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3954 (__expm1f): Force underflow exception for arguments with small
3955 absolute value.
3956 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3957 (__expm1): Force underflow exception for arguments with small
3958 absolute value.
3959 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3960 (__expm1f): Force underflow exception for arguments with small
3961 absolute value.
3962 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3963 Check for small arguments before calling __expm1.
3964 * math/auto-libm-test-in: Do not mark underflow exceptions as
3965 possibly missing for bug 16353.
3966 * math/auto-libm-test-out: Regenerated.
3967
3968 2015-06-22 Andreas Schwab <schwab@suse.de>
3969
3970 [BZ #18513]
3971 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3972 PTR queries.
3973
3974 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
3975
3976 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3977
3978 * string/strcoll_l.c: Remove unused struct element idxnow.
3979
3980 2015-06-21 Joseph Myers <joseph@codesourcery.com>
3981
3982 [BZ #18569]
3983 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3984 underflow and return argument in case of subnormal argument.
3985 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3986 Likewise.
3987 * math/auto-libm-test-in: Add more tests of expm1.
3988 * math/auto-libm-test-out: Regenerated.
3989
3990 [BZ #16361]
3991 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3992 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3993 tiny results.
3994 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3995 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3996 tiny results.
3997 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
3998 mark underflow exceptions as possibly missing for bug 16361.
3999 * math/auto-libm-test-out: Regenerated.
4000
4001 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4002
4003 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4004 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4005 Remove variable.
4006 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4007 (test-xfail-XOPEN2K8/utmpx.h/conform).
4008
4009 * conform/conformtest.pl ($xerrors): New variable.
4010 (note_error): New function.
4011 (compiletest): New argument $xfail. Use not_error.
4012 (runtest): Likewise.
4013 (top level): Handle xfail- lines. Update calls to compiletest and
4014 runtest. Handle xfail- and optional- in headers listed with
4015 allow-header.
4016 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4017 (O_EXEC): Likewise.
4018 (O_SEARCH): Likewise.
4019 * conform/data/stropts.h-data (ioctl): Likewise.
4020 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4021 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4022 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4023 (msghdr.msg_controllen): Likewise.
4024 (cmsghdr.cmsg_len): Likewise.
4025 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4026 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4027 variable.
4028 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4029 (test-xfail-XPG4/stropts.h/conform): Likewise.
4030 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4031 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4032 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4033 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4034 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4035 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4036 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4037 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4038 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4039 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4040 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4041 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4042 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4043 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4044 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4045 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4046 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4047 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4048 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4049
4050 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4051
4052 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4053 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4054 definitions for proper unfolding of __MATHDECL_VEC.
4055
4056 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4057
4058 * benchtests/bench-strcoll.c:
4059 Include string.h.
4060 (main): Remove unused variable res.
4061
4062 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4063
4064 * timezone/Makefile (%/UTC %/Universal):
4065 Generate test-result files for UTC and Universal.
4066
4067 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4068
4069 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4070
4071 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4072
4073 [BZ #16350]
4074 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4075 for arguments with small absolute value.
4076 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4077 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4078 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4079 (__asinh): Force underflow exception for arguments with small
4080 absolute value.
4081 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4082 (__asinhf): Force underflow exception for arguments with small
4083 absolute value.
4084 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4085 (__asinhl): Force underflow exception for arguments with small
4086 absolute value.
4087 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4088 (__asinhl): Force underflow exception for arguments with small
4089 absolute value.
4090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4091 (__asinhl): Force underflow exception for arguments with small
4092 absolute value.
4093 * math/auto-libm-test-in: Do not mark underflow exceptions as
4094 possibly missing for bug 16350.
4095 * math/auto-libm-test-out: Regenerated.
4096
4097 * include/bits/ipc.h: Remove file.
4098 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4099 variable.
4100 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4101 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4102 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4103 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4104 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4105 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4106 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4107 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4108 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4109
4110 * math/auto-libm-test-in: Remove spurious underflow allowance for
4111 tests of cexp.
4112 * math/auto-libm-test-out: Regenerated.
4113
4114 [BZ #18558]
4115 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4116 unconditional definition.
4117 (MCAST_BLOCK_SOURCE): Likewise.
4118 (MCAST_UNBLOCK_SOURCE): Likewise.
4119 (MCAST_LEAVE_GROUP): Likewise.
4120 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4121 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4122 (MCAST_MSFILTER): Likewise.
4123 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4124 Remove variable.
4125 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4126 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4127 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4128 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4129 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4130
4131 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4132
4133 * NEWS: Mention addition of x86_64 vector sincosf.
4134 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4135 * math/test-float-vlen4.h: Likewise.
4136 * math/test-float-vlen8.h: Likewise.
4137 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4138 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4139 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4140 * sysdeps/x86_64/fpu/Versions: New versions added.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4142 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4143 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4144 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4145 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4146 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4147 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4148 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4149 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4150 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4151 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4152 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4153 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4154 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4155 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4156 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4157 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4158 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4159 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4160 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4161 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4162 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4163 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4164 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4165
4166 * NEWS: Mention addition of x86_64 vector sincos.
4167 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4168 * math/math.h (__MATHDECL_VEC): New macro.
4169 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4170 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4171 declaration under condition.
4172 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4173 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4174 TEST_VEC_LOOP change.
4175 * math/test-double-vlen4.h: Likewise.
4176 * math/test-double-vlen8.h: Likewise.
4177 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4178 * math/test-float-vlen4.h: Likewise.
4179 * math/test-float-vlen8.h: Likewise.
4180 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4181 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4182 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4183 * sysdeps/x86_64/fpu/Versions: New versions added.
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4185 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4186 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4187 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4188 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4189 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4190 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4191 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4193 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4194 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4195 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4196 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4197 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4198 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4199 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4200 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4201 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4202 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4203 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4204 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4205 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4206 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4207 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4208
4209 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4210 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4211 redirections for powf.
4212 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4213 * sysdeps/x86_64/fpu/Versions: New versions added.
4214 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4215 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4216 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4217 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4218 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4219 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4220 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4221 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4222 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4223 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4224 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4225 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4226 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4227 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4228 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4229 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4230 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4231 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4232 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4233 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4234 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4235 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4236 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4237 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4238 * math/test-float-vlen16.h: Fixed 2 argument macro.
4239 * math/test-float-vlen4.h: Likewise.
4240 * math/test-float-vlen8.h: Likewise.
4241 * NEWS: Mention addition of x86_64 vector powf.
4242
4243 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4244
4245 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4246 and redefine.
4247 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4248 and redefine.
4249 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4250 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4252
4253 [BZ #18553]
4254 * resource/getpriority.c (getpriority): Rename to __getpriority
4255 and define as weak alias of __getpriority.
4256 * resource/setpriority.c (setpriority): Rename to __setpriority
4257 and define as weak alias of __setpriority.
4258 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4259 __getpriority and define as weak alias of __getpriority.
4260 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4261 __setpriority and define as weak alias of __setpriority.
4262 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4263 strong name.
4264 (setpriority): Use __setpriority as strong name.
4265 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4266 __getpriority and define as weak alias of __getpriority.
4267 * include/sys/resource.h (__getpriority): Declare. Use
4268 libc_hidden_proto.
4269 (__setpriority): Likewise.
4270 (getpriority): Don't use libc_hidden_proto.
4271 (setpriority): Likewise.
4272 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4273 getpriority. Call __setpriority instead of setpriority.
4274 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4275 Remove variable.
4276
4277 [BZ #18547]
4278 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4279 as weak alias of __getttynam. Use prototype function definition.
4280 Call __setttyent, __getttyent and __endttyent instead of
4281 setttyent, getttyent and endttyent.
4282 (getttyent): Rename to __getttyent and define as weak alias of
4283 __getttyent. Call __setttyent instead of setttyent. Call
4284 __fgets_unlocked instead of fgets_unlocked.
4285 (setttyent): Rename to __setttyent and define as weak alias of
4286 __setttyent.
4287 (endttyent): Rename to __endttyent and define as weak alias of
4288 __endttyent.
4289 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4290 (__setttyent): Likewise.
4291 (__endttyent): Likewise.
4292 (getttyent): Don't use libc_hidden_proto.
4293 (setttyent): Likewise.
4294 (endttyent): Likewise.
4295 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4296 __endttyent instead of setttyent, getttyent and endttyent.
4297 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4298 Remove variable.
4299
4300 [BZ #18546]
4301 * socket/recv.c (__recv): Use libc_hidden_def.
4302 * socket/socket.c (__socket): Likewise.
4303 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4304 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4305 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4306 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4307 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4308 libc_hidden_def.
4309 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4310 libc_hidden_weak.
4311 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4312 Use libc_hidden_proto.
4313 (__recv): Likewise.
4314 * socket/Versions (libc): Export __recv and __socket at version
4315 GLIBC_PRIVATE.
4316 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4317 instead of recv.
4318 (init_mq_netlink): Call __socket instead of socket.
4319 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4320 Remove variable.
4321
4322 [BZ #18545]
4323 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4324 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4325 hidden_weak.
4326 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4327 define as alias of __mq_timedsend. Use hidden_weak.
4328 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4329 __mq_timedsend as strong name.
4330 (mq_timedreceive): Use __mq_timedreceive as strong name.
4331 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4332 (__mq_timedreceive): Likewise.
4333 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4334 __mq_timedreceive instead of mq_timedreceive.
4335 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4336 instead of mq_timedsend.
4337 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4338 Remove variable.
4339
4340 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4341 hidden_def and hidden_weak instead of libc_hidden_def and
4342 libc_hidden_weak.
4343 (top level): Refer to hidden_def in comment.
4344 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4345 macro. Use it instead of libc_hidden_def.
4346 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4347 specify __GI_* name explicitly.
4348 (mq_timedreceive): Likewise.
4349 (mq_setattr): Likewise.
4350
4351 [BZ #18544]
4352 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4353 __pthread_barrier_init and define as weak alias of
4354 __pthread_barrier_init.
4355 * sysdeps/sparc/nptl/pthread_barrier_init.c
4356 (pthread_barrier_init): Likewise.
4357 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4358 __pthread_barrier_wait and define as weak alias of
4359 __pthread_barrier_wait.
4360 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4361 (pthread_barrier_wait): Likewise.
4362 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4363 (pthread_barrier_wait): Likewise.
4364 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4365 (pthread_barrier_wait): Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4367 (pthread_barrier_wait): Likewise.
4368 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4369 __pthread_barrier_wait at version GLIBC_PRIVATE.
4370 * include/pthread.h (__pthread_barrier_init): Declare.
4371 (__pthread_barrier_wait): Likewise.
4372 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4373 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4374 (helper_thread): Likewise.
4375 (init_mq_netlink): Call __pthread_barrier_init instead of
4376 pthread_barrier_init.
4377
4378 [BZ #18542]
4379 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4380 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4381 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4382 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4383 vswscanf.
4384 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4385 Remove variable.
4386
4387 [BZ #18540]
4388 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4389 strong alias of _IO_fflush. Use libc_hidden_def.
4390 * libio/iofflush_u.c (fflush_unlocked): Rename to
4391 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4392 Use libc_hidden_weak.
4393 * include/stdio.h (__fflush_unlocked): Declare. Use
4394 libc_hidden_proto.
4395 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4396 fflush_unlocked.
4397 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4398 Remove variable.
4399
4400 [BZ #18539]
4401 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4402 define as weak alias of __addseverity.
4403 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4404 Remove variable.
4405 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4406 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4407 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4408
4409 [BZ #18536]
4410 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4411 (__tfind): Likewise.
4412 (__tdelete): Likewise.
4413 (__twalk): Likewise.
4414 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4415 __twalk to GLIBC_PRIVATE.
4416 * include/search.h (__tsearch): Use libc_hidden_proto.
4417 (__tfind): Likewise.
4418 (__tdelete): Likewise.
4419 (__twalk): Likewise.
4420 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4421 Call __tdelete instead of tdelete.
4422 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4423 tfind. Call __tsearch instead of tsearch.
4424 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4425 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4426 Remove variable.
4427 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4428
4429 [BZ #18534]
4430 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4431 (dprintf): Define as a weak alias of __dprintf, not a strong
4432 alias.
4433 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4434 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4435 dprintf.
4436 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4437 Remove variable.
4438 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4439 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4440
4441 [BZ #18533]
4442 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4443 not a strong alias.
4444 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4445 Remove variable.
4446
4447 [BZ #18532]
4448 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4449 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4450 (in6addr_loopback): Rename to __in6addr_loopback and define as
4451 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4452 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4453 libc_hidden_proto.
4454 (__in6addr_any): Likewise.
4455 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4456 in6addr_any.
4457 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4458 variable.
4459 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4460
4461 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4462
4463 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4464 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4465 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4466 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4467 redirections for pow.
4468 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4469 * sysdeps/x86_64/fpu/Versions: New versions added.
4470 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4471 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4472 build of SSE, AVX2 and AVX512 IFUNC versions.
4473 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4474 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4475 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4476 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4477 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4478 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4480 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4481 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4482 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4483 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4484 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4485 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4486 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4487 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4488 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4489 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4490 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4491 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4492 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4493 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4494 * NEWS: Mention addition of x86_64 vector pow.
4495
4496 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4497 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4498 redirections for expf.
4499 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4500 * sysdeps/x86_64/fpu/Versions: New versions added.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4502 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4503 build of SSE, AVX2 and AVX512 IFUNC versions.
4504 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4505 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4506 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4507 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4508 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4509 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4510 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4511 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4512 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4513 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4514 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4515 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4516 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4517 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4518 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4519 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4520 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4521 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4522 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4523 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4524 * NEWS: Mention addition of x86_64 vector expf.
4525
4526 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4527 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4529 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4530 redirections for exp.
4531 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4532 * sysdeps/x86_64/fpu/Versions: New versions added.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4534 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4535 build of SSE, AVX2 and AVX512 IFUNC versions.
4536 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4537 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4538 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4539 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4540 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4541 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4542 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4543 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4544 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4545 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4546 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4547 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4548 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4549 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4550 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4551 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4552 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4553 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4554 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4555 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4556 * NEWS: Mention addition of x86_64 vector exp.
4557
4558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4559 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4560 redirections for logf.
4561 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4562 * sysdeps/x86_64/fpu/Versions: New versions added.
4563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4564 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4565 build of SSE, AVX2 and AVX512 IFUNC versions.
4566 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4567 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4568 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4569 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4570 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4571 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4572 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4573 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4574 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4575 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4576 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4577 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4578 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4579 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4580 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4581 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4582 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4584 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4585 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4586 * NEWS: Mention addition of x86_64 vector logf.
4587
4588 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4589 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4590 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4591 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4592 redirections for log.
4593 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4594 * sysdeps/x86_64/fpu/Versions: New versions added.
4595 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4596 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4597 build of SSE, AVX2 and AVX512 IFUNC versions.
4598 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4599 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4600 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4601 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4602 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4603 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4604 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4605 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4606 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4607 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4608 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4609 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4610 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4611 test.
4612 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4613 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4614 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4615 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4616 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4617 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4618 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4619 * NEWS: Mention addition of x86_64 vector log.
4620
4621 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4622
4623 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4624 cfi_adjust_cfa_offset argument.
4625 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4626 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4627
4628 [BZ #18034]
4629 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4630 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4631 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4632 ordering using ldar.
4633 (_dl_tlsdesc_dynamic): Likewise.
4634 (_dl_tlsdesc_return_lazy): Likewise.
4635 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4636 relaxed atomics instead of volatile and synchronize with release store.
4637 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4638 volatile.
4639 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4640
4641 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4642
4643 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4644 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4645 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4646 * sysdeps/x86_64/fpu/Versions: New versions added.
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4648 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4649 build of SSE, AVX2 and AVX512 IFUNC versions.
4650 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4651 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4652 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4653 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4654 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4655 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4656 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4657 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4658 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4659 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4660 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4661 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4662 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4663 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4664 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4665 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4666 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4667 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4668 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4669 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4670 * NEWS: Mention addition of x86_64 vector sinf.
4671
4672 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4673
4674 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4675 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4676 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4677 Remove variable.
4678 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4680
4681 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4682
4683 [BZ #18530]
4684 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4685 strong alias of _IO_fputs. Use libc_hidden_def.
4686 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4687 and define as weak alias of __fputs_unlocked. Use
4688 libc_hidden_weak.
4689 * include/stdio.h (__fputs_unlocked): Declare. Use
4690 libc_hidden_proto.
4691 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4692 fputs_unlocked.
4693
4694 [BZ #18529]
4695 * resolv/netdb.h [__USE_POSIX]: Change condition to
4696 [__USE_XOPEN2K].
4697 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4698 not expect.
4699 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4700 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4701 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4702 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4703 [XPG4 || UNIX98] (AI_ALL): Likewise.
4704 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4705 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4706 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4707 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4708 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4709 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4710 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4711 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4712 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4713 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4714 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4715 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4716 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4717 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4718 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4719 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4720 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4721 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4722 [XPG4 || UNIX98] (gai_strerror): Likewise.
4723 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4724 [XPG4 || UNIX98] (getnameinfo): Likewise.
4725
4726 [BZ #18528]
4727 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4728 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4729 __USE_XOPEN2K8].
4730 (getgrent): Likewise.
4731 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4732 expect.
4733 [XPG3 || POSIX2008] (endgrent): Likewise.
4734 [XPG3] (setgrent): Likewise.
4735 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4736 variable.
4737 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4738
4739 [BZ #18527]
4740 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4741 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4742 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4743 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4744 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4745 * include/unistd.h (__getlogin_r): Declare. Use
4746 libc_hidden_proto.
4747 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4748 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4749 variable.
4750 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4751 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4752 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4753
4754 2015-06-12 Martin Sebor <msebor@redhat.com>
4755
4756 [BZ #18512]
4757 * Makerules (check-install-supported): New target.
4758 (install): Add check-install-supported as a dependency.
4759 * manual/install.texi (Installing the C Library): Document
4760 that overriding prefix and exec_prefix is not supported.
4761 Mention DESTDIR.
4762 * INSTALL: Regenerate from the above.
4763
4764 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4765
4766 [BZ #18519]
4767 * posix/Versions (libc): Export __libc_pread at version
4768 GLIBC_PRIVATE.
4769 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4770 instead of pread.
4771 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4772 variable.
4773
4774 [BZ #18522]
4775 * misc/efgcvt_r.c
4776 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4777 (cvt_symbol): Use weak_alias instead of strong_alias.
4778 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4779 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4780 Remove variable.
4781 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4782 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4783
4784 [BZ #18520]
4785 * inet/herrno.c (h_errno): Rename to __h_errno.
4786 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4787 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4788 to __h_errno instead of h_errno.
4789 * nptl/herrno.c (h_errno): Rename to __h_errno.
4790 (__h_errno_location): Refer to __h_errno not h_errno.
4791 * resolv/Versions (h_errno): Rename to __h_errno.
4792 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4793 Remove variable.
4794 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4795
4796 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4797
4798 * configure.ac: More strict check for AVX512 assembler support.
4799 * configure: Regenerated.
4800
4801 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4802 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4803 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4804 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4805 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4806 * sysdeps/x86_64/fpu/Versions: New versions added.
4807 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4808 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4809 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4811 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4813 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4814 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4816 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4817 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4818 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4819 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4820 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4821 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4822 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4823 test.
4824 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4825 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4826 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4827 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4828 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4829 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4830 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4831 * NEWS: Mention addition of x86_64 vector sin.
4832
4833 2015-06-11 Florian Weimer <fweimer@redhat.com>
4834
4835 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4836 comment.
4837
4838 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4839
4840 [BZ #18479]
4841 * nptl/pt-interp.c: New file.
4842 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4843 Add pt-interp.
4844 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4845 $(common-objpfx)runtime-linker.h.
4846
4847 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4848
4849 * Makeconfig (+interp): Remove unused variable.
4850 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4851 only. Depend on $(common-objpfx)runtime-linker.h instead of
4852 $(elf-objpfx)runtime-linker.h.
4853 ($(elf-objpfx)runtime-linker.h): Rename to
4854 $(common-objpfx)runtime-linker.h and move ...
4855 * Makerules [$(build-shared) = yes]: ... here.
4856 * elf/interp.c: Include <runtime-linker.h> instead of
4857 <elf/runtime-linker.h>.
4858
4859 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4860
4861 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4862 (__gettimeofday_syscall): Remove vsyscall fallback.
4863 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4864 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4865 Add syscall fallback function.
4866 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4867 if vDSO is not present.
4868 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4869 fallback function.
4870 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4871 present.
4872 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4873 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4874
4875 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4876
4877 [BZ #18497]
4878 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4879 of wcscmp.
4880 (wcscmp): Define as weak alias of WCSCMP.
4881 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4882 wcscoll.
4883 (USE_HIDDEN_DEF): Define.
4884 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4885 __wcscoll. Don't use libc_hidden_weak.
4886 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4887 wcscmp.
4888 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4889 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4890 __GI_wcscmp.
4891 (weak_alias): Undefine and redefine.
4892 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4893 __wcscmp and define as weak alias of __wcscmp.
4894 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4895 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4896 (__wcscoll): Likewise.
4897 (wcscmp): Don't use libc_hidden_proto.
4898 (wcscoll): Likewise.
4899 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4900 wcscoll.
4901 * posix/regexec.c (check_node_accept_bytes): Likewise.
4902 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4903 variable.
4904 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4905 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4906
4907 [BZ #18507]
4908 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4909 __fstatvfs and define as weak alias of __fstatvfs. Use
4910 libc_hidden_weak.
4911 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4912 and define as weak alias of __statvfs. Use libc_hidden_weak.
4913 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4914 Define as alias of __fstatvfs, not fstatvfs.
4915 (fstatvfs64): Likewise.
4916 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4917 Define as alias of __statvfs, not statvfs.
4918 (statvfs64): Likewise.
4919 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4920 Remove variable.
4921
4922 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4923
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4925 (HAVE_GETCPU_VSYSCALL): Define.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4927 (HAVE_GETCPU_VSYSCALL): Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4929 * sysdeps/unix/sysv/linux/sched_getcpu.c
4930 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4931 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4932 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4933 prototype.
4934 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4935 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4938 Define.
4939 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4942 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4943
4944 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
4945
4946 * sysdeps/x86_64/fpu/Makefile: New file.
4947 * sysdeps/x86_64/fpu/Versions: New file.
4948 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4949 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4950 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4951 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4952 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4953 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4954 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4955 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4956 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4957 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4958 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4959 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4961 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4962 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4963 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4964 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4965 * sysdeps/x86_64/configure.ac: Options for libmvec build.
4966 * sysdeps/x86_64/configure: Regenerated.
4967 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4968 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4969 * manual/install.texi (Configuring and compiling): Document
4970 --disable-mathvec.
4971 * INSTALL: Regenerated.
4972 * NEWS: Mention addition of libmvec and x86_64 vector cos.
4973
4974 * math/Makefile: Added rules for vector tests.
4975 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4976 declaration under condition.
4977 * math/test-double-vlen2.h: New file.
4978 * math/test-double-vlen4.h: New file.
4979 * math/test-double-vlen8.h: New file.
4980 * math/test-vec-loop.h: Added initialization macro.
4981 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4982 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4983 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4984 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4985 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4986 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4987 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4988 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4989 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4990 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4991 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4992
4993 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4994 * sysdeps/x86_64/fpu/Versions: New versions added.
4995 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4996 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4997 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4998 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4999 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5000 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5001 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5002 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5003 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5004 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5005 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5006 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5007 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5008 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5009 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5010 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5011 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5012 * NEWS: Mention addition of x86_64 vector cosf.
5013
5014 * math/Makefile: Added CFLAGS for new tests.
5015 * math/test-float-vlen16.h: New file.
5016 * math/test-float-vlen4.h: New file.
5017 * math/test-float-vlen8.h: New file.
5018 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5019 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5021 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5022 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5023 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5024 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5025 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5026 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5027 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5028 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5029
5030 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5031
5032 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5033 * locale/programs/ld-ctype.c: Likewise.
5034
5035 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5036
5037 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5038 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5039 bit_ZMM16_31_state): New macro.
5040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5041 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5042
5043 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5044
5045 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5046
5047 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5048
5049 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5050
5051 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5052
5053 [BZ #18498]
5054 * libio/memstream.c (open_memstream): Rename to __open_memstream
5055 and define as weak alias of __open_memstream.
5056 * include/stdio.h (__open_memstream): Declare. Use
5057 libc_hidden_proto.
5058 (open_memstream): Don't use libc_hidden_proto.
5059 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5060 open_memstream.
5061 * posix/getopt.c (_getopt_internal_r): Likewise.
5062 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5063 variable.
5064 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5065 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5066 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5067
5068 [BZ #18496]
5069 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5070 instead of wcrtomb.
5071
5072 [BZ #18483]
5073 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5074 [__USE_XOPEN2K8]. Remove redundant #endif.
5075 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5076 Remove redundant #if.
5077 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5078 Remove variable.
5079 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5080 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5081
5082 [BZ #18495]
5083 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5084 (__iswlower): Likewise.
5085 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5086 (__iswlower): Likewise.
5087 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5088 instead of towlower.
5089 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5090 instead of iswlower. Call __towupper instead of towupper.
5091 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5092 instead of iswalnum.
5093
5094 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5095
5096 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5097 errors to stderr.
5098
5099 2015-06-05 Florian Weimer <fweimer@redhat.com>
5100
5101 [BZ #15661]
5102 [BZ #17322]
5103 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5104 Check for overflow properly. Check for O_APPEND. Ignore large
5105 file system block sizes. Add comments about problems.
5106 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5107 * manual/filesys.texi (Storage Allocation): New node.
5108
5109 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5110
5111 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5112 cancellable syscalls.
5113 (SYS_ify): Add guard to no redefine it.
5114 (INLINE_SYSCALL): Likewise.
5115 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5116 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5117 SYSCALL_CANCEL instead.
5118 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5119 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5120 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5121 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5122 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5123 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5124 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5125 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5126 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5127 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5128 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5129 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5130 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5131 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5132 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5133 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5134 Likewise.
5135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5136 (__libc_pread64): Likewise.
5137 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5138 (__libc_preadv): Likewise.
5139 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5140 (__libc_readv64): Likewise.
5141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5142 (__libc_pwrite): Likewise.
5143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5144 (__libc_pwrite64): Likewise.
5145 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5146 (__libc_pwritev): Likewise.
5147 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5148 (__libc_pwritev64): Likewise.
5149 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5150 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5151 (sync_file_range): Likewise.
5152 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5153 Likewise.
5154 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5155 Likewise.
5156 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5157 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5158 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5159 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5160 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5161 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5162 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5163 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5165 Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5167 (__libc_read64): Likewise.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5169 Likewise.
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5171 Likewise.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5173 Likewise.
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5175 Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5177 (__libc_pread64): Likewise.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5179 Likewise.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5181 (__libc_pwrite64): Likewise.
5182 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5183 (sync_file_range): Likewise.
5184 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5185 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5186 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5187 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5188 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5189 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5190 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5191 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5192 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5193 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5194 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5195 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5196 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5197 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5198 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5199 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5200 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5201 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5202 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5203 Likewise.
5204 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5205 Likewise.
5206 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5207 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5208 Likewise.
5209 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5210 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5211 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5212 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5213 Likewise.
5214 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5215 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5216 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5217 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5218 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5219
5220 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5221
5222 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5223 Include dl-vdso.
5224 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5225 Use VDSO routines for gettimeofday, clock_gettime if
5226 available.
5227 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5228 Declare VDSO symbols.
5229 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5230 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5231 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5232 * sysdeps/unix/sysv/linux/arm/Versions: Add
5233 __vdso_clock_gettime.
5234
5235 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236
5237 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5238 be an inline implementation regardless of library is built within.
5239 (open_not_cancel_2): Likewise.
5240 (__read_nocancel): Likewise.
5241 (__write_nocancel): Likewise.
5242 (openat_not_cancel): Likewise.
5243 (openat_not_cancel_3): Likewise.
5244 (openat64_not_cancel): Likewise.
5245 (openat64_not_cancel_3): Likewise.
5246 (__close_nocancel): Likewise.
5247 (pause_not_cancel): Likewise.
5248 (nanosleep_not_cancel): Likewise.
5249 (sigsuspend_not_cancel): Likewise.
5250
5251 2015-06-04 Torvald Riegel <triegel@redhat.com>
5252
5253 [BZ #14958]
5254 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5255 wake-up.
5256 (__pthread_rwlock_rdlock_slow): Likewise.
5257 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5258 Likewise.
5259 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5260 Likewise.
5261 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5262 * nptl/tst-rwlock16.c: New file.
5263 * nptl/Makefile (tests): Add new test.
5264
5265 2015-06-04 Torvald Riegel <triegel@redhat.com>
5266
5267 [BZ #18324]
5268 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5269 missing wake-up of readers.
5270 * nptl/tst-rwlock15.c: New file.
5271 * nptl/Makefile (tests): Add new test.
5272
5273 2015-06-03 Roland McGrath <roland@hack.frob.com>
5274
5275 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5276 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5277 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5278 and __nacl_supply_interface_rtld.
5279 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5280 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5281 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5282 Add __nacl_supply_interface_rtld.
5283 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5284
5285 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5286
5287 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5288 isfinite.
5289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5290 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5291
5292 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5293
5294 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5295 __signbit* with standard C99 macros.
5296 * math/e_exp10l.c: Likewise.
5297 * math/e_exp2l.c: Likewise.
5298 * math/e_scalb.c: Likewise.
5299 * math/e_scalbf.c: Likewise.
5300 * math/e_scalbl.c: Likewise.
5301 * math/s_ldexp.c: Likewise.
5302 * math/s_ldexpf.c: Likewise.
5303 * math/s_ldexpl.c: Likewise.
5304 * math/w_atan2.c: Likewise.
5305 * math/w_atan2f.c: Likewise.
5306 * math/w_atan2l.c: Likewise.
5307 * math/w_cosh.c: Likewise.
5308 * math/w_coshf.c: Likewise.
5309 * math/w_coshl.c: Likewise.
5310 * math/w_exp10.c: Likewise.
5311 * math/w_exp10f.c: Likewise.
5312 * math/w_exp10l.c: Likewise.
5313 * math/w_exp2.c: Likewise.
5314 * math/w_exp2f.c: Likewise.
5315 * math/w_exp2l.c: Likewise.
5316 * math/w_fmod.c: Likewise.
5317 * math/w_fmodf.c: Likewise.
5318 * math/w_fmodl.c: Likewise.
5319 * math/w_hypot.c: Likewise.
5320 * math/w_hypotf.c: Likewise.
5321 * math/w_hypotl.c: Likewise.
5322 * math/w_jnl.c: Likewise.
5323 * math/w_lgamma.c: Likewise.
5324 * math/w_lgamma_r.c: Likewise.
5325 * math/w_lgammaf.c: Likewise.
5326 * math/w_lgammaf_r.c: Likewise.
5327 * math/w_lgammal.c: Likewise.
5328 * math/w_lgammal_r.c: Likewise.
5329 * math/w_pow.c: Likewise.
5330 * math/w_powf.c: Likewise.
5331 * math/w_powl.c: Likewise.
5332 * math/w_remainder.c: Likewise.
5333 * math/w_remainderf.c: Likewise.
5334 * math/w_remainderl.c: Likewise.
5335 * math/w_scalb.c: Likewise.
5336 * math/w_scalbf.c: Likewise.
5337 * math/w_scalbl.c: Likewise.
5338 * math/w_scalbln.c: Likewise.
5339 * math/w_scalblnf.c: Likewise.
5340 * math/w_scalblnl.c: Likewise.
5341 * math/w_sinh.c: Likewise.
5342 * math/w_sinhf.c: Likewise.
5343 * math/w_sinhl.c: Likewise.
5344 * math/w_tgamma.c: Likewise.
5345 * math/w_tgammaf.c: Likewise.
5346 * math/w_tgammal.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5354 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5355 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5378 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5379 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5380 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5381 * stdio-common/printf_fp.c: Likewise.
5382 * stdio-common/printf_fphex.c: Likewise.
5383 * stdio-common/printf_size.c: Likewise.
5384
5385 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #18470]
5388 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5389 strnlen.
5390 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5391 Remove variable.
5392 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5393 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5394 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5395 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5396 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5397 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5398 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5399 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5400 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5401 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5402
5403 [BZ #18468]
5404 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5405 weak alias of __wmemchr. Use libc_hidden_weak.
5406 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5407 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5408 instead of wmemchr.
5409
5410 2015-06-02 Roland McGrath <roland@hack.frob.com>
5411
5412 [BZ #18383]
5413 * elf/tst-tlsalign-extern.c: New file.
5414 * elf/tst-tlsalign-extern-static.c: New file.
5415 * elf/tst-tlsalign-vars.c: New file.
5416 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5417 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5418 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5419 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5420 (test-xfail-tst-tlsalign-extern-static): New variable.
5421
5422 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5423
5424 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5425 Use variable name _sc_err instead of err.
5426 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5427 instead of ret.
5428 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5429 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5430 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5431 (INLINE_SYSCALL): Likewise.
5432
5433 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5434 * include/string.h (__strnlen): Use libc_hidden_proto.
5435 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5436 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5437 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5438 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5439 (libc_hidden_def): Undefine and redefine.
5440 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5441 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5442 __GI_strnlen.
5443 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5444 libc_hidden_def.
5445 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5446
5447 [BZ #18469]
5448 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5449 weak alias of __towlower. Use libc_hidden_weak.
5450 (towupper): Rename to __towupper and define as weak alias of
5451 __towupper. Use libc_hidden_weak.
5452 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5453 (__towupper): Likewise.
5454 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5455 __towlower instead of towlower.
5456
5457 2015-06-02 Roland McGrath <roland@hack.frob.com>
5458
5459 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5460 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5461
5462 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5463
5464 * sysdeps/aarch64/libm-test-ulps: Update.
5465
5466 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5467
5468 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5469 Define.
5470 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5472 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5473 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5474 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5475 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5476 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5477
5478 2015-06-01 Martin Sebor <msebor@redhat.com>
5479
5480 [BZ #18116]
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5482 (__setcontext): Use extended four-operand version of mtsf whenever
5483 possible.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5485 (__novec_swapcontext): Likewise.
5486
5487 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5488
5489 * benchtests/scripts/compare_bench.py: New file.
5490 * benchtests/scripts/import_bench.py (mean): New function.
5491 (split_list): Likewise.
5492 (do_for_all_timings): Likewise.
5493 (compress_timings): Likewise.
5494
5495 * benchtests/scripts/import_bench.py: New file.
5496 * benchtests/scripts/validate_benchout.py: Import import_bench
5497 instead of jsonschema.
5498 (validate_bench): Remove function.
5499 (main): Use import_bench.
5500
5501 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5502
5503 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5504 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5505
5506 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5507
5508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5509
5510 2015-05-28 Roland McGrath <roland@hack.frob.com>
5511
5512 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5513 set THREAD_SELF->tid to a magic value and futex-wake it.
5514 Pass its address to the thread_exit system call.
5515 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5516 bit is clear.
5517 * sysdeps/nacl/lowlevellock.h: New file.
5518 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5519
5520 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5521 Add TIMEOUT to current time, don't subtract it.
5522
5523 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5524
5525 [BZ #2981]
5526 [BZ #18422]
5527 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5528 ($(objpfx)tst-audit2.out): Also depend on
5529 $(objpfx)tst-auditmod9b.so.
5530 * elf/tst-audit2.c: Include <dlfcn.h>.
5531 (calloc_called): New.
5532 (calloc): Allow to be called more than once.
5533 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5534
5535 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5536
5537 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5538 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5539
5540 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5541
5542 * stdlib/monetary.h: Fix comment.
5543
5544 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5545
5546 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5547 Avoid using variables in #defines that might cause shadowing.
5548 (INTERNAL_VSYSCALL_CALL): Likewise.
5549
5550 2015-05-26 Roland McGrath <roland@hack.frob.com>
5551
5552 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5553
5554 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5555 * nptl/lll_timedlock_wait.c: ... to this new file.
5556 * nptl/Makefile (libpthread-routines): Add it.
5557 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5558 * nptl/lll_timedwait_tid.c: ... to this new file.
5559 * nptl/Makefile (libpthread-routines): Add it.
5560 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5561 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5562 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5563 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5564 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5565 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5566 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5567 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5568 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5569 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5570
5571 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5572
5573 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5574 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5575 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5577 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5578 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5579 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5581 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5582 * sysdeps/unix/sysv/linux/tile/sysdep.h
5583 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5584 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5585 using vDSO syscall macro.
5586
5587 2015-05-26 Andriy Rysin <arysin@gmail.com>
5588
5589 [BZ #17293]
5590 * uk_UA: Fix sorting order for Ukrainian locale
5591
5592 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5593
5594 * stdlib/monetary.h: Fix comment.
5595
5596 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5597
5598 [BZ #18234]
5599 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5600 st_mtim and st_ctim members.
5601 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5602 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5603 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5604 (struct stat64): Likewise.
5605 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5606 (struct stat64): Likewise.
5607 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5608 (struct stat64): Likewise.
5609
5610 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5611
5612 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5613 Define and include sysdep-vdso.h.
5614 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5615 Likewise.
5616 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5617 Likewise.
5618 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5619 Define with VDSO_SYMBOL and use PTR_MANGLE.
5620 (__vdso_clock_gettime): Likewise.
5621 (__vdso_clock_getres): Likewise.
5622 (_libc_vdso_platform_setup): Likewise.
5623 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5624 Likewise.
5625 (_libc_vdso_platform_setup): Likewise.
5626 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5627 Likewise.
5628 (__vdso_clock_gettime): Likewise.
5629 (__vdso_clock_getres): Likewise.
5630 (__vdso_get_tbfreq): Likewise.
5631 (__vdso_getcpu): Likewise.
5632 (__vdso_time): Likewise.
5633 (__vdso_sigtramp_rt64): Likewise.
5634 (__vdso_signtramp32): Likewise.
5635 (__vdso_sigtramp_rt32): Likewise.
5636 (_libc_vdso_platform_setup): Likewise.
5637 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5638 Likewise.
5639 (__vdso_clock_gettime): Likewise.
5640 (__vdso_clock_getres): Likewise.
5641 (_libc_vdso_platform_setup): Likewise.
5642 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5643 Likewise.
5644 (__vdso_clock_gettime): Likewise.
5645 (_libc_vdso_platform_setup): Likewise.
5646 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5647 Likewise.
5648 (__vdso_getcpu): Likewise.
5649 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5650 Use VDSO_SYMBOL macro to define.
5651 (__vdso_clock_gettime): Likewise.
5652 (__vdso_clock_getres): Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5654 Likewise.
5655 (__vdso_clock_gettime): Likewise.
5656 (__vdso_clock_getres): Likewise.
5657 (__vdso_get_tbfreq): Likewise.
5658 (__vdso_getcpu): Likewise.
5659 (__vdso_time): Likewise.
5660 (__vdso_sigtramp_rt64): Likewise.
5661 (__vdso_signtramp32): Likewise.
5662 (__vdso_sigtramp_rt32): Likewise.
5663 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5664 Likewise.
5665 (__vdso_clock_gettime): Likewise.
5666 (__vdso_clock_getres): Likewise.
5667 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5668 Likewise.
5669 (__vdso_clock_gettime): Likewise.
5670 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5673 macro.
5674 (INTERNAL_VSYSCALL): Likewise.
5675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5676 Remove macro.
5677 (INTERNAL_VSYSCALL): Likewise.
5678 (INTERNAL_VSYSCALL_NCS): Likewise.
5679 (INTERNAL_VSYSCALL_CALL): New macro.
5680 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5682 Likewise.
5683 (INTERNAL_VSYSCALL): Likewise.
5684 (INTERNAL_VSYSCALL_NCS): Likewise.
5685 (INTERNAL_VSYSCALL_CALL): New macro.
5686 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5688 (INLINE_VSYSCALL): Remove macro.
5689 (INTERNAL_VSYSCALL): Remove macro.
5690 (INTERNAL_VSYSCALL_NCS): Remove macro.
5691 (INTERNAL_VSYSCALL_CALL): New macro.
5692 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5693 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5694 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5695 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5696 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5698 (INLINE_VSYSCALL): Remove macro.
5699 (INTERNAL_VSYSCALL): Likewise.
5700 (INTERNAL_VSYSCALL_NCS): Likewise.
5701 (INTERNAL_VSYSCALL_CALL): New macro.
5702 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5703 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5704 PTR_DEMANGLE on vDSO pointer.
5705 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5706 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5707 macro.
5708 (INTERNAL_SYSCALL): Likewise.
5709 (INTERNAL_VSYSCALL_NCS): Remove macro.
5710 (INTERNAL_VSYSCALL_CALL): New macro.
5711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5712 Remove macro.
5713 (INTERNAL_VSYSCALL): Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5715 sysdep-vdso.h instead of libc-vdso.h.
5716 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5717 definition.
5718 (INLINE_VSYSCALL): Likewise.
5719 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5720 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5721 definition.
5722 (INLINE_VSYSCALL): Likewise.
5723 (INTERNAL_VSYSCALL): Likewise.
5724 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5725 * sysdeps/unix/sysv/linux/timespec_get.c
5726 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5727 (timespec_get): Use ANSI prototype.
5728 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5729 and definition for Linux.
5730
5731 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5732
5733 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5734 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5735
5736 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 [BZ #2981]
5739 [BZ #18410]
5740 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5741 for missing DT_PLTRELSZ.
5742
5743 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5744
5745 Remove obsolete aliases that broke 'locale -a'
5746 [BZ #18412]
5747 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5748 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5749 breaking some applications that use 'locale -a' output.
5750 Change the encoding of this file from Latin-1 to ASCII to avoid
5751 other potential problems with people grepping this file.
5752
5753 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5754
5755 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5756 -fasynchronous-unwind-tables.
5757 (CFLAGS-sendto.c): Likewise.
5758 (CFLAGS-sendmsg.c): Likewise.
5759 (CFLAGS-connect.c): Likewise.
5760 (CFLAGS-recvmsg.c): Likewise.
5761 (CFLAGS-recvfrom.c): Likewise.
5762 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5763 (SOCKETCALL): New macro: non-cancellable socketcall.
5764 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5765 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5766 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5767 * sysdeps/unix/sysv/linux/accept.c: New file.
5768 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5769 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5770 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5771 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5772 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5773 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5774 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5775 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5776 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5777 * sysdeps/unix/sysv/linux/send.c: Likewise.
5778 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5779 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5780 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5781 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5782 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5783 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5784 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5785 prototype.
5786 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5787 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5788 instead of __internal_xxx function.
5789 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5790 prototype.
5791 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5792 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5793 instead of __internal_xxx function.
5794 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5795 prototype.
5796 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5797 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5798 instead of __internal_xxx function.
5799 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5800 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5801 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5802 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5803 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5804 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5805 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5806 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5807 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5808 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5809 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5810 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5811 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5812 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5813 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5814 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5815 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5816 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5817 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5818 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5821 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5822 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5823 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5824 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5825 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5826 * sysdeps/unix/sysv/linux/send.S: Likewise.
5827 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5828 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5829 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5831 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5832 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5834 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5835 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5836 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5837 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5838 socketcall is implemented in GLIBC.
5839
5840 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5841
5842 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5843 (__fma): Ignore uninitialized warnings around packing.
5844 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5845 (__fmaf): Ignore uninitialized warnings around packing.
5846 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5847 (__fmal): Ignore uninitialized warnings around packing.
5848
5849 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5850 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5852 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5853
5854 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5855 switch statement into default case.
5856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5857
5858 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5859 a conditional in forcing "inexact".
5860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5861 Likewise.
5862
5863 2015-05-22 Roland McGrath <roland@hack.frob.com>
5864
5865 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5866 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5867 for each INTERNAL_SYSCALL use.
5868
5869 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5870
5871 [BZ #438]
5872 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5873 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5874 variable.
5875
5876 [BZ #18444]
5877 * string/basename.c (basename): Rename to __basename and define as
5878 weak alias of __basename. Use libc_hidden_weak.
5879 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5880 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5881 __basename instead of basename.
5882 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5883 Remove variable.
5884 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5885
5886 2015-05-18 Florian Weimer <fweimer@redhat.com>
5887
5888 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5889 (_IO_JUMPS_FILE_plus): New.
5890 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5891 _IO_CAST_FIELD_ACCESS.
5892 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5893 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5894 * libio/freopen.c (freopen): Likewise.
5895 * libio/freopen64.c (freopen64): Likewise.
5896 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5897 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5898 * libio/iofwide.c (_IO_fwide): Likewise.
5899 * libio/memstream.c (open_memstream): Likewise.
5900 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5901 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5902 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5903
5904 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5905
5906 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5907 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5908 NADJ.
5909 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5910 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5911 NADJ.
5912 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5913 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5914 NADJ.
5915
5916 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5917 (p == 4) case.
5918
5919 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5920 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5921 Remove variable.
5922 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5923 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5924 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5925
5926 2015-05-21 Florian Weimer <fweimer@redhat.com>
5927
5928 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5929 Adjust jump table label generation macros.
5930
5931 2015-05-21 Florian Weimer <fweimer@redhat.com>
5932
5933 * stdio-common/vfprintf.c (vfprintf): Move local variables
5934 args_malloced, specs, specs_malloced, and the code after
5935 do_positional to the printf_positional function.
5936 (printf_positional): New function.
5937
5938 2015-05-21 Florian Weimer <fweimer@redhat.com>
5939
5940 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5941 function.
5942 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5943 STEP4_TABLE, process_arg): Move macro definitions
5944 out of the vfprintf function. (Cosmetic change only.)
5945
5946 2015-05-21 Carlos O'Donell <carlos@redhat.com>
5947
5948 * benchtests/Makefile (stdio-common-bench): Define.
5949 (benchset): Add stdio-common-bench.
5950 * sprintf-inputs: New file.
5951 * sprintf-source.c: New file.
5952
5953 2015-05-21 Andreas Schwab <schwab@suse.de>
5954
5955 [BZ #13028]
5956 [BZ #17053]
5957 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5958 of struct __res_state.
5959 * resolv/res_send.c (__libc_res_nsend): Likewise.
5960 (get_nsaddr): New function.
5961 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5962 statp directly.
5963
5964 2015-05-20 Joseph Myers <joseph@codesourcery.com>
5965
5966 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5967 -D_POSIX_C_SOURCE=199506L.
5968
5969 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5970
5971 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5972 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5973 Do not mention otherwise.
5974 [POSIX] (_XOPEN_VERSION): Do not expect.
5975 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5976 [POSIX] (_POSIX2_C_BIND): Likewise.
5977 [POSIX] (_POSIX2_VERSION): Likewise.
5978 [POSIX] (_XOPEN_XPG2): Likewise.
5979 [POSIX] (_XOPEN_XPG3): Likewise.
5980 [POSIX] (_XOPEN_XPG4): Likewise.
5981 [POSIX] (_XOPEN_UNIX): Likewise.
5982 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5983 [POSIX] (_POSIX_BARRIERS): Likewise.
5984 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5985 [POSIX] (_POSIX_CPUTIME): Likewise.
5986 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5987 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5988 [POSIX] (_POSIX_SHELL): Likewise.
5989 [POSIX] (_POSIX_SPAWN): Likewise.
5990 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5991 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5992 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5993 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5994 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5995 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5996 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5997 [POSIX] (_XBS5_LP64_OFF64): Likewise.
5998 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5999 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6000 [POSIX] (_POSIX2_PBS): Likewise.
6001 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6002 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6003 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6004 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6005 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6006 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6007 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6008 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6009 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6010 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6011 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6012 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6013 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6014 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6015 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6016 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6017 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6018 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6019 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6020 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6021 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6022 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6023 [POSIX] (_SC_2_C_BIND): Likewise.
6024 [POSIX] (_SC_2_C_VERSION): Likewise.
6025 [POSIX] (_SC_2_PBS): Likewise.
6026 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6027 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6028 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6029 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6030 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6031 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6032 [POSIX] (_SC_BARRIERS): Likewise.
6033 [POSIX] (_SC_BASE): Likewise.
6034 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6035 [POSIX] (_SC_DEVICE_IO): Likewise.
6036 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6037 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6038 [POSIX] (_SC_FD_MGMT): Likewise.
6039 [POSIX] (_SC_FIFO): Likewise.
6040 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6041 [POSIX] (_SC_FILE_LOCKING): Likewise.
6042 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6043 [POSIX] (_SC_IOV_MAX): Likewise.
6044 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6045 [POSIX] (_SC_NETWORKING): Likewise.
6046 [POSIX] (_SC_PAGE_SIZE): Likewise.
6047 [POSIX] (_SC_PASS_MAX): Likewise.
6048 [POSIX] (_SC_PIPE): Likewise.
6049 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6050 [POSIX] (_SC_REGEXP): Likewise.
6051 [POSIX] (_SC_SHELL): Likewise.
6052 [POSIX] (_SC_SIGNALS): Likewise.
6053 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6054 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6055 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6056 [POSIX] (_SC_USER_GROUPS): Likewise.
6057 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6058 [POSIX] (_SC_STREAMS): Likewise.
6059 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6060 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6061 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6062 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6063 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6064 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6065 [POSIX] (_PC_FILESIZEBITS): Likewise.
6066 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6067 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6068 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6069 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6070 [POSIX] (uid_t): Likewise.
6071 [POSIX] (gid_t): Likewise.
6072 [POSIX] (off_t): Likewise.
6073 [POSIX] (pid_t): Likewise.
6074 [POSIX] (cuserid): Allow.
6075 (_SC_2_CHAR_TERM): Require constant.
6076 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6077 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6078 variable.
6079
6080 2015-05-20 Roland McGrath <roland@hack.frob.com>
6081
6082 * sysdeps/nacl/pthread-pids.h: New file.
6083 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6084 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6085
6086 * nptl/pthread-pids.h: New file.
6087 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6088 * nptl/nptl-init.c: Include <pthread-pids.h>.
6089 (__pthread_initialize_minimal_internal):
6090 Call __pthread_initialize_pids instead of set_tid_address syscall.
6091
6092 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6093 * sysdeps/posix/usleep.c: ... here.
6094
6095 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6096
6097 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6098 call_pselect6 object.
6099 [$(subdir) = io]: Remove call_sync_file_range object.
6100 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6102 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6103 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6104
6105 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6106
6107 * math/s_cproj.c: Add include "math_private.h".
6108 * math/s_cprojf.c: Likewise.
6109 * math/s_cprojl.c: Likewise.
6110
6111 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6112
6113 [BZ #18244]
6114 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6115 high mantissa bit when testing whether P is a NaN.
6116 * math/libm-test.inc (remainder_test_data): Add more tests.
6117 (remquo_test_data): Likewise.
6118
6119 [BZ #18049]
6120 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6121 below -32, return the argument, with underflow if subnormal.
6122 * math/auto-libm-test-in: Add more tests of atanh.
6123 * math/auto-libm-test-out: Regenerated.
6124
6125 2015-05-19 Roland McGrath <roland@hack.frob.com>
6126
6127 [BZ #18434]
6128 * nptl/tst-sem15.c: New file.
6129 * nptl/Makefile (tests): Add it.
6130 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6131 s/<</>>/ to fix typo in EOVERFLOW check.
6132 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6133
6134 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6135
6136 * manual/strings.texi (envz_remove): Fix typo in safety
6137 annotations.
6138
6139 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6140 Steve Ellcey <sellcey@imgtec.com>
6141
6142 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6143 in order to avoid strict alias warnings.
6144 (iruserok_af): Ditto for ra.
6145
6146 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6147
6148 [BZ #17581]
6149 * malloc/hooks.c
6150 (magicbyte): Convert to a function and avoid returning 0x01.
6151 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6152 (mem2chunk_check): Fix unsigned comparisons to zero.
6153 Hoist defs of sz and magic.
6154
6155 2015-05-19 Richard Henderson <rth@redhat.com>
6156
6157 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6158
6159 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6160
6161 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6162
6163 [BZ #16159]
6164 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6165 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6166 (reused_arena): Find a non-corrupt arena.
6167 (heap_trim): Pass arena to unlink.
6168 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6169 malloc_printerr.
6170 (top_check): Likewise.
6171 (free_check): Likewise.
6172 (realloc_check): Likewise.
6173 * malloc/malloc.c (malloc_printerr): Add arena argument.
6174 (unlink): Likewise.
6175 (munmap_chunk): Adjust.
6176 (ARENA_CORRUPTION_BIT): New macro.
6177 (arena_is_corrupt): Likewise.
6178 (set_arena_corrupt): Likewise.
6179 (sysmalloc): Use mmap if there are no usable arenas.
6180 (_int_malloc): Likewise.
6181 (__libc_malloc): Don't fail if arena_get returns NULL.
6182 (_mid_memalign): Likewise.
6183 (__libc_calloc): Likewise.
6184 (__libc_realloc): Adjust for additional argument to
6185 malloc_printerr.
6186 (_int_free): Likewise.
6187 (malloc_consolidate): Likewise.
6188 (_int_realloc): Likewise.
6189 (_int_memalign): Don't touch corrupt arenas.
6190 * malloc/tst-malloc-backtrace.c: New test case.
6191
6192 * Makefile (summarize-tests): Fix return value on success.
6193
6194 * manual/string.texi (Envz Functions): Add envz_remove.
6195
6196 2015-05-18 Roland McGrath <roland@hack.frob.com>
6197
6198 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6199 (invalid_name): New function, broken out of ...
6200 (__opendirat): ... here. Call it.
6201 (need_isdir_precheck): New function, broken out of ...
6202 (__opendirat): ... here. Call it.
6203 Use __fxstatat64, not __xstatat64.
6204 (opendir_oflags): New function, broken out of ...
6205 (__opendirat): ... here. Call it.
6206 (opendir_tail): New function, broken out of ...
6207 (__opendirat): ... here. Call it.
6208 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6209 opendir_tail, rather than punting to __opendirat.
6210 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6211
6212 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6213
6214 * .gitignore: Ignore generated *.pyc.
6215
6216 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6217
6218 * include/stdio.h: Define __need_wint_t.
6219 * test-skeleton.c: Avoid `for' loop initial declaration.
6220 * nptl/tst-initializers1.c: Use test-skeleton.c.
6221
6222 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6223
6224 [BZ #18418]
6225 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6226
6227 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6228
6229 [BZ #16352]
6230 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6231 (__ieee754_atanh): Force underflow exception for results with
6232 small absolute value.
6233 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6234 (__ieee754_atanhf): Force underflow exception for results with
6235 small absolute value.
6236 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6237 (__ieee754_atanh): Force underflow exception for results with
6238 small absolute value.
6239 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6240 (__ieee754_atanhf): Force underflow exception for results with
6241 small absolute value.
6242 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6243 (__ieee754_atanhl): Force underflow exception for results with
6244 small absolute value.
6245 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6246 (__ieee754_atanhl): Force underflow exception for results with
6247 small absolute value.
6248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6249 (__ieee754_atanhl): Force underflow exception for results with
6250 small absolute value.
6251 * math/auto-libm-test-in: Do not allow missing underflow
6252 exceptions from atanh.
6253 * math/auto-libm-test-out: Regenerated.
6254
6255 [BZ #18221]
6256 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6257 2**-28 as threshold for returning x or +/- 1/x.
6258 * math/auto-libm-test-in: Add more tests of tan.
6259 * math/auto-libm-test-out: Regenerated.
6260
6261 [BZ #18220]
6262 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6263 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6264 * math/auto-libm-test-in: Add another test of lgamma.
6265 * math/auto-libm-test-out: Regenerated.
6266
6267 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6268
6269 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6270 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6271 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6272 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6273 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6274 (ADD2A): Use fabs. (SUB2A): Use fabs.
6275 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6278 (log1): Use fabs. (my_log2): Use fabs.
6279 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6280 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6282 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6284 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6285 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6286 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6287 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6288 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6289 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6290
6291 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6292
6293 [BZ #18217]
6294 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6295 as threshold for returning 1 - x.
6296 * math/auto-libm-test-in: Add more tests of erfc.
6297 * math/auto-libm-test-out: Regenerated.
6298
6299 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6300
6301 [BZ #18196]
6302 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6303 threshold for large arguments.
6304 * math/auto-libm-test-in: Add another test of atan.
6305 * math/auto-libm-test-out: Regenerated.
6306
6307 [BZ #16339]
6308 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6309 (__log1p): Force underflow exception for results with small
6310 absolute value.
6311 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6312 (__log1pf): Force underflow exception for results with small
6313 absolute value.
6314 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6315 (__log1p): Force underflow exception for results with small
6316 absolute value.
6317 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6318 (__log1pf): Force underflow exception for results with small
6319 absolute value.
6320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6321 (__log1pl): Force underflow exception for results with small
6322 absolute value.
6323 * math/auto-libm-test-in: Do not allow missing underflow
6324 exceptions from log1p.
6325 * math/auto-libm-test-out: Regenerated.
6326
6327 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6328 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6329
6330 [BZ #16704]
6331 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6332
6333 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6334
6335 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6336 (libmvec): New variable.
6337 * configure.ac: Added option for mathvec build.
6338 * configure: Regenerated.
6339 * mathvec/Depend: New file.
6340 * mathvec/Makefile: New file.
6341 * shlib-versions: Added libmvec.
6342 * math/Makefile: Added rule for libm.so installation.
6343
6344 * bits/math-vector.h: New file.
6345 * bits/libm-simd-decl-stubs.h: New header.
6346 * math/Makefile (headers): Added new header
6347 libm-simd-decl-stubs.h.
6348 * math/math.h (__MATHCALL_VEC): New macro.
6349
6350 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6351 for conditions in testing functions.
6352 * math/Makefile: Added call of libm-have-vector-test.sh.
6353 * math/libm-test.inc (HAVE_VECTOR): New macros.
6354
6355 * math/libm-test.inc: START refactored.
6356 * math/test-double.c (TEST_MATHVEC): Add define.
6357 * math/test-float.c: Likewise.
6358 * math/test-idouble.c: Likewise.
6359 * math/test-ifloat.c: Likewise.
6360 * math/test-ildoubl.c: Likewise.
6361 * math/test-ldouble.c: Likewise.
6362 * sysdeps/generic/math-tests-arch.h
6363 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6364 architecture check.
6365
6366 * math/test-double.c (FUNC_TEST): New macro.
6367 * math/test-float.c: Likewise.
6368 * math/test-idouble.c: Likewise.
6369 * math/test-ifloat.c: Likewise.
6370 * math/test-ildoubl.c: Likewise.
6371 * math/test-ldouble.c: Likewise.
6372 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6373
6374 2015-05-13 Roland McGrath <roland@hack.frob.com>
6375
6376 * sysdeps/nacl/fdopendir.c: New file.
6377
6378 * dirent/scandir-tail.c: New file.
6379 * dirent/scandir64-tail.c: New file.
6380 * dirent/Makefile (routines): Add them.
6381 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6382 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6383 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6384 [!SCANDIR] (SCANDIR_TAIL): New macro.
6385 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6386 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6387 (SCANDIRAT): Macro removed.
6388 (SCANDIR_TAIL): New macro.
6389 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6390 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6391 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6392 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6393 (READDIR): Macro removed.
6394 (SCANDIR_TAIL): New macro.
6395 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6396 (SCANDIR_TAIL): New macro.
6397
6398 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6399 * dirent/scandir-cancel.c: ... to this new file.
6400 * dirent/Makefile (routines): Add it.
6401 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6402 * sysdeps/unix/sysv/linux/i386/scandir64.c
6403 (SKIP_SCANDIR_CANCEL): Macro removed.
6404 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6405
6406 * dirent/tst-scandir.c: New file.
6407 * dirent/tst-scandir64.c: New file.
6408 * dirent/Makefile (tests): Add them.
6409
6410 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6411
6412 [BZ #18409]
6413 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6414
6415 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6416
6417 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6418 list.
6419
6420 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6421
6422 * benchtests/bench-strcoll.c: New benchmark.
6423 * benchtests/Makefile: Generate locales and run benchmark.
6424 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6425 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6426 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6427 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6428 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6429 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6430 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6431 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6432 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6433 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6434 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6435 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6436 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6437 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6438 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6439 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6440 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6441 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6442 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6443 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6444 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6445 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6446 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6447 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6448
6449 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6450
6451 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6452 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6453
6454 2015-05-12 Roland McGrath <roland@hack.frob.com>
6455
6456 * posix/uname-values.h: New file.
6457 * posix/uname.c: Include that instead of <config-name.h>.
6458 * sysdeps/nacl/uname-values.h: New file.
6459 * sysdeps/arm/nacl/uname-values.h: New file.
6460
6461 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6462
6463 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6464 splitting into fields.
6465
6466 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6467
6468 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6469 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6470 * locale/localeinfo.h: Add enum collation_encoding_type.
6471 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6472 * programs/ld-collate.c (collate_output): Add encoding type info.
6473 * string/strcoll_l.c (STRDIFF): New function.
6474 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6475 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6476
6477 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #18397]
6480 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6481 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6482 <fpu_control.h> instead of <math/fpu_control.c>.
6483 * sysdeps/mips/mips32/fpu/Makefile: New file.
6484
6485 2015-05-11 Andreas Schwab <schwab@suse.de>
6486
6487 [BZ #18007]
6488 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6489 nss_endgrent.
6490 (_nss_compat_endgrent): Call nss_endgrent.
6491 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6492 nss_endpwent.
6493 (_nss_compat_endpwent): Call nss_endpwent.
6494 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6495 needent, call nss_setspent only if non-zero.
6496 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6497 (internal_endspent): Don't call nss_endspent.
6498 (_nss_compat_endspent): Call nss_endspent.
6499 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6500 Remove. All uses removed.
6501 (internal_setent): Remove parameter stayopen, add parameter
6502 stream. Use it instead of global variable.
6503 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6504 (internal_endent, internal_getent): Add parameter stream. Use it
6505 instead of global variable.
6506 (CONCAT(_nss_files_end,ENTNAME))
6507 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6508 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6509 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6510 uses removed.
6511 (internal_setent, internal_endent): Add parameter stream. Use it
6512 instead of global variable.
6513 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6514 stream.
6515 (get_next_alias): Add parameter stream.
6516 (_nss_files_getaliasent_r): Pass global stream.
6517 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6518 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6519 (_nss_files_gethostbyname4_r): Pass local stream to
6520 internal_setent, internal_getent and internal_endent. Remove
6521 locking.
6522
6523 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6524
6525 * tst-strfmon1.c (tests): Update expected currency symbol.
6526
6527 2015-05-08 Roland McGrath <roland@hack.frob.com>
6528
6529 * sysdeps/nacl/gethostname.c: New file.
6530
6531 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6532
6533 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6534 and sinh.
6535 * math/auto-libm-test-out: Regenerated.
6536 * sysdeps/i386/fpu/libm-test-ulps: Update.
6537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6538
6539 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6540
6541 [BZ #18125]
6542 * stdlib/tst-setcontext3.c: New file.
6543 * stdlib/tst-setcontext3.sh: New file.
6544 * stdlib/Makefile (tests): Add tst-setcontext3.
6545 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6546 to verify test program created output file.
6547 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6548 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6549 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6550 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6551
6552 2015-05-06 Roland McGrath <roland@hack.frob.com>
6553
6554 [BZ #18383]
6555 * elf/tst-tlsalign.c: New file.
6556 * elf/tst-tlsalign-static.c: New file.
6557 * elf/tst-tlsalign-lib.c: New file.
6558 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6559 (tests-static): Add tst-tlsalign-static.
6560 (modules-names): Add tst-tlsalign-lib.
6561 (test-xfail-tst-tlsalign): New variable.
6562 (test-xfail-tst-tlsalign-static): New variable.
6563
6564 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6565 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6566
6567 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6568
6569 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6570 csqrt, erfc, sin and sincos.
6571 * math/auto-libm-test-out: Regenerated.
6572 * sysdeps/i386/fpu/libm-test-ulps: Update.
6573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6574
6575 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6576
6577 * sysdeps/aarch64/libm-test-ulps: Update.
6578
6579 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6580
6581 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6582 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6583 * math/auto-libm-test-out: Regenerated.
6584 * sysdeps/i386/fpu/libm-test-ulps: Update.
6585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6586
6587 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6588
6589 [BZ #18265]
6590 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6591 (wcsncpy): Likewise.
6592
6593 2015-05-05 Florian Weimer <fweimer@redhat.com>
6594
6595 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6596 Assume __ASSUME_FALLOCATE is always true.
6597 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6598 (__posix_fallocate64_l64): Likweise.
6599 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6600 (posix_fallocate): Likewise.
6601 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6602 (__posix_fallocate64_l64): Likewise.
6603 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6604 [!__ASSUME_FALLOCATE]: Add comment.
6605
6606 2015-05-05 Florian Weimer <fweimer@redhat.com>
6607
6608 * sysdeps/unix/sysv/linux/i386/Makefile
6609 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6610 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6611 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6612 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6613 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6614 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6615 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6616
6617 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6618
6619 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6620 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6621 tgamma.
6622 * math/auto-libm-test-out: Regenerated.
6623 * sysdeps/i386/fpu/libm-test-ulps: Update.
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625
6626 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6627
6628 * math/auto-libm-test-in: Add more tests of tgamma.
6629 * math/auto-libm-test-out: Regenerated.
6630 * sysdeps/i386/fpu/libm-test-ulps: Update.
6631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632
6633 * math/auto-libm-test-in: Add more tests of tanh.
6634 * math/auto-libm-test-out: Regenerated.
6635 * sysdeps/i386/fpu/libm-test-ulps: Update.
6636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637
6638 * math/auto-libm-test-in: Add more tests of tan.
6639 * math/auto-libm-test-out: Regenerated.
6640 * sysdeps/i386/fpu/libm-test-ulps: Update.
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6642
6643 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
6649 * math/auto-libm-test-out: Regenerated.
6650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6651
6652 * math/auto-libm-test-in: Add more tests of lgamma.
6653 * math/auto-libm-test-out: Regenerated.
6654 * sysdeps/i386/fpu/libm-test-ulps: Update.
6655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656
6657 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6658 log1p.
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 2015-05-01 Mark Wielaard <mjw@redhat.com>
6664
6665 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6666 Elf64_Chdr structs and ELFCOMPRESS constants.
6667
6668 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6669
6670 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6671 expm1.
6672 * math/auto-libm-test-out: Regenerated.
6673 * sysdeps/i386/fpu/libm-test-ulps: Update.
6674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6675
6676 * math/auto-libm-test-in: Add more tests of erf and erfc.
6677 * math/auto-libm-test-out: Regenerated.
6678 * sysdeps/i386/fpu/libm-test-ulps: Update.
6679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6680
6681 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6682
6683 * config.h.in (HAVE_AARCH64_BE): Add.
6684
6685 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6686
6687 * math/auto-libm-test-in: Add more tests of csqrt.
6688 * math/auto-libm-test-out: Regenerated.
6689 * sysdeps/i386/fpu/libm-test-ulps: Update.
6690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6691
6692 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6693 * math/auto-libm-test-out: Regenerated.
6694 * sysdeps/i386/fpu/libm-test-ulps: Update.
6695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696
6697 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6698
6699 2015-04-29 Roland McGrath <roland@hack.frob.com>
6700
6701 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6702 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6703
6704 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6705 (euidaccess, eaccess): Define as weak aliases.
6706
6707 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6708 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6709 but __suseconds_t is often 'long int' so some sources assume that
6710 type is being used (e.g. they use %ld to print tv_usec).
6711
6712 2015-04-29 Florian Weimer <fweimer@redhat.com>
6713
6714 [BZ #18007]
6715 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6716 (CVE-2014-8121)
6717 * nss/tst-nss-getpwent.c: New file.
6718 * nss/Makefile (tests): Add new test.
6719
6720 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6721
6722 [BZ #18346]
6723 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6724 exponents less than 48 as cases where high part of mantissa needs
6725 examining to determine whether argument is integral.
6726 * math/libm-test.inc (round_test_data): Add more tests.
6727
6728 2015-04-28 Mark Wielaard <mjw@redhat.com>
6729
6730 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6731
6732 2015-04-27 David S. Miller <davem@davemloft.net>
6733
6734 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6735 __tls_get_addr.
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6737
6738 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 [BZ#18333]
6741 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6742
6743 2015-04-27 Florian Weimer <fweimer@redhat.com>
6744
6745 [BZ#18333]
6746 * time/tzset.c (parse_tzname): Return error on memory allocation
6747 failure.
6748 * test-skeleton.c (struct temp_name_list): Change type of name
6749 member to non-const.
6750 (add_temp_file): Create a copy of the file name.
6751 (delete_temp_files): Deallocate memory.
6752 (create_temp_file): Add comment.
6753
6754 2015-04-24 Florian Weimer <fweimer@redhat.com>
6755
6756 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6757 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6758
6759 2015-04-24 Roland McGrath <roland@hack.frob.com>
6760
6761 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6762 * sysdeps/arm/configure: Regenerated.
6763
6764 2015-04-24 Florian Weimer <fweimer@redhat.com>
6765
6766 [BZ #17715]
6767 * time/tzfile.c (__tzfile_read): Check for large values of
6768 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6769 * time/tzset.c (__tzstring_len): New function, based on the old
6770 __tzstring function.
6771 (__tzstring): Call __tzstring_len.
6772 (parse_tzname): New helper function extracted from
6773 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6774 the input string.
6775 (parse_offset): New helper function extracted from
6776 __tzset_parse_tz. Replace switch with fallthrough with
6777 initialization before sscanf.
6778 (parse_rule): Likewise.
6779 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6780 new-style function definition.
6781 * timezone/Makefile (tests): Add tst-tzset.
6782 (tst-tzset.out): Dependencies on time zone files.
6783 (tst-tzset-ENV): Set TZDIR.
6784 (testdata/XT%): Copy crafted time zone files.
6785 * timezone/README: Mention crafted time zone files.
6786 * timezone/testdata/XT1, timezone/testdata/XT2,
6787 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6788 files.
6789 * timezone/tst-tzset.c: New test.
6790
6791 2015-04-24 Florian Weimer <fweimer@redhat.com>
6792
6793 * Makeconfig (+gccwarn): Remove -Winline.
6794
6795 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6796
6797 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6798
6799 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6800
6801 * NEWS: Mention sysconf() cache information support for s390.
6802 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6803
6804 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6805
6806 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6808 (__nearbyint): Likewise.
6809 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6810 (copysignl): Likewise.
6811
6812 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6813
6814 [BZ #18287]
6815 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6816 based on padding. (CVE-2015-1781)
6817
6818 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6819
6820 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6821 libc-vdso.h.
6822 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6823 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6824 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6825 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6826 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6827 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6828 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6830 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6831 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6832 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6834 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6835 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6836 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6837 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6838 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6840 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6841 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6842 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6843 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6844 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6845
6846 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6847
6848 * stdlib/setenv.c (__add_to_environ):
6849 Dump core quickly if setenv (..., NULL, ...) is called.
6850 This time, do it the right way, and pacify GCC with a pragma.
6851
6852 2015-04-17 Roland McGrath <roland@hack.frob.com>
6853
6854 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6855 IMAP->l_prev cannot be null, and #if out the code for the contrary
6856 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6857 believe that NS (&_dl_ns[NSID]) could point outside the array.
6858
6859 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6860 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6861 before using NSID as an index.
6862
6863 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6864
6865 [BZ #17825]
6866 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6867 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6868 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6869
6870 2015-04-17 Roland McGrath <roland@hack.frob.com>
6871
6872 Add preliminary port to Google Native Client on ARM.
6873 * abi-tags (.*-.*-nacl.*): New entry.
6874 * sysdeps/arm/nacl: New directory.
6875 * sysdeps/nacl: New directory.
6876
6877 2015-04-16 David S. Miller <davem@davemloft.net>
6878
6879 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6880 lowlevellock-futex.h
6881
6882 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6883
6884 * sysdeps/tile/configure.ac: New file.
6885 * sysdeps/tile/configure: Regenerated.
6886
6887 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6888
6889 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6890 conditionals for weak_alias and libc_hidden_weak.
6891 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6892 libc_hidden_weak and weak_alias.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6894 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6895 and weak_alias for static one.
6896
6897 2015-04-15 David S. Miller <davem@davemloft.net>
6898
6899 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6900
6901 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6902
6903 [BZ #18206]
6904 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6905 Use signed comparision instead of substraction to avoid
6906 overflow bug.
6907 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6908 Take the sign of ret.
6909 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6910 Do not expect precise return values. Only the sign matters.
6911 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6912 * wcsmbs/test-wcsncmp.c: New File.
6913 * string/test-strncmp.c: Add wcsncmp support.
6914
6915 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6916
6917 [BZ #6792]
6918 * math/w_log1p.c: New file.
6919 * math/w_log1pf.c: Likewise.
6920 * math/w_log1pl.c: Likewise.
6921 * math/Makefile (libm-calls): Add w_log1p.
6922 * math/s_log1pl.c (log1pl): Remove weak_alias.
6923 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6924 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6925 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6926 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6927 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6928 [NO_LONG_DOUBLE] (log1pl): Likewise.
6929 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6931 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6932 (log1p): Remove long_double_symbol.
6933 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6934 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6935 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6936 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6937 remove weak_alias for corresponding log1p function.
6938 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6939 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6940 * sysdeps/ia64/fpu/w_log1p.c: New file.
6941 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6942 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6943 * math/libm-test.inc (log1p_test_data): Add errno expectations.
6944
6945 2015-04-10 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #18247]
6948 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6949 decimal exponent by 1.
6950 * stdlib/tst-strtod-round-data: Add more tests.
6951 * stdlib/tst-strtod-round.c (tests): Regenerated.
6952
6953 2015-04-09 Joseph Myers <joseph@codesourcery.com>
6954
6955 * math/auto-libm-test-in: Add more tests of clog and clog10.
6956 * math/auto-libm-test-out: Regenerated.
6957 * sysdeps/i386/fpu/libm-test-ulps: Update.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6959
6960 2015-04-09 Roland McGrath <roland@hack.frob.com>
6961
6962 * Makeconfig (module-cppflags): Exclude all .v.i files.
6963 (skip-module-cppflags): Variable removed.
6964
6965 * configure.ac (libc_config_ok): Initialize before reading
6966 preconfigure scripts, not after.
6967 * configure: Regenerated.
6968
6969 * test-skeleton.c (TIMEOUT): Move #define to top level.
6970 (main): Grok environment variable TEST_DIRECT. If set, print
6971 test expectation details into that file and then behave as if
6972 given --direct.
6973
6974 2015-04-09 Florian Weimer <fweimer@redhat.com>
6975
6976 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6977 warning on 32-bit.
6978
6979 2015-04-08 David S. Miller <davem@davemloft.net>
6980
6981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6982
6983 2015-04-08 Joseph Myers <joseph@codesourcery.com>
6984
6985 * math/auto-libm-test-in: Add more tests of atanh.
6986 * math/auto-libm-test-out: Regenerated.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989
6990 * math/auto-libm-test-in: Add more tests of atan.
6991 * math/auto-libm-test-out: Regenerated.
6992 * sysdeps/i386/fpu/libm-test-ulps: Update.
6993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6994
6995 2015-04-08 Florian Weimer <fweimer@redhat.com>
6996
6997 * elf/pldd.c (main): Rewrite to use struct
6998 scratch_buffer instead of extend_alloca.
6999 * elf/pldd-xx.c (find_maps): Likewise.
7000 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7001 <alloca.h>.
7002 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7003 scratch_buffer instead of extend_alloca.
7004 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7005 grp/compat-initgroups.c.
7006 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7007 Rewrite to use struct scratch_buffer instead of extend_alloca.
7008 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7009 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7010
7011 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7012
7013 * math/auto-libm-test-in: Add more tests of cbrt.
7014 * math/auto-libm-test-out: Regenerated.
7015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7016
7017 * math/auto-libm-test-in: Add more tests of cabs.
7018 * math/auto-libm-test-out: Regenerated.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021
7022 [BZ #18210]
7023 [BZ #18211]
7024 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7025 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7026 computations.
7027 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7028 clog10.
7029 * math/auto-libm-test-out: Regenerated.
7030 * sysdeps/i386/fpu/libm-test-ulps: Update.
7031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7032
7033 [BZ #18197]
7034 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7035 (atan): Set FE_TONEAREST mode for internal computations.
7036 * math/auto-libm-test-in: Add more tests of atan.
7037 * math/auto-libm-test-out: Regenerated.
7038
7039 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7040
7041 [BZ #17930]
7042 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7043
7044 2015-04-07 Florian Weimer <fweimer@redhat.com>
7045
7046 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7047
7048 2015-04-07 Florian Weimer <fweimer@redhat.com>
7049
7050 * include/scratch_buffer.h: New file.
7051 * malloc/scratch_buffer_grow.c: Likewise.
7052 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7053 * malloc/scratch_buffer_set_array_size.c: Likewise.
7054 * malloc/tst-scratch_buffer.c: Likewise.
7055 * malloc/Makefile (routines): Add scratch_buffer_grow.
7056 (tests): Add test case.
7057 * malloc/Versions (GLIBC_PRIVATE): Export
7058 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7059 __libc_scratch_buffer_set_array_size.
7060
7061 2015-04-06 Richard Henderson <rth@redhat.com>
7062
7063 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7064 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7065
7066 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7067 unsigned int before printing.
7068
7069 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7070
7071 [BZ #17596]
7072 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7073 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7074
7075 2015-04-02 Florian Weimer <fweimer@redhat.com>
7076
7077 * include/libc-internal.h (libc_max_align_t): Define.
7078
7079 2015-04-02 Andreas Schwab <schwab@suse.de>
7080
7081 [BZ #16850]
7082 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7083
7084 2015-04-02 Mel Gorman <mgorman@suse.de>
7085
7086 [BZ #17195]
7087 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7088 as well as the main arena.
7089
7090 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7091
7092 [BZ #18185]
7093 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7094 sharing L2 cache to 2 for Silvermont/Knights Landing.
7095
7096 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7097
7098 [BZ #17711]
7099 * config.make.in (have-protected-data): New.
7100 * configure.ac: Check linker support for protected data symbol.
7101 * configure: Regenerated.
7102 * elf/Makefile (modules-names): Add tst-protected1moda and
7103 tst-protected1modb if $(have-protected-data) is yes.
7104 (tests): Add tst-protected1a and tst-protected1b if
7105 $(have-protected-data) is yes.
7106 ($(objpfx)tst-protected1a): New.
7107 ($(objpfx)tst-protected1b): Likewise.
7108 (tst-protected1modb.so-no-z-defs): Likewise.
7109 * elf/tst-protected1a.c: New file.
7110 * elf/tst-protected1b.c: Likewise.
7111 * elf/tst-protected1mod.h: Likewise.
7112 * elf/tst-protected1moda.c: Likewise.
7113 * elf/tst-protected1modb.c: Likewise.
7114
7115 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 [BZ #17711]
7118 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7119 indicates it is called from do_lookup_x on relocation against
7120 protected data, skip the data definion in the executable from
7121 copy reloc.
7122 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7123 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7124 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7125 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7126 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7127 otherwise to 0.
7128 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7129 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7130 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7131 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7132 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7133 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7134
7135 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7136
7137 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7138 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7139
7140 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7141
7142 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7143 THREAD_SETMEM_NC.
7144 * sysdeps/x86_64/nptl/tls.h: Ditto.
7145
7146 2015-03-27 Roland McGrath <roland@hack.frob.com>
7147
7148 * dlfcn/tststatic.c (main): Converted to ...
7149 (do_test): ... this.
7150 (TEST_FUNCTION): New macro.
7151 Include test-skeleton.c.
7152
7153 2015-03-26 Alan Modra <amodra@gmail.com>
7154
7155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7156 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7157 zero for undefined weak.
7158 (elf_machine_plt_conflict): Similarly.
7159
7160 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7161
7162 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7163 atanh.
7164 * math/auto-libm-test-out: Regenerated.
7165 * sysdeps/i386/fpu/libm-test-ulps: Update.
7166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7167
7168 * math/auto-libm-test-in: Add another test of asin.
7169 * math/auto-libm-test-out: Regenerated.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
7173 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7174 Remove macro.
7175 (LLL_EBX_REG): Likewise.
7176 (LLL_ENTER_KERNEL): Likewise.
7177
7178 * math/auto-libm-test-in: Add more tests of asin.
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 [BZ #18138]
7184 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7185 libc_do_syscall_args): New structure.
7186 (INTERNAL_SYSCALL_MAIN_0): New macro.
7187 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7188 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7189 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7190 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7191 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7192 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7193 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7194 Replace conditional definitions by conditional definitions of ....
7195 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7196 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7197 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7198 (libpthread-sysdep_routines): Add libc-do-syscall.
7199 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7200 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7201 to __NR_futex not 240.
7202
7203 2015-03-25 Alan Modra <amodra@gmail.com>
7204
7205 * NEWS: Advertise TLS optimization.
7206 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7207 (DT_PPC_NUM): Increment.
7208 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7209 (CHECK_STATIC_TLS): Use here.
7210 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7211 TLS descriptors.
7212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7213 * sysdeps/powerpc/dl-tls.c: New file.
7214 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7215 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7216 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7217 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7221
7222 2015-03-25 Alan Modra <amodra@gmail.com>
7223
7224 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7225 for overlapping .opd entries" to "support...".
7226 * sysdeps/powerpc/powerpc64/configure: Regenerate
7227
7228 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7229
7230 * math/auto-libm-test-in: Add more tests of acos.
7231 * math/auto-libm-test-out: Regenerated.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234
7235 * math/auto-libm-test-in: Add more tests of expm1.
7236 * math/auto-libm-test-out: Regenerated.
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239
7240 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7241
7242 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7243 * math/auto-libm-test-out: Regenerated.
7244 * sysdeps/i386/fpu/libm-test-ulps: Update.
7245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246
7247 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249
7250 * math/auto-libm-test-in: Add more tests of log2.
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-23 Roland McGrath <roland@hack.frob.com>
7256
7257 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7258 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7259 _IO_IS_APPENDING bit in READ_WRITE instead.
7260
7261 2015-03-23 Florian Weimer <fweimer@redhat.com>
7262
7263 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7264 (__determine_cpumask_size): Replace extend_alloca with a
7265 variable-length array. Do not treat res == 0 as an error.
7266
7267 2015-03-23 Florian Weimer <fweimer@redhat.com>
7268
7269 [BZ #18100]
7270 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7271 and integer overflow.
7272 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7273 (main): Add integer overflow tests.
7274 * manual/pattern.texi (Calling Wordexp): Document additional use
7275 for WRDE_SYNTAX.
7276
7277 2015-03-23 Alan Modra <amodra@gmail.com>
7278
7279 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7280 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7281 and false branch of conditional.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7283 Likewise.
7284
7285 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7286
7287 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7288 libc-modules.h
7289 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7290 unused declaration of _hurd_intr_rpc_msg_in_trap.
7291 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7292 defined instead of whether it is non-zero.
7293 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7294 input constraint instead of both input and output constraint. Use ecx
7295 clobber instead of %ecx.
7296 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7297 mutex_unlock): Use a statement expression instead of an expression list.
7298 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7299 type to vm_size_t instead of vm_address_t.
7300 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7301 defined instead of whether it is non-zero.
7302 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7303 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7304 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7305 comparisons with mapaddr.
7306 * nscd/nscd-client.h: Include <time.h>.
7307 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7308 9th parameter to __vm_region instead of int.
7309 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7310 * scripts/check-local-headers.sh (exclude): Add device/,
7311 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7312 cthreads.h.
7313
7314 2015-03-19 Roland McGrath <roland@hack.frob.com>
7315
7316 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7317 to account for alignment padding.
7318 * sysdeps/arm/memmove.S: Likewise.
7319
7320 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7321
7322 * sysdeps/unix/sysv/linux/generic/README: New file.
7323
7324 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7325
7326 [BZ #18138]
7327 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7328 (futex_abstimed_wait)
7329 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7330 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7331 of lll_futex_timed_wait.
7332
7333 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7334
7335 [BZ #17542]
7336 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7337
7338 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7339
7340 [BZ #17090]
7341 [BZ #17620]
7342 [BZ #17621]
7343 [BZ #17628]
7344 * NEWS: Update.
7345 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7346 entries with Static TLS too. Skip entries past the end of the
7347 allocated DTV, from Alan Modra.
7348 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7349 Static TLS DTV entry set up from...
7350 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7351 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7352 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7353 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7354 for Static TLS.
7355 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7356 that the slot we find is associated with the given map before
7357 using its generation count.
7358 * nptl_db/db_info.c: Include ldsodefs.h.
7359 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7360 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7361 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7362 (link_map::l_tls_offset): New struct field.
7363 (dtv_t::counter): Likewise.
7364 (rtld_global): New struct.
7365 (_rtld_global): New rtld variable.
7366 (dl_tls_dtv_slotinfo_list): New rtld global field.
7367 (dtv_slotinfo_list): New struct.
7368 (dtv_slotinfo): Likewise.
7369 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7370 (td_lookup): Rename to...
7371 (td_mod_lookup): ... this. Use new mod parameter instead of
7372 LIBPTHREAD_SO.
7373 * nptl_db/td_thr_tlsbase.c: Include link.h.
7374 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7375 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7376 addresses even if the DTV is out of date or missing them.
7377 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7378 index zero-length arrays.
7379 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7380 (td_lookup): Make it a macro implemented in terms of...
7381 (td_mod_lookup): ... this declaration.
7382 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7383 (DB_MAIN_VARIABLE): Likewise.
7384
7385 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7386
7387 [BZ #18134]
7388 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7389
7390 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7391
7392 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7393
7394 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7395
7396 [BZ #18128]
7397 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7398 (atomic_add, atomic_increment_and_test)
7399 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7400
7401 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7402
7403 * stdlib/setenv.c (__add_to_environ):
7404 Dump core quickly if setenv (..., NULL, ...) is called.
7405
7406 2015-03-13 Roland McGrath <roland@hack.frob.com>
7407
7408 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7409 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7410 all the necessary asm magic in one place.
7411 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7412 using those.
7413
7414 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7415
7416 [BZ #14906]
7417 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7418 traced file mtime. Use consistent log message.
7419 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7420 (register_traced_file): Call install_watches. Always set mtime.
7421 (invalidate_cache): Iterate over all trace files. Call install_watches.
7422 (inotify_check_files): Don't inline. Handle watching parent
7423 directories and configuration file movement in and out.
7424 (handle_inotify_events): New function.
7425 (main_loop_poll): Call handle_inotify_events.
7426 (main_loop_epoll): Likewise.
7427 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7428 (struct traced_file): Use array of inotify fds. Add parent directory,
7429 and basename.
7430 (struct database_dyn): Remove unused file_mtime.
7431 (init_traced_file): New inline function.
7432 (define_traced_file): New macro.
7433 * nss/nss_db/db-init.c: Use define_traced_file.
7434 (_nss_db_init): Use init_traced_file.
7435 * nss/nss_files/files-init.c: Use define_traced_file.
7436 (_nss_files_init): Use init_traced_file.
7437
7438 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7439
7440 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7441 [_LIBC]: Do not include <stdlib.h>.
7442 [!_LIBC] (abort): Remove declaration.
7443 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7444 _FP_STATIC_ASSERT instead of conditionally calling abort.
7445 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7446 (_FP_EXTEND_CNAN): Likewise.
7447 (FP_TRUNC): Likewise.
7448 (__FP_CLZ): Likewise.
7449 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7450
7451 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7452
7453 * manual/string.texi (XPG basename): Fix prototype.
7454
7455 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7456
7457 [BZ #18080]
7458 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7459 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7460 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7461 (__setcontext): Likewise.
7462 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7463 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7464 Call rt_sigprocmask syscall one time to set new signal mask
7465 and retrieve the current signal mask instead of two calls.
7466 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7467 (__swapcontext): Likewise.
7468 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7469 * stdlib/tst-setcontext2.c: New file.
7470
7471 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7472
7473 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7474
7475 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7476
7477 [BZ #18093]
7478 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7479 the wrong size.
7480
7481 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7482
7483 [BZ #18043]
7484 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7485
7486 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7487
7488 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7489 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7490 Remove define.
7491 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7492 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7493 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7494 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7495 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7496 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7497 define.
7498 * nptl_db/td_symbol_list.c (td_lookup): Remove
7499 HAVE_ASM_GLOBAL_DOT_NAME code.
7500 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7501 HAVE_ASM_GLOBAL_DOT_NAME check.
7502 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7503 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7504 (DOT_LABEL): Remove define.
7505 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7506 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7507 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7508 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7509 (__TLS_GET_ADDR): Likewise.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7511 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7512
7513 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7514
7515 [BZ #18111]
7516 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7517 (_FPU_SETCW): Initialize cw from fpsr before storing.
7518 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7519 (fesetexceptflag): Rewrite using fpu_control.h.
7520 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7521
7522 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7523
7524 [BZ #18110]
7525 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7526 asms.
7527 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7528
7529 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7530
7531 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7532 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7533 abort.
7534 (_FP_FMA): Likewise.
7535 (_FP_DIV): Likewise.
7536
7537 2015-03-10 Roland McGrath <roland@hack.frob.com>
7538
7539 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7540 with 0 in that case.
7541 * Makefile (summarize-tests): New canned sequence, factored out of
7542 commands for targets tests and xtests. Display summary lines that
7543 don't start with PASS: or XFAIL: rather than ones that do start with
7544 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7545 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7546 do start with ERROR: or FAIL:.
7547 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7548 (except for [$(build-shared) = yes]).
7549 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7550 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7551 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7552 * nptl/Makefile: Revert 2015-03-04 changes.
7553 [$(CXX) empty] (tests-unsupported): New variable.
7554 * debug/Makefile: Likewise.
7555
7556 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7557 gnulib file. Replace __attribute with __attribute__ throughout.
7558
7559 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7560
7561 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7562
7563 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7564
7565 [BZ #18104]
7566 * math/auto-libm-test-in: Add another test of pow.
7567 * math/auto-libm-test-out: Regenerated.
7568
7569 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7570
7571 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7572 $(config-cflags-nofma).
7573
7574 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7575
7576 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7577 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7578 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7579 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7580 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7581 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7582 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7583 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7584 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7585 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7586 Add comment on closing #endif.
7587
7588 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7589
7590 * posix/wordexp.c (CHAR_IN_SET): New macro.
7591 (parse_param): Use it.
7592
7593 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594
7595 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7596
7597 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7598
7599 [BZ #18043]
7600 * posix/wordexp.c (parse_param): Fix buffer overflow.
7601 * posix/wordexp-test.c (test_case): Add test case.
7602
7603 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7604
7605 [BZ #18042]
7606 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7607 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7608
7609 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7610
7611 [BZ #18043]
7612 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7613 (do_bz18043): Delete.
7614 (at_page_end): New.
7615 (testit): Refactor to have words at the edge of unreadable page.
7616
7617 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7618
7619 [BZ #16734]
7620 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7621 Cleanup read-only streams as well.
7622 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7623
7624 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7625
7626 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7627 <bits/libc-lockP.h>
7628
7629 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7630
7631 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7632 on [__KERNEL__].
7633 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7634 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7635 * soft-fp/op-common.h (_FP_DECL): Likewise.
7636
7637 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7638
7639 * elf/ifuncdep2.c (global): Replace
7640 __attribute__((visibility("protected"))) with
7641 asm (".protected global").
7642 * elf/ifuncmod1.c (global): Likewise.
7643 * elf/ifuncmod5.c (global): Likewise.
7644
7645 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7646
7647 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7648 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7649
7650 2015-03-06 Roland McGrath <roland@hack.frob.com>
7651
7652 * manual/install.texi (Configuring and compiling):
7653 Document test-wrapper-env-only.
7654 * INSTALL: Regenerated.
7655
7656 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7657
7658 [BZ #18043]
7659 * posix/wordexp.c (parse_param): Fix buffer overflow.
7660 * posix/wordexp-test.c (do_bz18043): Add test case.
7661
7662 2015-03-06 Vincent Bernat <vincent@bernat.im>
7663
7664 * time/tst-strptime2.c (do_test): Ensure failing tests are
7665 reported correctly.
7666 * time/tst-strptime3.c (do_test): Likewise.
7667
7668 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7669
7670 Fix aio_error thread-safety.
7671 * sysdeps/pthread/aio_error.c: New file
7672 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7673 synchronization.
7674
7675 2015-03-06 Florian Weimer <fweimer@redhat.com>
7676
7677 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7678 (group_number, vfprintf): Use it.
7679 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7680 (JUMP, REF): Use it.
7681 (WORK_BUFFER_SIZE): New enum constant.
7682 (process_arg, vfprintf): Use it.
7683
7684 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7685
7686 * manual/errno.texi (Error Messages): Complete example function
7687 by adding missing #define.
7688 (program_invocation_name): Add statement indicating GNU
7689 extension and reference which header file declares the variable.
7690 (program_invocation_short_name): Likewise.
7691
7692 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7693
7694 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7695 compatibility note.
7696
7697 2015-03-05 Roland McGrath <roland@hack.frob.com>
7698
7699 * Makeconfig (test-wrapper-env-only): New variable.
7700 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7701 then use that with $(test-wrapper-env-only) rather than using
7702 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7703
7704 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 [BZ #18082]
7707 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7708 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7709 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7710 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7711 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7712 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7713 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7714 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7715 Likewise.
7716 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7717 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7718 Likewise.
7719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7720 Likewise.
7721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7722 Likewise.
7723 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7724 Likewise.
7725 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7727 Likewise.
7728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7729 Likewise.
7730 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7731 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7732
7733 2015-03-04 Roland McGrath <roland@hack.frob.com>
7734
7735 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7736 (ETH_ALEN): New macro.
7737 (struct ether_addr): Use it for length of ether_addr_octet.
7738
7739 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7740 (setdb): Don't call __nss_configure_lookup for "rpc".
7741 (do_test): Don't call test_rpc.
7742 (output_rpcent, test_rpc): Functions moved ...
7743 * sunrpc/test-rpcent.c: ... to this new file.
7744 * sunrpc/Makefile (tests): Add it.
7745
7746 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7747 __xpg_sigpause.
7748 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7749 * nptl/tst-signal6.c: Likewise.
7750 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7751 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7752
7753 * configure.ac (libc_cv_cxx_link_ok): New check.
7754 Reset CXX to empty if it fails to link.
7755 * configure: Regenerated.
7756 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7757 bug-atexit3-lib only if $(CXX) is nonempty.
7758 * nptl/Makefile (tests): Likewise for tst-cancel24.
7759 (tests, tests-static): Likewise for tst-cancel24-static.
7760 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7761 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7762 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7763 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7764
7765 2015-03-04 Andreas Schwab <schwab@suse.de>
7766
7767 [BZ #17631]
7768 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7769 for non-GCC compilers.
7770 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7771 Likewise.
7772
7773 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7774
7775 [BZ #17776]
7776 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7777 integer before bitwise and assembly operations.
7778 (feclearexcept): Likewise.
7779 * math/test-fenvinline.c: New file.
7780 * math/Makefile: Add test-fenvinline test.
7781
7782 2015-03-03 Alan Modra <amodra@gmail.com>
7783
7784 [BZ #16512]
7785 * scripts/localplt.awk: Strip off symbol version.
7786 * NEWS: Mention bug fix.
7787
7788 2015-03-02 Roland McGrath <roland@hack.frob.com>
7789
7790 * sysdeps/pthread/timer_routines.c
7791 (timer_free_list, thread_free_list, thread_active_list): Make static.
7792
7793 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7794
7795 [BZ #17779]
7796 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7797 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7798 Undefine.
7799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7800 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7801 Likewise.
7802 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7803 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7804 Likewise.
7805
7806 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7807
7808 [BZ #18036]
7809 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7810 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7811
7812 2015-03-02 Andreas Schwab <schwab@suse.de>
7813
7814 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7815 variable name.
7816
7817 2015-03-02 Florian Weimer <fweimer@redhat.com>
7818
7819 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7820 Return error status.
7821
7822 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7823
7824 [BZ #15969]
7825 * locale/findlocale.c (_nl_find_locale): Introduce const
7826 version of loc_name and drop unsafe type casts.
7827
7828 2015-02-27 Roland McGrath <roland@hack.frob.com>
7829
7830 * dlfcn/tststatic2.c (main): Converted to ...
7831 (do_test): ... this.
7832 (TEST_FUNCTION): New macro.
7833 Include test-skeleton.c.
7834
7835 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7836
7837 [BZ #17711]
7838 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7839 (tests-pie): Add vismain.
7840 (CFLAGS-vismain.c): New.
7841 * elf/vismain.c: Add comments for PIE requirement.
7842
7843 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7844
7845 [BZ #18046]
7846 [BZ #18047]
7847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7848 0x1p-56L as threshold for just returning the argument.
7849 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7850 0x1p-32L as threshold for just returning the argument.
7851 * math/auto-libm-test-in: Add more tests of atanh.
7852 * math/auto-libm-test-out: Regenerated.
7853 * sysdeps/i386/fpu/libm-test-ulps: Update.
7854 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7855
7856 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7857
7858 * string/bcopy.c (bcopy): Call memmove for performance.
7859
7860 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7861
7862 * string/bzero.c (__bzero): Call memset for performance.
7863
7864 2015-02-27 John David Anglin <dave.anglin@bell.net>
7865
7866 [BZ #18068]
7867 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7868 to 00100000.
7869
7870 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7871
7872 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7873
7874 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7875
7876 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7877 (__kernel_standard): Use CSTR macro when setting exc.name.
7878 * sysdeps/ieee754/Makefile [$(subdir) = math]
7879 (CFLAGS-k_standard.c): Remove variable.
7880
7881 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7882 setting p and q from "else if" to "else".
7883 (qzero): Likewise.
7884 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7885 (qone): Likewise.
7886 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7887 (qzerof): Likewise.
7888 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7889 (qonef): Likewise.
7890 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7891 (qzero): Likewise.
7892 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7893 (qone): Likewise.
7894
7895 [BZ #18038]
7896 [BZ #18039]
7897 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7898 return pi/2 for arguments below 0x1p-113L.
7899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7900 return pi/2 for arguments below 0x1p-106L.
7901 * math/auto-libm-test-in: Add more tests of acos.
7902 * math/auto-libm-test-out: Regenerated.
7903
7904 [BZ #16351]
7905 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7906 (MO): New macro.
7907 (__ieee754_asin): Force underflow exception for results with small
7908 absolute value.
7909 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7910 (MO): New macro.
7911 (__ieee754_asinf): Force underflow exception for results with
7912 small absolute value.
7913 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7914 (__ieee754_asin): Force underflow exception for results with small
7915 absolute value.
7916 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7917 (__ieee754_asinf): Force underflow exception for results with
7918 small absolute value.
7919 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7920 (__ieee754_asinl): Force underflow exception for results with
7921 small absolute value.
7922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7923 (__ieee754_asinl): Force underflow exception for results with
7924 small absolute value.
7925 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7926 (__ieee754_asinl): Force underflow exception for results with
7927 small absolute value.
7928 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7929 Include <math.h>.
7930 * math/auto-libm-test-in: Do not mark underflow exceptions as
7931 possibly missing for bug 16351.
7932 * math/auto-libm-test-out: Regenerated.
7933
7934 [BZ #18030]
7935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7936 of power of 2 down when low part has opposite sign.
7937 * math/libm-test.inc (logb_test_data): Add more tests.
7938
7939 2015-02-26 Andreas Schwab <schwab@suse.de>
7940
7941 [BZ #18032]
7942 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7943 over collating symbol inside a bracket expression. Minor cleanup.
7944 * posix/tst-fnmatch3.c (do_test): Add test case.
7945
7946 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7947
7948 [BZ #18029]
7949 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7950 Adjust exponent of power of 2 down when low part has opposite
7951 sign.
7952 * math/libm-test.inc (ilogb_test_data): Add more tests.
7953
7954 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
7955
7956 [BZ #15969]
7957 * locale/findlocale.c (_nl_find_locale): Fix constness error in
7958 the previous change.
7959
7960 [BZ #15969]
7961 * locale/findlocale.c (_nl_find_locale): Retry archive search
7962 after alias expansion.
7963
7964 2015-02-25 Roland McGrath <roland@hack.frob.com>
7965
7966 * iconv/tst-iconv3.c (main): Converted to ...
7967 (do_test): ... this.
7968 (TEST_FUNCTION): New macro.
7969 Include test-skeleton.c.
7970
7971 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7972 (convert): Make function static.
7973 (test_unalign): Likewise. Add const to argument pointee types.
7974 (main): Replace with static function do_test.
7975 Print "Succeeded." only if RET is zero.
7976 (TEST_FUNCTION): New macro.
7977 Include test-skeleton.c.
7978
7979 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7980 returns a null pointer.
7981
7982 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
7984 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7985 to __memcpy_ppc only for static builds.
7986
7987 2015-02-25 Joseph Myers <joseph@codesourcery.com>
7988
7989 [BZ #18020]
7990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7991 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7992 * math/auto-libm-test-in: Add more tests of asinh.
7993 * math/auto-libm-test-out: Regenerated.
7994 * sysdeps/i386/fpu/libm-test-ulps: Update.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7996
7997 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
7998
7999 [BZ #15850]
8000 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8001 and ip6_mtuinfo definitions here.
8002 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8003 in this define too. Update comment.
8004
8005 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8006
8007 * elf/sprof.c (load_shobj): Tweak error message to match others.
8008
8009 2015-02-24 Kevin Easton <kevin@guarana.org>
8010
8011 [BZ #16145] (partial fix)
8012 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8013 to reduce lock contention.
8014
8015 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8016
8017 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8018 (struct timex): Update time comment.
8019 (ADJ_SETOFFSET): Define.
8020
8021 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8022
8023 [BZ #18019]
8024 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8025 2**56 not 2**28 as threshold for log (2x) formula.
8026 * math/auto-libm-test-in: Add more tests of acosh.
8027 * math/auto-libm-test-out: Regenerated.
8028 * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030
8031 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8032
8033 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8034 parenthesis around the buf assignment.
8035 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8036
8037 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #16783]
8040 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8041 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8042 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8043 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8044 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8045 * math/libm-test.inc (scalb_test_data): Add more tests.
8046
8047 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8048
8049 [BZ #17916]
8050 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8051 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8052
8053 2015-02-24 Eric Rannaud <e@nanocritical.com>
8054
8055 [BZ #17523]
8056 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8057 * io/bits/fcntl2.h (open): Use it.
8058 (openat): Likewise.
8059 * io/open.c (__libc_open): Likewise.
8060 * io/open64.c (__libc_open64): Likewise.
8061 * io/open64_2.c (__open64_2): Likewise.
8062 * io/open_2.c (__open_2): Likewise.
8063 * io/openat.c (__openat): Likewise.
8064 * io/openat64.c (__openat64): Likewise.
8065 * io/openat64_2.c (__openat64_2): Likewise.
8066 * io/openat_2.c (__openat_2): Likewise.
8067 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8068 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8069 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8070 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8071 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8072 (__open_nocancel): Likewise.
8073 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8074 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8075 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8076
8077 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8078
8079 [BZ #14841]
8080 * resolv/gethnamaddr.c (getanswer): Skip logging if
8081 RES_USE_DNSSEC is set.
8082 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8083
8084 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8085
8086 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8087
8088 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8089
8090 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8091 201304L, for Unicode 7.
8092
8093 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 [BZ #17836]
8096 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8097 shared library. Add gmon-start.os otherwise.
8098 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8099 $(objpfx)gmon-start.os if builing shared library.
8100 ($(objpfx)g$(static-start-installed-name)): Likewise.
8101
8102 2015-02-23 Andreas Schwab <schwab@suse.de>
8103
8104 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8105
8106 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8107
8108 [BZ #17269]
8109 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8110 (enlarge_userbuf): Likewise.
8111
8112 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8113
8114 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8115 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8116 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8117 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8118
8119 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8120
8121 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8122 expression inside statement expression.
8123
8124 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8125
8126 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8127 <sysdeps/nptl/lowlevellock.h> and remove macros and
8128 functions that are now defined there.
8129 (SYS_futex): Remove.
8130 (lll_compare_and_swap): Remove.
8131 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8132
8133 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8134
8135 [BZ #17999]
8136 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8137 instead of scandirat.
8138 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8139 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8140 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8141 __scandirat.
8142 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8143 (__scandirat): Declare. Use libc_hidden_proto.
8144 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8145 Remove variable.
8146 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8147
8148 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8149
8150 [BZ #15319]
8151 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8152 (MO): New macro.
8153 (__ieee754_atan2): For results with small absolute value, force
8154 underflow exception and remove excess range and precision from
8155 return value.
8156 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8157 (MO): New macro.
8158 (__ieee754_atan2f): For results with small absolute value, force
8159 underflow exception and remove excess range and precision from
8160 return value.
8161 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8162 (MO): New macro.
8163 (__atan): For results with small absolute value, force underflow
8164 exception and remove excess range and precision from return value.
8165 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8166 (MO): New macro.
8167 (__atanf): For results with small absolute value, force underflow
8168 exception and remove excess range and precision from return value.
8169 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8170 <math.h>.
8171 (__ieee754_atan2): Force underflow exception for results with
8172 small absolute value.
8173 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8174 <math_private.h>.
8175 (atan): Force underflow exception for results with small absolute
8176 value.
8177 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8178 (__atanf): Force underflow exception for results with small
8179 absolute value.
8180 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8181 <math.h>.
8182 (__atanl): Force underflow exception for results with small
8183 absolute value.
8184 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8185 (__atanl): Force underflow exception for results with small
8186 absolute value.
8187 * sysdeps/x86/fpu/bits/mathinline.h
8188 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8189 (__ieee754_atan2): Only define inline for long double.
8190 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8191 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8192 * math/auto-libm-test-in: Do not mark underflow exceptions as
8193 possibly missing for bug 15319. Add more tests of atan2.
8194 * math/auto-libm-test-out: Regenerated.
8195 * math/libm-test.inc (casin_test_data): Do not mark underflow
8196 exceptions as possibly missing for bug 15319.
8197 (casinh_test_data): Likewise.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199
8200 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8201
8202 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8203 * sysdeps/mips/bits/endian.h: Fix comments.
8204
8205 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8206
8207 [BZ #17996]
8208 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8209 (hdestroy_r): Likewise.
8210 (hsearch_r): Likewise.
8211 (__hcreate_r): Declare and use libc_hidden_proto.
8212 (__hdestroy_r): Likewise.
8213 (__hsearch_r): Likewise.
8214 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8215 (hcreate): Call __hcreate_r instead of hcreate_r.
8216 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8217 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8218 as weak alias of __hcreate_r.
8219 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8220 __hdestroy_r.
8221 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8222 __hsearch_r.
8223 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8224 Remove variable.
8225 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8226 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8227 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8228 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8229
8230 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8231
8232 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8233 arena_lock into a single arena_get.
8234
8235 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8236
8237 * dl-reloc.c: Inlucde libc-internal.h.
8238 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8239 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8240 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8241 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8242 (grow_heap): Likewise.
8243 * malloc/malloc.c: Include libc-internal.h.
8244 (do_check_malloc): Call powerof2.
8245 (sysmalloc): Use pagesize. Call ALIGN_UP.
8246 (systrim): Use pagesize.
8247 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8248 (__libc_valloc): Use pagesize.
8249 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8250
8251 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8252
8253 [BZ #17991]
8254 * include/sys/resource.h (__getrlimit64): Declare. Use
8255 libc_hidden_proto.
8256 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8257 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8258 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8259 getrlimit64.
8260 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8261 __getrlimit64.
8262 [!getrlimit64] (getrlimit64): Define as weak alias of
8263 __getrlimit64. Use libc_hidden_weak.
8264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8265 using __getrlimit64 not __new_getrlimit64.
8266 (__GI_getrlimit64): Likewise.
8267 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8268 Likewise.
8269 (__GI_getrlimit64): Likewise.
8270 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8272 (getrlimit): Add __getrlimit64 alias.
8273 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8274 Likewise.
8275 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8276 Remove variable.
8277 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8278 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8279
8280 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8281
8282 * libio/fileops.c: Add missing sys/mman.h
8283 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8284
8285 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8286
8287 * manual/math.texi (Errors in Math Functions): Clarify goals
8288 regarding inexact and underflow exceptions.
8289
8290 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8291
8292 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8293 * sysdeps/mips/memset.S: Ditto.
8294
8295 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8296
8297 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8298
8299 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8300
8301 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8302 (__v1longjmp): Remove versioned symbol.
8303 (__v1siglongjmp): Remove alias and versioned symbol.
8304 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8305 (__v2siglongjmp): Likewise.
8306
8307 2015-02-16 Torvald Riegel <triegel@redhat.com>
8308
8309 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8310
8311 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8312
8313 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8314
8315 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8316
8317 [BZ #17987]
8318 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8319 zero result does not depend on the sign resulting from
8320 subtraction.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8322 Likewise.
8323 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8324 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8327 * math/libm-test.inc (remquo_test_data): Add more tests.
8328
8329 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8330
8331 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8332 Problem reported by J William Piggott.
8333
8334 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8335
8336 [BZ #17978]
8337 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8338 products 4 * y and 2 * y where those would overflow.
8339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8340 Likewise.
8341 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8342 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8344 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8345 * math/libm-test.inc (remquo_test_data): Add more tests.
8346
8347 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8348
8349 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8350 [defined _COMPILING_NEWLIB].
8351 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8352 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8353
8354 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8355 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8356
8357 2015-02-16 Torvald Riegel <triegel@redhat.com>
8358
8359 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8360 acquired.
8361
8362 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8363
8364 [BZ #17792]
8365 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8366 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8367 HOST_STACK_END_ADDR): Likewise.
8368
8369 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8370
8371 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8372 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8373 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8374
8375 2015-02-13 Roland McGrath <roland@hack.frob.com>
8376
8377 * sysdeps/generic/c++-types.data: New file.
8378 * sysdeps/generic/ld.abilist: New file.
8379 * sysdeps/generic/libBrokenLocale.abilist: New file.
8380 * sysdeps/generic/libanl.abilist: New file.
8381 * sysdeps/generic/libc.abilist: New file.
8382 * sysdeps/generic/libcrypt.abilist: New file.
8383 * sysdeps/generic/libdl.abilist: New file.
8384 * sysdeps/generic/libm.abilist: New file.
8385 * sysdeps/generic/libpthread.abilist: New file.
8386 * sysdeps/generic/libresolv.abilist: New file.
8387 * sysdeps/generic/librt.abilist: New file.
8388
8389 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8390
8391 [BZ #17569]
8392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8393 Compute absolute value of x as modified by fmod, not original
8394 value of x.
8395 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8396 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8397 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8398 RUN_TEST_ffI_f1_mod8.
8399 (remquo_test_data): Add more tests.
8400
8401 2015-02-13 Roland McGrath <roland@hack.frob.com>
8402
8403 * sysdeps/init_array/pt-crti.S: New file.
8404
8405 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8406
8407 [BZ #17967]
8408 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8409 __builtin_fmaf instead of relying on contraction of a * b + c.
8410
8411 2015-02-12 J William Piggott <elseifthen@gmx.com>
8412
8413 [BZ #17969]
8414 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8415 node.
8416
8417 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #17964]
8420 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8421 __builtin_fma instead of relying on contraction of a * b + c.
8422
8423 2015-02-12 Roland McGrath <roland@hack.frob.com>
8424
8425 * Makeconfig (ASFLAGS): Add -Werror=undef.
8426 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8427 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8428 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8429
8430 * Makeconfig (after-link): New variable.
8431 (+link-pie, +link-pie-tests): Use it.
8432 (+link-static, +link-static-tests): Likewise.
8433 (+link, +link-tests): Likewise.
8434 * Makerules (build-module, build-module-asneeded): Likewise.
8435 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8436 Likewise.
8437 * elf/Makefile ($(objpfx)ld.so): Likewise.
8438
8439 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8440
8441 [BZ #17965]
8442 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8443 both struct timeval and struct timespec.
8444
8445 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8446
8447 [BZ #16560]
8448 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8449 and redefine.
8450 (__ieee754_exp2l): Do not multiply small fractional parts by
8451 M_LN2l.
8452 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8453 small argument.
8454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8455 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8456 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8457 * math/auto-libm-test-in: Add more tests of exp2.
8458 * math/auto-libm-test-out: Regenerated.
8459
8460 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8461
8462 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8463 unaligned path.
8464
8465 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8466
8467 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8468 little endian.
8469
8470 2015-02-12 Andreas Schwab <schwab@suse.de>
8471
8472 [BZ #15790]
8473 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8474 Filter out elision flags from value returned in kind.
8475 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8476 * nptl/tst-pthread-mutexattr.c: New file.
8477
8478 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8479
8480 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8481 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8482 into gnu-gnu, and update comment to refer to abi-tags.
8483
8484 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8485
8486 [BZ #15467]
8487 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8488 (__sincos): Set errno to EDOM for infinite argument.
8489 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8490 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8491 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8492 (__sincosl): Set errno to EDOM for infinite argument.
8493 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8494 (__sincosl): Set errno to EDOM for infinite argument.
8495 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8496 (__sincosl): Set errno to EDOM for infinite argument.
8497 * math/libm-test.inc (sincos_test_data): Test errno setting.
8498
8499 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8500
8501 * string/strxfrm_l.c: Remove #define STRCMP.
8502 * string/strcoll_l.c: Remove #define STRLEN.
8503 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8504 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8505
8506 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8507
8508 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8509 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8510 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8511 * sysdeps/mips/mips64/Makefile: ... here.
8512 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8513 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8514 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8515 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8516 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8517 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8518 * sysdeps/mips/mips64/n64/Implies: Likewise.
8519
8520 2015-02-10 Roland McGrath <roland@hack.frob.com>
8521
8522 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8523 <sys/time.h>, <string.h>, and <errno.h>.
8524 (dest_offset, dest_address, value, zero): Remove unused variables.
8525 (ldouble): Remove typedef.
8526 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8527 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8528 1). Fix code style.
8529 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8530 (check): Function removed.
8531 (CHECK): New macro.
8532 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8533 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8534 Don't call set_sigaction_FP and remove_sigaction_FP here.
8535 (ldouble_test): Just use 'long double' as macro argument, no need for
8536 the 'ldouble' typedef.
8537 (do_test): Set up SIGFPE handler at start, using plain signal rather
8538 than sigaction. Fix code style.
8539
8540 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8541
8542 [BZ #17949]
8543 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8544 jump label.
8545
8546 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8547
8548 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8549 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8550
8551 * sysdeps/powerpc/configure.ac: Remove file.
8552 * sysdeps/powerpc/configure: Likewise.
8553
8554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8555 [sysdep_routines]: Remove wordcopy-power6 object.
8556 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8557 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8558 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8559 (__memmove_ppc32): Likewise.
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8561 file.
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8563 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8564 Remove preprocessor.
8565
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8567 [sysdep_routines]: Remove wide chars objects.
8568 [wcsmbs]: New rule for wide char objects.
8569
8570 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8571 Remove wordcopy-power6 obejct.
8572 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8573 Use local call for wordcopy and memcpy symbols.
8574 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8575 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8576 implementation for loader.
8577 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8578
8579 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8580 Remove wordcopy-power7 object.
8581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8583 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8584 (_wordcopy_fwd_dest_aligned): Likewise.
8585 (_wordcopy_bwd_aligned): Likewise.
8586 (_wordcopy_bwd_dest_aligned): Likewise.
8587
8588 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8589 Rewrite to call __memmove_ppc instead of include default
8590 implementation.
8591
8592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8593 Remove wide chars objects.
8594 [wcsmbs]: New rule for wide char objects.
8595
8596 2015-02-09 Andreas Schwab <schwab@suse.de>
8597
8598 [BZ #17912]
8599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8600 in terms of __O_DIRECTORY.
8601
8602 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8603
8604 * time/getdate.c: Include <stdbool.h>.
8605 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8606 call PTR_MANGLE.
8607 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8608 PTR_DEMANGLE.
8609
8610 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8611
8612 Add ersatz _Static_assert on older C hosts
8613 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8614 pre-C11 C platform that is not known to support _Static_assert.
8615
8616 2015-02-07 Richard Braun <rbraun@sceen.net>
8617
8618 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8619 sigstate.
8620 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8621
8622 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8623
8624 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8625 priority against unexistent AIO_PRIO_DELTA_MAX.
8626 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8627 instead of int.
8628 * misc/fchflags.c (fchflags): Likewise.
8629 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8630 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8631 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8632 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8633 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8634 Declare macros.
8635 [__USE_MISC] (chflags, fchflags): Declare functions.
8636 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8637 EINVAL when nfds is greater than FD_SETSIZE.
8638 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8639 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8640 45.
8641 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8642 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8643 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8644 MACH_RCV_TIMED_OUT.
8645 * hurd/hurd/signal.h (_hurd_self_sigstate,
8646 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8647 Explicit casts from void *.
8648 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8649 * abi-tags: Rename gnu-gnu os into gnu.
8650
8651 [BZ #4719]
8652 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8653 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8654 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8655 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8656 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8657 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8658
8659 [BZ #17944]
8660 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8661 duplicates ADDR->sun_path with sockaddr LEN limitation.
8662 * sysdeps/mach/hurd/connect.c: Include <string.h>
8663 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8664 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8665 * sysdeps/mach/hurd/sendto.c: Likewise.
8666 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8667 implementing it by hand.
8668
8669 2015-02-06 Roland McGrath <roland@hack.frob.com>
8670
8671 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8672 Use sfi_breg on ldr.
8673 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8674 Likewise.
8675
8676 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8677 it's defined.
8678 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8679 Test SIGSETXID only if it's defined.
8680
8681 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8682
8683 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8684 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8685
8686 * nptl/tst-align2.c: Moved ...
8687 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8688 * nptl/Makefile (tests): Remove tst-align2.
8689 * sysdeps/unix/sysv/linux/Makefile
8690 [$(subdir) = nptl] (tests): Add tst-align-clone.
8691 * nptl/tst-getpid1.c: Moved ...
8692 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8693 * nptl/tst-getpid2.c: Moved ...
8694 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8695 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8696 * sysdeps/unix/sysv/linux/Makefile
8697 [$(subdir) = nptl] (tests): ... here.
8698 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8699 * sysdeps/unix/sysv/linux/Makefile
8700 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8701
8702 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8703 Drop trailing \n from perror argument. Use return rather than exit.
8704
8705 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8706 on [SA_SIGINFO].
8707 * nptl/tst-cancel21.c (do_test): Likewise.
8708 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8709 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8710 [!SA_SIGINFO]: Make it a stub test.
8711
8712 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8713 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8714
8715 * posix/tst-getlogin.c: Move to ...
8716 * login/tst-getlogin.c: ... here.
8717 * posix/Makefile (tests): Move tst-getlogin to ...
8718 * login/Makefile (tests): ... here.
8719
8720 * libio/tst-atime.c (do_test): Move local variables SV and E
8721 inside [ST_NOATIME] conditional.
8722
8723 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8724
8725 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8726
8727 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8728 (wait_code): New function replaces macro.
8729 Call nanosleep rather than syscall.
8730
8731 * nptl/pt-system.c: Rewritten. Put everything under
8732 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8733 Use IFUNC to redirect when possible.
8734
8735 * nptl/pt-longjmp.c: Rewritten. Put everything under
8736 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8737 Use IFUNC to redirect when possible.
8738
8739 * nptl/pt-fork.c: Rewritten. Put everything under
8740 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8741 Use IFUNC to redirect when possible.
8742 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8743
8744 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8745 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8746 unconditionally nowadays. This included the only reference to
8747 __vdso_clock_gettime that appears outside libc proper.
8748 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8749 Remove version set (containing only __vdso_clock_gettime).
8750 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8751 Add attribute_hidden.
8752 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8753 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8754 libc_hidden_data_def.
8755 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8756 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8757
8758 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8759 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8760 setrpcent, and getrpcport to ...
8761 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8762 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8763 getrpcbynumber_r, and getrpcent_r to ...
8764 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8765 * inet/getrpcbyname.c: Moved ...
8766 * sunrpc/getrpcbyname.c: ... here.
8767 * inet/getrpcbyname_r.c: Moved ...
8768 * sunrpc/getrpcbyname_r.c: ... here.
8769 * inet/getrpcbynumber.c: Moved ...
8770 * sunrpc/getrpcbynumber.c: ... here.
8771 * inet/getrpcbynumber_r.c: Moved ...
8772 * sunrpc/getrpcbynumber_r.c: ... here.
8773 * inet/getrpcent.c: Moved ...
8774 * sunrpc/getrpcent.c: ... here.
8775 * inet/getrpcent_r.c: Moved ...
8776 * sunrpc/getrpcent_r.c: ... here.
8777 * inet/Makefile (routines): Move those to ...
8778 * sunrpc/Makefile (routines): ... here.
8779 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8780 the $(subdirs) list.
8781 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8782 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8783 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8784 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8785
8786 * elf/Makefile (routines): Include $(all-dl-routines), not just
8787 $(dl-routines).
8788 (rtld-routines): Likewise. Use = rather than :=.
8789 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8790 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8791 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8792 * sysdeps/arm/Makefile: Likewise.
8793 * sysdeps/i386/Makefile: Likewise.
8794 * sysdeps/x86_64/Makefile: Likewise.
8795 * sysdeps/hppa/Makefile [$(subdir) = elf]
8796 (sysdep_routines, sysdep-rtld-routines): Don't add
8797 $(sysdep-dl-routines) to these.
8798 * sysdeps/ia64/Makefile: Likewise.
8799 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8800 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8801 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8802 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8803 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8804 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8805 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8806 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8807 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8808 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8809 these; sysdep-dl-routines alone is enough.
8810
8811 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8812
8813 [BZ #17932]
8814 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8815 where multiplication results in zero and third argument is finite
8816 and nonzero.
8817 * math/auto-libm-test-in: Add more tests of fma.
8818 * math/auto-libm-test-out: Regenerated.
8819
8820 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8821 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8822 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8823 (_FP_CMP_EQ): Likewise.
8824 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8825
8826 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8827 extra argument CHECK_NAN. Redefine as wrapper around
8828 _FP_EXTEND_CNAN.
8829
8830 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8831
8832 * version.h (RELEASE): Set to "stable".
8833 (VERSION): Set to "2.21"
8834 * include/features.h (__GLIBC_MINOR__): Set to 21.
8835
8836 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8837
8838 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8839 Paul Eggert <eggert@cs.ucla.edu>
8840
8841 [BZ #16618]
8842 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8843 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8844 size in bytes. Store needed elements in wpmax. Use needed size
8845 in bytes for extend_alloca.
8846
8847 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8848
8849 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8850 binutls 2.25, and texinfo 5.2.
8851 * INSTALL: Regenerate.
8852 * sysdeps/nios2/configure: Regenerate.
8853 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8854 * manual/contrib.texi: Update.
8855 * po/be.po: Update.
8856 * po/bg.po: Update.
8857 * po/ca.po: Update.
8858 * po/cs.po: Update.
8859 * po/da.po: Update.
8860 * po/de.po: Update.
8861 * po/el.po: Update.
8862 * po/eo.po: Update.
8863 * po/es.po: Update.
8864 * po/fi.po: Update.
8865 * po/fr.po: Update.
8866 * po/gl.po: Update.
8867 * po/hr.po: Update.
8868 * po/hu.po: Update.
8869 * po/ia.po: Update.
8870 * po/id.po: Update.
8871 * po/it.po: Update.
8872 * po/ja.po: Update.
8873 * po/ko.po: Update.
8874 * po/lt.po: Update.
8875 * po/nb.po: Update.
8876 * po/nl.po: Update.
8877 * po/pl.po: Update.
8878 * po/pt_BR.po: Update.
8879 * po/ru.po: Update.
8880 * po/rw.po: Update.
8881 * po/sk.po: Update.
8882 * po/sl.po: Update.
8883 * po/sv.po: Update.
8884 * po/tr.po: Update.
8885 * po/uk.po: Update.
8886 * po/vi.po: Update.
8887 * po/zh_CN.po: Update.
8888 * po/zh_TW.po: Update.
8889
8890 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8891 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8892 * sysdeps/hppa/dl-irel.h: Remove #warning.
8893 * sysdeps/hppa/entry.h: Provide prototype for
8894 __canonicalize_funcptr_for_compare and cast argument.
8895 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8896 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8897 * sysdeps/hppa/sotruss-lib.c: New file.
8898 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8899 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8900 (atomic_compare_and_exchange_bool_acq): Likewise.
8901 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8902 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8903
8904 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8905 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8906 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8907
8908 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8909
8910 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8911 called function in non-PIC case.
8912
8913 2015-01-31 David S. Miller <davem@davemloft.net>
8914
8915 * sysdeps/sparc/sparc32/bits/atomic.h
8916 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8917 unlock not after it.
8918 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8919 volatile register usage warnings from the compiler.
8920
8921 * sysdeps/sparc/nptl/sem_init.c: Delete.
8922 * sysdeps/sparc/nptl/sem_post.c: Delete.
8923 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8924 * sysdeps/sparc/nptl/sem_wait.c: Delete.
8925 * sysdeps/sparc/sparc32/sem_init.c: New file.
8926 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8927 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8928 padding explicitly initialized.
8929 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8930 padding for in-semaphore spinlock.
8931 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8932 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8933 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8934 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8935 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8936 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8937 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8938 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8939 version.
8940 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8941 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8942
8943 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
8944
8945 [BZ #17801]
8946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8947 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8948 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8949 New.
8950 (index_AVX_Fast_Unaligned_Load): Likewise.
8951 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8952 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8953 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8954 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8955 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8956 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8957 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8958 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8959 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8960
8961 2015-01-29 Andreas Schwab <schwab@suse.de>
8962
8963 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8964
8965 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8966
8967 [BZ #17892]
8968 * nscd/nscd_stat.c (send_stats): Initialize DATA.
8969
8970 2015-01-28 Martin Sebor <msebor@redhat.com>
8971
8972 * math/README.libm-test: Clarify. Add "How to read the test output."
8973
8974 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
8975
8976 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8977 Define to 0.
8978
8979 2015-01-28 Joseph Myers <joseph@codesourcery.com>
8980
8981 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8982 (__HAVE_64B_ATOMICS): Define to 0.
8983
8984 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8985
8986 [BZ #17885]
8987 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8988 value to set as new flag.
8989
8990 [BZ #16576]
8991 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8992 and use _ARCH_PPCSQ instead.
8993 (__ieee754_sqrt): Likewise.
8994 (__ieee754_sqrtf): Likewise.
8995 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8996 _ARCH_PPCSQ is defined.
8997 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8998 fsqrt instruction.
8999 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9000 _ARCH_PPCSQ is defined.
9001 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9002 fsqrts instruction.
9003 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9004
9005 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9006
9007 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9008 bug (GCC BZ #64739).
9009
9010 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9011
9012 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9013 Mark _retval as used.
9014 (lll_futex_wake_unlock): Likewise.
9015 (lll_futex_timed_wait_requeue_pi): Likewise.
9016
9017 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9018 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9019 register variables.
9020
9021 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9022 libm_hidden_def.
9023
9024 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9025 (__bswap_64): Mark as __always_inline.
9026
9027 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9028
9029 [BZ #15378]
9030 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9031 when none of the search directories exist.
9032
9033 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9034
9035 [BZ #17869]
9036 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9037 power8 in .machine directive.
9038
9039 [BZ #17868]
9040 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9041 set dependency from opd value.
9042
9043 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9044
9045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9046 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9047 architecture.
9048
9049 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 [BZ #17870]
9052 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9053 with uint64_t.
9054 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9055 (uint64_t) 1.
9056 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9057 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9058 Replace 1UL with (uint64_t) 1.
9059 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9060 int with uint64_t.
9061
9062 2015-01-23 Roland McGrath <roland@hack.frob.com>
9063
9064 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9065 (if_freenameindex): Likewise.
9066
9067 * resource/getrlimit64.c: Add missing libc_hidden_def.
9068
9069 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9070
9071 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9072 __label__.
9073 (_FP_FMA): Likewise.
9074 (_FP_TO_INT_ROUND): Likewise.
9075 (_FP_FROM_INT): Likewise.
9076
9077 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9078
9079 [BZ #16418]
9080 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9081 Make code racy and cancel safe.
9082
9083 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9084
9085 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9086 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9087 attribution.
9088
9089 * pwd/tst-getpw.c: Rewrite.
9090
9091 [BZ #17702]
9092 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9093 (modules-names): Add moddummy1 and moddummy2.
9094 ($(objpfx)tst-rec-dlopen): Define.
9095 * dlfcn/moddummy1.c: New file.
9096 * dlfcn/moddummy2.c: New file.
9097 * dlfcn/tst-rec-dlopen.c: New file.
9098 * elf/dl-cache.c (_dl_load_cache_lookup):
9099 Return char*. Copy result with alloca/strcpy/strdup.
9100 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9101 returns char*. Free cached. If not saving realname
9102 free cached.
9103 * elf/dl-open.c (dl_open_worker): Do not assert that
9104 _r_debug->r_state is RT_CONSISTENT.
9105 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9106 returns char*.
9107
9108 2015-01-21 Torvald Riegel <triegel@redhat.com>
9109 Carlos O'Donell <carlos@redhat.com>
9110
9111 [BZ #12674]
9112 * nptl/sem_waitcommon.c: New file.
9113 * nptl/sem_wait.c: Include sem_waitcommon.c.
9114 (__sem_wait_cleanup, do_futex_wait): Remove.
9115 (__new_sem_wait): Adapt.
9116 (__new_sem_trywait): New function.
9117 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9118 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9119 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9120 (sem_timedwait): Adapt.
9121 * nptl/sem_post.c (__new_sem_post): Adapt.
9122 (futex_wake): New function.
9123 (__old_sem_post): Add release MO fence.
9124 * nptl/sem_open.c (sem_open): Adapt.
9125 * nptl/sem_init.c (__new_sem_init): Adapt.
9126 (futex_private_if_supported): New function.
9127 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9128 (__old_sem_getvalue): Add using previous code.
9129 * sysdeps/nptl/internaltypes.h: Adapt.
9130 * nptl/tst-sem13.c (do_test): Adapt.
9131 * nptl/tst-sem11.c (main): Adapt.
9132 * nptl/sem_trywait.c: Remove.
9133 * nptl/DESIGN-sem.txt: Remove.
9134 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9135 (gen-as-const-headers): Remove structsem.sym.
9136 * nptl/structsem.sym: Remove.
9137 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9138 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9139 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9140 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9141 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9142 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9143 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9144 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9145 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9146 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9147 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9148 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9149 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9150 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9151 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9152 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9153 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9154 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9155 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9156 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9157 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9158 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9159
9160 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9161
9162 * INSTALL: Regenerated.
9163
9164 * po/libc.pot: Regenerated.
9165
9166 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9167 Sandra Loosemore <sandra@codesourcery.com>
9168 Andrew Jenner <andrew@codesourcery.com>
9169 Joseph Myers <joseph@codesourcery.com>
9170 Nathan Sidwell <nathan@codesourcery.com>
9171
9172 * NEWS: Mention new Nios II port.
9173 * sysdeps/nios2/Implies: New file.
9174 * sysdeps/nios2/Makefile: New file.
9175 * sysdeps/nios2/Subdirs: New file.
9176 * sysdeps/nios2/Versions: New file.
9177 * sysdeps/nios2/__longjmp.S: New file.
9178 * sysdeps/nios2/abort-instr.h: New file.
9179 * sysdeps/nios2/backtrace.c: New file.
9180 * sysdeps/nios2/bits/endian.h: New file.
9181 * sysdeps/nios2/bits/fenv.h: New file.
9182 * sysdeps/nios2/bits/link.h: New file.
9183 * sysdeps/nios2/bits/setjmp.h: New file.
9184 * sysdeps/nios2/bsd-_setjmp.S: New file.
9185 * sysdeps/nios2/bsd-setjmp.S: New file.
9186 * sysdeps/nios2/configure: New generated file.
9187 * sysdeps/nios2/configure.ac: New file.
9188 * sysdeps/nios2/crti.S: New file.
9189 * sysdeps/nios2/crtn.S: New file.
9190 * sysdeps/nios2/dl-init.c: New file.
9191 * sysdeps/nios2/dl-machine.h: New file.
9192 * sysdeps/nios2/dl-sysdep.h: New file.
9193 * sysdeps/nios2/dl-tls.h: New file.
9194 * sysdeps/nios2/dl-trampoline.S: New file.
9195 * sysdeps/nios2/gccframe.h: New file.
9196 * sysdeps/nios2/gmp-mparam.h: New file.
9197 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9198 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9199 * sysdeps/nios2/ldsodefs.h: New file.
9200 * sysdeps/nios2/libc-tls.c: New file.
9201 * sysdeps/nios2/libm-test-ulps: New file.
9202 * sysdeps/nios2/machine-gmon.h: New file.
9203 * sysdeps/nios2/math-tests.h: New file.
9204 * sysdeps/nios2/math_private.h: New file.
9205 * sysdeps/nios2/memusage.h: New file.
9206 * sysdeps/nios2/nptl/Makefile: New file.
9207 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9208 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9209 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9210 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9211 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9212 * sysdeps/nios2/nptl/tls.h: New file.
9213 * sysdeps/nios2/preconfigure: New file.
9214 * sysdeps/nios2/s_fma.c: New file.
9215 * sysdeps/nios2/s_fmaf.c: New file.
9216 * sysdeps/nios2/setjmp.S: New file.
9217 * sysdeps/nios2/sfp-machine.h: New file.
9218 * sysdeps/nios2/sotruss-lib.c: New file.
9219 * sysdeps/nios2/stackguard-macros.h: New file.
9220 * sysdeps/nios2/stackinfo.h: New file.
9221 * sysdeps/nios2/start.S: New file.
9222 * sysdeps/nios2/sysdep.h: New file.
9223 * sysdeps/nios2/tls-macros.h: New file.
9224 * sysdeps/nios2/tst-audit.h: New file.
9225 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9226 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9227 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9228 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9229 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9230 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9231 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9232 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9233 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9234 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9235 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9236 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9237 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9238 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9239 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9240 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9241 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9242 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9243 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9244 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9245 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9246 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9247 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9248 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9249 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9250 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9251 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9252 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9253 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9254 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9255 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9256 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9257 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9258 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9259 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9260 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9262 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9263 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9264 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9265 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9266 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9267 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9268 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9269
9270 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9271
9272 [BZ #17844]
9273 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9274 (getutent): Use weak_alias in non SHARED case
9275 and default_symbol_version in SHARED case.
9276 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9277 (getutent_r, pututline): Likewise.
9278 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9279 (getutid): Likewise.
9280 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9281 (getutid_r): Likewise.
9282 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9283 (getutline): Likewise.
9284 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9285 (getutline_r): Likewise.
9286 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9287 (updwtmp): Likewise.
9288
9289 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9290
9291 [BZ #17848]
9292 * sysdeps/s390/s390-32/memcmp.S
9293 (memcmp_g5): Rename to __memcmp_g5.
9294 * sysdeps/s390/s390-32/memcpy.S
9295 (memcpy_g5): Rename to __memcpy_g5.
9296 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9297 (memcpy_mvcle) Rename to __memcpy_mvcle.
9298 * sysdeps/s390/s390-32/memset.S
9299 (memset_g5): Rename to __memset_g5.
9300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9301 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9302 and use prefixed functions.
9303 * sysdeps/s390/s390-32/multiarch/memcmp.S
9304 (memcmp_z196): Rename to __memcmp_z196.
9305 (memcmp_z10): Rename to __memcmp_z10.
9306 (memcmp): Set alias to __memcmp_g5.
9307 (bcmp): Set alias to __memcmp_g5.
9308 * sysdeps/s390/s390-32/multiarch/memcpy.S
9309 (memcpy_z196): Rename to __memcpy_z196.
9310 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9311 (memcpy_z10): Rename to __memcpy_z10.
9312 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9313 (memcpy): Set alias to __memcpy_g5.
9314 * sysdeps/s390/s390-32/multiarch/memset.S
9315 (memset_z196): Rename to __memset_z196.
9316 Jump to __memset_mvcle instead of memset_mvcle.
9317 (memset_z10): Rename to __memset_z10.
9318 Jump to __memset_mvcle instead of memset_mvcle.
9319 (memset_mvcle) Rename to __memset_mvcle.
9320 (memset): Set alias to __memset_g5.
9321 * sysdeps/s390/s390-64/memcmp.S
9322 (memcmp_z900): Rename to __memcmp_z900.
9323 * sysdeps/s390/s390-64/memcpy.S
9324 (memcpy_z900): Rename to __memcpy_z900.
9325 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9326 (memcpy_mvcle) Rename to __memcpy_mvcle.
9327 * sysdeps/s390/s390-64/memset.S
9328 (memset_z900): Rename to __memset_z900.
9329 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9330 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9331 and use prefixed functions.
9332 * sysdeps/s390/s390-64/multiarch/memcmp.S
9333 (memcmp_z196): Rename to __memcmp_z196.
9334 (memcmp_z10): Rename to __memcmp_z10.
9335 (memcmp): Set alias to __memcmp_z900.
9336 (bcmp): Set alias to __memcmp_z900.
9337 * sysdeps/s390/s390-64/multiarch/memcpy.S
9338 (memcpy_z196): Rename to __memcpy_z196.
9339 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9340 (memcpy_z10): Rename to __memcpy_z10.
9341 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9342 (memcpy): Set alias to __memcpy_z900.
9343 * sysdeps/s390/s390-64/multiarch/memset.S
9344 (memset_z196): Rename to __memset_z196.
9345 Jump to __memset_mvcle instead of memset_mvcle.
9346 (memset_z10): Rename to __memset_z10.
9347 Jump to __memset_mvcle instead of memset_mvcle.
9348 (memset_mvcle) Rename to __memset_mvcle.
9349 (memset): Set alias to __memset_z900.
9350
9351 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #17748]
9354 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9355 __fesetenv instead of fesetenv.
9356
9357 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9358
9359 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9360 macro.
9361
9362 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9363
9364 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9365 regression on LE.
9366
9367 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9368 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9369 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9370 strncmp-power8 object.
9371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9372 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9373 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9374 * NEWS: Update.
9375
9376 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9377 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9378
9379 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9380 trailing byte check.
9381
9382 2015-01-13 David S. Miller <davem@davemloft.net>
9383
9384 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9385
9386 2015-01-13 Roland McGrath <roland@hack.frob.com>
9387
9388 * login/logout.c (logout): Use memset rather than bzero.
9389 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9390 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9391 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9392 (_gethtbyaddr): Likewise.
9393 * locale/programs/simple-hash.c (bcopy): Macro removed.
9394
9395 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9396
9397 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9398 Add strcmp-power8 object.
9399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9400 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9402 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9403 __strcmp_power8 implementation.
9404 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9405 * NEWS: Update.
9406
9407 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9408 Add strncpy-power8 and stpncpy-power8 objects.
9409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9410 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9411 implementations.
9412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9413 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9414 __stpncpy_power8 implementation.
9415 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9416 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9417 __strncpy_power8 implementation.
9418 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9419 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9420 * NEWS: Update.
9421
9422 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9423 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9424 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9425
9426 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9427 strncat-power8 object.
9428 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9429 __strcat_power8 implementation.
9430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9431 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9432 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9433 optimized strcat for power8.
9434
9435 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9436 strcpy-power8 and stpcpy-power8 objects.
9437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9438 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9439 implementations.
9440 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9441 multiarch stpcpy implementation for POWER8.
9442 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9443 multiarch strcpy implementation for POWER8.
9444 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9445 __strcpy_power8 function.
9446 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9447 stpcpy for POWER8.
9448 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9449 strcpy for POWER8.
9450 * NEWS: Update.
9451
9452 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9453
9454 [BZ #16009]
9455 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9456 weights and rules. Use do_xfrm_cached if data fits in cache,
9457 do_xfrm otherwise. Moved former main loop to...
9458 * (do_xfrm_cached): New function.
9459 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9460 find_idx, find_position and stack_push.
9461 * (find_idx): New function.
9462 * (find_position): Likewise.
9463 * localedata/sort-test.sh: Added test run for do_xfrm.
9464 * localedata/xfrm-test.c (main): Added command line option
9465 -nocache to run the test with strings that are too large for
9466 the STRXFRM cache.
9467
9468 2015-01-13 Torvald Riegel <triegel@redhat.com>
9469
9470 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9471 variable to lll_futex_wake call, not the value itself.
9472
9473 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9474
9475 [BZ #17803]
9476 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9477 twom64. Adjust value to 0x1p-64L.
9478 (__scalblnl): Only return standard underflowing result for K <=
9479 -64 not K <= -63; adjust exponent for underflowing result by 64
9480 not 63.
9481 * math/libm-test.inc (scalbn_test_data): Add more tests.
9482 (scalbln_test_data): Likewise.
9483
9484 [BZ #17834]
9485 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9486 0x1p63L.
9487 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9488 not HX.
9489 * math/libm-test.inc (scalbn_test_data): Add more tests.
9490 (scalbln_test_data): Likewise.
9491
9492 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9493 Stefani Seibold <stefani@seibold.net>
9494
9495 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9496 (sysdep_routines): Add dl-vdso here, ...
9497 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9498 (sysdep_routines): ... not here.
9499 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9500 fallback when vDSO is not presented.
9501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9502 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9503 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9504 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9505 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9506 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9507 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9508 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9509 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9511 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9512 fallback configurable symbol when vDSO is not available.
9513 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9514 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9515 be able to redefine fallback symbol when vDSO is not available.
9516 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9517 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9518
9519 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9520
9521 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9522 (TLS_INIT_TP): Add tm_capable initialization.
9523 (TLS_DEFINE_INIT_TP): Likewise.
9524 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9525 TCB.
9526 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9527 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9528 calculation.
9529 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9530 transactoion is lock elision is built and TCB tm_capable is set.
9531 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9533 (INTERNAL_SYSCALL_NCS): Likewise.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9535 (INTERNAL_SYSCALL_NCS): Likewise.
9536 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9537
9538 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9539 for powerpc.
9540 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9541 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9542 and remove it for 32 bits case.
9543 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9545 initialization.
9546 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9547 Disable lock elision with rdlocks if elision is not available.
9548
9549 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9550 (sysdep_routines): Add lock elision objects.
9551 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9552 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9553 [pthread_mutex_t] (__elision): Add field.
9554 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9555 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9556 elision definitions for powerpc.
9557 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9558 implementation of lock elision for powerpc.
9559 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9560 implementation of timed lock elision for powerpc.
9561 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9562 implementation of trylock with lock elision for powerpc.
9563 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9564 implementaion of unlock for lock elision for powerpc.
9565 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9566 automatic enable lock elision for mutexes.
9567 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9568 transaction execution definitions for powerpc.
9569 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9570 definitions.
9571 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9572 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9573 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9575 * NEWS: Update.
9576
9577 2015-01-09 Roland McGrath <roland@hack.frob.com>
9578
9579 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9580 for #include of <shm-directory.h>.
9581
9582 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9583
9584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9585 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9586
9587 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9588
9589 [BZ #17791]
9590 * NEWS: Mention bug fix.
9591 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9592 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9593 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9594
9595 2015-01-09 Torvald Riegel <triegel@redhat.com>
9596
9597 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9598
9599 2015-01-09 Torvald Riegel <triegel@redhat.com>
9600
9601 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9602
9603 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9604
9605 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9606 pointer and cast to uintptr_t.
9607
9608 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9609
9610 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9611 removed.
9612 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9613
9614 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9615
9616 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9617 of 0.
9618
9619 2015-01-08 Roland McGrath <roland@hack.frob.com>
9620
9621 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9622 <nptl/pthreadP.h> instead.
9623 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9624
9625 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9626 already defined.
9627 [__SIGRTMIN] (init): Function removed.
9628 [__SIGRTMIN] (initialized): Variable removed.
9629 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9630 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9631 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9632 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9633 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9634 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9635 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9636 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9637 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9638 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9639 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9640 * sysdeps/nptl/allocrtsig.c: New file.
9641 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9642 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9643 * sysdeps/generic/testrtsig.h: File removed.
9644
9645 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9646 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9647
9648 * nptl/nptl-init.c (pthread_functions): Conditionalize
9649 .ptr__nptl_setxid initialization on [SIGSETXID].
9650
9651 * sysdeps/nptl/sys/procfs.h: New file.
9652 * nptl_db/Makefile (headers): Add it.
9653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9654
9655 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9656 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9657 * nptl/pthread_attr_setaffinity.c: Include it.
9658 * nptl/pthread_setattr_default_np.c: Likewise.
9659 * nptl/check-cpuset.h: New file.
9660
9661 2015-01-08 Richard Henderson <rth@redhat.com>
9662
9663 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9664 (CFLAGS-tst-execstack-prog.c): Likewise.
9665 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9666
9667 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9668 Sandra Loosemore <sandra@codesourcery.com>
9669 Andrew Jenner <andrew@codesourcery.com>
9670 Joseph Myers <joseph@codesourcery.com>
9671 Nathan Sidwell <nathan@codesourcery.com>
9672
9673 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9674 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9675 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9676 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9677 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9678 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9679 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9680 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9681 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9682 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9683 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9684 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9685 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9686 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9687 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9688 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9689 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9690
9691 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9692
9693 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9694 timespec struct member in syscall macro.
9695 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9696 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9697 first timeval struct member in syscall macro.
9698 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9699
9700 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9701
9702 [BZ #17748]
9703 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9704 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9705 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9706 __feupdateenv and define as weak alias of __feupdateenv. Use
9707 libm_hidden_weak.
9708 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9709 libm_hidden_def.
9710 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9711 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9712 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9713 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9714 libm_hidden_def.
9715 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9716 __feupdateenv and define as weak alias of __feupdateenv. Use
9717 libm_hidden_weak.
9718 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9719 libm_hidden_def.
9720 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9721 __feupdateenv and define as weak alias of __feupdateenv. Use
9722 libm_hidden_weak.
9723 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9724 libm_hidden_def.
9725 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9726 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9727 (__feupdateenv): Likewise.
9728 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9729 __feupdateenv and define as weak alias of __feupdateenv. Use
9730 libm_hidden_weak.
9731 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9732 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9733 libm_hidden_def.
9734 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9735 function.
9736 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9737 libm_hidden_def.
9738 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9739 __feupdateenv instead of feupdateenv.
9740 (default_libc_feupdateenv_test): Likewise.
9741 (libc_feresetround_ctx): Likewise.
9742
9743 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9744
9745 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9746 prototype.
9747
9748 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9749
9750 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9751 COLL_SYM in a couple of places to avoid uninitialized variable
9752 wanings on tilegx gcc 4.8.2.
9753
9754 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9755
9756 * sysdeps/aarch64/strcpy.S: New file.
9757 * sysdeps/aarch64/stpcpy.S: New file.
9758 * NEWS: Updated.
9759
9760 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9761
9762 * sysdeps/aarch64/strrchr.S: New file.
9763 * NEWS: Updated.
9764
9765 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9766
9767 [BZ #17658]
9768 * stdlib/setenv.c: Fix memory leak when setting large,
9769 duplicate string.
9770
9771 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9772
9773 [BZ #17273]
9774 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9775 and tabs from buffer before parsing fstab entry.
9776 * misc/tst-mntent.c (main): Add test for mount entry with
9777 trailing spaces and tabs.
9778
9779 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #17748]
9782 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9783 * math/fesetround.c (fesetround): Rename to __fesetround and
9784 define as weak alias of __fesetround. Use libm_hidden_weak.
9785 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9786 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9787 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9788 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9789 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9790 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9791 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9792 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9793 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9794 __fesetround_inline.
9795 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9796 __fesetround_inline instead of __fesetround.
9797 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9798 __fesetround and define as weak alias of __fesetround. Use
9799 libm_hidden_weak. Call __fesetround_inline instead of
9800 __fesetround.
9801 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9802 __fesetround and define as weak alias of __fesetround. Use
9803 libm_hidden_weak.
9804 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9805 Likewise.
9806 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9807 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9808 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9809 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9810 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9811 __fesetround and define as weak alias of __fesetround. Use
9812 libm_hidden_weak.
9813 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9814 __fesetround instead of fesetround.
9815 (default_libc_feholdexcept_setround): Likewise.
9816 (libc_feholdsetround_ctx): Likewise.
9817 (libc_feholdsetround_noex_ctx): Likewise.
9818
9819 [BZ #17748]
9820 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9821 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9822 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9823 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9824 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9825 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9826 define as weak alias of __fesetenv. Use libm_hidden_weak.
9827 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9828 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9829 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9830 define as weak alias of __fesetenv. Use libm_hidden_weak.
9831 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9832 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9833 define as weak alias of __fesetenv. Use libm_hidden_weak.
9834 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9835 libm_hidden_def.
9836 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9837 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9838 Likewise.
9839 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9840 define as weak alias of __fesetenv. Use libm_hidden_weak.
9841 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9842 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9843 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9844 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9845 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9846 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9847 __fesetenv instead of fesetenv.
9848 (libc_feresetround_noex_ctx): Likewise.
9849 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9850 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9851 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9852 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9853 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9854 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9855 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9856 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9857 (__feupdateenv): Likewise.
9858 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9860 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9861 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9862
9863 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9864
9865 [BZ #17806]
9866 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9867 addresses have been freed.
9868
9869 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9870
9871 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9872 and nservall.
9873
9874 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9875
9876 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9877 Clean up check_pf allocation pattern. addresses
9878
9879 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880
9881 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9882 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9883 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9884 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9885 * nptl/pthread_join.c (pthread_join): Likewise.
9886 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9887 * sysdeps/posix/waitid.c (__waitid): Likewise.
9888 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9889 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9890 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9891 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9892 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9893 Likewise.
9894 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9895 (__libc_pread64): Likewise.
9896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9897 (__libc_pwrite): Likewise.
9898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9899 (__libc_pwrite64): Likewsie.
9900 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9901 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9902 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9903 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9904 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9905 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9906 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9910 (__libc_pread64): Likewise.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9914 (__libc_pwrite64): Likewise.
9915 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9916 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9917 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9918 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9919 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9920 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9921 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9922 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9923 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9924 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9925 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9926 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9927 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9928 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9929 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9930 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9931 Likewise.
9932
9933 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9934
9935 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9936 (CFLAGS-test-double.c): Likewise.
9937 (CFLAGS-test-ldouble.c): Likewise.
9938 (CPPFLAGS-test-ifloat.c): Likewise.
9939 (CPPFLAGS-test-idouble.c): Likewise.
9940 (CPPFLAGS-test-ildoubl.c): Likewise.
9941 (CFLAGS-test-test-fenv.c): Remove variable.
9942 (CFLAGS-test-misc.c): Likewise.
9943
9944 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 [BZ #17797]
9947 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9948 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9949 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9950 CLOCKS_PER_SEC == 1000000.
9951 * time/clocktest.c (main): Replace %ld with %jd and cast to
9952 intmax_t.
9953
9954 2015-01-05 Roland McGrath <roland@hack.frob.com>
9955
9956 * sysdeps/generic/unwind-resume.h: New file.
9957 * sysdeps/gnu/unwind-resume.c: Include it.
9958 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9959 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9960 argument list.
9961 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9962 global rather than static.
9963 (_Unwind_Resume): Update user.
9964 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9965 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
9966 rather than static. Add __attribute__ ((cold)).
9967 (_Unwind_Resume, __gcc_personality_v0): Update callers.
9968 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9969 * sysdeps/arm/arm-unwind-resume.S: New file.
9970 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9971 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9972 * sysdeps/arm/Makefile [$(subdir) = csu]
9973 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9974 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9975 Add rt-arm-unwind-resume.
9976 [$(subdir) = nptl]
9977 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9978 Add pt-arm-unwind-resume.
9979 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9980 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9981
9982 2015-01-05 Joseph Myers <joseph@codesourcery.com>
9983
9984 [BZ #17748]
9985 * include/fenv.h (__feholdexcept): Declare. Use
9986 libm_hidden_proto.
9987 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9988 define as weak alias of __feholdexcept. Use libm_hidden_weak.
9989 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9990 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9991 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9992 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9993 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9994 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9995 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9996 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9997 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9998 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9999 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10000 (feholdexcept): Likewise.
10001 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10002 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10003 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10004 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10005 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10006 __feholdexcept instead of feholdexcept.
10007 (default_libc_feholdexcept_setround): Likewise.
10008
10009 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10010
10011 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10012 to avoid using stl/str to align destination.
10013
10014 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10015
10016 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10017
10018 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10019
10020 [BZ #17796]
10021 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10022 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10023 Define as weak alias not strong alias.
10024
10025 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10026
10027 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10028 bltzal with addiupc.
10029 (RTLD_START): Ditto.
10030
10031 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10032
10033 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10034 for __vdso_* functions in declarations.
10035 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10036 definitions.
10037 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10038 INTERNAL_VSYSCALL): Use struct return types to check for error.
10039
10040 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10041 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10042 function with cast from llround().
10043 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10044 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10045 Define.
10046
10047 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #17793]
10050 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10051 Define as weak alias not strong alias.
10052
10053 [BZ #17635]
10054 * ctype/ctype-c99.c: New file. isblank implementation moved from
10055 ...
10056 * ctype/ctype-extn.c: ... here.
10057 (__isblank_l): Move to ...
10058 * ctype/ctype-c99_l.c: ... here. New file.
10059 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10060 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10061 Remove variable.
10062 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10063 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10064 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10065 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10066 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10067
10068 [BZ #17777]
10069 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10070 (posix_fadvise64): Define as weak alias not strong alias.
10071 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10072 (posix_fallocate64): Likewise.
10073 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10074 Remove variable.
10075 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10076 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10077 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10078 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10079 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10080
10081 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10082
10083 [BZ #16191]
10084 * NEWS: Mention bug fix.
10085 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10086 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10087 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10088 (HOST_STACK_END_ADDR): Likewise.
10089
10090 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10091
10092 [BZ #17748]
10093 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10094 * math/fegetround.c (fegetround): Rename to __fegetround and
10095 define as weak alias of __fegetround. Use libm_hidden_weak.
10096 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10097 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10098 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10099 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10100 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10101 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10102 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10103 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10104 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10105 Undefine after rather than before function definition; use
10106 parentheses around function name in definition.
10107 (__fegetround): Also undefine macro after function definition.
10108 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10109 __fegetround and define as weak alias of __fegetround. Use
10110 libm_hidden_weak. Do not undefine as macro.
10111 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10112 Likewise.
10113 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10114 __fegetround and define as weak alias of __fegetround. Use
10115 libm_hidden_weak.
10116 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10117 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10118 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10119 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10120 __fegetround and define as weak alias of __fegetround. Use
10121 libm_hidden_weak.
10122 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10123 __fegetround instead of fegetround.
10124
10125 [BZ #17782]
10126 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10127 Condition macro definition on [__USE_MISC].
10128
10129 [BZ #17781]
10130 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10131 (struct sigaction): Change type of sa_flags field to int.
10132
10133 [BZ #17780]
10134 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10135 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10136 __glibc_reserved0.
10137
10138 * nptl/version.c (banner): Use single year in copyright notice.
10139
10140 * NEWS: Update copyright dates.
10141 * catgets/gencat.c (print_version): Likewise.
10142 * csu/version.c (banner): Likewise.
10143 * debug/catchsegv.sh: Likewise.
10144 * debug/pcprofiledump.c (print_version): Likewise.
10145 * debug/xtrace.sh (do_version): Likewise.
10146 * elf/ldconfig.c (print_version): Likewise.
10147 * elf/ldd.bash.in: Likewise.
10148 * elf/pldd.c (print_version): Likewise.
10149 * elf/sotruss.sh: Likewise.
10150 * elf/sprof.c (print_version): Likewise.
10151 * iconv/iconv_prog.c (print_version): Likewise.
10152 * iconv/iconvconfig.c (print_version): Likewise.
10153 * locale/programs/locale.c (print_version): Likewise.
10154 * locale/programs/localedef.c (print_version): Likewise.
10155 * login/programs/pt_chown.c (print_version): Likewise.
10156 * malloc/memusage.sh (do_version): Likewise.
10157 * malloc/memusagestat.c (print_version): Likewise.
10158 * malloc/mtrace.pl: Likewise.
10159 * manual/libc.texinfo: Likewise.
10160 * nptl/version.c (banner): Likewise.
10161 * nscd/nscd.c (print_version): Likewise.
10162 * nss/getent.c (print_version): Likewise.
10163 * nss/makedb.c (print_version): Likewise.
10164 * posix/getconf.c (main): Likewise.
10165 * scripts/test-installation.pl: Likewise.
10166 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10167
10168 2015-01-02 Will Newton <will.newton@linaro.org>
10169
10170 * sysdeps/arm/armv7/configure: Removed.
10171 * sysdeps/arm/armv7/configure.ac: Likewise.
10172
10173 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10174
10175 * All files with FSF copyright notices: Update copyright dates
10176 using scripts/update-copyrights.
10177 * intl/plural.c: Regenerated.
10178 * locale/programs/charmap-kw.h: Likewise.
10179 * locale/programs/locfile-kw.h: Likewise.
10180
10181 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10182
10183 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10184
10185 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #17748]
10188 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10189 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10190 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10191 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10192 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10193 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10194 define as weak alias of __fegetenv. Use libm_hidden_weak.
10195 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10196 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10197 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10198 define as weak alias of __fegetenv. Use libm_hidden_weak.
10199 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10200 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10201 define as weak alias of __fegetenv. Use libm_hidden_weak.
10202 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10203 libm_hidden_def.
10204 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10205 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10206 Likewise.
10207 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10208 define as weak alias of __fegetenv. Use libm_hidden_weak.
10209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10210 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10211 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10212 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10213 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10214 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10215 __fegetenv instead of fegetenv.
10216 (libc_feholdsetround_noex_ctx): Likewise.
10217
10218 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10219
10220 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10221 (Elf_MIPS_ABIFlags_v0): New structure.
10222 (EF_MIPS_FP64): Define.
10223 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10224 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10225 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10226 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10227 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10228 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10229 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10230 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10231 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10232 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10233 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10234 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10235 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10236 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10237 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10238 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10239 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10240 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10241 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10242 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10243 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10244 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10245 field.
10246 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10247 EF_MIPS_FP64.
10248 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10249 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10250 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10251 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10252 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10253 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10254 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10255 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10256 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10257 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10258 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10259 record the current FP ABI extension.
10260 (mips-mode-switch): Define to show if kernel headers support mode
10261 switching.
10262 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10263 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10264 supported SYSV ABI version to 3.
10265 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10266 feature.
10267
10268 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10269 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10270
10271 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10272 path.
10273 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10274
10275 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10276
10277 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10278 __fegetround and redefine to call __fegetround. Remove condition
10279 on [!__NO_MATH_INLINES].
10280 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10281 function.
10282 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10283 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10284 Remove macro.
10285 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10286 instead of <fenv_libc.h>.
10287 (__llrintl): Call fegetround instead of __fegetround.
10288 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10289 instead of <fenv_libc.h>.
10290 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10291 (__lrintl): Call fegetround instead of __fegetround.
10292 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10293 instead of <fenv_libc.h>.
10294 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10295 (__rintl): Call fegetround instead of __fegetround.
10296
10297 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10298
10299 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10300 arrays.
10301
10302 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 [BZ #17775]
10305 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10306 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10307 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10308
10309 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10310
10311 * sysdeps/i386/tls-macros.h: Include <features.h>.
10312 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10313 (TLS_IE): Likewise.
10314 (TLS_LD): Likewise.
10315 (TLS_GD): Likewise.
10316 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10317 define for GCC >= 5.0.
10318
10319 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10320
10321 * math/test-fenv.c (test_single_exception, set_single_exc,
10322 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10323 feexcp_mask_test, feenable_test, fe_single_test): Add
10324 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10325 case where they are not used.
10326 * math/libm-test.inc: Likewise.
10327 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10328 unused in the absence of FP rounding/exception support.
10329 * stdio-common/tst-printf-round.c: Likewise.
10330 * stdlib/tst-strtod-round.c: Likewise.
10331 * stdlib/tst-strtod-underflow.c: Likewise.
10332
10333 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10334
10335 [BZ #17723]
10336 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10337 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10338 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10339 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10340 libm_hidden_weak.
10341 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10342 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10343 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10344 libm_hidden_def.
10345 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10346 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10347 libm_hidden_weak.
10348 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10349 Likewise.
10350 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10351 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10352 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10353 libm_hidden_weak.
10354 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10355 libm_hidden_def.
10356 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10357 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10358 (__feraiseexcept): Likewise.
10359 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10360 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10361 libm_hidden_weak.
10362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10363 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10364 libm_hidden_def.
10365 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10366 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10367 Use libm_hidden_def.
10368 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10369 libm_hidden_def.
10370 (feraiseexcept): Define as weak not strong alias. Use
10371 libm_hidden_weak.
10372 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10373 New inline function. Factored out of ...
10374 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10375 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10376 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10377 feraiseexcept.
10378 * math/w_acos.c (__acos): Likewise.
10379 * math/w_asin.c (__asin): Likewise.
10380 * math/w_ilogb.c (__ilogb): Likewise.
10381 * math/w_j0.c (y0): Likewise.
10382 * math/w_j1.c (y1): Likewise.
10383 * math/w_jn.c (yn): Likewise.
10384 * math/w_log.c (__log): Likewise.
10385 * math/w_log10.c (__log10): Likewise.
10386 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10387 * sysdeps/aarch64/fpu/math_private.h
10388 (libc_feupdateenv_test_aarch64): Likewise.
10389 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10390 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10391 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10392 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10393 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10394 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10395 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10396 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10397 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10398 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10399
10400 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 [BZ #17732]
10403 * io/test-utime.c (main): Replace %ld with %jd and cast to
10404 intmax_t.
10405 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10406 * nptl/tst-mutex5.c: Include <stdint.h>.
10407 (do_test): Replace %ld with %jd and cast to intmax_t.
10408 * posix/tst-regex.c (run_test): Likewise.
10409 (run_test_backwards): Likewise.
10410 * rt/tst-clock.c: Include <stdint.h>.
10411 (clock_test): Replace %ld with %jd and cast to intmax_t.
10412 * rt/tst-cpuclock1.c: Include <stdint.h>.
10413 (do_test): Replace %lu with %ju and cast to uintmax_t.
10414 * rt/tst-cpuclock2.c: Include <stdint.h>.
10415 (do_test): Replace %lu with %ju and cast to uintmax_t.
10416 * rt/tst-mqueue1.c: Include <stdint.h>.
10417 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10418 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10419 intmax_t.
10420 * rt/tst-mqueue4.c (do_test): Likewise.
10421 * rt/tst-timer4.c: Include <stdint.h>.
10422 (check_ts): Replace %ld with %jd and cast to intmax_t.
10423 (do_test): Likewise.
10424 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10425 and cast to intmax_t.
10426 * sysdeps/pthread/tst-timer.c (main): Likewise.
10427 * time/clocktest.c (main): Likewise.
10428 * time/tst-posixtz.c (do_test): Likewise.
10429 * timezone/tst-timezone.c (main): Likewise.
10430
10431 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10432 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10435 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10436 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10437 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10438 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10439 version if bit_Fast_Unaligned_Load is set.
10440 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10441 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10442 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10443 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10444 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10445 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10447 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10448 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10449 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10450 to 4.
10451 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10452 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10453 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10454 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10455
10456 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10457
10458 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10459 instead of #if to avoid a Wundef warning.
10460 * stdlib/tst-limits.c (do_test): Likewise.
10461
10462 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10463 parallel other exception macros.
10464 (fegetenv): Convert from macro to extern inline so that it applies
10465 retroactively to inline functions already seen by the compiler.
10466 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10467
10468 * posix/Makefile (before-compile): Use $(objpfx) for
10469 posix-conf-vars-def.h.
10470
10471 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
10473 * posix/getconf.c (main): Use size_t for type of I.
10474 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10475 NSPEC.
10476
10477 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10478 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10479 * posix/posix-envs.def: Likewise.
10480 * sysdeps/posix/sysconf.c: Likewise.
10481 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10482 (specs): Remove array.
10483 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10484 array.
10485
10486 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10487 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10488 (__sysconf): Use CONF_IS_* macros.
10489
10490 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10491 ($(objpfx)posix-conf-vars-def.h): New target.
10492 * posix/posix-conf-vars.list: New file.
10493 * posix/posix-conf-vars.h: New file.
10494 * posix/confstr.c: Include posix-conf-vars.h.
10495 (confstr): Use CONF_IS_* macros.
10496 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10497 CONF_IS_* macros.
10498 * scripts/gen-posix-conf-vars.awk: New file.
10499
10500 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10501
10502 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10503 fegetround): Add no-op macros to avoid linknamespace issues.
10504
10505 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10506 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10507
10508 * sysdeps/unix/sysv/linux/tile/sysdep.h
10509 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10510 assembly-specific section to avoid a redefinition warning.
10511
10512 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10513 long before casting to pointer to avoid a cast warning.
10514
10515 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10516
10517 * sysdeps/tile/tilegx/Implies: New file.
10518
10519 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10520
10521 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10522
10523 2014-12-23 Florian Weimer <fweimer@redhat.com>
10524
10525 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10526
10527 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10528
10529 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10530 not define.
10531 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10532 <kernel-features.h>.
10533 (__utimes) [__NR_utimes]: Make code unconditional.
10534 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10536 (__ASSUME_UTIMES): Do not undefine.
10537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10538 (__ASSUME_UTIMES): Likewise.
10539 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10540 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10541 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10542 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10543
10544 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10545
10546 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10547
10548 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10549
10550 [BZ #17747]
10551 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10552 alias to weak alias for j0l, y0l.
10553 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10554 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10555
10556 [BZ #17746]
10557 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10558 conversion.
10559
10560 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10561
10562 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10563 to zero if not already defined.
10564
10565 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10566
10567 [BZ #17724]
10568 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10569 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10570 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10571 (char *) casts added.
10572 * sysdeps/ieee754/k_standardf.c: New file.
10573 * sysdeps/ieee754/k_standardl.c: Likewise.
10574 * math/Makefile (libm-support): Remove k_standard.
10575 (libm-calls): Add k_standard.
10576
10577 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10578
10579 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10580 Optimize to avoid an unnecessary FPCR read.
10581
10582 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10583
10584 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10585 Optimize to reduce FPCR/FPSR accesses.
10586
10587 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10588
10589 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10590 Call libc_fetestexcept_aarch64.
10591
10592 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10593
10594 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10595 Call libc_fesetround_aarch64.
10596
10597 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10598
10599 [BZ #17733]
10600 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10601 (__bind): Do not define as weak alias.
10602 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10603 define.
10604 (__getsockname): Do not define as weak alias.
10605
10606 2014-12-22 Will Newton <will.newton@linaro.org>
10607
10608 * manual/install.texi: Document that we require bison 2.7
10609 or above.
10610 * INSTALL: Regenerate.
10611 * configure.ac: Use AC_CHECK_PROG_VER instead of
10612 AC_PATH_PROG when checking for bison and check for
10613 version 2.7 or above.
10614 * configure: Regenerate.
10615
10616 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10617
10618 [BZ #17745]
10619 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10620 * sysdeps/tile/ffsll.c (ffsll): To here.
10621
10622 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10623
10624 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10627 if not defined.
10628 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10629 definition.
10630 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10631 hidden ___tls_get_addr.
10632 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10633 hidden __tls_get_addr.
10634 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10635 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10636 Likewise.
10637
10638 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10639
10640 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10641 _dl_init call.
10642
10643 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10644
10645 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10646 from "call _dl_init@PLT".
10647 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10648
10649 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10650
10651 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10652 guarantees.
10653
10654 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10655
10656 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10657
10658 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10659
10660 [BZ #17744]
10661 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10662 strnlen.
10663
10664 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10665
10666 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10667 of multu on MIPSr6.
10668 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10669 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10670 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10671 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10672 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10673
10674 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10675
10676 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10677 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10678 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10679 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10680 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10681 mips32r6/mips64r6.
10682 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10683
10684 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10685
10686 * string/strncat.c (STRNCAT): Simplify implementation.
10687
10688 2014-12-19 David S. Miller <davem@davemloft.net>
10689
10690 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10691 access the quad as both a long double and as a series of 4 words.
10692
10693 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10694 link_map->l_info array access.
10695
10696 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10697
10698 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10699
10700 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10701 * math/atest-exp2.c (TIMEOUT): Likewise.
10702 * math/atest-sincos.c (TIMEOUT): Likewise.
10703
10704 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10705
10706 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10707 -Wno-error with -fno-builtin-lround.
10708
10709 2014-12-19 Torvald Riegel <triegel@redhat.com>
10710
10711 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10712 Contains futex constants and functions moved over from ...
10713 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10714 <lowlevellock-futex.h>.
10715 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10716 (lll_timedwait_tid): Add comments and parentheses around macro
10717 arguments.
10718
10719 2014-12-19 Torvald Riegel <triegel@redhat.com>
10720
10721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10722 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10723 (__lll_private_flag): Remove.
10724 (lll_futex_wait): Likewise.
10725 (lll_futex_timed_wait): Likewise.
10726 (lll_futex_wake): Likewise.
10727 (lll_futex_requeue): Likewise.
10728 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10729 (__lll_timedwait_tid): Spell out argument names.
10730 (lll_timedwait_tid): Add comments and parentheses around macro
10731 arguments.
10732 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10733 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10734
10735 2014-12-19 Torvald Riegel <triegel@redhat.com>
10736
10737 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10738 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10739 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10740 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10741 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10742 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10743 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10744 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10745 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10746 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10748 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10749 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10750 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10751 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10752 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10753 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10754 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10755 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10756
10757 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10758
10759 * sysdeps/x86_64/x32/Makefile: New file.
10760
10761 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10762
10763 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10764 1L with (mp_limb_t) 1.
10765
10766 2014-12-17 Roland McGrath <roland@hack.frob.com>
10767
10768 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10769 * nptl/libc_pthread_init.c: ... here.
10770 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10771 * nptl/register-atfork.c: ... here.
10772
10773 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10774 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10775 Use assert_perror to check its return value.
10776 (__gai_create_helper_thread): Likewise.
10777
10778 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10779
10780 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10781
10782 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10783
10784 [BZ #17725]
10785 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10786 __profil_counter.
10787 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10788 Likewise.
10789 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10790 Likewise.
10791 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10792 Likewise.
10793 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10794 (profil_counter): Likewise.
10795 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10796 (profil_counter): Likewise.
10797 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10798 Likewise.
10799 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10800 Likewise.
10801 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10802 (profil_counter): Likewise.
10803 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10804 Likewise.
10805 [!__profil_counter] (profil_counter): Define as weak alias of
10806 __profil_counter.
10807 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10808 (profil_counter): Rename to __profil_counter.
10809 [!__profil_counter] (profil_counter): Define as weak alias of
10810 __profil_counter.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10812 (profil_counter): Rename to __profil_counter.
10813 [!__profil_counter] (profil_counter): Define as weak alias of
10814 __profil_counter.
10815 * sysdeps/posix/profil.c: Update comment referring to
10816 profil_counter.
10817 (__profil): Use __profil_counter instead of profil_counter.
10818 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10819 __profil_counter. Use __profil_counter_ushort and
10820 __profil_counter_uint in definitions.
10821 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10822 instead of profil_counter_uint and profil_counter_ushort.
10823
10824 [BZ #17722]
10825 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10826 define as weak alias of __inet_makeaddr.
10827 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10828 as weak alias of __inet_addr.
10829 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10830 as weak alias of __inet_pton. Use libc_hidden_weak.
10831 * include/arpa/inet.h (__inet_pton): Declare. Use
10832 libc_hidden_proto.
10833 (inet_makeaddr): Don't use libc_hidden_proto.
10834 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10835 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10836 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10837 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10838 Remove variable.
10839 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10840 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10841
10842 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10843
10844 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10845
10846 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10847
10848 * stdio-common/bug-vfprintf-nargs.c (do_test):
10849 Cast value to intptr_t to avoid format warning
10850 for usage with PRIdPTR printing macro.
10851
10852 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10853
10854 * libio/tst-widetext.c (do_test):
10855 Use format type %td instead of %Zd for ptrdiff_t
10856 in order to avoid format warning.
10857
10858 2014-12-17 Andreas Schwab <schwab@suse.de>
10859
10860 * nscd/mem.c (gc): Add size_t cast to match printf format.
10861
10862 2014-12-16 Roland McGrath <roland@hack.frob.com>
10863
10864 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10865 (init): Apply PTR_MANGLE to pointers before storing them.
10866 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10867 before using them.
10868
10869 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10870
10871 [BZ #17719]
10872 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10873 define as weak alias of __memrchr.
10874 (__memrchr): Do not define as strong alias of memrchr.
10875 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10876 Remove variable.
10877 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10878 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10879 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10880
10881 [BZ #17717]
10882 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10883 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10884 (if_indextoname): Rename to __if_indextoname and define as weak
10885 alias of __if_indextoname. Use libc_hidden_weak.
10886 (if_freenameindex): Rename to __if_freenameindex and define as
10887 weak alias of __if_freenameindex.
10888 (if_nameindex): Rename to __if_nameindex and define as weak alias
10889 of __if_nameindex.
10890 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10891 __if_nametoindex and define as weak alias of __if_nametoindex.
10892 Use libc_hidden_weak.
10893 (if_freenameindex): Rename to __if_freenameindex and define as
10894 weak alias of __if_freenameindex.
10895 (if_nameindex): Rename to __if_nameindex and define as weak alias
10896 of __if_nameindex.
10897 (if_indextoname): Rename to __if_indextoname and define as weak
10898 alias of __if_indextoname. Use libc_hidden_weak.
10899 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10900 __if_nametoindex and define as weak alias of __if_nametoindex.
10901 Use libc_hidden_weak.
10902 (if_freenameindex): Rename to __if_freenameindex and define as
10903 weak alias of __if_freenameindex. Use libc_hidden_weak.
10904 (if_nameindex_netlink): Use __if_freenameindex instead of
10905 if_freenameindex.
10906 (if_nameindex): Rename to __if_nameindex and define as weak alias
10907 of __if_nameindex. Use libc_hidden_weak.
10908 (if_indextoname): Rename to __if_indextoname and define as weak
10909 alias of __if_indextoname. Use libc_hidden_weak.
10910 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10911 libc_hidden_proto.
10912 [!_ISOMAC] (__if_freenameindex): Likewise.
10913 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10914 if_nametoindex.
10915 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10916 variable.
10917 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10918 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10919 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10920 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10921 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10922 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10923 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10924
10925 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10926 Remove variable.
10927 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10928 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10929
10930 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10931
10932 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10933 subscript above bounds'
10934
10935 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10936 bounds.
10937
10938 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
10939
10940 * libio/tst-fopenloc.c: Use test-skeleton.c.
10941
10942 * stdlib/tst-bsearch.c: Use test-skeleton.c.
10943 (entry): Rename to ITEM.
10944 (do_test, comp): Adjust.
10945
10946 * stdio-common/tst-fseek.c: Use test-skeleton.c.
10947
10948 2014-12-16 Torvald Riegel <triegel@redhat.com>
10949
10950 * string/tester.c: Include <libc-internal.h>.
10951 (test_memset): Ignore -Wmemset-transposed-args.
10952
10953 2014-12-16 Torvald Riegel <triegel@redhat.com>
10954
10955 * misc/tst-mntent2.c (do_test): Fix warning.
10956
10957 2014-12-16 Torvald Riegel <triegel@redhat.com>
10958
10959 * elf/tst-unique4lib.cc(a): Mark as used.
10960
10961 2014-12-16 Florian Weimer <fweimer@redhat.com>
10962
10963 [BZ #17630]
10964 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10965 names.
10966
10967 2014-12-16 Allan McRae <allan@archlinux.org>
10968
10969 * stdio-common/Makefile (tests): Re-add bug26.
10970
10971 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
10972
10973 [BZ #17657]
10974 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10975 static array.
10976
10977 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
10978
10979 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10980 (__lll_lock_wait): Likewise.
10981 (__lll_timedlock_wait): Likewise.
10982 (__lll_timedwait_tid): Likewise.
10983 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10984 (__lll_robust_timedlock_wait): Likewise.
10985 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10986 (lll_cond_trylock): Likewise.
10987 (__lll_lock): Likewise.
10988 (__lll_robust_lock): Likewise.
10989 (__lll_cond_lock): Likewise.
10990 (lll_robust_cond_lock): Likewise.
10991 (__lll_timedlock): Likewise.
10992 (__lll_robust_timedlock): Likewise.
10993 (__lll_unlock): Likewise.
10994 (__lll_robust_unlock): Likewise.
10995 (lll_wait_tid): Likewise.
10996 (lll_timedwait_tid): Likewise.
10997
10998 2014-12-15 Torvald Riegel <triegel@redhat.com>
10999
11000 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11001
11002 2014-12-15 Torvald Riegel <triegel@redhat.com>
11003
11004 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11005
11006 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11007
11008 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11009 * stdio-common/tst-sprintf.c: Likewise.
11010
11011 2014-12-15 Torvald Riegel <triegel@redhat.com>
11012
11013 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11014
11015 2014-12-15 Jeff Law <law@redhat.com>
11016
11017 [BZ #16617]
11018 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11019 on the heap. (CVE-2012-3406)
11020 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11021 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11022 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11023
11024 2014-12-15 Will Newton <will.newton@linaro.org>
11025
11026 * manual/install.texi: Bump required version of texinfo
11027 to 4.7 from 4.5.
11028 * INSTALL: Regenerated.
11029 * configure.ac: Check for makeinfo version 4.7 and above.
11030 * configure: Regenerated.
11031
11032 2014-12-12 Roland McGrath <roland@hack.frob.com>
11033
11034 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11035 PREFIX, string constant to insert between directory and name.
11036 * sysdeps/posix/shm_open.c: Update caller.
11037 * sysdeps/posix/shm_unlink.c: Likewise.
11038 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11039 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11040 (SEM_SHM_PREFIX): New macro.
11041 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11042 [$(have-thread-library) = no].
11043 * nptl/Makefile (libpthread-routines): Add shm-directory.
11044 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11045 * sysdeps/nptl/shm-directory.h: New file.
11046 * sysdeps/posix/shm-directory.c
11047 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11048 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11049 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11050 INTERNAL_SYSCALL.
11051 (__where_is_shmfs): Function removed.
11052 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11053 Variables removed.
11054 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11055 Use SHM_GET_NAME.
11056 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11057
11058 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11059 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11060 unconditional for use inside libpthread.
11061 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11062
11063 2014-12-12 Roland McGrath <roland@hack.frob.com>
11064
11065 * nptl/pthread_getaffinity.c: New file.
11066 * nptl/pthread_setaffinity.c: New file.
11067 * nptl/pthread_getname.c: New file.
11068 * nptl/pthread_setname.c: New file.
11069
11070 * nptl/pthread_create.c (START_THREAD_DEFN)
11071 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11072
11073 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11075
11076 * resolv/res_send.c (send_vc): Disable warning resplen may
11077 be used uninitialized.
11078
11079 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11080
11081 * nptl/tst-mutex6.c
11082 (ATTR_NULL): New define checks ATTR against NULL.
11083 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11084 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11085
11086 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11087
11088 [BZ #17581]
11089 * malloc/hooks.c
11090 (mem2mem_check): Revert my previous change.
11091 (malloc_check_get_size): Revert my previous change.
11092 (mem2chunk_check): Revert my previous change.
11093
11094 2014-12-11 Roland McGrath <roland@hack.frob.com>
11095
11096 * sysdeps/posix/shm-directory.c: New file.
11097 * sysdeps/posix/shm-directory.h: New file.
11098 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11099 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11100 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11101 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11102 Transmute EPERM to EACCES.
11103 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11104 from ...
11105 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11106 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11107
11108 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11109
11110 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11111 pointer and cast to uintptr_t.
11112 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11113 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11114 Add cast to avoid warning.
11115 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11116
11117 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11118
11119 * nptl/semaphore.h: Move to ...
11120 * sysdeps/pthread/semaphore.h: ... here.
11121 * Makefile (installed-headers): Change nptl/semaphore.h to
11122 sysdeps/pthread/semaphore.h.
11123
11124 2014-12-11 Roland McGrath <roland@hack.frob.com>
11125
11126 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11127 generated error format strings.
11128
11129 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11130 -Wformat-extra-args warnings for scanf formats.
11131 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11132 test of zero-length format (duh).
11133 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11134 corner-case scanf format test.
11135 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11136 generated fprintf format string.
11137 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11138 corner-case sprintf format tests.
11139 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11140 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11141 -Wformat-extra-args warnings throughout.
11142 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11143 (CFLAGS-scanf4.c): Likewise.
11144 (CFLAGS-scanf7.c): Likewise.
11145 (CFLAGS-tst-sprintf.c): Likewise.
11146 (CFLAGS-tst-printf.c): Likewise.
11147 (CFLAGS-tst-printfsz.c): Likewise.
11148
11149 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11150
11151 * include/cpio.h: New file.
11152 * include/fmtmsg.h: Likewise.
11153
11154 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11155 corresponding format argument to size_t.
11156 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11157 arguments.
11158 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11159 corresponding format argument to size_t.
11160 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11161 arguments.
11162 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11163 corresponding format argument to size_t.
11164 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11165 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11166 (CFLAGS-tst-mbswcs2.c): Likewise.
11167 (CFLAGS-tst-mbswcs3.c): Likewise.
11168 (CFLAGS-tst-mbswcs4.c): Likewise.
11169 (CFLAGS-tst-mbswcs5.c): Likewise.
11170 (CFLAGS-tst-trans.c): Likewise
11171
11172 2014-12-11 Roland McGrath <roland@hack.frob.com>
11173
11174 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11175 rather than assuming they won't contain any '%'s.
11176
11177 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11178
11179 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11180 inhibit_loop_to_libcall to avoid recursive calls.
11181 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11182 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11183
11184 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11185
11186 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11187 prototype.
11188
11189 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11190
11191 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11192 integer value instead of boolean.
11193
11194 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11195
11196 * malloc/malloc.c: Fix powerof2 check.
11197
11198 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11199
11200 * locale/programs/locfile.h (maybe_swap_uint32):
11201 Remove inline and add unused attribute.
11202
11203 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11204
11205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11206 Truncating assembler expression to a .long expression.
11207
11208 2014-12-11 Andreas Schwab <schwab@suse.de>
11209
11210 * elf/rtld.c (struct map_args): Constify str member.
11211 (do_preload): Constify fname argument.
11212
11213 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11214
11215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11216 constants definition.
11217
11218 2014-12-11 Andreas Schwab <schwab@suse.de>
11219
11220 [BZ #16657]
11221 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11222 FORCE_ELISION instead of DO_ELISION.
11223 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11224 Remove.
11225 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11226 Likewise.
11227
11228 * iconvdata/gconv-modules: Remove duplicate entry.
11229
11230 2014-12-11 Will Newton <will.newton@linaro.org>
11231
11232 Merge gettext 0.19.3 into intl/.
11233
11234 This involves a number of cosmetic changes to comments
11235 and ANSI function definitions and prototypes throughout
11236 all the files. The gettext copyright header is used but
11237 with the date ranges taken from the glibc copy.
11238
11239 * NEWS: Add gettext merge to 2.21.
11240 * intl/bindtextdom.c: Switch to gettext copyright.
11241 Use ANSI definitions and prototypes.
11242 Use gl_* locking primitives rather than __libc_* ones.
11243 Use __builtin_expect rather than __glibc_likely/unlikely.
11244 * intl/dcgettext.c: Switch to gettext copyright.
11245 Use ANSI definitions and prototypes.
11246 * intl/dcigettext.c: Switch to gettext copyright.
11247 Use ANSI definitions and prototypes.
11248 (INTDIV0_RAISES_SIGFPE): New define.
11249 Use gl_* locking primitives rather than __libc_* ones.
11250 Include eval-plural.h instead of plural-eval.c.
11251 Use __builtin_expect rather than __glibc_likely/unlikely.
11252 * intl/dcngettext.c: Switch to gettext copyright.
11253 Use ANSI definitions and prototypes.
11254 * intl/dgettext.c: Likewise.
11255 * intl/dngettext.c: Likewise.
11256 * intl/plural-eval.c: Renamed to...
11257 * intl/eval-plural.h: ...this.
11258 * intl/explodename.c: Switch to gettext copyright.
11259 Use ANSI definitions and prototypes.
11260 (_nl_explode_name): Use strchr instead of __rawmemchr.
11261 * intl/finddomain.c: Switch to gettext copyright.
11262 Use ANSI definitions and prototypes.
11263 Use gl_* locking primitives rather than __libc_* ones.
11264 (_nl_find_domain): Use malloc rather than alloca for
11265 allocation of temporary locale name.
11266 * intl/gettext.c: Switch to gettext copyright.
11267 Use ANSI definitions and prototypes.
11268 * intl/gettextP.h: Switch to gettext copyright.
11269 Use ANSI definitions and prototypes.
11270 Use gl_* locking primitives rather than __libc_* ones.
11271 * intl/gmo.h: Switch to gettext copyright.
11272 (struct sysdep_string): Move struct segment_pair outside of
11273 struct definition.
11274 * intl/hash-string.c: Use ANSI definitions and prototypes.
11275 * intl/hash-string.h: Switch to gettext copyright.
11276 Use ANSI definitions and prototypes.
11277 * intl/l10nflist.c: Switch to gettext copyright.
11278 Use ANSI definitions and prototypes.
11279 (_nl_normalize_codeset): Avoid integer overflow.
11280 * intl/loadinfo.h: Switch to gettext copyright.
11281 Use ANSI definitions and prototypes.
11282 (LIBINTL_DLL_EXPORTED): New define.
11283 (PATH_SEPARATOR): New define.
11284 * intl/loadmsgcat.c: Switch to gettext copyright.
11285 * intl/localealias.c: Switch to gettext copyright.
11286 Use ANSI definitions and prototypes.
11287 (_nl_expand_alias): Use PATH_SEPARATOR.
11288 * intl/ngettext.c: Switch to gettext copyright.
11289 Use ANSI definitions and prototypes.
11290 * intl/plural-exp.c: Likewise.
11291 * intl/plural-exp.h: Switch to gettext copyright.
11292 Use ANSI definitions and prototypes.
11293 (struct expression): Move definition of enum operator outside
11294 of struct definition.
11295 * intl/plural.c: Regenerate.
11296 * intl/plural.y: Switch to gettext copyright.
11297 Use ANSI definitions and prototypes.
11298 Port to bison 3.0.
11299 * intl/textdomain.c: Switch to gettext copyright.
11300 Use ANSI definitions and prototypes.
11301 Use gl_* locking primitives rather than __libc_* ones.
11302
11303 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11304
11305 * debug/warning-nop.c: Add used atrribute.
11306
11307 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11308
11309 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11310
11311 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11312 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11313 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11314
11315 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11316 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11317
11318 [BZ #17634]
11319 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11320 Undefine after defining function. Define as weak alias of
11321 __wcschr. Use libc_hidden_weak.
11322 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11323 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11324 (libc_hidden_def): Also define __GI___wcschr alias.
11325 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11326 __wcschr and define as weak alias of __wcschr.
11327 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11328 __wcschr.
11329 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11330 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11331 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11332 libc_hidden_weak. Do not use libc_hidden_def.
11333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11334 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11335 __GI___wcschr alias.
11336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11337 [IS_IN (libc)] (wcschr): Define as macro expanding to
11338 __redirect_wcschr.
11339 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11340 [IS_IN (libc)] (__wcschr_power6): Likewise.
11341 [IS_IN (libc)] (__wcschr_power7): Likewise.
11342 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11343 instead of wcschr.
11344 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11345 __libc_wcschr.
11346 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11347 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11348 __wcschr and define as weak alias of __wcschr. Use
11349 libc_hidden_builtin_def.
11350 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11351 as weak alias of __wcschr. Use libc_hidden_weak.
11352 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11353 wcschr.
11354 * time/era.c (_nl_init_era_entries): Likewise.
11355 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11356 variable.
11357 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11358 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11359
11360 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11361
11362 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11363 format for long int variable.
11364
11365 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11366
11367 [BZ #10672]
11368 * manual/search.texi: (Array Sort Function): Remove claim how to make
11369 qsort stable.
11370
11371 2014-12-10 Andreas Schwab <schwab@suse.de>
11372
11373 [BZ #12847]
11374 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11375 user-controlled locks.
11376
11377 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11378
11379 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11380 register.
11381
11382 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11383
11384 * configure.ac (--disable-werror): New configure option.
11385 (enable_werror): New AC_SUBST.
11386 * configure: Regenerated.
11387 * config.make.in (enable-werror): New variable.
11388 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11389 -Wno-error=undef.
11390 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11391 * manual/install.texi (Configuring and compiling): Document
11392 --disable-werror.
11393 * INSTALL: Regenerated.
11394 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11395 (CFLAGS-tst-chk2.c): Likewise.
11396 (CFLAGS-tst-chk3.c): Likewise.
11397 (CFLAGS-tst-chk4.cc): Likewise.
11398 (CFLAGS-tst-chk5.cc): Likewise.
11399 (CFLAGS-tst-chk6.cc): Likewise.
11400 (CFLAGS-tst-lfschk1.c): Likewise.
11401 (CFLAGS-tst-lfschk2.c): Likewise.
11402 (CFLAGS-tst-lfschk3.c): Likewise.
11403 (CFLAGS-tst-lfschk4.cc): Likewise.
11404 (CFLAGS-tst-lfschk5.cc): Likewise.
11405 (CFLAGS-tst-lfschk6.cc): Likewise.
11406
11407 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11408 (main): Disable -Wdeprecated-declarations around calls to
11409 register_printf_function.
11410
11411 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11412 (do_test): Disable -Wdiv-by-zero around some calls to
11413 fwrite_unlocked and fread_unlocked.
11414
11415 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11416 (DIAG_POP_NEEDS_COMMENT): Likewise.
11417 (_DIAG_STR1): Likewise.
11418 (_DIAG_STR): Likewise.
11419 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11420 * stdio-common/bug21.c: Include <libc-internal.h>.
11421 (do_test): Disable -Wformat around call to sscanf.
11422 * stdio-common/scanf14.c: Include <libc-internal.h>.
11423 (main): Disable -Wformat around some calls to scanf functions.
11424
11425 2014-12-09 Torvald Riegel <triegel@redhat.com>
11426
11427 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11428
11429 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11430
11431 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11432 stack variable alignment.
11433
11434 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11435
11436 [BZ #17682]
11437 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11438 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11439 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11440 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11441 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11442 __getrlimit instead of getrlimit.
11443 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11444 __gettimeofday instead of gettimeofday.
11445 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11446 Likewise.
11447 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11448 Likewise.
11449 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11450 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11451 Remove variable.
11452 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11453 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11454
11455 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456
11457 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11458 for wide-character tests.
11459
11460 2014-12-04 Roland McGrath <roland@hack.frob.com>
11461
11462 * io/openat64.c: #include <libc-internal.h>
11463 (__openat64): Prototypify. Use ignore_value on MODE.
11464 * io/openat.c: Likewise.
11465 * misc/reboot.c: #include <libc-internal.h>
11466 (reboot): Prototypify. Use ignore_value on HOWTO.
11467 * misc/ptrace.c: #include <libc-internal.h>
11468 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11469
11470 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11471
11472 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11473 XPG4, UNIX98 and XOPEN2K.
11474 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11475 Remove variable.
11476 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11477
11478 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11479
11480 * libio/fileops.c: Use ISO C style for function definitions.
11481 * libio/iofopen.c: Likewise.
11482 * libio/wfileops.c: Likewise.
11483
11484 [BZ #17653]
11485 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11486 offset on EOF.
11487 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11488 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11489 (fgets_func): Function pointer to fgets and fgetws.
11490 (do_ftell_test): Add test to verify ftell value after read
11491 EOF.
11492 (do_test): Set fgets_func.
11493
11494 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11495 O_TRUNC flag for w and w+ modes.
11496 (do_rewind_test): Likewise.
11497 (do_ftell_test): Likewise.
11498 (do_write_test): Likewise.
11499
11500 [BZ #17647]
11501 * libio/fileops.c (do_ftell): Seek only when there are
11502 unflushed writes.
11503 * libio/wfileops.c (do_ftell_wide): Likewise.
11504 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11505 test case.
11506 (do_one_test): Call it.
11507
11508 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11509
11510 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11511 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11512 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11513 Remove variable.
11514 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11515 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11516 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11517
11518 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11519
11520 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11521 Remove variable.
11522 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11523
11524 [BZ #17668]
11525 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11526 as weak alias of __getifaddrs. Use libc_hidden_weak.
11527 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11528 __freeifaddrs. Use libc_hidden_weak.
11529 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11530 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11531 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11532 __freeifaddrs. Use libc_hidden_weak.
11533 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11534 __getifaddrs and define as weak alias of __getifaddrs. Use
11535 libc_hidden_weak.
11536 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11537 __freeifaddrs. Use libc_hidden_weak.
11538 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11539 Remove variable.
11540 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11541 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11542
11543 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11544
11545 [BZ #17601]
11546 * sysdeps/mips/start.S (__start): Use indirect jump to call
11547 __libc_start_main.
11548
11549 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11550
11551 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11552
11553 * nptl/tst-mutex1.c: Include <stdbool.h>.
11554 [!ATTR] (ATTR_NULL): New macro.
11555 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11556 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11557 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11558
11559 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11560 to char *.
11561
11562 [BZ #17665]
11563 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11564 Change conditional to [__USE_MISC].
11565
11566 [BZ #17664]
11567 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11568 fgets_unlocked.
11569 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11570 __fgets_unlocked.
11571 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11572 fgets_unlocked.
11573 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11574 Remove variable.
11575 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11576 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11577 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11578 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11579 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11580 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11581 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11582 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11583 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11584
11585 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11586
11587 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11588
11589 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11590 Remove strpbrk objects.
11591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11592 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11593 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11594 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11595 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11596 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11597
11598 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11599 Remove strcspn objects.
11600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11601 (__libc_ifunc_impl_list): Remove strcspn implementation.
11602 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11603 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11604 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11605 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11606
11607 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11608 Remove strspn objetcs.
11609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11610 (__libc_ifunc_impl_list): Remove strspn implementation.
11611 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11612 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11613 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11614 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11615
11616 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11617
11618 [BZ #17581]
11619 * malloc/hooks.c
11620 (mem2mem_check): Add a terminator to the chain of checking blocks.
11621 (malloc_check_get_size): Use it here.
11622 (mem2chunk_check): Ditto.
11623
11624 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11625
11626 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11627 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11628
11629 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11630
11631 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11632
11633 * nptl/nptl-init.c: Include libc-internal.h.
11634 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11635
11636 * elf/ldconfig.c (search_dir): Expand comment.
11637
11638 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11639
11640 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11641 variable.
11642 (linknamespace-symlist-stdlibs-tests): Likewise.
11643 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11644 instead of $(objpfx)symlist-stdlibs.
11645 (linknamespace-libs-isoc): New variable.
11646 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11647 (linknamespace-libs-ISO): New variable.
11648 (linknamespace-libs-ISO99): Likewise.
11649 (linknamespace-libs-ISO11): Likewise.
11650 (linknamespace-libs-XPG3): Likewise.
11651 (linknamespace-libs-XPG4): Likewise.
11652 (linknamespace-libs-POSIX): Likewise.
11653 (linknamespace-libs-UNIX98): Likewise.
11654 (linknamespace-libs-XOPEN2K): Likewise.
11655 (linknamespace-libs-POSIX2008): Likewise.
11656 (linknamespace-libs-XOPEN2K8): Likewise.
11657 ($(objpfx)symlist-stdlibs): Replace by
11658 $(linknamespace-symlist-stdlibs-tests). Use
11659 $(linknamespace-libs-$*) as set of libraries.
11660 ($(linknamespace-header-tests)): Update dependencies. Use
11661 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11662 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11663 * conform/linknamespace.pl: Remove comment about considering
11664 definitions of symbols from irrelevant libraries.
11665
11666 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 [BZ #13862]
11669 * elf/dl-tls.c: Include <atomic.h>.
11670 (oom): Remove #ifdef SHARED/#endif.
11671 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11672 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11673 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11674 big enough.
11675 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11676 * nptl/Makefile (tests): Add tst-stack4.
11677 (modules-names): Add tst-stack4mod.
11678 ($(objpfx)tst-stack4): New.
11679 (tst-stack4mod.sos): Likewise.
11680 ($(objpfx)tst-stack4.out): Likewise.
11681 ($(tst-stack4mod.sos)): Likewise.
11682 (clean): Likewise.
11683 * nptl/tst-stack4.c: New file.
11684 * nptl/tst-stack4mod.c: Likewise.
11685
11686 2014-11-27 J. Brown <jb999@gmx.de>
11687
11688 * sysdeps/x86/bits/string.h: Add recent CPUs.
11689
11690 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11691
11692 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11693 sigblock.
11694
11695 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11696 feof.
11697
11698 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11699 variable.
11700
11701 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11702
11703 * nscd/connections.c: Include libc-internal.h because of macro
11704 usage ignore_value.
11705
11706 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11707
11708 * string/bits/string3.h (__warn_memset_zero_len): Don't
11709 declare for gcc newer than 5.0.
11710 (memset): Don't test for zero-length __LEN for gcc newer than
11711 5.0.
11712
11713 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11714
11715 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11716 size_t for %zu format.
11717
11718 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11719 difference, not %ju.
11720
11721 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11722
11723 * include/libc-internal.h (ignore_value): New macro.
11724 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11725 with ignore_value.
11726
11727 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11728 definition.
11729
11730 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11731 pthread_cleanup_push to void *.
11732
11733 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11734 Undefine.
11735
11736 [BZ #16619]
11737 [BZ #16740]
11738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11739 instead of 1L << 52.
11740
11741 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11742 * libio/bug-rewind2.c (do_test): Likewise.
11743
11744 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11745 * debug/test-strcpy_chk-ifunc.c: Likewise.
11746 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11747 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11748 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11749 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11750 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11751 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11752 * Rules [$(multi-arch) = no] (tests): Do not filter out
11753 $(tests-ifunc).
11754 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11755 * debug/Makefile (tests-ifunc): Remove variable.
11756 (tests): Do not add $(tests-ifunc).
11757 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11758 (tests): Do not add $(tests-ifunc).
11759 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11760 [TEST_IFUNC]: Remove conditionals.
11761 * string/test-string.h (TEST_IFUNC): Remove macro.
11762 [TEST_IFUNC]: Remove conditionals.
11763
11764 * string/test-strchr.c [!WIDE] (L): New macro.
11765 [WIDE] (L): Likewise.
11766 (check1): Use CHAR instead of char. Use L on string and character
11767 constants.
11768
11769 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11770
11771 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11772 tests.
11773 * sysdeps/powerpc/bits/atomic.h
11774 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11775 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11776 (atomic_exchange_and_add_acq): Likewise.
11777 (atomic_exchange_and_add_rel): Likewise.
11778 * sysdeps/powerpc/powerpc32/bits/atomic.h
11779 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11780 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11781 * sysdeps/powerpc/powerpc64/bits/atomic.h
11782 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11783 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11784
11785 2014-11-26 Torvald Riegel <triegel@redhat.com>
11786
11787 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11788 Change synchronization of __sched_fifo_min_prio and
11789 __sched_fifo_max_prio.
11790 * nptl/pthread_mutexattr_getprioceiling.c
11791 (pthread_mutexattr_getprioceiling): Likewise.
11792 * nptl/pthread_mutexattr_setprioceiling.c
11793 (pthread_mutexattr_setprioceiling): Likewise.
11794 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11795 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11796 Likewise.
11797
11798 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11799
11800 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11801 void.
11802
11803 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11804
11805 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11806 third argument const.
11807
11808 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11809
11810 fnmatch: work around GCC compiler warning bug with uninit var
11811 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11812 This works around a bug with x86-64 GCC 4.9.2 and earlier
11813 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11814 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11815 used uninitialized in this function [-Wmaybe-uninitialized]".
11816
11817 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11818
11819 * posix/bug-regex31.c (main): Return RES not 0.
11820
11821 2014-11-25 Anton Blanchard <anton@samba.org>
11822
11823 * sysdeps/powerpc/bits/atomic.h
11824 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11825
11826 2014-11-24 Sterling Augustine <saugustine@google.com>
11827
11828 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11829
11830 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11831
11832 [BZ #17608]
11833 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11834
11835 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11836
11837 [BZ #17633]
11838 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11839 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11840 variable.
11841 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11842 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11843
11844 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11845
11846 * string/strncpy.c (strncpy): Improve performance by using memset.
11847
11848 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11849
11850 * string/strcpy.c (strcpy):
11851 Improve performance by using strlen and memcpy.
11852
11853 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11854
11855 * string/strcoll_l.c (get_next_seq): __always_inline.
11856 * string/strcoll_l.c (do_compare): __always_inline.
11857
11858 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11859
11860 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11861 defined.
11862 * include/mqueue.h: Likewise.
11863 * include/stdlib.h: Likewise.
11864
11865 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11866 (get_null_defines): Adjust.
11867 * sunrpc/Makefile: Adjust comment.
11868 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11869 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11870 (CFLAGS-interp.c): Likewise.
11871 (CFLAGS-ldconfig.c): Likewise.
11872 (CPPFLAGS-.os): Likewise.
11873 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11874 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11875 * extra-modules.mk (extra-modules.mk): Likewise.
11876 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11877 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11878 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11879 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11880 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11881 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11882 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11883 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11884 * iconvdata/Makefile (CPPFLAGS): Likewise.
11885 (cpp-srcs-left): Add libof for all iconvdata routines.
11886 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11887 * include/assert.h: Likewise.
11888 * include/ctype.h: Likewise.
11889 * include/errno.h: Likewise.
11890 * include/libc-symbols.h: Likewise.
11891 * include/math.h: Likewise.
11892 * include/netdb.h: Likewise.
11893 * include/resolv.h: Likewise.
11894 * include/stdio.h: Likewise.
11895 * include/stdlib.h: Likewise.
11896 * include/string.h: Likewise.
11897 * include/sys/stat.h: Likewise.
11898 * include/wctype.h: Likewise.
11899 * intl/l10nflist.c: Likewise.
11900 * libidn/idn-stub.c: Likewise.
11901 * libio/libioP.h: Likewise.
11902 * nptl/libc_multiple_threads.c: Likewise.
11903 * nptl/pthreadP.h: Likewise.
11904 * posix/regex_internal.h: Likewise.
11905 * resolv/res_hconf.c: Likewise.
11906 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11907 * sysdeps/arm/memmove.S: Likewise.
11908 * sysdeps/arm/sysdep.h: Likewise.
11909 * sysdeps/generic/_itoa.h: Likewise.
11910 * sysdeps/generic/symbol-hacks.h: Likewise.
11911 * sysdeps/gnu/errlist.awk: Likewise.
11912 * sysdeps/gnu/errlist.c: Likewise.
11913 * sysdeps/i386/i586/memcpy.S: Likewise.
11914 * sysdeps/i386/i586/memset.S: Likewise.
11915 * sysdeps/i386/i686/memcpy.S: Likewise.
11916 * sysdeps/i386/i686/memmove.S: Likewise.
11917 * sysdeps/i386/i686/mempcpy.S: Likewise.
11918 * sysdeps/i386/i686/memset.S: Likewise.
11919 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11920 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11921 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11922 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11923 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11925 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11926 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11928 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11929 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11930 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11931 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11932 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11934 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11936 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11943 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11945 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11947 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11963 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11966 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11974 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11977 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11981 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11982 * sysdeps/nptl/bits/libc-lock.h: Likewise.
11983 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11984 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11985 * sysdeps/posix/closedir.c: Likewise.
11986 * sysdeps/posix/opendir.c: Likewise.
11987 * sysdeps/posix/readdir.c: Likewise.
11988 * sysdeps/posix/rewinddir.c: Likewise.
11989 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11990 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11995 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12002 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12025 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12027 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12028 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12029 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12030 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12031 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12032 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12033 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12034 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12035 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12036 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12037 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12038 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12039 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12040 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12042 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12043 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12046 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12047 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12049 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12050 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12051 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12052 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12053 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12054 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12055 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12056 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12057 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12058 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12059 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12061 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12062 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12063 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12065 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12066 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12067 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12068 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12073 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12075 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12076 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12077 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12078 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12079 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12080 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12081 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12085 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12087 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12088 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12089 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12090 * sysdeps/unix/alpha/sysdep.S: Likewise.
12091 * sysdeps/unix/alpha/sysdep.h: Likewise.
12092 * sysdeps/unix/make-syscalls.sh: Likewise.
12093 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12095 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12096 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12097 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12098 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12099 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12100 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12101 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12102 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12103 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12104 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12106 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12107 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12108 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12109 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12110 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12111 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12112 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12113 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12114 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12115 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12116 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12117 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12118 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12122 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12123 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12126 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12127 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12131 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12132 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12133 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12134 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12135 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12136 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12143 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12144 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12145 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12146 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12148 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12149 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12151 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12152 * sysdeps/x86_64/memcpy.S: Likewise.
12153 * sysdeps/x86_64/memmove.c: Likewise.
12154 * sysdeps/x86_64/memset.S: Likewise.
12155 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12157 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12158 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12159 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12162 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12163 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12164 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12165 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12167 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12168 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12169 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12170 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12172 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12174 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12175 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12176 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12179 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12180 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12181 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12182 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12183 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12184 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12185 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12186 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12187 * sysdeps/x86_64/strcmp.S: Likewise.
12188
12189 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12190
12191 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12192 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12193 * elf/rtld-Rules: Likewise.
12194 * elf/setup-vdso.h: Likewise.
12195 * include/assert.h: Likewise.
12196 * include/bits/stdlib-float.h: Likewise.
12197 * include/errno.h: Likewise.
12198 * include/sys/stat.h: Likewise.
12199 * include/unistd.h: Likewise.
12200 * sysdeps/aarch64/setjmp.S: Likewise.
12201 * sysdeps/alpha/setjmp.S: Likewise.
12202 * sysdeps/arm/__longjmp.S: Likewise.
12203 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12204 * sysdeps/arm/setjmp.S: Likewise.
12205 * sysdeps/arm/sysdep.h: Likewise.
12206 * sysdeps/generic/_itoa.h: Likewise.
12207 * sysdeps/generic/dl-sysdep.h: Likewise.
12208 * sysdeps/generic/ldsodefs.h: Likewise.
12209 * sysdeps/i386/dl-tls.h: Likewise.
12210 * sysdeps/i386/setjmp.S: Likewise.
12211 * sysdeps/m68k/setjmp.c: Likewise.
12212 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12213 * sysdeps/mach/hurd/opendir.c: Likewise.
12214 * sysdeps/posix/getcwd.c: Likewise.
12215 * sysdeps/posix/opendir.c: Likewise.
12216 * sysdeps/posix/profil.c: Likewise.
12217 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12218 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12219 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12222 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12224 * sysdeps/s390/dl-tls.h: Likewise.
12225 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12226 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12227 * sysdeps/sh/sh3/setjmp.S: Likewise.
12228 * sysdeps/sh/sh4/setjmp.S: Likewise.
12229 * sysdeps/unix/alpha/sysdep.h: Likewise.
12230 * sysdeps/unix/arm/sysdep.S: Likewise.
12231 * sysdeps/unix/i386/sysdep.S: Likewise.
12232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12233 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12234 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12235 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12237 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12238 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12239 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12240 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12241 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12242 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12243 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12250 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12251 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12252 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12256 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12260 * sysdeps/x86_64/setjmp.S: Likewise.
12261
12262 * include/math.h: Use IS_IN instead of IS_IN_libm.
12263 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12275 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12278 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12283 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12284 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12285 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12286 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12287 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12288 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12290 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12291 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12292 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12293 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12294 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12295 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12297 Likewise.
12298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12299 Likewise.
12300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12301 Likewise.
12302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12303 Likewise.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12305 Likewise.
12306 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12308 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12310 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12317 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12318 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12319 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12320 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12322 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12323 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12324 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12325 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12326 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12327 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12329 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12330 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12332 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12333
12334 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12335 * nptl/pthreadP.h: Likewise.
12336 * nptl_db/structs.def: Likewise.
12337 * sysdeps/arm/sysdep.h: Likewise.
12338 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12339 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12340 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12341 * sysdeps/unix/alpha/sysdep.h: Likewise.
12342 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12343 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12344 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12345 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12346 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12347 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12348 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12349 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12350 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12351 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12352 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12353 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12354 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12355 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12360 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12363 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12364 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12365 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12367 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12368
12369 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12370 * nptl/pthreadP.h: Likewise.
12371 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12372 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12373 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12374 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12375 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12376 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12377 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12379 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12380 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12381 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12382 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12389 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12392 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12393 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12394 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12395
12396 * dlfcn/dladdr.c: Use IS_IN.
12397 * dlfcn/dladdr1.c: Likewise.
12398 * dlfcn/dlclose.c: Likewise.
12399 * dlfcn/dlerror.c: Likewise.
12400 * dlfcn/dlinfo.c: Likewise.
12401 * dlfcn/dlmopen.c: Likewise.
12402 * dlfcn/dlopen.c: Likewise.
12403 * dlfcn/dlsym.c: Likewise.
12404 * dlfcn/dlvsym.c: Likewise.
12405
12406 * include/ifaddrs.h: Use IS_IN.
12407 * inet/check_pf.c: Likewise.
12408 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12409 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12410
12411 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12412 IS_IN_ldconfig.
12413 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12414 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12415
12416 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12417 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12418 IS_IN (libc).
12419
12420 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12421
12422 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12423 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12424 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12425 * include/libc-symbols.h (IS_IN_LIB): New macro.
12426 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12427 * include/netdb.h: Likewise.
12428 * include/stap-probe.h: Remove all uses of IN_LIB.
12429
12430 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12431 instead of IN_MODULE.
12432 * include/libc-symbols.h (IN_MODULE): Define using
12433 MODULE_NAME.
12434 (PASTE_NAME, PASTE_NAME1): New macros.
12435 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12436 of IN_LIB.
12437 (STAP_PROBE_ASM): Likewise.
12438
12439 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12440
12441 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12442 __mach_init in dlopened libc.
12443
12444 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12445
12446 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12447 * sysdeps/arm/preconfigure: Regenerate.
12448
12449 2014-11-21 Roland McGrath <roland@hack.frob.com>
12450
12451 * nptl/pthread_create.c (__pthread_create_2_1): Set
12452 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12453 when copying values from IATTR into PD.
12454
12455 2014-11-21 Will Newton <will.newton@linaro.org>
12456 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12457
12458 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12459 Refactor inline-asm. Also add comment.
12460
12461 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12462 ElfW macro instead of hardcoded Elf64 types.
12463 (la_aarch64_gnu_pltenter): Likewise.
12464 * sysdeps/aarch64/dl-machine.h
12465 (elf_machine_runtime_setup): Use ElfW(Addr).
12466
12467 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12468 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12469 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12470 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12471 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12472 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12473 (R_AARCH64_TLS_DTPMOD): This.
12474 (R_AARCH64_TLS_DTPREL64): Rename to ...
12475 (R_AARCH64_TLS_DTPREL): This.
12476 (R_AARCH64_TLS_TPREL64): Rename to ...
12477 (R_AARCH64_TLS_TPREL): This.
12478 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12479 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12480 R_AARCH64_TLS_TPREL64.
12481 (elf_machine_rela): Likewise.
12482
12483 2014-11-21 Torvald Riegel <triegel@redhat.com>
12484
12485 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12486 by setting it to 0. 64b atomics are not supported currently.
12487
12488 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12489
12490 [BZ #16469]
12491 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12492 search domain names.
12493
12494 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12495
12496 [BZ #16469]
12497 * NEWS: Update.
12498 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12499 trailing dot.
12500 * posix/tst-getaddrinfo5.c: New.
12501 * posix/Makefile (tests): Add it.
12502
12503 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12504
12505 [BZ #14498]
12506 * NEWS: Fixed.
12507 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12508 after parsing line but before break_if_match.
12509 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12510 if there is a protocol mismatch.
12511
12512 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12513
12514 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12515 because the potential race is on the user-supplied stream.
12516
12517 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12518
12519 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12520 string literal if not passed a buffer.
12521 * manual/job.texi (ctermid): Update reasoning, note deviation
12522 from posix, suggest mtasurace when not passed a buffer, for
12523 future non-preliminary safety notes.
12524
12525 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12526
12527 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12528 of not passing it a buffer.
12529 Reported by Peng Haitao.
12530
12531 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12532
12533 * manual/Makefile ($(objpfx)stamp-summary): Require
12534 check-safety.sh to pass.
12535 * manual/check-safety.sh: Wish for verification that every
12536 @deftypefn and @deftypefun is followed by a @safety remark.
12537
12538 2014-11-20 Roland McGrath <roland@hack.frob.com>
12539
12540 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12541
12542 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12543 PTHREAD_CANCEL_ASYNCHRONOUS.
12544 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12545 send SIGCANCEL.
12546
12547 * nptl/default-sched.h: New file.
12548 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12549 * nptl/pthread_create.c: Include it.
12550 (__pthread_create_2_1): Use collect_default_sched instead of making
12551 Linux syscalls here directly.
12552
12553 2014-11-20 Torvald Riegel <triegel@redhat.com>
12554
12555 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12556 __pthread_once): Use C11 atomics.
12557
12558 2014-11-20 Torvald Riegel <triegel@redhat.com>
12559
12560 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12561
12562 2014-11-20 Torvald Riegel <triegel@redhat.com>
12563
12564 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12565 atomic_thread_fence_acquire, atomic_thread_fence_release,
12566 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12567 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12568 atomic_compare_exchange_weak_relaxed,
12569 atomic_compare_exchange_weak_acquire,
12570 atomic_compare_exchange_weak_release,
12571 atomic_exchange_acquire, atomic_exchange_release,
12572 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12573 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12574 atomic_fetch_and_acquire,
12575 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12576
12577 2014-11-20 Torvald Riegel <triegel@redhat.com>
12578
12579 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12580 USE_ATOMIC_COMPILER_BUILTINS): Define.
12581 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12583 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12585 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12586 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12587 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12589 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12591 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12593 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12594 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12595 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12597 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12599 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12601 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12603 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12605 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12607 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12609 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12611 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12613 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12615 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12616 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12617 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12619 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12621
12622 2014-11-19 Roland McGrath <roland@hack.frob.com>
12623
12624 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12625 the sched_priority value here. It was already checked when the user
12626 called pthread_attr_setschedparam.
12627
12628 * nptl/tst-bad-schedattr.c: New file.
12629 * nptl/Makefile (tests): Add it.
12630
12631 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12632 Florian Weimer <fweimer@redhat.com>
12633 Joseph Myers <joseph@codesourcery.com>
12634 Adam Conrad <adconrad@0c3.net>
12635 Andreas Schwab <schwab@suse.de>
12636 Brooks <bmoses@google.com>
12637
12638 [BZ #17625]
12639 * wordexp-test.c (__dso_handle): Add prototype.
12640 (__register_atfork): Likewise.
12641 (__app_register_atfork): New function.
12642 (registered_forks): New global.
12643 (register_fork): New function.
12644 (test_case): Add 3 new tests for WRDE_CMDSUB.
12645 (main): Call __app_register_atfork.
12646 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12647 fork count is non-zero fail the test.
12648 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12649 is set.
12650 (parse_dollars): Remove check for WRDE_NOCMD.
12651 (parse_dquote): Likewise.
12652
12653 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12654
12655 * Makeconfig (built-modules): List non-library modules to be
12656 built.
12657 (module-cppflags): Include libc-modules.h for
12658 everything except shlib-versions.v.i.
12659 (CPPFLAGS): Use it.
12660 (before-compile): Add libc-modules.h.
12661 ($(common-objpfx)libc-modules.h,
12662 $(common-objpfx)libc-modules.stmp): New targets.
12663 (common-generated): Add libc-modules.h and libc-modules.stmp.
12664 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12665 * include/libc-symbols.h: Don't include libc-modules.h.
12666 * include/libc-modules.h: Remove file.
12667 * scripts/gen-libc-modules.awk: New script to generate
12668 libc-modules.h.
12669 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12670 Depend on libc-modules.stmp.
12671
12672 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12673
12674 * Makeconfig (in-module): Get value of libof set for the
12675 translation unit.
12676 (CPPFLAGS): Use $(in-module).
12677 * Makerules: Don't suffix routine names for nonlib.
12678 * include/libc-modules.h: New file.
12679 * include/libc-symbols.h: Include libc-modules.h
12680 (IS_IN): New macro to replace IS_IN_* macros.
12681 * elf/Makefile: Set libof-* for each routine.
12682 * elf/rtld-Rules: Likewise.
12683 * extra-modules.mk: Likewise.
12684 * iconv/Makefile: Likewise.
12685 * iconvdata/Makefile: Likewise.
12686 * locale/Makefile: Likewise.
12687 * malloc/Makefile: Likewise.
12688 * nss/Makefile: Likewise.
12689 * sysdeps/gnu/Makefile: Likewise.
12690 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12691 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12692 * sysdeps/s390/s390-64/Makefile: Likewise.
12693 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12694 CPPFLAGS for nscd instead of nonlib.
12695
12696 2014-11-18 Roland McGrath <roland@hack.frob.com>
12697
12698 * nptl/createthread.c: New file.
12699
12700 * nptl/createthread.c: Moved ...
12701 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12702
12703 * nptl/createthread.c: Add proper top-line comment.
12704 (do_clone): Folded into ...
12705 (create_thread): ... here. Take new arguments STOPPED_START and
12706 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12707 increment __nptl_threads, do event-reporting logic, do
12708 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12709 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12710 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12711 just send SIGCANCEL.
12712 * nptl/pthread_create.c: Forward-declare create_thread before
12713 including createthread.c.
12714 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12715 declaration, and new macro START_THREAD_SELF to replace argument.
12716 Remove return statement.
12717 (report_thread_creation): New function.
12718 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12719 synchronization logic, and __nptl_nthreads increment here, around
12720 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12721 PD->parent_cancelhandling here, before create_thread. When
12722 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12723 __deallocate_stack, and ENOMEM translation here.
12724
12725 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12726
12727 [BZ #17616]
12728 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12729 (mptwo): Rename to __mptwo.
12730 (__inv): Use __mptwo instead of mptwo.
12731 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12732 (mptwo): Rename to __mptwo.
12733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12734 of mpone and __mptwo instead of mptwo.
12735 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12736 instead of mpone.
12737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12738 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12739 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12740 of mpone and __mptwo instead of mptwo.
12741 (__mpranred): Use __mpone instead of mpone.
12742 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12743 variable.
12744 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12745 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12746 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12747 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12748 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12749 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12750 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12751 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12752 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12753 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12754 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12755 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12756 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12757 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12758 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12759 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12760 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12761 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12762 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12763
12764 2014-11-18 Tom de Vries <tom@codesoucery.com>
12765
12766 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12767 replace BSD Handler xref with BSD Signal Handling.
12768
12769 2014-11-17 Richard Henderson <rth@redhat.com>
12770
12771 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12772 (_FP_PACK_RAW_2): Remove.
12773 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12774 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12775 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12776 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12777 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12778 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12779 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12780 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12781 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12782 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12783 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12784 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12785 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12786 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12787 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12788 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12789
12790 2014-11-14 Roland McGrath <roland@hack.frob.com>
12791
12792 * signal/signal.h [__USE_MISC]
12793 (struct sigvec): Remove type.
12794 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12795 (sigvec): Remove declaration.
12796 * sysdeps/posix/sigvec.c: Moved ...
12797 * signal/sigvec.c: ... here, replacing old file.
12798 (struct sigvec): New type, copied from old signal.h definition.
12799 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12800 (__sigvec): Convert definition to prototype.
12801 (sigvec): Replace weak_alias with compat_symbol.
12802 * signal/Versions (libc: GLIBC_2.21): New version set.
12803 * include/signal.h: Remove __sigvec declaration.
12804 * sysdeps/unix/bsd/sigvec.c: Remove file.
12805 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12806 * manual/signal.texi (BSD Handler): Remove subsection.
12807 Move siginterrupt up to ...
12808 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12809 (Blocking in BSD): Fold subsection into its parent.
12810 * NEWS: Mention sigvec removal.
12811
12812 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12813
12814 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12815 (DLA_FMS): Make definition conditional only on [__FMA4__].
12816 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12817 definition.
12818
12819 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12820 Make definition conditional only on [PROF].
12821 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12822 definition.
12823 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12824 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12825
12826 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12827 !__GNUC__].
12828 * include/signal.h (__sigpause): Move declaration above call to
12829 libc_hidden_proto.
12830 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12831 variable.
12832 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12833 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12834
12835 2014-11-14 David S. Miller <davem@davemloft.net>
12836
12837 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12838 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12839
12840 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12841
12842 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12843 * configure: Regenerated.
12844 * manual/install.texi (Tools for Compilation): Document a
12845 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12846 compiler verified to work.
12847 * INSTALL: Regenerated.
12848
12849 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12850 redeclare with asm name.
12851 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12852 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12853 including <string.h>.
12854 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12855 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12856 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12857 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12858 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12859 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12860 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12861
12862 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12863
12864 * stdlib/strtol.c (__strtol): Use prototype definition.
12865
12866 [BZ #17594]
12867 * stdlib/strtol.c (SYM__): New macro.
12868 (SYM__1): Likewise.
12869 (__strtol): Likewise.
12870 (strtol): Rename to __strtol and define as weak alias of
12871 __strtol. Use libc_hidden_weak.
12872
12873 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12874
12875 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12876 Use numbered labels in inline assembly.
12877
12878 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12879
12880 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12881 Add setjmp LIBC_PROBE.
12882 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12883 Likewise.
12884 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12885 Add longjmp, longjmp_target LIBC_PROBE.
12886 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12887 Likewise.
12888
12889 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12890
12891 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12892 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12893 to get rid of unused variable warning.
12894
12895 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12896
12897 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12898 Check for unwind_backtrace == NULL only in SHARED case.
12899 (__backchain_backtrace): Compile only in SHARED case.
12900 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12901 Likewise.
12902 (__backchain_backtrace): Declare as static.
12903
12904 2014-11-12 Roland McGrath <roland@hack.frob.com>
12905
12906 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12907 (__libc_multiple_threads_ptr): Variable moved ...
12908 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12909
12910 2014-11-12 Joseph Myers <joseph@codesourcery.com>
12911
12912 * conform/GlibcConform.pm: New file.
12913 * conform/conformtest.pl: Use GlibcConform module.
12914 * conform/linknamespace.pl: New file.
12915 * conform/list-header-symbols.pl: Likewise.
12916 * conform/Makefile (linknamespace-symlists-base): New variable.
12917 (linknamespace-symlists-tests): Likewise.
12918 (linknamespace-header-base): Likewise.
12919 (linknamespace-header-tests): Likewise.
12920 (tests-special): Add new tests.
12921 ($(linknamespace-symlists-tests)): New rule.
12922 (linknamespace-libs): New variable.
12923 ($(objpfx)symlist-stdlibs): New rule.
12924 ($(linknamespace-header-tests)): Likewise.
12925 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12926 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12927 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12928 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12929 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12930 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12931 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12932 (test-xfail-ISO/math.h/linknamespace): Likewise.
12933 (test-xfail-ISO/signal.h/linknamespace): Likewise.
12934 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12935 (test-xfail-ISO/time.h/linknamespace): Likewise.
12936 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12937 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12938 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12939 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12940 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12941 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12942 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12943 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12944 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12945 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12946 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12947 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12948 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12949 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12950 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12951 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12952 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12953 (test-xfail-XPG3/search.h/linknamespace): Likewise.
12954 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12955 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12956 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12957 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12958 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12959 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12960 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12961 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12962 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12963 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12964 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12965 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12966 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12967 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12968 (test-xfail-XPG4/search.h/linknamespace): Likewise.
12969 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12970 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12971 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12972 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12973 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12974 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12975 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12976 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12977 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12978 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12979 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12980 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12981 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12982 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12983 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12984 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12985 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12986 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12987 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12988 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12989 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12990 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12991 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12992 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12993 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12994 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12995 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12996 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12997 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12998 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12999 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13000 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13001 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13002 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13003 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13004 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13005 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13006 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13007 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13008 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13009 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13010 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13011 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13012 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13013 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13014 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13015 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13016 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13017 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13018 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13019 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13020 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13021 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13022 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13023 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13024 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13025 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13026 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13027 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13028 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13029 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13030 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13031 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13032 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13033 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13034 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13035 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13036 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13037 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13038 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13039 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13040 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13041 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13042 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13043 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13044 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13045 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13046 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13047 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13048 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13049 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13050 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13051 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13052 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13053 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13054 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13055 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13056 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13057 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13058 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13059 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13060 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13061 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13062 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13063 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13064 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13065 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13066 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13067 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13068 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13069 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13070 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13071 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13072 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13073 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13074 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13075 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13076 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13077 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13078 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13079 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13080 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13081 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13082 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13083 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13084 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13085 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13086
13087 [BZ #17589]
13088 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13089 of fgets_unlocked.
13090
13091 [BZ #17585]
13092 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13093 (memmem): Rename to __memmem and define as weak alias of
13094 __memmem. Use libc_hidden_weak.
13095 (__memmem): Use libc_hidden_def.
13096 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13097 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13098 memmem.
13099
13100 [BZ #17582]
13101 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13102 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13103 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13104 and define as weak alias of __fgets_unlocked. Use
13105 libc_hidden_weak.
13106 (__fgets_unlocked): Use libc_hidden_def.
13107 * include/stdio.h (__fgets_unlocked): Declare. Use
13108 libc_hidden_proto.
13109 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13110 __fgets_unlocked instead of fgets_unlocked.
13111 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13112 (GET_NPROCS_CONF_PARSER): Likewise.
13113 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13114 (GET_NPROCS_CONF_PARSER): Likewise.
13115
13116 [BZ #17574]
13117 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13118 weak alias of __wmemset. Use libc_hidden_weak.
13119 (__wmemset): Use libc_hidden_def.
13120 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13121 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13122 of wmemset.
13123
13124 [BZ #17573]
13125 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13126 with asm name __mempcpy.
13127 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13128
13129 [BZ #17572]
13130 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13131 and define as weak alias of __rawmemchr.
13132 (__rawmemchr): Do not define as strong alias of rawmemchr.
13133
13134 [BZ #17571]
13135 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13136 alias of __qsort_r.
13137 (qsort): Call __qsort_r instead of qsort_r.
13138 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13139 (__qsort_r): Declare. Call libc_hidden_proto.
13140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13141 instead of qsort_r.
13142 * nscd/gai.c (__qsort_r): Define to qsort_r.
13143 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13144 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13145 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13146
13147 [BZ #17570]
13148 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13149 define as weak alias of __malloc_info.
13150
13151 [BZ #17584]
13152 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13153 as weak alias of __rewinddir. Don't use libc_hidden_def.
13154 (__rewinddir): Use libc_hidden_def.
13155 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13156 as weak alias of __rewinddir. Don't use libc_hidden_def.
13157 (__rewinddir): Use libc_hidden_def.
13158 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13159 weak alias of __rewinddir. Don't use libc_hidden_def.
13160 (__rewinddir): Use libc_hidden_def.
13161 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13162 (__rewinddir): Use libc_hidden_proto.
13163 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13164 rewinddir.
13165 (__getcwd): Use __rewinddir instead of rewinddir.
13166
13167 [BZ #17583]
13168 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13169 alias of __fileno. Use libc_hidden_weak.
13170 (__fileno): Use libc_hidden_def.
13171 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13172 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13173 alias of __ftello.
13174 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13175 __ftello.
13176 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13177 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13178 libc_hidden_def.
13179 (fread_unlocked): Don't use libc_hidden_ver.
13180 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13181 and define as weak alias of __fread_unlocked. Don't use
13182 libc_hidden_def.
13183 (__fread_unlocked): Use libc_hidden_def.
13184 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13185 (ftello): Don't use libc_hidden_proto.
13186 (__ftello): Declare. Use libc_hidden_proto.
13187 (fread_unlocked): Don't use libc_hidden_proto.
13188 (__fread_unlocked): Declare. Use libc_hidden_proto.
13189 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13190 and __ftello instead of fileno, fread_unlocked and ftello.
13191
13192 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13195 GOT12.
13196 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13197 Likewise.
13198 (_dl_start_user): Likewise.
13199 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13200
13201 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13202 Siddhesh Poyarekar <siddhesh@redhat.com>
13203
13204 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13205 Move argv and envp down instead of moving argc up.
13206 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13207
13208 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13209
13210 [BZ #17506]
13211 * test-skeleton.c (main): Return successful if one of
13212 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13213 * string/tst-strcoll-overflow.c: Define expected status.
13214
13215 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13216
13217 [BZ #17475]
13218 * locale/iso-639.def: Define Bhili and Tulu language codes.
13219
13220 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13221
13222 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13223
13224 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13225
13226 [BZ #17555]
13227 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13228
13229 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13230
13231 * configure.ac: Updated check of minimal required version to
13232 2.22.
13233 * manual/install.texi (Tools for Compilation): Updated version
13234 number.
13235 * configure: Regenerated.
13236 * INSTALL: Likewise.
13237
13238 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13241 __tls_get_addr.
13242
13243 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13244
13245 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13246 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13247 (__waitpid): Don't define as alias. Use libc_hidden_def not
13248 libc_hidden_weak.
13249 (waitpid): Define as alias of __waitpid.
13250 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13251 __waitpid.
13252 (__waitpid): Don't define as alias. Use libc_hidden_def not
13253 libc_hidden_weak.
13254 (waitpid): Define as alias of __waitpid.
13255 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13256 __libc_waitpid alias.
13257 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13258 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13259 Likewise.
13260 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13261 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13262 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13263 alias.
13264 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13265 __waitpid.
13266 (__waitpid): Don't define as alias. Use libc_hidden_def not
13267 libc_hidden_weak.
13268 (waitpid): Define as alias of __waitpid.
13269
13270 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13271
13272 * manual/llio.texi: Add comment that write safety has been
13273 fixed in Linux.
13274
13275 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13276 (localplt-build-dso): Add elf/ld.so.
13277 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13278 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13279 and free for ld.so.
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13281 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13283 Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13285 Likewise.
13286 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13287 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13288 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13289 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13290 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13291 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13292 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13293 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13294 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13297
13298 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13299
13300 [BZ #14132]
13301 * include/libc-symbols.h (INTUSE): Remove macro.
13302 (INTDEF): Likewise.
13303 (INTVARDEF): Likewise.
13304 (_INTVARDEF): Likewise.
13305 (INTDEF2): Likewise.
13306 (INTVARDEF2): Likewise.
13307 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13308 rtld_hidden_def instead of INTVARDEF.
13309 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13310 (_dl_starting_up_internal): Remove declaration.
13311 (_dl_starting_up): Use rtld_hidden_proto.
13312 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13313 declaration.
13314 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13315 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13316 _dl_starting_up.
13317 * elf/dl-writev.h (_dl_writev): Likewise.
13318 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13319 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13320 _dl_starting_up_internal.
13321
13322 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13323
13324 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13325 test-skeleton.c.
13326
13327 2014-11-05 Will Newton <will.newton@linaro.org>
13328
13329 * benchtests/Makefile: (bench-malloc): Add malloc thread
13330 scalability benchmark.
13331 * benchtests/bench-malloc-threads.c: New file.
13332
13333 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13334
13335 * sysdeps/aarch64/strchrnul.S: New file.
13336
13337 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13338
13339 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13340 definition.
13341 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13342 Likwise.
13343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13344 Likewise.
13345 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13346 Likewise.
13347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13348 Likewise.
13349 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13350 Likewise.
13351
13352 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13353
13354 * catgets/test-gencat.c: Use test-skeleton.c.
13355 * catgets/tst-catgets.c: Likewise.
13356 * csu/tst-empty.c: Likewise.
13357 * elf/tst-audit2.c: Likewise.
13358 * elf/tst-global1.c: Likewise.
13359 * elf/tst-pathopt.c: Likewise.
13360 * elf/tst-piemod1.c: Likewise.
13361 * elf/tst-tls10.c: Likewise.
13362 * elf/tst-tls11.c: Likewise.
13363 * elf/tst-tls12.c: Likewise.
13364 * gnulib/tst-gcc.c: Likewise.
13365 * iconvdata/tst-e2big.c: Likewise.
13366 * iconvdata/tst-loading.c: Likewise.
13367 * iconv/tst-iconv1.c: Likewise.
13368 * iconv/tst-iconv2.c: Likewise.
13369 * inet/test-inet6_opt.c: Likewise.
13370 * inet/tst-gethnm.c: Likewise.
13371 * inet/tst-network.c: Likewise.
13372 * inet/tst-ntoa.c: Likewise.
13373 * intl/tst-codeset.c: Likewise.
13374 * intl/tst-gettext2.c: Likewise.
13375 * intl/tst-gettext3.c: Likewise.
13376 * intl/tst-ngettext.c: Likewise.
13377 * intl/tst-translit.c: Likewise.
13378 * io/test-stat.c: Likewise.
13379 * libio/test-fmemopen.c: Likewise.
13380 * libio/tst-freopen.c: Likewise.
13381 * libio/tst-sscanf.c: Likewise.
13382 * libio/tst-ungetwc1.c: Likewise.
13383 * libio/tst-ungetwc2.c: Likewise.
13384 * libio/tst-widetext.c: Likewise.
13385 * localedata/tst-ctype.c: Likewise.
13386 * localedata/tst-digits.c: Likewise.
13387 * localedata/tst-leaks.c: Likewise.
13388 * localedata/tst-mbswcs1.c: Likewise.
13389 * localedata/tst-mbswcs2.c: Likewise.
13390 * localedata/tst-mbswcs3.c: Likewise.
13391 * localedata/tst-mbswcs4.c: Likewise.
13392 * localedata/tst-mbswcs5.c: Likewise.
13393 * localedata/tst-setlocale.c: Likewise.
13394 * localedata/tst-trans.c: Likewise.
13395 * localedata/tst-wctype.c: Likewise.
13396 * localedata/tst-xlocale1.c: Likewise.
13397 * login/tst-grantpt.c: Likewise.
13398 * malloc/tst-calloc.c: Likewise.
13399 * malloc/tst-malloc.c: Likewise.
13400 * malloc/tst-mallocstate.c: Likewise.
13401 * malloc/tst-mcheck.c: Likewise.
13402 * malloc/tst-mtrace.c: Likewise.
13403 * malloc/tst-obstack.c: Likewise.
13404 * math/atest-exp2.c: Likewise.
13405 * math/atest-exp.c: Likewise.
13406 * math/atest-sincos.c: Likewise.
13407 * math/test-matherr.c: Likewise.
13408 * math/test-misc.c: Likewise.
13409 * math/test-powl.c: Likewise.
13410 * math/tst-definitions.c: Likewise.
13411 * misc/tst-dirname.c: Likewise.
13412 * misc/tst-efgcvt.c: Likewise.
13413 * misc/tst-fdset.c: Likewise.
13414 * misc/tst-hsearch.c: Likewise.
13415 * misc/tst-mntent2.c: Likewise.
13416 * nptl/tst-sem7.c: Likewise.
13417 * nptl/tst-sem8.c: Likewise.
13418 * nptl/tst-sem9.c: Likewise.
13419 * nss/test-netdb.c: Likewise.
13420 * posix/tst-fnmatch.c: Likewise.
13421 * posix/tst-getlogin.c: Likewise.
13422 * posix/tst-gnuglob.c: Likewise.
13423 * posix/tst-mmap.c: Likewise.
13424 * pwd/tst-getpw.c: Likewise.
13425 * resolv/tst-inet_ntop.c: Likewise.
13426 * rt/tst-timer.c: Likewise.
13427 * stdio-common/test-fseek.c: Likewise.
13428 * stdio-common/test-popen.c: Likewise.
13429 * stdio-common/test-vfprintf.c: Likewise.
13430 * stdio-common/tst-cookie.c: Likewise.
13431 * stdio-common/tst-fileno.c: Likewise.
13432 * stdio-common/tst-gets.c: Likewise.
13433 * stdio-common/tst-obprintf.c: Likewise.
13434 * stdio-common/tst-perror.c: Likewise.
13435 * stdio-common/tst-sprintf2.c: Likewise.
13436 * stdio-common/tst-sprintf3.c: Likewise.
13437 * stdio-common/tst-sprintf.c: Likewise.
13438 * stdio-common/tst-swprintf.c: Likewise.
13439 * stdio-common/tst-tmpnam.c: Likewise.
13440 * stdio-common/tst-unbputc.c: Likewise.
13441 * stdio-common/tst-wc-printf.c: Likewise.
13442 * stdlib/tst-environ.c: Likewise.
13443 * stdlib/tst-fmtmsg.c: Likewise.
13444 * stdlib/tst-limits.c: Likewise.
13445 * stdlib/tst-rand48-2.c: Likewise.
13446 * stdlib/tst-rand48.c: Likewise.
13447 * stdlib/tst-random2.c: Likewise.
13448 * stdlib/tst-random.c: Likewise.
13449 * stdlib/tst-strtol.c: Likewise.
13450 * stdlib/tst-strtoll.c: Likewise.
13451 * stdlib/tst-tls-atexit.c: Likewise.
13452 * stdlib/tst-xpg-basename.c: Likewise.
13453 * string/test-ffs.c: Likewise.
13454 * string/tst-bswap.c: Likewise.
13455 * string/tst-inlcall.c: Likewise.
13456 * string/tst-strtok.c: Likewise.
13457 * string/tst-strxfrm.c: Likewise.
13458 * sysdeps/x86_64/tst-audit10.c: Likewise.
13459 * sysdeps/x86_64/tst-audit3.c: Likewise.
13460 * sysdeps/x86_64/tst-audit4.c: Likewise.
13461 * sysdeps/x86_64/tst-audit5.c: Likewise.
13462 * time/tst-ftime_l.c: Likewise.
13463 * time/tst-getdate.c: Likewise.
13464 * time/tst-mktime3.c: Likewise.
13465 * time/tst-mktime.c: Likewise.
13466 * time/tst-posixtz.c: Likewise.
13467 * time/tst-strptime2.c: Likewise.
13468 * time/tst-strptime3.c: Likewise.
13469 * wcsmbs/tst-btowc.c: Likewise.
13470 * wcsmbs/tst-mbrtowc.c: Likewise.
13471 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13472 * wcsmbs/tst-wchar-h.c: Likewise.
13473 * wcsmbs/tst-wcpncpy.c: Likewise.
13474 * wcsmbs/tst-wcrtomb.c: Likewise.
13475 * wcsmbs/tst-wcsnlen.c: Likewise.
13476 * wcsmbs/tst-wcstof.c: Likewise.
13477
13478 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13479
13480 [BZ #14132]
13481 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13482 INTDEF.
13483 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13484 declaration.
13485 (_dl_mcount): Use rtld_hidden_proto.
13486 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13487 _dl_mcount.
13488 * elf/rtld.c (_rtld_global_ro): Likewise.
13489
13490 [BZ #14132]
13491 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13492 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13493 of _dl_init_internal.
13494 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13495 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13496 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13497 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13498 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13499 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13500 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13501 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13502 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13503 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13504 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13505 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13507 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13508 * sysdeps/tile/dl-start.S (_start): Likewise.
13509 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13510 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13511
13512 [BZ #14132]
13513 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13514 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13515 (rtld_progname): Make macro definition unconditional.
13516 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13517 INTDEF.
13518 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13519 (dl_main): Likewise.
13520 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13521 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13522 instead of _dl_argv_internal.
13523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13524 __GI__dl_argv instead of INTUSE(_dl_argv).
13525 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13526 __GI__dl_argv instead of _dl_argv_internal.
13527
13528 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13529 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13530 macro.
13531 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13532 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13533 New macro.
13534 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13535 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13536 macro.
13537 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13538 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13539
13540 2014-11-04 Andreas Schwab <schwab@suse.de>
13541
13542 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13543
13544 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13545
13546 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13547 mtvsrd instruction in binary form.
13548
13549 2014-11-03 Andreas Schwab <schwab@suse.de>
13550
13551 [BZ #17522]
13552 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13553 for less than MB_LEN_MAX use a local buffer of that size.
13554 * libio/tst-fputws.c: New file.
13555 * libio/Makefile (tests): Add tst-fputws.
13556
13557 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13558
13559 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13560 the size of the fpu_fr.fpu_dregs[] array.
13561
13562 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13563
13564 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13565 (__nanosleep): Do not define as alias.
13566 (nanosleep): Define as alias of __nanosleep.
13567 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13568 __libc_nanosleep name.
13569
13570 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13571
13572 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13573 install.texi in comment.
13574
13575 2014-10-31 Torvald Riegel <triegel@redhat.com>
13576
13577 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13578 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13579 ... add here and use lwsync or sync ...
13580 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13581 ... and add here using lwsync.
13582
13583 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13584
13585 * elf/dl-machine-reject-phdr.h: New file.
13586 * elf/dl-load.c: #include that.
13587 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13588 if that returned true.
13589
13590 2014-10-31 Roland McGrath <roland@hack.frob.com>
13591
13592 [BZ #17496]
13593 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13594 gen-as-const-headers chunk. Add a big scare comment after the last
13595 safe place to touch before-compile.
13596
13597 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13598
13599 * manual/install.texi (Tools for Compilation): Update autoconf
13600 version requirements.
13601 * INSTALL: Regenerated.
13602
13603 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13604 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13605 (__libc_pselect): Likewise.
13606
13607 [BZ #14138]
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13612
13613 2014-10-31 Torvald Riegel <triegel@redhat.com>
13614
13615 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13616 correct barrier instruction.
13617 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13618 Likewise.
13619 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13620 Likewise.
13621
13622 2014-10-30 Roland McGrath <roland@hack.frob.com>
13623
13624 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13625 after defining inlines. Instead, just use parens to defeat macro
13626 expansion of __isctype in its declaration.
13627
13628 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13629
13630 * include/sys/uio.h (__libc_readv): Remove declaration.
13631 (__libc_writev): Likewise.
13632 * misc/readv.c (__libc_readv): Rename to __readv.
13633 (__readv): Do not define as alias.
13634 (readv): Define as alias of __readv.
13635 * misc/writev.c (__libc_writev): Rename to __writev.
13636 (__writev): Do not define as alias.
13637 (writev): Define as alias of __writev.
13638 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13639 (__readv): Do not define as alias.
13640 (readv): Define unconditionally as alias of __readv.
13641 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13642 (__writev): Do not define as alias.
13643 (writev): Define unconditionally as alias of __writev.
13644 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13645 name.
13646 (writev): Do not define __libc_writev name.
13647
13648 2014-10-30 Roland McGrath <roland@hack.frob.com>
13649
13650 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13651 (convert_charseq): New function, broken out of ...
13652 (use_from_charmap): ... here. Call it.
13653 (use_to_charmap): Use convert_charseq and free instead of duplicating
13654 its code with a variable-length stack struct.
13655
13656 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13657
13658 * include/fcntl.h (__libc_creat): Remove declaration.
13659 * io/creat.c (__libc_creat): Rename to creat.
13660 (creat): Do not define as alias.
13661 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13662 of creat instead of __libc_creat.
13663 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13664 to creat.
13665 (creat): Do not define as alias.
13666 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13667 __libc_creat.
13668 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13669 __libc_creat name.
13670 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13671 Likewise.
13672
13673 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13674
13675 * manual/llio.texi: Add comments discussing why write() may be
13676 considered MT-unsafe on Linux.
13677
13678 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13679
13680 * dl-load.c (local_strdup): Remove.
13681 (expand_dynamic_string_token): Use __strdup.
13682 (decompose_rpath): Likewise.
13683 (_dl_map_object): Likewise.
13684
13685 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13686
13687 [BZ #14132]
13688 * sysdeps/generic/unwind-dw2-fde.c
13689 (__register_frame_info_bases_internal): Do not declare.
13690 (__register_frame_info_table_bases_internal): Likewise.
13691 (__deregister_frame_info_bases_internal): Likewise.
13692 (__register_frame_info_bases): Declare and use hidden_proto before
13693 definition. Use hidden_def instead of INTDEF.
13694 (__register_frame_info_table_bases): Likewise.
13695 (__deregister_frame_info_bases): Likewise.
13696 (__register_frame_info): Do not use INTUSE.
13697 (__register_frame): Likewise.
13698 (__register_frame_info_table): Likewise.
13699 (__register_frame_table): Likewise.
13700 (__deregister_frame_info): Likewise.
13701 (__deregister_frame): Likewise.
13702
13703 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13704
13705 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13706 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13707 not undefine.
13708 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13709 Likewise.
13710 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13711 Likewise.
13712
13713 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13714
13715 [BZ #14138]
13716 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13717 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13718 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13719 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13720 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13721 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13722 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13723 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13724 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13725 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13726 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13727 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13728 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13729 syscall.
13730 (setfsuid): Likewise.
13731 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13732 (setfsuid): Likewise.
13733 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13734 (setfsuid): Likewise.
13735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13736 Likewise.
13737 (setfsuid): Likewise.
13738 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13739 (setfsuid): Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13741 Likewise.
13742 (setfsuid): Likewise.
13743
13744 2014-10-27 Andreas Schwab <schwab@suse.de>
13745
13746 [BZ #17501]
13747 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13748 check for Slow_SSE4_2 feature bit.
13749 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13750 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13751 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13752 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13753
13754 2014-10-24 Roland McGrath <roland@hack.frob.com>
13755
13756 * configure.ac: Validate compiler version with a empirical test of
13757 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13758 $CC -v output.
13759 * configure: Regenerated.
13760
13761 * inet/htons.c (htons): Prototypify.
13762 * inet/htonl.c (htonl): Likewise.
13763
13764 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13765
13766 * string/strncat.c (strncat): Improve performance by using strlen.
13767
13768 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13769
13770 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13771
13772 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13773
13774 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13775 Call libc_fetestexcept_aarch64.
13776
13777 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13778
13779 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13780 Call libc_feholdexcept_aarch64.
13781
13782 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13783
13784 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13785 Call get_rounding_mode.
13786
13787 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13788
13789 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13790 Simplify logic.
13791
13792 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13793
13794 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13795 Simplify logic.
13796
13797 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #14138]
13800 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13801 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13802 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13803 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13804 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13805 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13806 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13807 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13808 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13809 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13810 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13811 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13812 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13813 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13814 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13815 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13816 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13817 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13818 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13819 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13820 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13821 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13822 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13823 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13824 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13825 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13826 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13827 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13828 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13829 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13830 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13831 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13832 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13833 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13834 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13837 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13838 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13840 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13841 syscall.
13842 (geteuid): Likewise.
13843 (getgid): Likewise.
13844 (getuid): Likewise.
13845 (getresgid): Likewise.
13846 (getresuid): Likewise.
13847 (getgroups): Likewise.
13848 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13849 (geteuid): Likewise.
13850 (getgid): Likewise.
13851 (getuid): Likewise.
13852 (getresgid): Likewise.
13853 (getresuid): Likewise.
13854 (getgroups): Likewise.
13855 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13856 (geteuid): Likewise.
13857 (getgid): Likewise.
13858 (getuid): Likewise.
13859 (getresgid): Likewise.
13860 (getresuid): Likewise.
13861 (getgroups): Likewise.
13862 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13863 Likewise.
13864 (geteuid): Likewise.
13865 (getgid): Likewise.
13866 (getuid): Likewise.
13867 (getresgid): Likewise.
13868 (getresuid): Likewise.
13869 (getgroups): Likewise.
13870 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/syscalls.list (getegid):
13878 Likewise.
13879 (geteuid): Likewise.
13880 (getgid): Likewise.
13881 (getuid): Likewise.
13882 (getgroups): Likewise.
13883
13884 [BZ #14138]
13885 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13886 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13887 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13890 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13891 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13892 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13893 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13894 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13895 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13896 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13897 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13898 __chown.
13899 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13900 (lchown): Likewise.
13901 (fchown): Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13903 Likewise.
13904 (lchown): Likewise.
13905 (fchown): Likewise.
13906 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13907 (lchown): Likewise.
13908 (fchown): Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13910 Likewise.
13911 (lchown): Likewise.
13912 (fchown): Likewise.
13913
13914 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13915
13916 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13917 Simplify logic.
13918
13919 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13920
13921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13922 Cleanup logic.
13923
13924 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13925
13926 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13927 Remove unused include.
13928
13929 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13930
13931 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13932 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13933 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13934 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13935
13936 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
13937 Helge Deller <deller@gmx.de>
13938
13939 [BZ #17508]
13940 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13941 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13942 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13943
13944 2014-10-23 Joseph Myers <joseph@codesourcery.com>
13945
13946 [BZ #14132]
13947 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13948 Remove macro definition.
13949 (__ashrdi3_v_glibc20): Likewise.
13950 (__lshrdi3_v_glibc20): Likewise.
13951 (__cmpdi2_v_glibc20): Likewise.
13952 (__ucmpdi2_v_glibc20): Likewise.
13953 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13954 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13955 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13956 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13957 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13958 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13959
13960 2014-10-22 Roland McGrath <roland@hack.frob.com>
13961
13962 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13963 old GNU extension [0] syntax.
13964 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13965 alloca rather than an array member with variable length.
13966 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13967 * nscd/nscd.c (invalidate_db): New function, broken out of ...
13968 (parse_opt): ... here. Likewise use alloca there.
13969 Validate the -i argument before checking for rootness.
13970 (send_shutdown): New function, broken out of ...
13971 (parse_opt): ... here.
13972
13973 2014-10-22 Roland McGrath <roland@hack.frob.com>
13974
13975 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13976 macro to get at the _rt_local_ro field.
13977 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13978 ([PIC] case) or _dl_hwcap ([!PIC] case).
13979 * sysdeps/arm/setjmp.S: Likewise.
13980
13981 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13982 * sysdeps/arm/configure.ac: New check to define it.
13983 * sysdeps/arm/configure: Regenerated.
13984 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13985 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13986 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13987 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13988 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13989 Use move/movt pair instead of a load.
13990 (LDST_GLOBAL): Macro removed.
13991 (LDR_GLOBAL): New macro replaces it.
13992 (LDR_HIDDEN): New macro.
13993 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13994 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13995
13996 * setjmp/tst-setjmp-static.c: New file.
13997 * setjmp/Makefile (tests): Add it.
13998 (tests-static): New variable.
13999
14000 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14001
14002 [BZ #17485]
14003 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14004
14005 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14006
14007 [BZ #14132]
14008 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14009
14010 2014-10-21 Roland McGrath <roland@hack.frob.com>
14011
14012 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14013
14014 2014-10-20 Roland McGrath <roland@hack.frob.com>
14015
14016 * io/fts.c (dirent_not_directory): New function.
14017 (fts_build): Call it.
14018
14019 2014-10-20 Roland McGrath <roland@hack.frob.com>
14020
14021 * nptl/version.c (__nptl_main): Use normal __write rather than
14022 INTERNAL_SYSCALL.
14023 (banner): Update copyright years.
14024
14025 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14026 gettimeofday.
14027 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14028 * nptl/pthread_cond_timedwait.c: Likewise.
14029 * nptl/pthread_mutex_timedlock.c: Likewise.
14030 * nptl/sem_timedwait.c: Likewise.
14031
14032 * sysdeps/nptl/bits/libc-lock.h
14033 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14034 (__libc_lock_init_recursive): Return void, not 0.
14035 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14036 (__libc_rwlock_init): Likewise.
14037 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14038
14039 2014-10-20 Torvald Riegel <triegel@redhat.com>
14040
14041 [BZ #15215]
14042 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14043 (__pthread_once_slow): ... here.
14044 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14045 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14046
14047 2014-10-20 Torvald Riegel <triegel@redhat.com>
14048
14049 [BZ #15215]
14050 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14051 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14052 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14053 * nptl/pthread_once.c (__pthread_once): Likewise.
14054 Update comments.
14055
14056 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14057
14058 [BZ #14138]
14059 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14060 name.
14061 (writev): Use __libc_writev as strong name.
14062 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14063 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14064
14065 2014-10-17 Roland McGrath <roland@hack.frob.com>
14066
14067 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14068
14069 * sysdeps/i386/nptl/tls.h
14070 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14071 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14072 New macros.
14073 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14074 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14075 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14076 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14077 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14078 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14079
14080 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14081 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14082 on [__NR_futex].
14083 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14084 broken out of ...
14085 (__pthread_mutex_init): ... here. Call it.
14086 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14087 Conditionalize PI cases on [__NR_futex].
14088 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14089 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14090 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14091
14092 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14093 conditional on [SIGSETXID].
14094 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14095 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14096 is defined. Likewise for SIGSETXID.
14097 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14098 Conditionalize definitions on [SIGSETXID].
14099 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14100 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14101 unblocking on [SIGCANCEL].
14102
14103 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14104 [__NR_set_robust_list].
14105
14106 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14107
14108 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14109 (do_compare): Likewise.
14110
14111 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14112
14113 [BZ #15884]
14114 * string/strcoll_l.c: Don't include stdio.h.
14115 (coll_seq): Remove members idxarr and rulearr.
14116 (get_next_seq_cached): Remove function.
14117 (get_next_seq): Likewise.
14118 (get_next_seq_nocache): Rename to get_next_seq.
14119 (do_compare): Remove function.
14120 (do_compare_nocache): Rename to do_compare.
14121 (STRCOLL): Remove weight and rules cache.
14122
14123 2014-10-16 Roland McGrath <roland@hack.frob.com>
14124
14125 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14126 * sysdeps/arm/sfp-machine.h: ... to here.
14127 * sysdeps/arm/Implies: Remove arm/soft-fp.
14128
14129 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14130
14131 * conform/data/sys/utsname.h-data (*_t): Allow.
14132 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14133 [POSIX] (WEXITED): Do not expect constant.
14134 [POSIX] (WSTOPPED): Likewise.
14135 [POSIX] (WNOHANG): Likewise.
14136 [POSIX] (WNOWAIT): Likewise.
14137 [POSIX] (siginfo_t): Do not expect type or elements.
14138 [POSIX] (pid_t): Do not expect type.
14139 [POSIX] (signal.h): Do not allow header.
14140 [POSIX] (sys/resource.h): Likewise.
14141 [POSIX] (si_*): Do not allow pattern.
14142 [POSIX] (W*): Likewise.
14143 [POSIX] (P_*): Likewise.
14144 [POSIX] (BUS_*): Likewise.
14145 [POSIX] (CLD_*): Likewise.
14146 [POSIX] (FPE_*): Likewise.
14147 [POSIX] (ILL_*): Likewise.
14148 [POSIX] (POLL_*): Likewise.
14149 [POSIX] (SEGV_*): Likewise.
14150 [POSIX] (SI_*): Likewise.
14151 [POSIX] (TRAP_*): Likewise.
14152 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14153 variable.
14154
14155 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14156
14157 [BZ #12926]
14158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14159 infinite loop when __recvmsg returns 0.
14160
14161 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14162
14163 * CANCEL-FCT-WAIVE: Remove file.
14164 * CANCEL-FILE-WAIVE: Likewise.
14165
14166 [BZ #14132]
14167 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14168 instead of INTVARDEF.
14169 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14170 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14171 rtld_hidden_data_def instead of INTVARDEF.
14172 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14173 * elf/dl-deps.c (expand_dst): Likewise.
14174 * elf/dl-load.c (_dl_dst_count): Likewise.
14175 (_dl_dst_substitute): Likewise.
14176 (decompose_rpath): Likewise.
14177 (_dl_init_paths): Likewise.
14178 (open_path): Likewise.
14179 (_dl_map_object): Likewise.
14180 * elf/rtld.c (dl_main): Likewise.
14181 (process_dl_audit): Likewise.
14182 (process_envvars): Likewise.
14183 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14184 Remove declaration.
14185 (__libc_enable_secure): Use rtld_hidden_proto.
14186
14187 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14188
14189 * elf/dl-load.c
14190 (add_path): New function broken out of _dl_rtld_di_serinfo.
14191 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14192
14193 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14194
14195 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14196 parentheses around macro arguments.
14197 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14201 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14202 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14206 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14208 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14209 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14210 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14211 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14212 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14213 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14215 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14226 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14229 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14230 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14231 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14232 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14233 Likewise.
14234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14236 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14237 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14239 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14241 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14242 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14243 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14244 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14245 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14246 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14247 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14250 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14252 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14254 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14255 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14256 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14257 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14258 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14259 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14260 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14261 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14262 (_FP_FRAC_SRS_1): Likewise.
14263 (_FP_FRAC_CLZ_1): Likewise.
14264 (_FP_MUL_MEAT_1_imm): Likewise.
14265 (_FP_MUL_MEAT_1_wide): Likewise.
14266 (_FP_MUL_MEAT_1_hard): Likewise.
14267 (_FP_SQRT_MEAT_1): Likewise.
14268 (_FP_FRAC_ASSEMBLE_1): Likewise.
14269 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14270 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14271 (__FP_CLZ_2): Likewise.
14272 (_FP_MUL_MEAT_2_wide): Likewise.
14273 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14274 (_FP_MUL_MEAT_2_gmp): Likewise.
14275 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14276 (_FP_SQRT_MEAT_2): Likewise.
14277 (_FP_FRAC_ASSEMBLE_2): Likewise.
14278 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14279 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14280 (_FP_FRAC_CLZ_4): Likewise.
14281 (_FP_MUL_MEAT_4_wide): Likewise.
14282 (_FP_MUL_MEAT_4_gmp): Likewise.
14283 (_FP_SQRT_MEAT_4): Likewise.
14284 (_FP_FRAC_ASSEMBLE_4): Likewise.
14285 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14286 * soft-fp/op-common.h (_FP_CMP): Likewise.
14287 (_FP_CMP_EQ): Likewise.
14288 (_FP_CMP_UNORD): Likewise.
14289 (_FP_TO_INT): Likewise.
14290 (_FP_FROM_INT): Likewise.
14291 [!__FP_CLZ] (__FP_CLZ): Likewise.
14292 (_FP_DIV_HELP_imm): Likewise.
14293 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14294 Likewise.
14295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14298 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14299 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14300 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14304 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14305 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14306 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14307 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14308 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14309 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14310 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14311 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14316 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14317 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14320 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14324 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14325 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14326 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14327 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14328 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14329 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14330 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14331 (FP_UNPACK_RAW_SP): Likewise.
14332 (FP_PACK_RAW_S): Likewise.
14333 (FP_PACK_RAW_SP): Likewise.
14334 (FP_UNPACK_S): Likewise.
14335 (FP_UNPACK_SP): Likewise.
14336 (FP_UNPACK_SEMIRAW_S): Likewise.
14337 (FP_UNPACK_SEMIRAW_SP): Likewise.
14338 (FP_PACK_S): Likewise.
14339 (FP_PACK_SP): Likewise.
14340 (FP_PACK_SEMIRAW_S): Likewise.
14341 (FP_PACK_SEMIRAW_SP): Likewise.
14342 (_FP_SQRT_MEAT_S): Likewise.
14343 (FP_CMP_S): Likewise.
14344 (FP_CMP_EQ_S): Likewise.
14345 (FP_CMP_UNORD_S): Likewise.
14346 (FP_TO_INT_S): Likewise.
14347 (FP_FROM_INT_S): Likewise.
14348
14349 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14350
14351 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14352 (FP_EX_INVALID_IMZ): Likewise.
14353 (FP_EX_INVALID_IMZ_FMA): Likewise.
14354 (FP_EX_INVALID_ISI): Likewise.
14355 (FP_EX_INVALID_ZDZ): Likewise.
14356 (FP_EX_INVALID_IDI): Likewise.
14357 (FP_EX_INVALID_SQRT): Likewise.
14358 (FP_EX_INVALID_CVI): Likewise.
14359 (FP_EX_INVALID_VC): Likewise.
14360 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14361 "invalid" exceptions.
14362 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14363 (_FP_ADD_INTERNAL): Likewise.
14364 (_FP_MUL): Likewise.
14365 (_FP_FMA): Likewise.
14366 (_FP_DIV): Likewise.
14367 (_FP_CMP_CHECK_NAN): Likewise.
14368 (_FP_SQRT): Likewise.
14369 (_FP_TO_INT): Likewise.
14370 (FP_EXTEND): Likewise.
14371
14372 2014-10-09 Allan McRae <allan@archlinux.org>
14373
14374 * po/fr.po: Update French translation from translation project.
14375
14376 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14377
14378 [BZ #14132]
14379 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14380 of INTDEF.
14381 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14382 (__cxa_atexit): Use libc_hidden_proto.
14383 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14384
14385 [BZ #14132]
14386 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14387 declaration.
14388 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14389 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14390 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14391 [!_ISOMAC] (__iswctype_internal): Likewise.
14392 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14393 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14394 alias.
14395 (fcntl): Remove __fcntl_internal alias.
14396 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14397 __connect_internal alias.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14399 Likewise.
14400
14401 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14402 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14403 FP_DENORM_ZERO.
14404 (_FP_CHECK_FLUSH_ZERO): New macro.
14405 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14406 (_FP_CMP): Likewise.
14407 (_FP_CMP_EQ): Likewise.
14408 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14409 FP_DENORM_ZERO.
14410 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14411 (FP_TRUNC): Likewise.
14412
14413 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14414 treated as invalid conversion, not as normal exponent.
14415
14416 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14417 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14418 (_FP_CMP_EQ): Likewise.
14419 (_FP_CMP_UNORD): Likewise.
14420 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14421 (FP_CMP_EQ_D): Likewise.
14422 (FP_CMP_UNORD_D): Likewise.
14423 * soft-fp/extended.h (FP_CMP_E): Likewise.
14424 (FP_CMP_EQ_E): Likewise.
14425 (FP_CMP_UNORD_E): Likewise.
14426 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14427 (FP_CMP_EQ_Q): Likewise.
14428 (FP_CMP_UNORD_Q): Likewise.
14429 * soft-fp/single.h (FP_CMP_S): Likewise.
14430 (FP_CMP_EQ_S): Likewise.
14431 (FP_CMP_UNORD_S): Likewise.
14432 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14433 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14434 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14435 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14436 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14437 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14438 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14439 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14440 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14441 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14442 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14443 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14444 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14445 to FP_CMP_Q.
14446 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14447 FP_CMP_Q.
14448 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14449 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14450 FP_CMP_EQ_Q.
14451 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14452 FP_CMP_Q.
14453 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14454 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14455 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14456 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14457 FP_CMP_EQ_Q.
14458 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14459 FP_CMP_Q.
14460 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14461 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14462 FP_CMP_EQ_Q.
14463 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14464 FP_CMP_Q.
14465 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14466 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14467 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14468 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14469 FP_CMP_EQ_Q.
14470
14471 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14472 a subnormal result, set the underflow exception if trapping on
14473 underflow is enabled.
14474 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14475 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14476 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14477 redefine to 0.
14478 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14479 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14480 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14481 * soft-fp/extendxftf2.c (__extendxftf2): Use
14482 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14483
14484 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14485 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14486 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14487 FP_HANDLE_EXCEPTIONS.
14488 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14489 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14490 FP_HANDLE_EXCEPTIONS.
14491 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14492 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14493 FP_HANDLE_EXCEPTIONS.
14494 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14495 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14496 FP_HANDLE_EXCEPTIONS.
14497
14498 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14499
14500 [BZ #14132]
14501 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14502 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14503 use INTUSE.
14504 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14505 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14506 Remove alias.
14507 (__adjtimex): Define using libc_hidden_ver.
14508 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14509 Remove declaration.
14510 (ntp_gettime): Call __adjtimex directly.
14511 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14512 Remove declaration.
14513 (ntp_gettimex): Call __adjtimex directly.
14514 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14515 __adjtimex_internal alias.
14516
14517 2014-10-08 Roland McGrath <roland@hack.frob.com>
14518
14519 [BZ #17460]
14520 * nscd/nscd.c (more_help): Rewrite list of tables collection
14521 using xstrdup and asprintf.
14522
14523 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14524
14525 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14526 Roland McGrath <roland@hack.frob.com>
14527
14528 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14529 (do_lookup_unique): ... local function 'enter' here; update callers.
14530
14531 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14532
14533 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14534 compat_symbol calls on [SHARED].
14535 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14536 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14537 Remove.
14538 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14539 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14540 (oldsetrlimit): Remove.
14541 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14543 (lchown): New syscall entry.
14544 (oldsetrlimit): Remove.
14545 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14547 (oldsetrlimit): Remove.
14548 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14549
14550 [BZ #14138]
14551 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14552 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14553 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14554 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14555 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14556 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14557 (fchown): Likewise.
14558 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14559 (fchown): Likewise.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14561 Likewise.
14562
14563 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14564
14565 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14566 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14567 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14568 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14569 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14570 Likewise.
14571 (__old_sem_post): Likewise.
14572
14573 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14574
14575 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14576 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14577 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14578 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14579 Use INLINE_VSYSCALL macro.
14580 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14581 __vdso_clock_gettime.
14582 * sysdeps/unix/sysv/linux/tile/init-first.c
14583 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14584 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14585 __vdso_clock_gettime.
14586
14587 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14588 to set up frame more cleanly.
14589
14590 * sysdeps/tile/memcmp.c: New file.
14591
14592 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14593
14594 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14595 * sysdeps/tile/tilegx/strcasestr.c: New file.
14596 * sysdeps/tile/tilegx/strnlen.c: New file.
14597 * sysdeps/tile/tilegx/strstr.c: New file.
14598
14599 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14600
14601 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14602
14603 * nptl/tst-setuid3.c: Write errors to stdout.
14604
14605 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14606
14607 * elf/dl-deps.c
14608 (preload): New functions broken out of _dl_map_object_deps.
14609 (_dl_map_object_deps): Remove a nested function. Update call sites.
14610
14611 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14612
14613 [BZ #14138]
14614 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14615 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14616
14617 2014-10-01 Steve Ellcey <sellcey@mips.com>
14618
14619 * sysdeps/mips/strcmp.S: New.
14620
14621 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14622
14623 [BZ #14138]
14624 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14625 (linkat): Likewise.
14626 (mkdirat): Likewise.
14627 (readlinkat): Likewise.
14628 (renameat): Likewise.
14629 (symlinkat): Likewise.
14630 (unlinkat): Likewise.
14631 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14632 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14633 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14634 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14635 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14636 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14637 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14638
14639 2014-09-30 Will Newton <will.newton@linaro.org>
14640
14641 * math/math.h: Define long double math functions if
14642 _LIBC_TEST is defined.
14643 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14644
14645 * localedata/Makefile: Move assignment to tests-special
14646 into an ifdef testing run-built-tests.
14647 * timezone/Makefile: Likewise.
14648
14649 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14650
14651 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14652 with $(BASH) not $(SHELL).
14653
14654 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14655 Matthew LeGendre <legendre1@llnl.gov>
14656
14657 [BZ #17411]
14658 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14659 l_reloc_result.
14660
14661 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14662
14663 * stdio-common/printf_fp.c
14664 (hack_digit): New function, broken out of ...
14665 (__printf_fp): ... local function here. Update call sites.
14666 hack_digit now takes an additional parameter that is a pointer
14667 to a struct of the referenced locals. Those locals moved inside
14668 the struct and references updated.
14669
14670 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14671
14672 * aclocal.m4: Require autoconf 2.69.
14673 * configure: Regenerated.
14674 * sysdeps/aarch64/configure: Likewise.
14675 * sysdeps/alpha/configure: Likewise.
14676 * sysdeps/arm/armv7/configure: Likewise.
14677 * sysdeps/arm/configure: Likewise.
14678 * sysdeps/ia64/configure: Likewise.
14679 * sysdeps/mach/configure: Likewise.
14680 * sysdeps/mips/configure: Likewise.
14681 * sysdeps/s390/configure: Likewise.
14682 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14684
14685 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14686 file.
14687 * sysdeps/ia64/configure.ac: Likewise.
14688
14689 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14690
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14692 specify symbol version for ld.so. Do not include entry for
14693 libpthread.
14694 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14695 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14697
14698 [BZ #14171]
14699 * Makeconfig [$(build-shared) = yes]
14700 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14701 makefiles.
14702 [$(build-shared) = yes && $(soversions.mk-done) = t]
14703 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14704 [$(build-shared) = yes && $(soversions.mk-done) = t]
14705 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14706 to Makerules.
14707 [$(build-shared) = yes && $(soversions.mk-done) = t]
14708 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14709 here.
14710 [$(build-shared) = yes && $(soversions.mk-done) = t]
14711 (common-generated): Don't append gnu/lib-names.h and
14712 gnu/lib-names.stmp here.
14713 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14714 (lib-names-h-abi): New variable.
14715 [$(build-shared) = yes && $(soversions.mk-done) = t]
14716 (lib-names-stmp-abi): Likewise.
14717 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14718 abi-variants] (before-compile): Append
14719 $(common-objpfx)$(lib-names-h-abi).
14720 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14721 abi-variants] (common-generated): Append gnu/lib-names.h.
14722 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14723 abi-variants] (install-others-nosubdir): Depend on
14724 $(inst_includedir)/$(lib-names-h-abi).
14725 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14726 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14727 [$(build-shared) = yes && $(soversions.mk-done) = t]
14728 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14729 [$(build-shared) = yes && $(soversions.mk-done) = t]
14730 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14731 [$(build-shared) = yes && $(soversions.mk-done) = t]
14732 (common-generated): Append $(lib-names-h-abi) and
14733 $(lib-names-stmp-abi).
14734 * scripts/lib-names.awk: Do not handle multi being set.
14735 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14736 Remove variable.
14737 (abi-lp64_be-ld-soname): Likewise.
14738 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14739 Likewise.
14740 (abi-hard-ld-soname): Likewise.
14741 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14742 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14743 Remove variable.
14744 (abi-o32_hard-ld-soname): Likewise.
14745 (abi-o32_soft_2008-ld-soname): Likewise.
14746 (abi-o32_hard_2008-ld-soname): Likewise.
14747 (abi-n32_soft-ld-soname): Likewise.
14748 (abi-n32_hard-ld-soname): Likewise.
14749 (abi-n32_soft_2008-ld-soname): Likewise.
14750 (abi-n32_hard_2008-ld-soname): Likewise.
14751 (abi-n64_soft-ld-soname): Likewise.
14752 (abi-n64_hard-ld-soname): Likewise.
14753 (abi-n64_soft_2008-ld-soname): Likewise.
14754 (abi-n64_hard_2008-ld-soname): Likewise.
14755 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14756 Likewise.
14757 (abi-64-v2-ld-soname): Likewise.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14759 ld.so entries.
14760 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14761 variable.
14762 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14763 entry.
14764 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14765 variable.
14766 (abi-64-ld-soname): Likewise.
14767 (abi-x32-ld-soname): Likewise.
14768 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14769 entry.
14770 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14771
14772 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14773
14774 [BZ #14138]
14775 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14776 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14777 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14778 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14779 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14780 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14781 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14782 syscall entry for GLIBC_2.2 symbol version.
14783 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14784 Likewise.
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14786 (setrlimit): Likewise.
14787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14788 Likewise.
14789
14790 2014-09-23 Will Newton <will.newton@linaro.org>
14791
14792 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14793 _LINUX_ARM_SYSDEP_H include guard too.
14794 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14795 define.
14796
14797 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14798
14799 * sysdeps/unix/sysv/linux/eventfd.c:
14800 Make first argument unsigned.
14801 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14802 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14803
14804 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14805
14806 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14807 * socket/sys/socket.h: Likewise
14808 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14809
14810 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14811
14812 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14813
14814 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14815
14816 * time/tst-ftime.c: New test.
14817 * time/Makefile (tests): Add tst-ftime.
14818
14819 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14820
14821 * soft-fp/extended.h: Fix comment formatting.
14822 * soft-fp/op-1.h: Likewise.
14823 * soft-fp/op-2.h: Likewise.
14824 * soft-fp/op-4.h: Likewise.
14825 * soft-fp/op-8.h: Likewise.
14826 * soft-fp/op-common.h: Likewise.
14827 * soft-fp/soft-fp.h: Likewise.
14828
14829 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14830
14831 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14832
14833 [BZ #6652]
14834 * Makeconfig (soversions-default-setname): Remove variable.
14835 ($(common-objpfx)soversions.i): Don't pass default_setname to
14836 soversions.awk.
14837 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14838 oldest_abi to abi-versions.awk.
14839 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14840 * config.make.in (oldest-abi): Remove variable.
14841 * configure.ac (--enable-oldest-abi): Remove configure option.
14842 * configure: Regenerated.
14843 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14844 text.
14845 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14846 * scripts/soversions.awk: Do not handle default_setname variable.
14847 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14848 variable.
14849 * sysdeps/mach/hurd/configure: Regenerated.
14850 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14851 variable.
14852 * sysdeps/unix/sysv/linux/configure: Regenerated.
14853
14854 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14855
14856 * elf/Makefile (CFLAGS-interp.c): Remove.
14857 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14858 path string.
14859 * elf/interp.c: Include generated runtime-linker.h
14860
14861 * Makerules (lib%.so): Don't include $(+interp) in
14862 prerequisites.
14863 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14864 * dlfcn/eval.c: Remove file.
14865
14866 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14867 macros.
14868
14869 [BZ #17266]
14870 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14871 4.2 and newer.
14872
14873 [BZ #17370]
14874 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14875
14876 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14877 Jakub Jelinek <jakub@redhat.com>
14878
14879 [BZ #17266]
14880 * libio/stdio.h: Check definition of __fortify_function
14881 instead of __extern_always_inline to include bits/stdio2.h.
14882 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14883 check if __extern_always_inline is defined.
14884 [__USE_MISC || __USE_XOPEN]: Likewise.
14885 [__USE_ISOC99] Likewise.
14886 * misc/sys/cdefs.h (__fortify_function): Define only if
14887 __extern_always_inline is defined.
14888 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14889 __extern_always_inline and __extern_inline only for g++-4.3
14890 and newer or a compatible gcc.
14891
14892 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14893
14894 [BZ #17371]
14895 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14896 last change to handle zero prefix length.
14897
14898 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
14900 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14901 _SC_REGEX_VERSION.
14902
14903 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14904 _POSIX_RAW_SOCKETS.
14905
14906 2014-09-13 Allan McRae <allan@archlinux.org>
14907
14908 * po/ru.po: Update Russian translation from translation project.
14909
14910 2014-09-12 Roland McGrath <roland@hack.frob.com>
14911
14912 * locale/programs/locale.c (show_locale_vars): Inline local function
14913 into its sole call site. Clean up some style nits.
14914 (print_item): New function, broken out of ...
14915 (show_info): ... local function here. Clean up style nits.
14916
14917 * locale/programs/ld-ctype.c (set_one_default): New function, broken
14918 out of ...
14919 (set_class_defaults): ... local function set_default here.
14920 Define set_default as a macro locally to pass constant parameters.
14921 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14922 rather than a shared local.
14923
14924 * stdlib/rpmatch.c (try): New function, broken out of ...
14925 (rpmatch): ... local function here. Also, prototypify definition.
14926
14927 2014-09-12 Joseph Myers <joseph@codesourcery.com>
14928
14929 * scripts/soversions.awk: Do not handle configuration names.
14930 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14931 vendor and os variables to soversions.awk.
14932 * configure.ac: Do not modify gnu-* host_os.
14933 * configure: Regenerated
14934 * shlib-versions: Remove first column with configuration names.
14935 * nptl/shlib-versions: Likewise.
14936 * nptl_db/shlib-versions: Likewise.
14937 * sysdeps/hppa/shlib-versions: Likewise.
14938 * sysdeps/m68k/shlib-versions: Likewise.
14939 * sysdeps/mach/hurd/shlib-versions: Likewise.
14940 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14941 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14942 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14943 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14944 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14945 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14946 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14947 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14949 Likewise.
14950 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14951 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14952 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14953 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14954 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14955 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14956 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14957 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14958
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14960 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14962 Regenerated.
14963 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14965 Condition symbol version definitions on [HAVE_ELFV2_ABI].
14966
14967 * shlib-versions: Remove OS-specific entries. Moved to files in
14968 sysdeps.
14969 * sysdeps/mach/hurd/shlib-versions: New file.
14970 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14971
14972 * nptl/shlib-versions: Remove architecture-specific entries.
14973 Moved to files in sysdeps.
14974 * shlib-versions: Likewise.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14976 file.
14977 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14978 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14979 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14980 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14981
14982 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14983 (UDP_NO_CHECK6_RX): Likewise.
14984
14985 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14986
14987 * sysdeps/posix/sysconf.c (__sysconf): Spell
14988 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14989
14990 2014-08-12 Florian Weimer <fweimer@redhat.com>
14991
14992 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14993 loading.
14994 * iconv/Versions (__gconv_transliterate): Export for use from
14995 gconv modules.
14996 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14997 (struct __gconv_trans_data, __gconv_trans_fct,
14998 __gconv_trans_context_fct, __gconv_trans_query_fct,
14999 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15000 definitions.
15001 (struct __gconv_step_data): Remove __trans member.
15002 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15003 longer hidden. Remove unused trans_data argument.
15004 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15005 (__gconv_translit_find): Remove declaration.
15006 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15007 prototype.
15008 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15009 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15010 trans_data argument. Add hidden definition.
15011 (__gconv_translit_find): Remove.
15012 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15013 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15014 * iconv/skeleton.c: Remove transliteration initialization.
15015 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15016 __gconv_step_data initialization.
15017 * libio/iofwide.c (__libio_translit_): Remove.
15018 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15019 * wcsmbs/btowc.c (__btowc): Likewise.
15020 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15021 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15022 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15023 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15024 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15025 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15026 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15027 * wcsmbs/wctob.c (wctob): Likewise.
15028
15029 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15030
15031 [BZ #16194]
15032 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15033 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15034 register usage.
15035 * sysdeps/x86/Makefile: Adjust.
15036
15037 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15038 Roland McGrath <roland@hack.frob.com>
15039
15040 * locale/weight.h: Add include guard.
15041 (findidx): Make static rather than auto; take new parameters
15042 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15043 * locale/weightwc.h: Likewise.
15044 * posix/fnmatch_loop.c
15045 (FCT): Change type of EXTRA from int32_t to wint_t.
15046 Don't include either header inside the function.
15047 Call FINDIDX rather than findidx, and pass new arguments.
15048 #undef FINDIDX at the end of the file.
15049 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15050 FINDIDX before including fnmatch_loop.c for the non-wide version.
15051 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15052 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15053 for the wide version.
15054 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15055 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15056 Pass new arguments to findidx.
15057 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15058 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15059 Don't #include it inside the function. Pass new arguments to findidx.
15060 * posix/regex_internal.h
15061 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15062 (re_string_elem_size_at): Don't #include it inside the function.
15063 Pass new arguments to findidx.
15064 * string/strcoll_l.c: #include WEIGHT_H at top level.
15065 (get_next_seq): Don't #include it inside the function.
15066 Pass new arguments to findidx.
15067 (get_next_seq_nocache): Likewise.
15068 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15069 (STRXFRM): Don't #include it inside the function.
15070 Pass new arguments to findidx.
15071
15072 2014-09-11 Florian Weimer <fweimer@redhat.com>
15073
15074 [BZ #17344]
15075 * malloc/malloc.c (unlink): Turn asserts into a call to
15076 malloc_printerr.
15077
15078 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15079
15080 [BZ #17370]
15081 * libio/wfileops (do_ftell_wide): Free OUT.
15082
15083 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15084
15085 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15086
15087 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15088
15089 [BZ #17363]
15090 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15091 group if the current group is empty.
15092
15093 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15094
15095 * benchtests/bench-memset.c (test_main): Add more test from size
15096 from 32 to 512 bytes.
15097 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15098 Add POWER8 memset object.
15099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15100 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15101 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15102 implementation.
15103 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15104 Likewise.
15105 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15106 multiarch POWER8 memset optimization.
15107 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15108 POWER8 memset optimization.
15109
15110 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15111 Remove bzero multiarch objects.
15112 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15113 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15114 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15115 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15116 Remove define.
15117 [__bzero]: Redefine to specific name.
15118 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15119 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15120 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15121 define.
15122 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15123 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15124
15125 2014-09-10 Florian Weimer <fweimer@redhat.com>
15126
15127 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15128 warnings into errors.
15129
15130 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15131 __cxa_thread_atexit_impl prototype.
15132
15133 2014-09-09 Steve Ellcey <sellcey@mips.com>
15134
15135 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15136 Fix capitalization of error message.
15137
15138 2014-09-09 Steve Ellcey <sellcey@mips.com>
15139
15140 * sysdeps/mips/preconfigure: Modify ABI tests.
15141
15142 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15143
15144 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15145
15146 2014-09-07 Roland McGrath <roland@hack.frob.com>
15147 Carlos O'Donell <carlos@systemhalted.org>
15148
15149 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15150 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15151 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15152 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15153 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15154 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15155 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15156 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15157 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15158 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15159 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15160 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15161 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15162 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15163 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15164 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15165 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15166 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15167 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15168 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15169 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15170 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15171 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15172 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15173 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15174 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15175 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15176 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15177 Deconditionalize the code that was previously under [RESET_PID].
15178 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15179 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15180 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15181 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15182 include sysdep.h.
15183
15184 2014-09-08 Allan McRae <allan@archlinux.org>
15185
15186 * version.h (RELEASE): Set to "development".
15187 (VERSION): Set to "2.20.90"
15188
15189 2014-09-07 Allan McRae <allan@archlinux.org
15190
15191 * version.h (RELEASE): Set to "stable".
15192 (VERSION): Set to "2.20"
15193 * include/features.h (__GLIBC_MINOR__): Set to 20.
15194
15195 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15196 Liebler.
15197
15198 * po/ko.po: Update Korean translation from translation project.
15199
15200 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15201
15202 [BZ #17354]
15203 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15204 macro for handling signed relocations.
15205
15206 2014-09-03 Florian Weimer <fweimer@redhat.com>
15207
15208 [BZ #17325]
15209 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15210 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15211 assert.
15212 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15213 * iconvdata/ibm935.c (BODY): Likewise.
15214 * iconvdata/ibm937.c (BODY): Likewise.
15215 * iconvdata/ibm939.c (BODY): Likewise.
15216 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15217 assert.
15218 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15219 script.
15220 * iconvdata/run-iconv-test.sh: New test loop for checking for
15221 decoder crashers.
15222
15223 2014-09-02 Khem Raj <raj.khem@gmail.com>
15224
15225 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15226 libm_hidden_ver.
15227
15228 2014-09-01 Allan McRae <allan@archlinux.org>
15229
15230 * po/eo.po: Update Esperanto translation from translation project.
15231
15232 * po/ca.po: Update Catalan translation from translation project.
15233
15234 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15235
15236 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15237 __proc_dostop call.
15238
15239 2014-08-27 Mark Wielaard <mjw@redhat.com>
15240
15241 [BZ #17319]
15242 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15243 to call set_thread_area instead of hand written asm.
15244 (__NR_set_thread_area): Removed define.
15245 (TLS_FLAG_WRITABLE): Likewise.
15246 (__ASSUME_SET_THREAD_AREA): Remove check.
15247 (TLS_EBX_ARG): Remove define.
15248 (TLS_LOAD_EBX): Likewise.
15249
15250 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15251
15252 Simplify atomicity of socket creation in bind.
15253
15254 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15255 looking up the name after linking the file.
15256
15257 2014-08-27 Allan McRae <allan@archlinux.org>
15258
15259 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15260
15261 2014-08-26 Florian Weimer <fweimer@redhat.com>
15262
15263 [BZ #17187]
15264 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15265 trans_compare, open_translit, __gconv_translit_find):
15266 Remove module loading code.
15267
15268 2014-08-26 Allan McRae <allan@archlinux.org>
15269
15270 * po/vi.po: Update Vietnamese translation from translation project.
15271
15272 * po/uk.po: Update Ukrainian translation from translation project.
15273
15274 * po/fr.po: Update French translation from translation project.
15275
15276 * po/ru.po: Update Russian translation from translation project.
15277
15278 * po/pl.po: Update Polish translation from translation project.
15279
15280 * po/cs.po: Update Czech translation from translation project.
15281
15282 * po/de.po: Update German translation from translation project.
15283
15284 * po/bg.po: Update Bulgarian translation from translation project.
15285
15286 * po/sv.po: Update Sweedish translation from translation project.
15287
15288 * po/nl.po: Update Dutch translation from translation project.
15289
15290 * po/es.po: Update Spanish translation from translation project.
15291
15292 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15293
15294 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15295
15296 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15297 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15298 (CPPFLAGS-iconvconfig): Likewise.
15299 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15300
15301 * include/libc-symbols.h: Remove unnecessary check for
15302 NOT_IN_libc.
15303 * nptl/pthreadP.h: Likewise.
15304 * sysdeps/aarch64/setjmp.S: Likewise.
15305 * sysdeps/alpha/setjmp.S: Likewise.
15306 * sysdeps/arm/sysdep.h: Likewise.
15307 * sysdeps/i386/setjmp.S: Likewise.
15308 * sysdeps/m68k/setjmp.c: Likewise.
15309 * sysdeps/posix/getcwd.c: Likewise.
15310 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15311 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15312 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15313 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15314 * sysdeps/sh/sh3/setjmp.S: Likewise.
15315 * sysdeps/sh/sh4/setjmp.S: Likewise.
15316 * sysdeps/unix/alpha/sysdep.h: Likewise.
15317 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15318 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15319 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15320 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15325 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15328 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15330 * sysdeps/x86_64/setjmp.S: Likewise.
15331
15332 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15333
15334 [BZ #17263]
15335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15336 <stdint.h>.
15337 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15338 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15339
15340 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15341
15342 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15343
15344 [BZ #17262]
15345 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15346 and __x86_64__ when disabling x87 inline functions.
15347
15348 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 [BZ #17259]
15351 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15352 asm statement with __cpuid_count.
15353
15354 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15355
15356 * configure.ac: Change __ehdr_start code to dereference the struct.
15357 Run readelf on the output to look for relocations.
15358 * configure: Regenerated.
15359
15360 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15361
15362 [BZ #17261]
15363 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15364 value to 0.
15365 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15366
15367 2014-08-12 Roland McGrath <roland@hack.frob.com>
15368
15369 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15370
15371 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15372
15373 [BZ #16892]
15374 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15375 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15376
15377 2014-08-12 Sean Anderson <seanga2@gmail.com>
15378
15379 * malloc/malloc.c: Fix typo in comment.
15380
15381 2014-08-09 Allan McRae <allan@archlinux.org>
15382
15383 * Regenerate libc.po.
15384
15385 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15386
15387 * intl/tst-gettext2.sh: Check every lang file for creation.
15388
15389 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15390
15391 * sysdeps/aarch64/fpu/math_private.h
15392 (libc_feholdsetround_noex_aarch64_ctx): New function.
15393
15394 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15395
15396 * sysdeps/arm/armv6/strcpy.S (strcpy):
15397 Fix performance issue in misaligned cases.
15398
15399 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15400
15401 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15402 Move definition from termios.h.
15403 (struct termio): Likewise.
15404 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15405 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15406 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15407 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15408 Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15410 Move definition to ioctl-types.h
15411 (struct termio): Likewise.
15412 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15413 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15414 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15415 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15416 Likewise.
15417
15418 2014-08-05 Richard Henderson <rth@redhat.com>
15419
15420 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15421 exceptions.
15422 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15423 Add fraiseexcpt.
15424 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15425 Use __feraiseexcept.
15426 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15427 Protect libm symbols with IS_IN_libm.
15428
15429 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15430
15431 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15432
15433 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15434
15435 2014-08-04 Will Newton <will.newton@linaro.org>
15436
15437 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15438 file.
15439
15440 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15441
15442 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15443 variants for each function.
15444
15445 2014-08-04 Roland McGrath <roland@hack.frob.com>
15446
15447 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15448 appended ...
15449 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15450 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15451 appended ...
15452 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15453 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15454 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15455 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15456 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15457 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15458 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15459 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15460 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15461 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15462 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15463 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15464 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15465 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15466 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15467 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15468 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15469 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15470 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15471 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15472 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15473 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15474 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15475 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15476 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15477 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15478 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15479 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15480 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15481 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15482 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15483 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15484 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15485 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15486 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15487 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15488 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15489 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15490 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15491 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15492 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15494 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15496 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15498 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15500 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15502 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15503 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15504 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15505 Update #include.
15506 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15507 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15508
15509 2014-08-04 Roland McGrath <roland@hack.frob.com>
15510
15511 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15512 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15513 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15514 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15515 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15516 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15517
15518 2014-08-04 Roland McGrath <roland@hack.frob.com>
15519
15520 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15521 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15522 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15523 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15524
15525 2014-08-04 Roland McGrath <roland@hack.frob.com>
15526
15527 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15528 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15529 (__libc_vfork): Define function under this name.
15530 (__vfork): Define as an alias.
15531 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15532 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15533
15534 2014-08-04 Roland McGrath <roland@hack.frob.com>
15535
15536 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15537 that was previously under [RESET_PID].
15538 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15539
15540 2014-08-04 Andreas Schwab <schwab@suse.de>
15541
15542 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15543
15544 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15545
15546 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15547 (main): Likewise.
15548
15549 2014-08-01 Roland McGrath <roland@hack.frob.com>
15550
15551 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15552
15553 2014-08-01 Richard Henderon <rth@redhat.com>
15554
15555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15556 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15557 typo in exact zero test.
15558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15561
15562 2014-08-01 Roland McGrath <roland@hack.frob.com>
15563
15564 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15565 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15566 * sysdeps/arm/sysdep.h: ... here.
15567 [!__ASSEMBLER__]: Include <stdint.h>.
15568
15569 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15570
15571 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15572 (HAVE_WCTYPE_H): Likewise.
15573 (HAVE_ISWCTYPE): Likewise.
15574 (ENABLE_NLS): Likewise.
15575 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15576 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15577
15578 * posix/regex_internal.c: Check if DEBUG is defined and is
15579 set.
15580
15581 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15582 (HAVE_MBSRTOWCS): Likewise.
15583 * posix/fnmatch.c: Include string.h unconditionally.
15584
15585 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15586
15587 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15588 reversal.
15589
15590 2014-07-31 Roland McGrath <roland@hack.frob.com>
15591
15592 * sysdeps/generic/safe-fatal.h: New file.
15593 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15594 * nptl/forward.c: Include it.
15595 (__pthread_unwind): Use __safe_fatal as default action, rather
15596 than a bogus use of INTERNAL_SYSCALL that could never work.
15597
15598 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15599 * configure.ac (libc_cv_builtin_trap): New test.
15600 * configure: Regenerated.
15601 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15602 (ABORT_INSTRUCTION): Define using __builtin_trap.
15603
15604 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15605 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15606 * sysdeps/nptl/nptl-signals.h: New file.
15607 * nptl/pthreadP.h: Include <nptl-signals.h>.
15608
15609 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15610
15611 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15612 (ONE_DIRECTION): Define.
15613 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15614 (ONE_DIRECTION): Define.
15615 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15616 (ONE_DIRECTION): Define.
15617
15618 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15619
15620 * sysdeps/s390/Makefile: Delete file.
15621 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15622 * sysdeps/s390/__longjmp.c: Delete file.
15623 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15624 Remove fields __flags and __reserved.
15625 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15626 and add versioning.
15627 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15628 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15629 * sysdeps/s390/rtld-setjmp.S: Likewise.
15630 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15631 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15632 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15633 * sysdeps/s390/s390-32/setjmp.S: ... here.
15634 Add versioning.
15635 (__sigsetjmp): Remove setting __flags field.
15636 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15637 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15638 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15639 * sysdeps/s390/s390-64/setjmp.S: ... here.
15640 Add versioning.
15641 (__sigsetjmp): Remove setting __flags field.
15642 * sysdeps/s390/setjmp.S: Delete file.
15643 * sysdeps/s390/sigjmp.c: Likewise.
15644 * sysdeps/s390/v1-longjmp.c: Likewise.
15645 * sysdeps/s390/v1-setjmp.h: Likewise.
15646 * sysdeps/s390/v1-sigjmp.c: Likewise.
15647 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15648 Remove v1-longjmp_chk.
15649 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15650 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15651 Include debug/longjmp_chk.c and add versioning.
15652 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15653 Include nptl/pt-longjmp.c and add versioning.
15654 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15655 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15656 Include __longjmp.c.
15657 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15658 Move to ...
15659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15660 (__getcontext): Remove setting __flags field.
15661 Add versioning.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15663 Don't restore upper high grps.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15665 Likewise.
15666 (__swapcontext): Remove setting uc_flags field.
15667 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15668 Delete file.
15669 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15670 Include __longjmp.c.
15671 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15672 Move to ...
15673 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15674 (__getcontext): Remove setting __flags field.
15675 Add versioning.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15677 (__swapcontext): Remove setting uc_flags field.
15678 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15680 Remove fields uc_high_gprs and __reserved.
15681 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15682 New file with reverted content.
15683 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15684 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15685 Regenerated.
15686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15687 Regenerated.
15688
15689 2014-07-31 Andreas Schwab <schwab@suse.de>
15690
15691 * config.h.in (HAVE_IFUNC): Define to 0.
15692 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15693 definedness.
15694
15695 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15696
15697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15698 memmove-avx-unaligned, memcpy-avx-unaligned and
15699 mempcpy-avx-unaligned.
15700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15701 Add tests for AVX memcpy functions.
15702 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15703 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15704 memcpy_chk.
15705 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15706 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15707 memmove_chk.
15708 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15709 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15710 mempcpy_chk.
15711 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15712 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15713 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15714
15715 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15716
15717 [BZ #17213]
15718 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15719 powerpc64le.
15720
15721 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15722
15723 [BZ #16839]
15724 * manual/llio.texi: Add section about open file description locks.
15725 * manual/examples/ofdlocks.c: Example of open file description
15726 lock usage.
15727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15728 F_OFD_SETLK, and F_OFD_SETLKW.
15729
15730 2014-07-23 Allan McRae <allan@archlinux.org>
15731
15732 * po/es.po: Update Spanish translation from translation project.
15733
15734 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15735
15736 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15737
15738 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15739
15740 [BZ #17078]
15741 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15742 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15743 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15744
15745 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15746
15747 [BZ #17088]
15748 * math/fesetenv.c (__fesetenv)
15749 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15750 * math/feupdateenv.c (__feupdateenv)
15751 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15752
15753 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15754 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15755 (__ASSUME_SOCKETCALL): Do not define.
15756
15757 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15758 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15759 (__ASSUME_SOCKETCALL): Do not define.
15760 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15761 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15762 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15763 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15764 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15765 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15766 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15767 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15768
15769 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15770 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15771 (__ASSUME_SOCKETCALL): Do not define.
15772 (__ASSUME_IPC64): Define unconditionally.
15773 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15774 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15775 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15776 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15777 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15778 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15779 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15780 Likewise.
15781
15782 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15783 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15784 (__ASSUME_SOCKETCALL): Do not define.
15785 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15786 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15787 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15788 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15789 (__ASSUME_REQUEUE_PI): Define unconditionally.
15790 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15791 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15792 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15793 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15794 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15795 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15796
15797 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15798 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15799 (__ASSUME_SOCKETCALL): Do not define.
15800 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15801 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15802 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15803 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15804 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15805 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15806
15807 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15808 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15809 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15810 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15811 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15812 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15813 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15814 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15815 (__ASSUME_GETCPU_SYSCALL): Likewise.
15816
15817 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15818 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15819 cases for individual architectures.
15820 * sysdeps/gnu/configure: Regenerated.
15821 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15822 LIBC_SLIBDIR_RTLDDIR.
15823 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15824 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15825 LIBC_SLIBDIR_RTLDDIR.
15826 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15828 LIBC_SLIBDIR_RTLDDIR.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15830 Regenerated.
15831 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15832 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15833 file.
15834 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15835 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15836 file.
15837 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15838 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15839 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15840 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15841
15842 * sysdeps/aarch64/shlib-versions: Move to ...
15843 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15844 * sysdeps/alpha/shlib-versions: Move to ...
15845 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15846 * sysdeps/arm/shlib-versions: Move to ...
15847 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15848 * sysdeps/hppa/shlib-versions: Move all contents except for
15849 libgcc_s entry to ...
15850 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15851 entry from ...
15852 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15853 * sysdeps/ia64/shlib-versions: Move to ...
15854 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15855 entry from ...
15856 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15857 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15858 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15859 * sysdeps/microblaze/shlib-versions: Move to ...
15860 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15861 * sysdeps/mips/shlib-versions: Move to ...
15862 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15863 entry from ...
15864 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15865 * sysdeps/tile/shlib-versions: Move to ...
15866 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15867 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15868 from ...
15869 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15870 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15871 entry from ...
15872 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15873
15874 2014-07-17 Will Newton <will.newton@linaro.org>
15875
15876 * sysdeps/arm/bits/atomic.h
15877 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15878 (__arch_compare_and_exchange_bool_16_int): Likewise.
15879 (__arch_compare_and_exchange_bool_64_int): Likewise.
15880
15881 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15882 into an #else block.
15883
15884 2014-07-16 Roland McGrath <roland@hack.frob.com>
15885
15886 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15887 just Linux configurations. Test empirically that the compiler sets
15888 __ARM_EABI__, rather than using the tuple to decide.
15889 * sysdeps/arm/preconfigure: Regenerated.
15890 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15891 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15892 contents appended ...
15893 * sysdeps/arm/configure.ac: ... here.
15894 * sysdeps/arm/configure: Regenerated.
15895
15896 2014-07-15 Roland McGrath <roland@hack.frob.com>
15897
15898 * nptl/pthread_kill.c: New file.
15899 * nptl/pthread_sigmask.c: New file.
15900 * nptl/pthread_sigqueue.c: New file.
15901
15902 * sysdeps/nptl/lowlevellock.h: New file.
15903 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15904 * sysdeps/nptl/lowlevellock-futex.h: New file.
15905
15906 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15907 Remove dead declarations.
15908
15909 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
15910
15911 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15912 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15913 config-cflags-avx2.
15914 * sysdeps/x86_64/configure.ac: Likewise.
15915 * sysdeps/i386/configure: Regenerated.
15916 * sysdeps/x86_64/configure: Likewise.
15917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15918 memset-avx2 only if config-cflags-avx2 is yes.
15919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15920 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15921 defined.
15922 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15923 only if HAVE_AVX2_SUPPORT is defined.
15924 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15925
15926 2014-07-14 Alan Modra <amodra@gmail.com>
15927
15928 [BZ #17153]
15929 * elf/elf.h (DT_PPC64_NUM): Correct value.
15930 * NEWS: Add to fixed bug list.
15931
15932 2014-07-13 Jim Meyering <meyering@fb.com>
15933
15934 [BZ 17150]
15935 regex: don't deref NULL upon heap allocation failure
15936 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15937 failure in one more place.
15938 To trigger the segfault, configure grep -with-included-regex,
15939 build it, and run these commands:
15940 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15941
15942 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
15943
15944 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15945
15946 2014-07-11 Richard Henderson <rth@redhat.com>
15947
15948 * sysdeps/aarch64/libm-test-ulps: Update.
15949
15950 2014-07-10 Florian Weimer <fweimer@redhat.com>
15951
15952 [BZ #17135]
15953 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15954 * nptl/allocatestack.c (__nptl_setxid_error): New function.
15955 (__nptl_setxid): Initialize error member. Call
15956 __nptl_setxid_error.
15957 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15958 * nptl/descr.h (struct xid_command): Add error member.
15959 * nptl/tst-setuid3.c: New file.
15960 * nptl/Makefile (tests): Add it.
15961
15962 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15963
15964 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15965 New define.
15966 (__lll_trylock): Use __lll_base_trylock.
15967 (__lll_cond_trylock): Likewise.
15968
15969 2014-07-10 Roland McGrath <roland@hack.frob.com>
15970
15971 * nptl/pthread_create.c (start_thread): Use atomic_or and
15972 lll_futex_wake directly rather than lll_robust_dead.
15973 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15974 (lll_robust_dead): Macro removed.
15975 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15976 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15977 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15978 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15979 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15980 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15981 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15982 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15983 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15985 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15986 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15987 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15988 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15989 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15990
15991 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15992 Use atomic_compare_and_exchange_val_acq directly rather than
15993 lll_robust_trylock.
15994 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15995 (__lll_robust_trylock, lll_robust_trylock): Removed.
15996 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15997 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15998 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15999 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16000 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16001 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16002 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16003 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16006 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16007 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16008 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16009 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16010
16011 2014-07-02 Florian Weimer <fweimer@redhat.com>
16012
16013 * manual/locale.texi (Locale Names): New section documenting
16014 locale name syntax. Adjust menu and node chaining accordingly.
16015 (Choosing Locale): Reference Locale Names, Locale Categories.
16016 Mention setting LC_ALL=C. Reflect that name syntax is now
16017 documented.
16018 (Locale Categories): New section title. Reference Locale Names.
16019 LC_ALL is an environment variable, but not a category.
16020 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16021 description, now in Locale Name. Reference that section. Locale
16022 name syntax is now documented.
16023
16024 2014-07-02 Florian Weimer <fweimer@redhat.com>
16025
16026 [BZ #17137]
16027 * locale/findlocale.c (name_present, valid_locale_name): New
16028 functions.
16029 (_nl_find_locale): Use the loc_name variable to store name
16030 candidates. Call name_present and valid_locale_name to check and
16031 validate locale names. Return an error if the locale is invalid.
16032
16033 2014-07-02 Florian Weimer <fweimer@redhat.com>
16034
16035 * locale/setlocale.c (setlocale): Use strdup for allocating
16036 composite name copy.
16037
16038 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16039
16040 Sync up with gnulib.
16041 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16042 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16043 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16044 and _GL_ARG_NONNULL.
16045 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16046 [!_LIBC]: Include code for Windows and Cygwin.
16047 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16048 Include prototype for int strerror_r.
16049 [!_LIBC] (is_open): New function.
16050 (flush_stdout): New function.
16051 (print_errno_message): Use it.
16052 (error): Likewise.
16053 (error_at_line): Likewise.
16054 (error_tail) Add function attribute macros. Use
16055 __builtin_expect.
16056
16057 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16058
16059 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16060
16061 * io/ftw.c: Include sys/param.h unconditionally.
16062
16063 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16064
16065 [BZ #17125]
16066 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16067 libc_freeres_ptr.
16068 (freecache): New function to free CACHE on exit.
16069
16070 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16071 initialization.
16072
16073 2014-07-09 David S. Miller <davem@davemloft.net>
16074
16075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16076
16077 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16078 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16079 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16080 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16081 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16082 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16083 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16084 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16085 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16086 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16087 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16088 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16089 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16090
16091 2014-07-09 Andreas Schwab <schwab@suse.de>
16092
16093 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16094 output.
16095 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16096 (do_test): Likewise.
16097
16098 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16099
16100 2014-07-09 Will Newton <will.newton@linaro.org>
16101
16102 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16103 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16104 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16105 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16106 * sysdeps/hppa/start.S (_start): Likewise.
16107
16108 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16109
16110 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16111
16112 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16113 defined.
16114
16115 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16116
16117 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16118 after checking that it is non-NULL.
16119
16120 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16121
16122 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16123
16124 * sysdeps/powerpc/memmove.c: Remove file.
16125 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16126 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16128 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16130 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16131 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16132 string memmove instead of removed powerpc one.
16133
16134 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16135 [weak_alias]: Fix compiler warning due trailing data.
16136 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16137 [weak_alias]: Likewise.
16138 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16139 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16140
16141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16142 (__libc_ifunc_impl_list): Add memmove functions.
16143
16144 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16145
16146 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16147 Remove code.
16148 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16149 Likewise
16150 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16151 Likewise
16152 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16153 Likewise
16154 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16155 Likewise
16156 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16157 Likewise
16158 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16159 Likewise
16160 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16161 Likewise
16162 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16163 Likewise
16164 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16165 Likewise
16166 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16167 Likewise
16168 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16169 Likewise
16170 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16171 Likewise
16172 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16173 Likewise
16174 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16175 Likewise
16176 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16177 Likewise
16178 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16179 Likewise
16180
16181 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16182
16183 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16184 to avoid alignment traps in non-cacheable memory.
16185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16186
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16188 multiarch objects.
16189 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16190 file: multiarch power7 memmove.
16191 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16192 multiarch default memmove.
16193 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16194 multiarch memove for powerpc32/power4.
16195
16196 * string/bcopy.c: Use full path to include memmove.c.
16197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16198 multiarch objects.
16199 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16200 bcopy for powerpc64.
16201 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16202 bcopy for powerpc64.
16203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16204 and memmove implementations.
16205 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16206 optimized multiarch memmove for POWER7/powerpc64.
16207 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16208 default multiarch memmove for powerpc64.
16209 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16210 multiarch for powerpc64.
16211 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16212 for POWER7/powerpc64.
16213 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16214 memmove for POWER7/powerpc64.
16215
16216 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16217 glibc default one.
16218
16219 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16220 __ELF_NATIVE_CLASS equal to 64.
16221
16222 2014-07-07 Roland McGrath <roland@hack.frob.com>
16223
16224 * sysdeps/nptl/lowlevellock.h: File removed.
16225
16226 * NEWS: NPTL is no longer an add-on!
16227 * nptl/internaltypes.h: Moved ...
16228 * sysdeps/nptl/internaltypes.h: ... here.
16229 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16230 * sysdeps/nptl/fork.c: Likewise.
16231 * sysdeps/nptl/gai_misc.h: Likewise.
16232 * sysdeps/nptl/librt-cancellation.c: Likewise.
16233 * sysdeps/nptl/jmp-unwind.c: Likewise.
16234 * sysdeps/nptl/setxid.h: Likewise.
16235 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16236 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16237 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16238 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16239 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16240 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16241 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16242 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16243 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16244 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16245 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16246 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16247 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16248 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16249 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16250 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16252 * nptl/Makeconfig: Moved ...
16253 * sysdeps/nptl/Makeconfig: ... here.
16254 * nptl/configure: File removed.
16255 * nptl/ANNOUNCE: File removed.
16256 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16257 * sysdeps/unix/sysv/linux/configure: Regenerated.
16258
16259 * nptl/Makefile (routines): Add libc_pthread_init,
16260 libc_multiple_threads, register-atfork and unregister-atfork.
16261 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16262 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16263 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16264 pthread-pi-defines.sym, structsem.sym.
16265 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16266 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16267 [$(subdir) = nptl] (tests): Add tst-setgetname.
16268 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16269 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16270 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16271 [!LIBC_SIGACTION]: Remove aliases.
16272 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16273 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16274 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16275 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16276 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16277 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16280 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16281 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16282 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16283 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16284 __libc_allocate_rtsig_private.
16285 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16286 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16287 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16288 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16289 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16290 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16291 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16292 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16293 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16294 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16295 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16296 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16297 * nptl/internaltypes.h: ... here.
16298 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16299 * sysdeps/nptl/jmp-unwind.c: ... here.
16300 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16301 * nptl/libc-lowlevellock.c: ... here.
16302 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16303 * nptl/libc_multiple_threads.c: ... here.
16304 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16305 * nptl/libc_pthread_init.c: ... here.
16306 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16307 * nptl/lowlevelbarrier.sym: ... here.
16308 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16309 * nptl/lowlevelcond.sym: ... here.
16310 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16311 * nptl/lowlevellock.c: ... here.
16312 * nptl/lowlevellock.h: Moved ...
16313 * sysdeps/nptl/lowlevellock.h: ... here.
16314 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16315 * nptl/lowlevelrobustlock.c: ... here.
16316 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16317 * nptl/lowlevelrobustlock.sym: ... here.
16318 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16319 * nptl/lowlevelrwlock.sym: ... here.
16320 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16321 * nptl/pt-fork.c: ... here.
16322 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16323 * nptl/pthread-pi-defines.sym: ... here.
16324 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16325 * nptl/pthread_attr_getaffinity.c: ... here.
16326 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16327 * nptl/pthread_attr_setaffinity.c: ... here.
16328 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16329 * nptl/pthread_mutex_cond_lock.c: ... here.
16330 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16331 Update #include.
16332 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16333 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16334 * nptl/pthread_once.c: ... here, replacing old file.
16335 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16336 * nptl/pthread_yield.c: ... here.
16337 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16338 * nptl/register-atfork.c: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16340 * nptl/sem_post.c: ... here.
16341 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16342 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16343 * nptl/sem_timedwait.c: ... here.
16344 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16345 * nptl/sem_trywait.c: ... here.
16346 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16347 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16348 * nptl/sem_wait.c: ... here.
16349 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16350 * nptl/structsem.sym: ... here.
16351 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16352 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16353 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16354 * nptl/unregister-atfork.c: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16356 * nptl/unwindbuf.sym: ... here.
16357 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16358 * sysdeps/nptl/fork.c: ... here.
16359 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16360 * sysdeps/nptl/fork.h: ... here.
16361 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16362 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16363 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16364 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16365 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16366 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16367 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16368 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16369 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16370 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16371 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16372 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16373 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16374 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16375 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16376 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16377 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16379 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16380 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16381 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16382 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16383 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16384 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16385 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16387 * sysdeps/unix/sysv/linux/raise.c: ... here.
16388 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16389 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16390 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16391 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16392 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16393 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16394 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16395 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16396 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16397 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16399 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16401 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16402 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16403
16404 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16405
16406 * sysdeps/generic/memcopy.h: Add comment for
16407 MEMCPY_OK_FOR_FWD_MEMMOVE.
16408
16409 2014-07-04 Will Newton <will.newton@linaro.org>
16410
16411 * string/memchr.c: Merge from gnulib.
16412 [_LIBC]: Remove conditionals.
16413 (__ptr_t): Remove define.
16414 (LONG_MAX_32_BITS): Likewise.
16415 (LONG_MAX): Likewise.
16416 (MEMCHR): Use ANSI prototype and optimize algorithm.
16417
16418 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16419
16420 2014-07-03 Roland McGrath <roland@hack.frob.com>
16421
16422 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16423 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16424
16425 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16426 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16427 in a bare environment with no <stdlib.h> installed.
16428 * sysdeps/nptl/configure: Regenerated.
16429
16430 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16431
16432 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16433 AC_EGREP_CPP for kernel header checks, so they only succeed if
16434 including <linux/version.h> actually works right.
16435 * sysdeps/unix/sysv/linux/configure: Regenerated.
16436
16437 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16438 value so it's not diagnosed as unused.
16439
16440 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16441 thing) with "ifeq ($(subdir),rt)".
16442
16443 2014-07-03 Richard Henderson <rth@redhat.com>
16444
16445 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16446 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16447 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16448
16449 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16450 (math_force_eval): New.
16451
16452 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16453 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16454
16455 * sysdeps/alpha/fpu/s_round.c: Remove file.
16456 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16457
16458 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16459 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16460 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16461 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16462 (_dl_start, print_statistics): Likewise.
16463 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16464 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16465
16466 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16467 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16468 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16469 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16471 (HP_SMALL_TIMING_AVAIL): Define.
16472 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16473 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16474 (HP_SMALL_TIMING_AVAIL): Define.
16475 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16476 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16477
16478 * sysdeps/aarch64/hp-timing.h: New file.
16479
16480 * sysdeps/generic/hp-timing.h: Remove dead comment.
16481 * sysdeps/generic/hp-timing-common.h: New file.
16482 * sysdeps/alpha/hp-timing.h: Include it.
16483 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16484 * sysdeps/i386/i686/hp-timing.h: Likewise.
16485 * sysdeps/ia64/hp-timing.h: Likewise.
16486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16487 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16488 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16489 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16490 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16491 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16492 (hp_timing_t): New.
16493
16494 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16495 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16496 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16497 * elf/rtld.c (_dl_start_final): Likewise.
16498 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16499 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16500 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16501 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16502 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16504 (HP_TIMING_DIFF_INIT): Remove.
16505 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16506 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16507 (HP_TIMING_DIFF_INIT): Remove.
16508 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16509 * sysdeps/i386/i686/hp-timing.c: Remove file.
16510 * sysdeps/x86_64/hp-timing.c: Remove file.
16511 * sysdeps/ia64/hp-timing.c: Remove file.
16512 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16513 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16514 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16515 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16516
16517 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16518 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16519 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16520 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16522 (HP_TIMING_ACCUM): Remove.
16523 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16524 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16525 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16526
16527 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16528 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16529 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16530 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16532 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16533 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16534 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16535
16536 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16537
16538 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16539
16540 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16541
16542 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16543
16544 Sync up with gettext.
16545 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16546 [_MSC_VER]: Include malloc.h
16547 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16548 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16549 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16550 TEMP_FAILURE_RETRY. Cast return of alloca.
16551 [!_LIBC] Call gl_rwlock_init.
16552 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16553
16554 2014-07-02 Roland McGrath <roland@hack.frob.com>
16555
16556 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16557 before checking its value.
16558
16559 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16560
16561 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16562
16563 * debug/memcpy_chk.c: Don't include pagecopy.h.
16564 * debug/mempcpy_chk.c: Likewise.
16565 * string/memcpy.c: Likewise.
16566 * string/memmove.c: Likewise.
16567 * sysdeps/powerpc/memmove.c: Likewise.
16568 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16569 definition of PAGE_COPY_FWD_MAYBE here...
16570 * sysdeps/generic/pagecopy.h: ... from here.
16571 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16572
16573 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16574 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16575
16576 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16578 optimizations.
16579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16580 (__libc_ifunc_impl_list): Likewise.
16581 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16582 multiarch strcat for PPC64.
16583 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16584 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16585
16586 2014-07-02 Roland McGrath <roland@hack.frob.com>
16587
16588 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16589
16590 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16591
16592 * intl/loadmsgcat.c: Remove declaration of
16593 get_sysdep_segment_value.
16594 (get_sysdep_segment_value): Use ISO C style.
16595 (_nl_load_domain): Use ISO C style. Get rid of redundant
16596 semicolon. Fix typo and formatting in comment.
16597 (_nl_unload_domain): Use ISO C style.
16598
16599 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16600
16601 2014-07-02 Will Newton <will.newton@linaro.org>
16602
16603 * malloc/obstack.c: Merge from gnulib master.
16604 [HAVE_CONFIG_H]: Remove conditional code.
16605 [!_LIBC]: Include config.h.
16606 [!ELIDE_CODE]: Don't include inttypes.h, include
16607 stdint.h unconditionally.
16608 (print_and_abort): Mark as _Noreturn.
16609 (_obstack_allocated_p): Mark as __attribute_pure__.
16610 (obstack_free): Rename to __obstack_free.
16611 [!__attribute__]: Remove conditional code.
16612 * malloc/obstack.h: Merge from gnulib master.
16613 [__cplusplus]: Move conditional down.
16614 [!__attribute_pure__]: Define __attribute_pure__ here
16615 if it is not already defined.
16616 (_obstack_memory_used): Mark as __attribute_pure__.
16617 [!__obstack_free]: Define as obstack_free.
16618 [__GNUC__]: Remove check for ancient NeXT gcc.
16619
16620 2014-07-02 Will Newton <will.newton@linaro.org>
16621 Paul Eggert <eggert@cs.ucla.edu>
16622
16623 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16624
16625 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16626
16627 * resolv/gethnamaddr.c: Add comment warning that the file is
16628 not maintained.
16629
16630 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16631
16632 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16633 entries.
16634
16635 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16636 entry for aio_cancel and aio_cancel64.
16637 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16638 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16639 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16640 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16641 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16642 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16643 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16644 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16645 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16646 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16647 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16648 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16649 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16650
16651 2014-07-01 Roland McGrath <roland@hack.frob.com>
16652
16653 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16654 * nptl/pthread_mutex_lock.c: Likewise.
16655 * nptl/pthread_mutex_timedlock.c: Likewise.
16656 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16657
16658 2014-07-01 Richard henderson <rth@redhat.com>
16659
16660 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16661 (__isnan, __isnanl): Remove.
16662 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16663
16664 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16665
16666 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16667
16668 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16669
16670 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16671
16672 * resolv/nss_dns/dns-host.c (getanswer_r)
16673 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16674
16675 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16676
16677 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16678 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16679 undefine.
16680 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16681 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16682
16683 2014-07-01 Roland McGrath <roland@hack.frob.com>
16684
16685 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16686 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16687
16688 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16689 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16690
16691 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16692 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16693 ... here.
16694 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16695 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16696
16697 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16698 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16699 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16700 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16701
16702 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16703 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16704 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16705 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16706 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16707 Moved ...
16708 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16709 ... here.
16710 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16711 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16712 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16713 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16714 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16715 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16716 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16717 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16718 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16719 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16720 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16721 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16722 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16723 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16724 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16725 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16726 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16727 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16728 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16729 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16730 ... here.
16731 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16732 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16733 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16734 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16735 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16736 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16737 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16738 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16739
16740 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16741
16742 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16743 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16744 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16745 Add sysdep.
16746
16747 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16748
16749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16750
16751 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16752
16753 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16754 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16755
16756 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16757
16758 * sysdeps/arm/libm-test-ulps: Regenerated.
16759
16760 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16761 Roland McGrath <roland@hack.frob.com>
16762
16763 * test-skeleton.c (signal_handler): Kill the whole process group
16764 before killing the child individually.
16765 (main): Report any failure on `setpgid'.
16766
16767 2014-06-30 Roland McGrath <roland@hack.frob.com>
16768
16769 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16770 from _TLS_H to _ARM_NPTL_TLS_H.
16771 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16772 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16773
16774 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16775
16776 [BZ #16539]
16777 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16778 (__expm1l): Return argument unchanged when small but not
16779 subnormal.
16780
16781 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16782 include macro name.
16783 (_FP_UNPACK_RAW_1_P): Likewise.
16784 (_FP_PACK_RAW_1): Likewise.
16785 (_FP_PACK_RAW_1_P): Likewise.
16786 (_FP_MUL_MEAT_1_wide): Likewise.
16787 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16788 (_FP_MUL_MEAT_1_hard): Likewise.
16789 (_FP_DIV_MEAT_1_imm): Likewise.
16790 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16791 (_FP_DIV_MEAT_1_udiv): Likewise.
16792 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16793 (_FP_UNPACK_RAW_2): Likewise.
16794 (_FP_UNPACK_RAW_2_P): Likewise.
16795 (_FP_PACK_RAW_2): Likewise.
16796 (_FP_PACK_RAW_2_P): Likewise.
16797 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16798 (_FP_MUL_MEAT_2_wide): Likewise.
16799 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16800 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16801 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16802 (_FP_MUL_MEAT_2_gmp): Likewise.
16803 (_FP_DIV_MEAT_2_udiv): Likewise.
16804 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16805 (_FP_FRAC_SRL_4): Likewise.
16806 (_FP_FRAC_SRST_4): Likewise.
16807 (_FP_FRAC_SRS_4): Likewise.
16808 (_FP_UNPACK_RAW_4): Likewise.
16809 (_FP_UNPACK_RAW_4_P): Likewise.
16810 (_FP_PACK_RAW_4): Likewise.
16811 (_FP_PACK_RAW_4_P): Likewise.
16812 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16813 (_FP_MUL_MEAT_4_wide): Likewise.
16814 (_FP_MUL_MEAT_4_gmp): Likewise.
16815 (umul_ppppmnnn): Likewise.
16816 (_FP_DIV_MEAT_4_udiv): Likewise.
16817 (__FP_FRAC_ADD_4): Likewise.
16818 (__FP_FRAC_SUB_3): Likewise.
16819 (__FP_FRAC_SUB_4): Likewise.
16820 (__FP_FRAC_DEC_3): Likewise.
16821 (__FP_FRAC_DEC_4): Likewise.
16822 (__FP_FRAC_ADDI_4): Likewise.
16823 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16824 (_FP_FRAC_SRL_8): Likewise.
16825 (_FP_FRAC_SRS_8): Likewise.
16826
16827 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16828 include macro name.
16829 (FP_UNPACK_RAW_EP): Likewise.
16830 (FP_PACK_RAW_E): Likewise.
16831 (FP_PACK_RAW_EP): Likewise.
16832 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16833 (_FP_ISSIGNAN): Likewise.
16834 (_FP_ADD_INTERNAL): Likewise.
16835 (_FP_FMA): Likewise.
16836 (_FP_CMP): Likewise.
16837 (_FP_SQRT): Likewise.
16838 (_FP_TO_INT): Likewise.
16839 (_FP_FROM_INT): Likewise.
16840 (FP_EXTEND): Likewise.
16841 (_FP_DIV_MEAT_N_loop): Likewise.
16842
16843 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16844
16845 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16846 throughout.
16847
16848 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16849
16850 [BZ #17097]
16851 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16852 result with correct sign in case of exponents that produce
16853 overflow except for X very close to 1.
16854
16855 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16856
16857 mktime: merge #if/#ifdef usage from glibc
16858 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16859 as that works with both Glibc's and Gnulib's style.
16860 See thread starting at Siddhesh Poyarekar's bug report at:
16861 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16862
16863 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16864
16865 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16866 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16867 * sysdeps/tile/tilegx/memmove.c: Remove file.
16868
16869 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16870
16871 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16872 abi-name definition.
16873 * scripts/soversions.awk: Do not handle or generate ABI lines.
16874 * shlib-versions: Remove ABI entries.
16875 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16876 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16877
16878 2014-06-27 Roland McGrath <roland@hack.frob.com>
16879
16880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16881 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16882 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16883 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16885 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16887 Moved ...
16888 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16889 ... here.
16890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16891 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16893 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16895 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16897 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16901 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16903 Moved ...
16904 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16908 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16910 Moved ...
16911 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16913 Moved ...
16914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16916 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16918 Moved ...
16919 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16921 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16923 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16925 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16927 Moved ...
16928 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16930 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16931 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16932 Moved ...
16933 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16934 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16935 Moved ...
16936 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16937 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16938 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16940 Moved ...
16941 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16942 ... here.
16943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16944 Identical file removed.
16945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16946 Moved ...
16947 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16948 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16949 Identical file removed.
16950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16951 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16953 Moved ...
16954 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16956 Identical file removed.
16957 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16958 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16960 Identical file removed.
16961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16962 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16963 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16964 Identical file removed.
16965 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16966 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16968 Identical file removed.
16969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16970 Moved ...
16971 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16973 Identical file removed.
16974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16975 Moved ...
16976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16977 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16978 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16980 Identical file removed.
16981 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16982 Moved ...
16983 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16984 ... here.
16985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16986 Identical file removed.
16987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16988 Moved ...
16989 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16990 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16991 Identical file removed.
16992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16993 Moved ...
16994 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16998 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17000 Moved ...
17001 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17002 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17003 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17004
17005 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17006 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17007 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17008 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17009 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17010
17011 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17012
17013 [BZ #17092]
17014 * nscd/nscd.c (monitor_child): Return exit status of child
17015 instead of return value from wait syscall.
17016
17017 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17018
17019 * configure.ac (libc_commonpagesize): Remove variable.
17020 (libc_relro_required): Likewise.
17021 (libc_cv_z_relro): Remove configure test.
17022 * configure: Regenerated.
17023 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17024 variable.
17025 (libc_relro_required): Likewise.
17026 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17027 (libc_relro_required): Likewise.
17028 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17029 (libc_relro_required): Likewise.
17030 * sysdeps/arm/preconfigure: Regenerated.
17031 * sysdeps/ia64/preconfigure: Remove file.
17032 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17033 variable.
17034 (libc_relro_required): Likewise.
17035
17036 [BZ #16561]
17037 [BZ #16562]
17038 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17039 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17040 recompute overflowing results in original rounding mode.
17041 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17042 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17043 recompute overflowing results in original rounding mode.
17044 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17045 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17046 recompute overflowing results in original rounding mode.
17047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17048 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17049 recompute overflowing results in original rounding mode.
17050 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17051 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17052 recompute overflowing results in original rounding mode.
17053 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17054 (libc_feholdsetround_ctx): New macro.
17055 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17056 * sysdeps/i386/fpu/libm-test-ulps: Update.
17057 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17058
17059 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17060
17061 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17062 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17063 corresponding .cpsetup call.
17064
17065 2014-06-26 Roland McGrath <roland@hack.frob.com>
17066
17067 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17068 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17069 * sysdeps/arm/Makefile [$(subdir) = csu]
17070 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17071 (static-only-routines): Add aeabi_read_tp here.
17072 (shared-only-routines): Add libc-aeabi_read_tp here.
17073 (CFLAGS-libc-start.c): Add -fexceptions here.
17074 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17075 (sysdep_routines, static-only-routines, shared-only-routines):
17076 Don't add to these here.
17077 (CFLAGS-libc-start.c): Likewise.
17078
17079 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17080 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17081 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17082 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17083 * sysdeps/arm/Makefile [$(subdir) = rt]
17084 (librt-sysdep_routines, librt-shared-only-routines):
17085 Append rt-aeabi_unwind_cpp_pr1 here.
17086 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17087 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17088 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17089 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17090 Append nptl-aeabi_unwind_cpp_pr1 here.
17091 (tests): Filter out tst-cleanupx4 here.
17092 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17093 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17094 Don't do those here.
17095
17096 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17097
17098 * scripts/list-sources.sh: Do not handle ports specially.
17099
17100 2014-06-26 Roland McGrath <roland@hack.frob.com>
17101
17102 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17103 * sysdeps/arm/feupdateenv.c: Likewise.
17104
17105 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17106
17107 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17108
17109 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17110 trailing whitespace removed.
17111 * scripts/config.guess: Update to version 2014-03-23.
17112 * scripts/config.sub: Update to version 2014-05-01
17113 * scripts/install-sh: Update to version 2013-12-25.23.
17114 * scripts/move-if-change: Update from gnulib.
17115
17116 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17117
17118 * debug/memmove_chk.c: Remove pagecopy.h include.
17119
17120 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17121
17122 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17123 identical to gnulib mktime.
17124
17125 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17126
17127 * configure.ac: Do not test for machine being rs6000. Do not test
17128 for powerpc*-*soft.
17129 * configure: Regenerated.
17130
17131 [BZ #11505]
17132 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17133 test.
17134 * configure: Regenerated.
17135 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17136 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17137 Remove configure test.
17138 * sysdeps/arm/configure: Regenerated.
17139 * sysdeps/nptl/configure.ac: Do not check
17140 libc_cv_asm_cfi_directives.
17141 * sysdeps/nptl/configure: Regenerated.
17142 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17143 * sysdeps/x86_64/nptl/configure: Remove generated file.
17144 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17145 unconditional.
17146 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17147
17148 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17149
17150 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17151 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17152 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17153 it is defined.
17154
17155 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17156 instead of whether it is defined.
17157 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17158 * sysdeps/hppa/dl-machine.h: Likewise.
17159 * sysdeps/ia64/dl-machine.h: Likewise.
17160 * sysdeps/m68k/dl-machine.h: Likewise.
17161 * sysdeps/microblaze/dl-machine.h: Likewise.
17162 * sysdeps/mips/dl-machine.: Likewise.
17163 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17164 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17165 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17166 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17167 * sysdeps/sh/dl-machine.h: Likewise.
17168 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17169 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17170 * sysdeps/tile/dl-machine.h: Likewise.
17171 * sysdeps/x86_64/dl-machine.h: Likewise.
17172
17173 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17174 code.
17175 (verify_persistent_db): Likewise.
17176
17177 2014-06-26 Roland McGrath <roland@hack.frob.com>
17178
17179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17180 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17182 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17184 Moved ...
17185 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17186 ... here.
17187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17188 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17190 Identical file removed.
17191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17192 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17194 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17196 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17198 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17200 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17202 Moved ...
17203 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17205 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17209 Moved ...
17210 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17212 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17214 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17216 Identical file removed.
17217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17218 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17220 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17222 Moved ...
17223 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17224 ... here.
17225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17228 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17230 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17232 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17234 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17236 Moved ...
17237 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17239 Moved ...
17240 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17242 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17244 Moved ...
17245 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17247 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17248
17249 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17250 folded into ...
17251 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17252 * sysdeps/unix/sysv/linux/s390/Versions
17253 (libpthread: GLIBC_2.19): New version set.
17254 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17255 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17256 (librt: GLIBC_2.3.3): New version set.
17257 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17258 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17259 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17260 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17261 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17262 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17263 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17264 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17265 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17266 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17267 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17268 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17269 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17270 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17271 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17272 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17273 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17274 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17275 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17276 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17277 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17278 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17279 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17280 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17281 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17282 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17283 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17284 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17285 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17286 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17287 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17288 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17292 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17293 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17295 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17297 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17299 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17301 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17302
17303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17304 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17305 (__libc_vfork): Define the function under this name.
17306 [!NOT_IN_libc] (__vfork): Make this an alias.
17307 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17309 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17310 (__libc_vfork): Define the function under this name.
17311 [!NOT_IN_libc] (__vfork): Make this an alias.
17312 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17313 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17314 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17317 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17318
17319 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17320 code that was previously under [RESET_PID].
17321 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17322 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17324
17325 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17326 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17327 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17328 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17329 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17330 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17331 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17332 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17333 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17334 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17335 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17336 Moved ...
17337 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17338 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17339 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17340 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17341 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17342 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17343 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17344 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17345 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17346 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17347 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17348 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17349 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17350 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17351 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17352 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17353 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17354 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17355 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17356 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17359 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17360 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17361 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17362 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17363 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17364 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17365 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17366
17367 2014-06-25 Roland McGrath <roland@hack.frob.com>
17368
17369 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17370 that was previously under [RESET_PID].
17371 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17372
17373 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17374
17375 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17376 not undefine and redefine.
17377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17378 [O_CLOEXEC]: Make code unconditional.
17379 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17380 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17381 <kernel-features.h>.
17382 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17383 conditional variable definition.
17384 (shm_open) [O_CLOEXEC]: Make code unconditional.
17385 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17386 code.
17387
17388 * configure.ac (USE_REGPARMS): Don't define here.
17389 * configure: Regenerated.
17390 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17391 * sysdeps/i386/configure: Regenerated.
17392
17393 * nptl/createthread.c: Don't include kernel-features.h.
17394 * nptl/pthread_cancel.c: Likewise.
17395 * nptl/pthread_condattr_setclock.c: Likewise.
17396 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17397 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17398 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17399 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17400 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17401 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17402 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17405 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17406 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17407 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17408 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17409 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17410 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17411 * nscd/gai.c: Likewise.
17412 * nss/nss_db/db-open.c: Likewise.
17413 * sysdeps/generic/ldsodefs.h: Likewise.
17414 * sysdeps/sh/nptl/tls.h: Likewise.
17415 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17416 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17417 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17418 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17419 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17420 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17421 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17422 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17424 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17425 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17426 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17427 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17428 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17429 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17430 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17431 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17432 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17433 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17434 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17435 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17437 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17438 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17439 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17440 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17441 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17443 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17444 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17445 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17446 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17447 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17448 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17449 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17450 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17451 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17453 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17454 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17455 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17456 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17457 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17458 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17459 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17460 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17461 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17462 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17463 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17464 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17465 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17466 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17467 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17468 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17469 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17470 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17471 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17495 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17496 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17497 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17498 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17499 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17501 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17502 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17503 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17504 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17505 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17506 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17507 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17508 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17509 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17510 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17511 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17512 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17513 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17514 * sysdeps/unix/sysv/linux/system.c: Likewise.
17515 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17516 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17519 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17520 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17521 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17522
17523 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17524 * configure: Regenerated.
17525 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17526
17527 * configure.ac (base_machine): Do not set specially for particular
17528 machines here.
17529 * configure: Regenerated.
17530 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17531 settings from configure.ac.
17532 * sysdeps/i386/preconfigure: New file.
17533 * sysdeps/s390/preconfigure: Likewise.
17534 * sysdeps/sh/preconfigure: Likewise.
17535 * sysdeps/sparc/preconfigure: Likewise.
17536
17537 2014-06-25 Roland McGrath <roland@hack.frob.com>
17538
17539 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17540 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17541 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17542 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17543 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17544 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17545 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17546 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17547 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17548 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17549 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17550 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17551 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17552 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17553 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17554 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17556 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17557 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17558
17559 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17560 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17561 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17562 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17563 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17564 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17565 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17566 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17567 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17568 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17569 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17570 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17571 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17572 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17573 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17574 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17575 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17576 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17577 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17578 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17579 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17580 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17581 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17582 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17584 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17586 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17589 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17590 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17591 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17592 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17594 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17596 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17597
17598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17599 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17601 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17603 Moved ...
17604 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17605 ... here.
17606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17607 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17609 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17611 Moved ...
17612 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17614 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17618 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17620 Moved ...
17621 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17623 Moved ...
17624 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17626 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17628 Moved ...
17629 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17631 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17633 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17635 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17637 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17639 Moved ...
17640 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17641 ... here.
17642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17643 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17645 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17647 Moved ...
17648 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17650 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17652 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17654 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17656 Moved ...
17657 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17659 Moved ...
17660 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17662 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17664 Moved ...
17665 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17667 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17669 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17670
17671 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17672
17673 * timezone/checktab.awk: Update from tzcode 2014e.
17674 * timezone/private.h: Likewise.
17675 * timezone/tzfile.h: Likewise.
17676 * timezone/zdump.c: Likewise.
17677 * timezone/zic.c: Likewise.
17678
17679 * sysdeps/unix/sysv/linux/kernel-features.h
17680 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17682 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17683 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17684 Remove conditional code.
17685
17686 2014-06-25 Will Newton <will.newton@linaro.org>
17687
17688 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17689 (_dl_arm_cap_flags): Add HWCAP2 values.
17690 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17691 (_DL_HWCAP_COUNT): Increase to 37.
17692 (_DL_HWCAP_LAST): New define.
17693 (_DL_HWCAP2_LAST): New define.
17694 (_dl_procinfo): Add support for printing
17695 AT_HWCAP2 entries.
17696 (_dl_string_hwcap): Use _dl_hwcap_string.
17697
17698 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17699
17700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17701
17702 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17703
17704 * README: Do not mention ports directory.
17705
17706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17707 Remove macro.
17708 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17709 <kernel-features.h>.
17710 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17711 conditional variable definition.
17712 (__futimes): Update comment.
17713 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17714 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17715
17716 [BZ #16560]
17717 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17718 arguments close to 0.
17719 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17720 Likewise.
17721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17722 Likewise.
17723 * math/auto-libm-test-in: Add more tests of exp10.
17724 * math/auto-libm-test-out: Regenerated.
17725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17726
17727 * sysdeps/unix/sysv/linux/kernel-features.h
17728 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17729 * sysdeps/unix/sysv/linux/readv.c: Do not include
17730 <kernel-features.h>.
17731 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17732 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17733 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17734 unconditional.
17735 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17736 conditional code.
17737 * sysdeps/unix/sysv/linux/writev.c: Do not include
17738 <kernel-features.h>.
17739 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17740 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17741 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17742 unconditional.
17743 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17744 conditional code.
17745
17746 2014-06-25 Will Newton <will.newton@linaro.org>
17747
17748 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17749 comment changes throughout the file. Remove checks
17750 for HAVE_*_H definitions that are not required.
17751 (__gen_tempname): Call abort if an unknown kind value is
17752 passed.
17753
17754 2014-06-25 Andreas Schwab <schwab@suse.de>
17755
17756 [BZ #17086]
17757 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17758 scalbln, scalblnf, scalblnl in libc.
17759
17760 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17761
17762 [BZ #17086]
17763 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17764 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17765 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17766
17767 2014-06-24 Roland McGrath <roland@hack.frob.com>
17768
17769 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17770 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17771 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17772 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17773 Update #include.
17774 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17775 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17776 Update #include.
17777 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17778 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17779 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17780 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17781 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17782 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17783 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17784 * sysdeps/x86/bits/semaphore.h: ... here.
17785 * sysdeps/x86/nptl/elide.h: Moved ...
17786 * sysdeps/x86/elide.h: ... here.
17787 * sysdeps/x86_64/nptl/Implies: File removed.
17788 * sysdeps/i386/nptl/Implies: File removed.
17789
17790 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17791
17792 [BZ #16539]
17793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17794 return the argument for normal arguments with exponent below -64.
17795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17796 Likewise.
17797 * math/auto-libm-test-in: Add another test of expm1.
17798 * math/auto-libm-test-out: Regenerated.
17799
17800 [BZ #16287]
17801 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17802 calling __erfcl for arguments at least 16.
17803 * math/auto-libm-test-in: Add more tests of erf.
17804 * math/auto-libm-test-out: Regenerated.
17805
17806 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17807 individual architectures.
17808 * sysdeps/unix/sysv/linux/configure: Regenerated.
17809 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17810 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17811 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17812 (ldd_rewrite_script): Define variable.
17813 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17815 file.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17817 generated file.
17818 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17819 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17820 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17821 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17822 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17823 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17824 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17825 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17826
17827 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17828
17829 [BZ #17084]
17830 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17831 Rename member __data.d to __data.__elision_data.
17832
17833 2014-06-24 Wilco <wdijkstr@arm.com>
17834
17835 * NEWS: Add 16918 to fixed bug list.
17836
17837 2014-06-24 Wilco <wdijkstr@arm.com>
17838
17839 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17840
17841 2014-06-24 Wilco <wdijkstr@arm.com>
17842
17843 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17844 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17845 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17846 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17847 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17848 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17849 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17850 Use _FPU_MASK_RM.
17851
17852 2014-06-24 Wilco <wdijkstr@arm.com>
17853
17854 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17855
17856 2014-06-24 Wilco <wdijkstr@arm.com>
17857
17858 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17859 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17860 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17861 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17862
17863 2014-06-24 Wilco <wdijkstr@arm.com>
17864
17865 [BZ #16918]
17866 * sysdeps/arm/feupdateenv.c (feupdateenv):
17867 Rewrite to reduce FPSCR accesses and fix return value.
17868
17869 2014-06-24 Wilco <wdijkstr@arm.com>
17870
17871 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17872 Optimize to avoid unnecessary FPSCR writes.
17873 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17874 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17875 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17876 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17877
17878 2014-06-24 Wilco <wdijkstr@arm.com>
17879
17880 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17881 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17882 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17883 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17884 Call libc_fetestexcept_vfp.
17885 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17886 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17887 __SOFTFP__ ifdef so that they can be built for softfp.
17888
17889 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17890
17891 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17892 argument type signed char.
17893
17894 * Makerules (check-abi): Dump diff of symlist if the test
17895 fails.
17896
17897 2014-06-23 Roland McGrath <roland@hack.frob.com>
17898
17899 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17900 using abort.
17901
17902 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17903 Remove unused variable ST.
17904
17905 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17906
17907 [BZ #16354]
17908 [BZ #17061]
17909 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17910 small arguments before calling __expm1.
17911 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17912 small arguments before calling __expm1f.
17913 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17914 small arguments before calling __expm1l.
17915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17916 Likewise.
17917 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17918 * math/auto-libm-test-in: Add more cosh tests. Do not allow
17919 spurious underflow for some cosh tests.
17920 * math/auto-libm-test-out: Regenerated.
17921 * sysdeps/i386/fpu/libm-test-ulps: Update.
17922
17923 [BZ #17050]
17924 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17925 (__ieee754_y1): Set errno if return value overflows.
17926 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17927 (__ieee754_y1f): Set errno if return value overflows.
17928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17929 (__ieee754_y1l): Set errno if return value overflows.
17930 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17931 (__ieee754_y1l): Set errno if return value overflows.
17932 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17933 * math/auto-libm-test-out: Regenerated.
17934
17935 * math/gen-auto-libm-tests.c: Document use of
17936 ignore-zero-inf-sign.
17937 (input_flag_type): Add value flag_ignore_zero_inf_sign.
17938 (input_flags): Add ignore-zero-inf-sign.
17939 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17940 * math/gen-libm-test.pl (generate_testfile): Handle
17941 ignore-zero-inf-sign.
17942 * math/auto-libm-test-in: Mark some cpow tests with
17943 ignore-zero-inf-sign and some with xfail-rounding.
17944 * math/auto-libm-test-out: Regenerated.
17945 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17946 * sysdeps/i386/fpu/libm-test-ulps: Update.
17947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17948
17949 [BZ #16315]
17950 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17951 overflowing or underflowing operations take place with sign of
17952 result.
17953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17954 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17955 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17956 (__ieee754_pow): Recompute overflowing and underflowing results in
17957 original rounding mode.
17958 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17959 (__powl_helper): Allow negative argument X and scale negated value
17960 as needed. Avoid passing value outside [-1, 1] to f2xm1.
17961 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17962 overflowing or underflowing operations take place with sign of
17963 result.
17964 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17965 Include <math.h>.
17966 * math/auto-libm-test-in: Add more tests of pow.
17967 * math/auto-libm-test-out: Regenerated.
17968 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17969 (pow_tonearest_test_data): Remove.
17970 (pow_test_tonearest): Likewise.
17971 (pow_towardzero_test_data): Likewise.
17972 (pow_test_towardzero): Likewise.
17973 (pow_downward_test_data): Likewise.
17974 (pow_test_downward): Likewise.
17975 (pow_upward_test_data): Likewise.
17976 (pow_test_upward): Likewise.
17977 (main): Don't call removed functions.
17978 * sysdeps/i386/fpu/libm-test-ulps: Update.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17980
17981 2014-06-23 Roland McGrath <roland@hack.frob.com>
17982
17983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17984 Moved ...
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17987 Moved ...
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17990 Moved ...
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17993 Moved ...
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17996 File removed.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17998 File removed.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18000 File removed.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18002 File removed.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18004 File removed.
18005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18006 File removed.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18008 File removed.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18010 File removed.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18012 File removed.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18014 File removed.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18016 File removed.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18018 File removed.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18020 Moved ...
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18023 Moved ...
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18025 ... here.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18027 Moved ...
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18030 Moved ...
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18033 Moved ...
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18036 Moved ...
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18039 Moved ...
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18042 Moved ...
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18045 Moved ...
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18049 ... here.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18051 Moved ...
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18054 Moved ...
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18056 ... here.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18058 Moved ...
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18060 ... here.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18062 Moved ...
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18064 ... here.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18066 Moved ...
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18069 Moved ...
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18074 Moved ...
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18076 ... here.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18078 Moved ...
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18080 ... here.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18082 Moved ...
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18085 Moved ...
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18088 Moved ...
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18091 Moved ...
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18094 Moved ...
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18096 ... here.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18098 Moved ...
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18101 Moved ...
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18104 Moved ...
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18107 Moved ...
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18112 Moved ...
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18115 Moved ...
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18118 Moved ...
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18120 ... here.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18122 Moved ...
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18124 ... here.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18126 Moved ...
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18128 ... here.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18130 Moved ...
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18133 Moved ...
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18136 Moved ...
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18139 Moved ...
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18141 ... here.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18145 ... here.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18147 Moved ...
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18149 ... here.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18151 Moved ...
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18154 Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18156
18157 2014-06-23 Will Newton <will.newton@linaro.org>
18158 Wilco <wdijkstr@arm.com>
18159
18160 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18161 implementation. Include get-rounding-mode.h.
18162 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18163 [!libc_feholdsetround_noex_ctx]: Define
18164 libc_feholdsetround_noex_ctx.
18165 [!libc_feholdsetround_noexf_ctx]: Define
18166 libc_feholdsetround_noexf_ctx.
18167 [!libc_feholdsetround_noexl_ctx]: Define
18168 libc_feholdsetround_noexl_ctx.
18169 (libc_feholdsetround_ctx): New function.
18170 (libc_feresetround_ctx): New function.
18171 (libc_feholdsetround_noex_ctx): New function.
18172 (libc_feresetround_noex_ctx): New function.
18173
18174 2014-06-23 Roland McGrath <roland@hack.frob.com>
18175
18176 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18177 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18178 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18179 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18180 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18181 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18182
18183 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18184 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18185 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18186 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18187 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18188 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18190 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18192 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18194 Moved ...
18195 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18196 ... here.
18197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18198 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18200 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18202 Moved ...
18203 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18205 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18207 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18209 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18211 Moved ...
18212 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18214 Moved ...
18215 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18217 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18218 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18219 Moved ...
18220 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18222 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18223 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18224 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18225 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18226 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18227 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18228 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18229 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18230 Moved ...
18231 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18232 ... here.
18233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18234 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18235 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18236 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18237 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18238 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18240 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18242 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18244 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18246 Moved ...
18247 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18249 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18253 Moved ...
18254 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18256 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18258 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18259
18260 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18261 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18262 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18263 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18264 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18265 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18266 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18267 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18273 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18274 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18275 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18278 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18279 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18281 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18282 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18283 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18285 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18287 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18288
18289 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18290
18291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18292 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18293 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18294 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18295 (IPV6_PMTUDISC_INTERFACE): Likewise.
18296 (IPV6_PMTUDISC_OMIT): Likewise.
18297
18298 2014-06-23 Andreas Schwab <schwab@suse.de>
18299
18300 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18301 Remove unused errout label.
18302
18303 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18304
18305 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18306 macro: hardware supports Vector Crypto instructions.
18307
18308 2014-06-23 Will Newton <will.newton@linaro.org>
18309
18310 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18311 rather than __builtin_expect.
18312
18313 * elf/dl-lookup.c (undefined_msg): Remove variable.
18314 (_dl_lookup_symbol_x): Replace undefined_msg with string
18315 literal.
18316
18317 * elf/dl-lookup.c (do_lookup_unique): New function.
18318 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18319 to a separate function.
18320
18321 2014-06-23 Andreas Schwab <schwab@suse.de>
18322
18323 [BZ #17079]
18324 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18325 before reading the next line.
18326
18327 2014-06-23 Will Newton <will.newton@linaro.org>
18328
18329 * test-skeleton.c (signal_handler): Use printf and %m
18330 rather than perror. Use printf rather than fprintf to
18331 stderr. Use puts rather than fputs to stderr.
18332 (main): Likewise.
18333
18334 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18335
18336 * nscd/nscd.c (thread_info_t): Remove typedef.
18337 (thread_info): Remove variable.
18338
18339 2014-06-21 Allan McRae <allan@archlinux.org>
18340
18341 * NEWS: Mention CVE-2014-4043.
18342
18343 2014-06-20 Roland McGrath <roland@hack.frob.com>
18344
18345 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18346 * nptl/smp.h: ... here.
18347
18348 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18349
18350 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18351 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18352 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18353 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18354
18355 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18356 * nptl/stack-aliasing.h: New file.
18357 * sysdeps/i386/i686/stack-aliasing.h: New file.
18358 * sysdeps/i386/i686/nptl/Makefile: File removed.
18359 * sysdeps/x86_64/stack-aliasing.h: New file.
18360 * sysdeps/x86_64/nptl/Makefile
18361 (CFLAGS-pthread_create.c): Variable removed.
18362
18363 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18364 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18365 old file.
18366 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18367 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18368 old file.
18369
18370 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18371
18372 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18373 (__ASSUME_SIGFRAME_V2): Remove macro.
18374 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18375 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18376 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18377 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18378 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18379 Declare as function. Remove conditional macro definitions.
18380 (__default_rt_sa_restorer): Likewise.
18381 (__default_sa_restorer_v1): Remove declaration.
18382 (__default_sa_restorer_v2): Likewise.
18383 (__default_rt_sa_restorer_v1): Likewise.
18384 (__default_rt_sa_restorer_v2): Likewise.
18385 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18386 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18387 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18388
18389 2014-06-20 Roland McGrath <roland@hack.frob.com>
18390
18391 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18392 (libpthread-routines): Add sysdep.
18393 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18394 * sysdeps/unix/sysv/linux/sparc/Versions
18395 (libpthread: GLIBC_2.3.3): New version set.
18396 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18397 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18398 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18399 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18400 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18401 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18402 Moved ...
18403 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18404 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18405 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18406 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18407 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18408 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18409 * sysdeps/sparc/nptl/sem_init.c: ... here.
18410 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18411 * sysdeps/sparc/nptl/sem_post.c: ... here.
18412 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18413 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18414 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18415 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18416 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18417 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18418 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18419 (libpthread-routines): Add cpu_relax.
18420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18421 File removed.
18422 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18423 (librt: GLIBC_2.3.3): New version set.
18424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18425 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18427 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18430 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18432 Moved ...
18433 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18435 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18437 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18439 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18441 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18443 Moved ...
18444 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18445 Update #include.
18446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18447 Moved ...
18448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18449 Update #include.
18450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18451 Moved ...
18452 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18453 Update #include.
18454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18455 Moved ...
18456 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18457 Update #include.
18458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18459 Moved ...
18460 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18461 Update #include.
18462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18463 Moved ...
18464 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18465 Update #include.
18466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18467 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18473 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18475 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18477 Moved ...
18478 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18480 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18482 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18483
18484 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18485
18486 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18487 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18488 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18489 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18490 * nscd/nscd.c: Likewise.
18491 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18492 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18493 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18494 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18495
18496 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18497 <kernel-features.h>.
18498 (init_mq_netlink): Remove conditional have_sock_cloexec
18499 definitions. Remove code conditional on have_sock_cloexec < 0.
18500 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18501 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18502 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18503 <kernel-features.h>.
18504 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18505 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18506
18507 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18510 Add tests for memset_chk and memset.
18511
18512 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18513 with AVX2_Usable.
18514
18515 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18516
18517 [BZ #16046]
18518 * elf/tst-dl-iter-static.c: New file.
18519 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18520
18521 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18522 error.
18523
18524 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18525
18526 * sysdeps/unix/sysv/linux/kernel-features.h
18527 (__ASSUME_F_GETOWN_EX): Remove macro.
18528 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18529 <kernel-features.h>.
18530 (miss_F_GETOWN_EX): Remove variable or macro.
18531 (do_fcntl): Do not check miss_F_GETOWN_EX.
18532 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18533
18534 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18535 Remove macro.
18536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18537 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18538 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18539
18540 * sysdeps/unix/sysv/linux/kernel-features.h
18541 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18542 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18543 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18544 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18545
18546 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18547
18548 [BZ #17075]
18549 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18550 Fix calculation of the symbol's value.
18551 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18552 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18553 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18554 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18555 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18556 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18557 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18558 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18559 (modules-names): Add `tst-armtlsdescmod',
18560 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18561 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18562 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18563 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18564 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18565 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18566 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18567 ($(objpfx)tst-armtlsdescloc): New dependency.
18568 ($(objpfx)tst-armtlsdescextnow): Likewise.
18569 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18570 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18571 TLS scheme support.
18572 * sysdeps/arm/configure: Regenerate.
18573
18574 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18575
18576 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18577 (__atfct_seterrno_2): Likewise.
18578 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18579 <kernel-features.h>.
18580 (__ASSUME_ATFCTS): Do not undefine and redefine.
18581 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18582 (__have_atfcts): Remove conditional definition.
18583 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18584 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18585 unreachable if [__ASSUME_ATFCTS].
18586 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18587 not undefine and redefine.
18588 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18589 <kernel-features.h>.
18590 (faccessat) [__NR_faccessat]: Make code unconditional.
18591 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18592 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18593 <kernel-features.h>.
18594 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18595 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18596 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18597 <kernel-features.h>.
18598 (fchownat) [__NR_fchownat]: Make code unconditional.
18599 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18600 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18601 <kernel-features.h>.
18602 (futimesat) [__NR_futimesat]: Make code unconditional.
18603 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18604 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18605 <kernel-features.h>.
18606 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18607 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18608 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18609 <kernel-features.h>.
18610 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18611 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18612 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18613 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18614 <kernel-features.h>.
18615 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18616 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18617 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18618 <kernel-features.h>.
18619 (linkat) [__NR_linkat]: Make code unconditional.
18620 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18621 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18622 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18623 <kernel-features.h>.
18624 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18625 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18626 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18627 <kernel-features.h>.
18628 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18629 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18630 * sysdeps/unix/sysv/linux/openat.c: Do not include
18631 <kernel-features.h>.
18632 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18633 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18634 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18635 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18636 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18637 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18638 <kernel-features.h>.
18639 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18640 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18641 result of INLINE_SYSCALL directly, not via int variable.
18642 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18643 <kernel-features.h>.
18644 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18645 (renameat) [__NR_renameat]: Make code unconditional.
18646 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18647 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18648 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18649 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18650 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18651 (__ASSUME_ATFCTS): Do not undefine and redefine.
18652 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18653 <kernel-features.h>.
18654 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18655 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18656 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18657 <kernel-features.h>.
18658 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18659 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18660 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18661 (__ASSUME_ATFCTS): Do not undefine and redefine.
18662 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18663 <kernel-features.h>.
18664 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18665 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18666 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18667 <kernel-features.h>.
18668 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18669 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18670
18671 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18674
18675 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18676
18677 [BZ #17069]
18678 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18679 constructed tree before returning error.
18680 * posix/bug-regexp36.c: Expand test case.
18681
18682 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18683
18684 [BZ #6803]
18685 * math/libm-test.inc (scalbln_test_date):
18686 Add errno expectations.
18687 * math/w_scalblnf.c: New File.
18688 Add wrapper which checks for setting errno to ERANGE.
18689 Add weak_alias for corresponding scalbln function.
18690 * math/w_scalbln.c: Likewise.
18691 * math/w_scalblnl.c: Likewise.
18692 * math/Makefile (libm-calls): Add w_scalbln.
18693 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18694 Remove weak_alias for corresponding scalbln function.
18695 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18699 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18700 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18701 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18702 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18703 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18704 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18705 Remove long_double_symbol for scalblnl function in libm, libc.
18706 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18707 Add wrapper which checks for setting errno to ERANGE.
18708 Add long_double_symbol for scalblnl function in libm, libc.
18709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18710 Remove long_double_symbol for scalblnl in libm.
18711 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18712 Add wrapper which checks for setting errno to ERANGE.
18713 Add long_double_symbol for scalblnl function in libm.
18714 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18715 Do not use wrapper because of own implementation.
18716
18717 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18718
18719 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18720 3 bytes for __pad1 for x32.
18721 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18722
18723 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18724 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18727 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18728 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18729 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18730 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18731
18732 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18733
18734 [BZ #17069]
18735 * posix/regcomp.c (parse_expression): Deallocate partially
18736 constructed tree before returning error.
18737 * posix/Makefile.c (tests): Add bug-regex36.
18738 (generated): Add bug-regex36.mtrace.
18739 (tests-special): Add $(objpfx)bug-regex36-mem.out
18740 (bug-regex36-ENV): New variable.
18741 ($(objpfx)bug-regex36-mem.out): New rule.
18742 * posix/bug-regex36.c: New file.
18743
18744 2014-06-19 Will Newton <will.newton@linaro.org>
18745
18746 * malloc/malloc.c (systrim): If extra is zero then return
18747 early.
18748
18749 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18750
18751 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18752
18753 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18754
18755 * sysdeps/aarch64/strchr.S: New file.
18756
18757 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18758
18759 [BZ #17022]
18760 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18761 from arguments -2 or below.
18762 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18763 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18764
18765 2014-06-18 Andreas Schwab <schwab@suse.de>
18766
18767 [BZ #17062]
18768 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18769 of a bracket expr not to run off the end of the string.
18770 * posix/Makefile (tests): Add tst-fnmatch3.
18771 * posix/tst-fnmatch3.c: New file.
18772
18773 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18774
18775 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18776 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18777 [$(cross-compiling) = no]: Likewise.
18778 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18779 [$(cross-compiling) = no]: Likewise.
18780
18781 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18782
18783 [BZ #17031]
18784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18785 double, adjusted for any remainder from the high double.
18786 * math/libm-test.inc (nearbyint): Add tests.
18787 (rint): Likewise.
18788
18789 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18790
18791 * nptl/sysdeps/powerpc/Makefile: Moved ...
18792 * sysdeps/powerpc/nptl/Makefile: ... here.
18793 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18794 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18795 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18796 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18797 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18798 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18799 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18800 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18801 * nptl/sysdeps/powerpc/tls.h: Moved ...
18802 * sysdeps/powerpc/nptl/tls.h: ... here.
18803
18804 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18805
18806 [BZ #16681]
18807 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18808 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18809 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18810 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18811 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18812 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18813 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18814 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18815 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18816
18817 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18818
18819 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18820
18821 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18822
18823 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18824 defined operator.
18825
18826 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18827 $TIMEOUTFACTOR.
18828
18829 2014-06-16 Florian Weimer <fweimer@redhat.com>
18830
18831 [BZ #17058]
18832 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18833 non-executed part of the test.
18834
18835 2014-06-16 Andreas Schwab <schwab@suse.de>
18836
18837 * string/bits/string2.h (strdup, strndup): Update feature guard.
18838
18839 2014-06-14 David S. Miller <davem@davemloft.net>
18840
18841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18842
18843 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18844
18845 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18846 that was previously under [RESET_PID].
18847 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18848
18849 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18850 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18851 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18852 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18853 (__libc_vfork): New strong alias.
18854 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18855
18856 2014-06-14 Andi Kleen <ak@linux.intel.com>
18857
18858 * sysdeps/generic/elide.h: New file.
18859
18860 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18861
18862 * Makefile (installed-headers): Adjust path of pthread.h header.
18863
18864 2014-06-13 Roland McGrath <roland@hack.frob.com>
18865
18866 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18867 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18868 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18869 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18870
18871 * nptl/sysdeps/s390/Makefile: Moved ...
18872 * sysdeps/s390/nptl/Makefile: ... here.
18873 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18874 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18875 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18876 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18877 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18878 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18879 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18880 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18881 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18882 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18883 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18884 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18885 * nptl/sysdeps/s390/tls.h: Moved ...
18886 * sysdeps/s390/nptl/tls.h: ... here.
18887
18888 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18889 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18890
18891 2014-06-13 David S. Miller <davem@davemloft.net>
18892
18893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18896 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18900 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18901 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18902 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18903 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18904 Remove RESET_PID cpp guards.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18906 Remove RESET_PID cpp guards.
18907 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18908
18909 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
18910
18911 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18912 __sp to uintptr_t.
18913
18914 2014-06-13 Andi Kleen <ak@linux.intel.com>
18915
18916 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18917 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18918 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18920 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18922 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18923 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18924 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18926 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18927 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18929 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18930 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18931 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18932 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18933 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18934 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18936
18937 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18938 (pthread_rwlock_rdlock): Add elision.
18939 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18940 (pthread_rwlock_wrlock): Add elision.
18941 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18942 (pthread_rwlock_trywrlock): Add elision.
18943 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18944 (pthread_rwlock_tryrdlock): Add elision.
18945 * nptl/pthread_rwlock_unlock.c: Include elide.h.
18946 (pthread_rwlock_tryrdlock): Add elision unlock.
18947 * nptl/sysdeps/pthread/pthread.h:
18948 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18949 (PTHREAD_RWLOCK_INITIALIZER,
18950 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18951 Handle new elision field.
18952 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18953 * sysdeps/arm/nptl/bits/pthreadtypes.h
18954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18955 * sysdeps/sh/nptl/bits/pthreadtypes.h
18956 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18957 * sysdeps/tile/nptl/bits/pthreadtypes.h
18958 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18959 * sysdeps/a/nptl/bits/pthreadtypes.h
18960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18961 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18963 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18965 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18967 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18969 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18971 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18973 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18975 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18977 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18978 (elision_init): Set try_xbegin to zero when no RTM.
18979 * sysdeps/x86/nptl/bits/pthreadtypes.h
18980 (pthread_rwlock_t): Change __pad1 to __rwelision.
18981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18982
18983 2014-06-13 Andi Kleen <ak@linux.intel.com>
18984
18985 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18986 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18987 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18988 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18989
18990 2014-06-13 Meador Inge <meadori@codesourcery.com>
18991
18992 [BZ #16996]
18993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18994 that the cached result has been set before returning it.
18995
18996 2014-06-12 Roland McGrath <roland@hack.frob.com>
18997
18998 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18999 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19000 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19001 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19002 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19003 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19004
19005 * nptl/sysdeps/sparc/Makefile: Moved ...
19006 * sysdeps/sparc/nptl/Makefile: ... here.
19007 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19008 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19009 * nptl/sysdeps/sparc/tls.h: Moved ...
19010 * sysdeps/sparc/nptl/tls.h: ... here.
19011 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19012 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19013 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19014 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19015 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19016 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19017 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19018 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19019 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19020 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19021 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19022 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19023 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19024 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19025 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19026 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19027 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19029 Update #include.
19030 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19031 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19032 Update #include.
19033 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19035 Update #include.
19036 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19038 Update #include.
19039
19040 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19041
19042 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19043 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19044
19045 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19046 (struct list_links): Type removed.
19047 (struct thread_node, struct timer_node): Replace struct list_links
19048 with struct list_head.
19049 (list_unlink_ip): Likewise.
19050 * sysdeps/pthread/timer_routines.c
19051 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19052 (list_append, list_insbefore): Likewise.
19053 (list_init): Function removed.
19054 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19055 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19056 * sysdeps/pthread/Makefile: ... here, new file.
19057
19058 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19059 * sysdeps/nptl/Implies: ... here.
19060 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19061 * nptl/sysdeps/pthread/list.h: Moved ...
19062 * include/list.h: ... here.
19063 * nptl/sysdeps/pthread/createthread.c: Moved ...
19064 * nptl/createthread.c: ... here.
19065 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19066 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19067 * nptl/pt-longjmp.c: ... here.
19068 * nptl/sysdeps/pthread/Makefile: Moved ...
19069 * sysdeps/nptl/Makefile: ... here.
19070 * nptl/sysdeps/pthread/Subdirs: Moved ...
19071 * sysdeps/nptl/Subdirs: ... here.
19072 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19073 * sysdeps/nptl/aio_misc.h: ... here.
19074 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19075 * sysdeps/nptl/bits/libc-lock.h: ... here.
19076 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19077 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19078 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19079 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19080 * nptl/sysdeps/pthread/configure: Moved ...
19081 * sysdeps/nptl/configure: ... here.
19082 * nptl/sysdeps/pthread/configure.ac: Moved ...
19083 * sysdeps/nptl/configure.ac: ... here.
19084 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19085 * sysdeps/nptl/gai_misc.h: ... here.
19086 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19087 * sysdeps/nptl/librt-cancellation.c: ... here.
19088 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19089 * sysdeps/nptl/malloc-machine.h: ... here.
19090 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19091 * sysdeps/nptl/pthread-functions.h: ... here.
19092 * nptl/sysdeps/pthread/pthread.h: Moved ...
19093 * sysdeps/nptl/pthread.h: ... here.
19094 * nptl/sysdeps/pthread/setxid.h: Moved ...
19095 * sysdeps/nptl/setxid.h: ... here.
19096 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19097 * sysdeps/nptl/sigfillset.c: ... here.
19098 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19099 * sysdeps/nptl/tcb-offsets.h: ... here.
19100 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19101 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19102 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19103 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19104 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19105 * sysdeps/pthread/allocalim.h: ... here.
19106 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19107 * sysdeps/pthread/bits/sigthread.h: ... here.
19108 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19109 * sysdeps/pthread/flockfile.c: ... here.
19110 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19111 * sysdeps/pthread/ftrylockfile.c: ... here.
19112 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19113 * sysdeps/pthread/funlockfile.c: ... here.
19114 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19115 * sysdeps/pthread/posix-timer.h: ... here.
19116 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19117 * sysdeps/pthread/timer_create.c: ... here.
19118 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19119 * sysdeps/pthread/timer_delete.c: ... here.
19120 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19121 * sysdeps/pthread/timer_getoverr.c: ... here.
19122 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19123 * sysdeps/pthread/timer_gettime.c: ... here.
19124 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19125 * sysdeps/pthread/timer_routines.c: ... here.
19126 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19127 * sysdeps/pthread/timer_settime.c: ... here.
19128 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19129 * sysdeps/pthread/tst-timer.c: ... here.
19130 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19131 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19132
19133 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19134 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19135
19136 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19137 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19138 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19139 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19140 Update #include target.
19141 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19142 * sysdeps/i386/i686/nptl/Makefile: ... here.
19143 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19144 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19145 Update #include target.
19146 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19147 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19148 * nptl/sysdeps/i386/Makefile: Moved ...
19149 * sysdeps/i386/nptl/Makefile: ... here.
19150 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19151 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19152 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19153 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19154 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19155 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19156 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19157 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19158 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19159 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19160 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19161 * nptl/sysdeps/i386/tls.h: Moved ...
19162 * sysdeps/i386/nptl/tls.h: ... here.
19163
19164 * sysdeps/sh/Makefile [$(subdir) = csu]
19165 (gen-as-const-headers): Add tcb-offsets.sym.
19166 * nptl/sysdeps/sh/Makefile: File removed.
19167 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19168 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19169 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19170 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19171 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19172 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19173 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19174 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19175 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19176 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19177 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19178 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19179 * nptl/sysdeps/sh/tls.h: Moved ...
19180 * sysdeps/sh/nptl/tls.h: ... here.
19181 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19182 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19183 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19184 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19185 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19186 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19187 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19188 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19189 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19190 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19192 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19193 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19194 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19195 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19196 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19198 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19200 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19202 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19204 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19205 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19206 Moved ...
19207 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19209 Moved ...
19210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19213 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19214 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19215 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19216 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19217 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19218 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19219 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19220 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19221 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19222 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19223 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19224 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19225 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19226 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19227 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19228 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19229
19230 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19231
19232 * posix/spawn_faction_addopen.c: Include string.h.
19233
19234 2014-06-11 Roland McGrath <roland@hack.frob.com>
19235
19236 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19237 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19238 * nptl/sysdeps/x86_64/Makefile: Moved ...
19239 * sysdeps/x86_64/nptl/Makefile: ... here.
19240 * nptl/sysdeps/x86_64/configure: Moved ...
19241 * sysdeps/x86_64/nptl/configure: ... here.
19242 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19243 * sysdeps/x86_64/nptl/configure.ac: ... here.
19244 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19245 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19246 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19247 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19248 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19249 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19250 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19251 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19252 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19253 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19254 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19255 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19256 * nptl/sysdeps/x86_64/tls.h: Moved ...
19257 * sysdeps/x86_64/nptl/tls.h: ... here.
19258 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19259 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19260 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19261 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19262
19263 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19264
19265 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19266
19267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19268
19269 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19270
19271 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19272 type.
19273 [POSIX] (off_t): Likewise.
19274 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19275 [POSIX] (S_ISBLK): Require macro.
19276 [POSIX] (S_ISCHR): Likewise.
19277 [POSIX] (S_ISDIR): Likewise.
19278 [POSIX] (S_ISFIFO): Likewise.
19279 [POSIX] (S_ISREG): Likewise.
19280 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19281 optional-macro.
19282 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19283 type.
19284 [POSIX] (time_t): Likewise.
19285 [POSIX] (timer_t): Likewise.
19286
19287 2014-06-11 Florian Weimer <fweimer@redhat.com>
19288
19289 [BZ #17048]
19290 * posix/spawn_int.h (struct __spawn_action): Make the path string
19291 non-const to support deallocation.
19292 * posix/spawn_faction_addopen.c
19293 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19294 * posix/spawn_faction_destroy.c
19295 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19296 path in all spawn_do_open actions.
19297 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19298 posix_spawn_file_actions_addopen.
19299
19300 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19301
19302 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19303 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19304 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19305 conditional code always true.
19306 (__libc_vfork): New alias.
19307
19308 2014-06-11 Roland McGrath <roland@hack.frob.com>
19309
19310 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19311 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19312
19313 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19314
19315 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19316 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19317
19318 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19319 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19320
19321 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19322 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19323
19324 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19325
19326 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19327 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19328 multiarch strcmp for PPC64.
19329 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19330 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19332 multiarch optimizations.
19333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19334 (__libc_ifunc_impl_list): Likewise.
19335
19336 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19337
19338 * benchtests/scripts/validate_benchout.py: New script.
19339 * benchtests/Makefile (bench-func): Call it.
19340 * benchtests/scripts/benchout.schema.json: New file.
19341
19342 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19343
19344 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19345 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19346 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19347 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19348 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19349 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19350 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19351 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19352 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19353 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19354 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19355 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19356 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19357 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19358 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19359 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19361 Moved ...
19362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19363 ... here.
19364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19365 Moved ...
19366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19368 Moved ...
19369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19370 ... here.
19371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19372 Moved ...
19373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19374 ... here.
19375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19376 Moved ...
19377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19379 Moved ...
19380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19381 ... here.
19382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19383 Moved ...
19384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19385 ... here.
19386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19387 Moved ...
19388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19390 Moved ...
19391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19392 ... here.
19393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19394 Moved ...
19395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19396 ... here.
19397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19398 Moved ...
19399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19400 ... here.
19401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19402 Moved ...
19403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19405 Moved ...
19406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19407 ... here.
19408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19409 Moved ...
19410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19411 ... here.
19412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19413 Moved ...
19414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19415 ... here.
19416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19417 Moved ...
19418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19420 Moved ...
19421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19422 ... here.
19423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19424 Moved ...
19425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19426 ... here.
19427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19428 Moved ...
19429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19431 Moved ...
19432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19433 ... here.
19434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19435 Moved ...
19436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19438 Moved ...
19439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19441 Moved ...
19442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19443 ... here.
19444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19445 Moved ...
19446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19447 ... here.
19448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19449 Moved ...
19450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19451 ... here.
19452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19453 Moved ...
19454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19456 Moved ...
19457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19458 ... here.
19459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19460 Moved ...
19461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19462 ... here.
19463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19464 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19466 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19467 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19468 Moved ...
19469 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19470 ... here.
19471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19472 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19474 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19476 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19478 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19480 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19482 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19484 Moved ...
19485 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19487 Moved ...
19488 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19490 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19491 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19492 Moved ...
19493 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19495 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19496 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19497 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19498 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19499 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19500
19501 2014-06-10 Wilco <wdijkstr@arm.com>
19502
19503 * math/test-fenv-return.c: New file.
19504 * math/Makefile: Add new test test-fenv-return.
19505
19506 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19507
19508 [BZ #17042]
19509 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19510 when x - 1 is zero.
19511 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19512 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19513 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19514 0.0L for an argument of 1.0L.
19515 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19516 Likewise.
19517 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19518 value when x - 1 is zero.
19519 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19520 * sysdeps/i386/fpu/libm-test-ulps: Update.
19521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522
19523 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19524
19525 [BZ #15119]
19526 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19527
19528 2014-06-09 Roland McGrath <roland@hack.frob.com>
19529
19530 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19531 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19532
19533 2014-06-09 Roland McGrath <roland@hack.frob.com>
19534
19535 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19536 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19537
19538 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19539 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19540
19541 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19542 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19543
19544 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19545 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19546
19547 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19548 if not already defined.
19549 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19550 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19551 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19552 (TLS_INIT_TP): Use it.
19553 (TLS_DEFINE_INIT_TP): New macro.
19554 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19555
19556 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19557
19558 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19559 constant.
19560 [POSIX] (IXANY): Likewise.
19561 [POSIX] (OLCUC): Likewise.
19562 [POSIX || POSIX2008] (CBAUD): Do not allow.
19563 [POSIX || POSIX2008] (DEFECHO): Likewise.
19564 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19565 [POSIX || POSIX2008] (ECHOKE): Likewise.
19566 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19567 [POSIX || POSIX2008] (EXTA): Likewise.
19568 [POSIX || POSIX2008] (EXTB): Likewise.
19569 [POSIX || POSIX2008] (FLUSHO): Likewise.
19570 [POSIX || POSIX2008] (LOBLK): Likewise.
19571 [POSIX || POSIX2008] (PENDIN): Likewise.
19572 [POSIX || POSIX2008] (SWTCH): Likewise.
19573 [POSIX || POSIX2008] (VDISCARD): Likewise.
19574 [POSIX || POSIX2008] (VDSUSP): Likewise.
19575 [POSIX || POSIX2008] (VLNEXT): Likewise.
19576 [POSIX || POSIX2008] (VREPRINT): Likewise.
19577 [POSIX || POSIX2008] (VSTATUS): Likewise.
19578 [POSIX || POSIX2008] (VWERASE): Likewise.
19579 (B*): Change to B[0123456789]*.
19580 * conform/data/time.h-data [POSIX || UNIX98]
19581 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19582 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19583 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19584 [POSIX] (tm_*): Do not allow.
19585
19586 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19587
19588 * Makefile (install): Don't set LANGUAGE.
19589 * Makefile.in (install): Likewise.
19590 * assert/Makefile (test-assert-ENV): Remove variable.
19591 (test-assert-perr-ENV): Likewise.
19592 * elf/Makefile (neededtest4-ENV): Likewise.
19593 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19594 [$(cross-compiling) = no]: Don't set LANGUAGE.
19595 * io/ftwtest-sh (LANG): Remove variable.
19596 * libio/Makefile (tst-widetext-ENV): Likewise.
19597 * manual/install.texi (Running make install): Don't refer to
19598 environment settings for make install.
19599 * INSTALL: Regenerated.
19600 * nptl/tst-tls6.sh: Don't set LANG.
19601 * posix/globtest.sh (LANG): Remove variable.
19602 * string/Makefile (tester-ENV): Likewise.
19603 (inl-tester-ENV): Likewise.
19604 (noinl-tester-ENV): Likewise.
19605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19606 [$(cross-compiling) = no]: Don't set LANGUAGE.
19607 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19608 without explicit environment settings.
19609
19610 2014-06-06 Roland McGrath <roland@hack.frob.com>
19611
19612 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19613 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19614 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19615 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19616
19617 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19618
19619 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19620 other files in the crypt directory.
19621 * crypt/crypt.c: Remove duplicate includes.
19622 * crypt/crypt-entry.c: Likewise.
19623 * crypt/crypt_util.c: Likewise.
19624
19625 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19626
19627 * Makeconfig (run-program-env): New variable.
19628 (run-program-prefix-before-env): Likewise.
19629 (run-program-prefix-after-env): Likewise.
19630 (run-program-prefix): Define in terms of new variables.
19631 (built-program-cmd-before-env): New variable.
19632 (built-program-cmd-after-env): Likewise.
19633 (built-program-cmd): Define in terms of new variables.
19634 (test-program-prefix-before-env): New variable.
19635 (test-program-prefix-after-env): Likewise.
19636 (test-program-prefix): Define in terms of new variables.
19637 (test-program-cmd-before-env): New variable.
19638 (test-program-cmd-after-env): Likewise.
19639 (test-program-cmd): Define in terms of new variables.
19640 * Rules (make-test-out): Use $(run-program-env).
19641 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19642 (help): Do not mention environment variables. Mention
19643 --timeoutfactor option.
19644 (timeoutfactor): New variable.
19645 (blacklist_exports): Remove function.
19646 (exports): Remove variable.
19647 (command): Do not include ${exports}.
19648 * manual/install.texi (Configuring and compiling): Do not mention
19649 test wrappers preserving environment variables. Mention that last
19650 assignment to a variable must take precedence.
19651 * INSTALL: Regenerated.
19652 * benchtests/Makefile (run-bench): Use $(run-program-env).
19653 * catgets/Makefile ($(objpfx)test1.cat): Use
19654 $(built-program-cmd-before-env), $(run-program-env) and
19655 $(built-program-cmd-after-env).
19656 ($(objpfx)test2.cat): Do not specify environment variables
19657 explicitly.
19658 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19659 $(run-program-env) and $(built-program-cmd-after-env).
19660 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19661 $(run-program-env) and $(test-program-cmd-after-env).
19662 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19663 explicitly.
19664 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19665 run_program_env and test_program_cmd_after_env arguments.
19666 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19667 * elf/tst-pathopt.sh: Use run_program_env argument.
19668 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19669 $(test-wrapper-env) and $(run-program-env).
19670 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19671 run_program_env arguments.
19672 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19673 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19674 $(test-program-prefix-before-env), $(run-program-env) and
19675 $(test-program-prefix-after-env).
19676 ($(objpfx)tst-gettext2.out): Likewise.
19677 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19678 run_program_env and test_program_prefix_after_env arguments.
19679 * intl/tst-gettext2.sh: Likewise.
19680 * intl/tst-gettext4.sh: Do not set environment variables
19681 explicitly.
19682 * intl/tst-gettext6.sh: Likewise.
19683 * intl/tst-translit.sh: Likewise.
19684 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19685 $(test-program-prefix-before-env), $(run-program-env) and
19686 $(test-program-prefix-after-env).
19687 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19688 run_program_env and test_program_prefix_after_env arguments.
19689 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19690 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19691 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19692 explicitly with each use of ${test_wrapper_env}.
19693 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19694 $(test-program-prefix-before-env), $(run-program-env) and
19695 $(test-program-prefix-after-env).
19696 * posix/tst-getconf.sh: Do not set environment variables
19697 explicitly.
19698 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19699 run_program_env and test_program_prefix_after_env arguments.
19700 * stdio-common/tst-printf.sh: Do not set environment variables
19701 explicitly.
19702 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19703 $(test-program-prefix-before-env), $(run-program-env) and
19704 $(test-program-prefix-after-env).
19705 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19706 run_program_env and test_program_prefix_after_env arguments.
19707 Split $test calls into $test_pre and $test.
19708 * timezone/Makefile (build-testdata): Use
19709 $(built-program-cmd-before-env), $(run-program-env) and
19710 $(built-program-cmd-after-env).
19711
19712 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19713
19714 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19715 strlen for non SHARED builds.
19716
19717 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19718
19719 * nptl/allocatestack.c (check_list): Inlined function...
19720 (__reclaim_stacks): ... here.
19721
19722 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19723
19724 [BZ #15698]
19725 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19726 memory overrun.
19727
19728 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19729
19730 * Rules (make-test-out): Include
19731 LOCPATH=$(common-objpfx)localedata in default environment.
19732 * debug/Makefile (tst-chk1-ENV): Remove variable.
19733 (tst-chk2-ENV): Likewise.
19734 (tst-chk3-ENV): Likewise.
19735 (tst-chk4-ENV): Likewise.
19736 (tst-chk5-ENV): Likewise.
19737 (tst-chk6-ENV): Likewise.
19738 (tst-lfschk1-ENV): Likewise.
19739 (tst-lfschk2-ENV): Likewise.
19740 (tst-lfschk3-ENV): Likewise.
19741 (tst-lfschk4-ENV): Likewise.
19742 (tst-lfschk5-ENV): Likewise.
19743 (tst-lfschk6-ENV): Likewise.
19744 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19745 (tst-iconv7-ENV): Likewise.
19746 * intl/Makefile (LOCPATH-ENV): Likewise.
19747 (tst-codeset-ENV): Likewise.
19748 (tst-gettext3-ENV): Likewise.
19749 (tst-gettext5-ENV): Likewise.
19750 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19751 (tst-fopenloc-ENV): Likewise.
19752 (tst-fgetws-ENV): Remove variable.
19753 (tst-ungetwc1-ENV): Likewise.
19754 (tst-ungetwc2-ENV): Likewise.
19755 (bug-ungetwc2-ENV): Likewise.
19756 (tst-swscanf-ENV): Likewise.
19757 (bug-ftell-ENV): Likewise.
19758 (tst-fgetwc-ENV): Likewise.
19759 (tst-fseek-ENV): Likewise.
19760 (tst-ftell-partial-wide-ENV): Likewise.
19761 (tst-ftell-active-handler-ENV): Likewise.
19762 (tst-ftell-append-ENV): Likewise.
19763 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19764 (tst-regexloc-ENV): Likewise.
19765 (bug-regex1-ENV): Likewise.
19766 (tst-regex-ENV): Likewise.
19767 (tst-regex2-ENV): Likewise.
19768 (bug-regex5-ENV): Likewise.
19769 (bug-regex6-ENV): Likewise.
19770 (bug-regex17-ENV): Likewise.
19771 (bug-regex18-ENV): Likewise.
19772 (bug-regex19-ENV): Likewise.
19773 (bug-regex20-ENV): Likewise.
19774 (bug-regex22-ENV): Likewise.
19775 (bug-regex23-ENV): Likewise.
19776 (bug-regex25-ENV): Likewise.
19777 (bug-regex26-ENV): Likewise.
19778 (bug-regex30-ENV): Likewise.
19779 (bug-regex32-ENV): Likewise.
19780 (bug-regex33-ENV): Likewise.
19781 (bug-regex34-ENV): Likewise.
19782 (bug-regex35-ENV): Likewise.
19783 (tst-rxspencer-ENV): Likewise.
19784 (tst-rxspencer-no-utf8-ENV): Likewise.
19785 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19786 (tst-sscanf-ENV): Likewise.
19787 (tst-swprintf-ENV): Likewise.
19788 (tst-swscanf-ENV): Likewise.
19789 (test-vfprintf-ENV): Likewise.
19790 (scanf13-ENV): Likewise.
19791 (bug14-ENV): Likewise.
19792 (tst-grouping-ENV): Likewise.
19793 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19794 (tst-strtod3-ENV): Likewise.
19795 (tst-strtod4-ENV): Likewise.
19796 (tst-strtod5-ENV): Likewise.
19797 (testmb2-ENV): Likewise./
19798 * string/Makefile (tst-strxfrm-ENV): Likewise.
19799 (tst-strxfrm2-ENV): Likewise.
19800 (bug-strcoll1-ENV): Likewise.
19801 (test-strcasecmp-ENV): Likewise.
19802 (test-strncasecmp-ENV): Likewise.
19803 * time/Makefile (tst-strptime-ENV): Likewise.
19804 (tst-ftime_l-ENV): Likewise.
19805 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19806 (tst-mbrtowc-ENV): Likewise.
19807 (tst-wcrtomb-ENV): Likewise.
19808 (tst-mbrtowc2-ENV): Likewise.
19809 (tst-c16c32-1-ENV): Likewise.
19810 (tst-mbsnrtowcs-ENV): Likewise.
19811
19812 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19813
19814 * manual/resource.texi (How to get information about the memory
19815 subsystem?): Fix typo.
19816 Reported by Peon de la Parra Ivan <peon@keba.com>
19817
19818 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19819
19820 [BZ #16882]
19821 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19822 (pthread_spin_lock): Branch out of spin loop to proper location.
19823 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19824 (pthread_spin_lock): Likewise.
19825
19826 * nptl/tst-spin4.c: New test.
19827 * nptl/Makefile (tests): Add tst-spin4.
19828
19829 2014-06-03 Andreas Schwab <schwab@suse.de>
19830
19831 [BZ #15946]
19832 * resolv/res_send.c (send_dg): Reload file descriptor after
19833 calling reopen.
19834
19835 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19836
19837 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19838
19839 2014-06-03 Richard Henderson <rth@redhat.com>
19840
19841 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19842 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19843 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19844 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19845 in the SAVE_PID block.
19846 (__libc_vfork): New alias.
19847 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19848
19849 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19850 child in registers, not on the stack. Remove RESET_PID conditionals.
19851 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19852
19853 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19854
19855 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19856
19857 2014-06-03 Wilco <wdijkstr@arm.com>
19858
19859 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19860 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19861 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19862 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19863 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19864 Likewise.
19865
19866 2014-06-03 Wilco <wdijkstr@arm.com>
19867
19868 * sysdeps/aarch64/fpu/math_private.h
19869 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19870 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19871 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19872 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19873 Fix declarations.
19874
19875 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19876
19877 * crypt/crypt-private.h: Include ufc-crypt.h.
19878 (__b64_from_24bit): Declare extern.
19879 * crypt/crypt_util.c(__b64_from_24bit): New function.
19880 (b64t): New static const variable.
19881 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19882 (b64t): Remove variable.
19883 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19884 * crypt/sha256-crypt.c: Include crypt-private.h.
19885 (b64t): Remove variable.
19886 (__sha256_crypt_r): Remove b64_from_24bit and replace
19887 with __b64_from_24bit.
19888 * crypt/sha512-crypt.c: Likewise.
19889
19890 2014-06-02 Roland McGrath <roland@hack.frob.com>
19891
19892 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19893 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19894 Label the code __libc_vfork rather than __vfork.
19895 [!NOT_IN_libc] (vfork): Define as weak alias.
19896 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19897 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19898 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19899
19900 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19901
19902 * malloc/malloc.c (malloc_info): Fix format specifier for
19903 n_mmaps.
19904
19905 2014-06-02 Wilco <wdijkstr@arm.com>
19906
19907 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19908 FPCR write.
19909
19910 2014-06-02 Wilco <wdijkstr@arm.com>
19911
19912 [BZ #17009]
19913 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19914 Rewrite to reduce FPCR/FPSR accesses.
19915
19916 2014-06-01 David S. Miller <davem@davemloft.net>
19917
19918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19919
19920 2014-05-31 David S. Miller <davem@davemloft.net>
19921
19922 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19923 to occur in round to nearest mode when |x| >= 2.0
19924
19925 2014-05-30 Richard Henderson <rth@twiddle.net>
19926
19927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19928 (PSEUDO_RET_NOERRNO): Remove.
19929 (ret): Don't redefine.
19930 (ret_NOERRNO): Define in terms of ret.
19931 (ret_ERRVAL): Likewise.
19932
19933 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19934 use of PSEUDO_RET; perform the error check directly.
19935
19936 2014-05-30 Marko Myllynen <myllynen@redhat.com>
19937
19938 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19939 with __int128_t.
19940
19941 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19942
19943 * malloc/malloc (malloc_info): Fix formatting.
19944
19945 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19946 Roland McGrath <roland@hack.frob.com>
19947
19948 * malloc/malloc (malloc_info): Also print mmapped statistics.
19949
19950 2014-05-30 Roland McGrath <roland@hack.frob.com>
19951
19952 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19953 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19954
19955 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
19956
19957 * malloc/malloc.c (malloc_info): Inline mi_arena.
19958
19959 2014-05-29 Richard Henderson <rth@twiddle.net>
19960
19961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19962 Remove comma before expanding ASM_ARGS_##nr.
19963 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19964 Make _x0 a strict output; make _x8 a strict input; adjust expansion
19965 of ASM_ARGS_##nr.
19966 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19967 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19968 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19969 (ASM_ARGS_1): Add leading comma.
19970
19971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19972 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19973 to __errno_location.
19974 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19975 Remove the expected plt for __errno_location.
19976
19977 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19978 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19979 call to __read_tp.
19980
19981 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19982 Always allocate 64 bytes of stack frame. Use ldp/stp to create
19983 it and break it down.
19984 (DOCARGS_0, DOCARGS_1): Do nothing.
19985 (DOCARGS_2): Update to store into the new stack frame.
19986 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19987 (UNDOCARGS_1): Update to restore from the new stack frame.
19988 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19989 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19990
19991 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19992 (SINGLE_THREAD_P): New parameter for result regno.
19993 (PSEUDO): Update to match; use cbz instead of beq.
19994
19995 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19996 Use ENTRY to define the _nocancel entry point. Share the syscall
19997 and syscall error check paths with the cancel path.
19998 (PSEUDO_END): New.
19999
20000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20001 whitespace; tabs before and after asm mnemonics.
20002
20003 2014-05-29 Eric Wong <normalperson@yhbt.net>
20004
20005 [BZ #15132]
20006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20007 Call fstat64 or stat64 internally, depending on arguments passed.
20008 Replace stat buffer argument with file descriptor argument.
20009 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20010 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20011 Pass fd to __internal_statvfs instead of calling fstat64.
20012 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20013 Pass fd to __internal_statvfs64 instead of calling fstat64.
20014 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20015 Pass -1 to __internal_statvfs instead of calling stat64.
20016 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20017 Pass -1 to __internal_statvfs64 instead of calling stat64.
20018
20019 2014-05-28 Roland McGrath <roland@hack.frob.com>
20020
20021 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20022 that was previously under [RESET_PID].
20023 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20024
20025 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20026 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20027
20028 2014-05-27 Roland McGrath <roland@hack.frob.com>
20029
20030 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20031
20032 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20033 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20034
20035 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20036
20037 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20038
20039 2014-05-27 Andreas Schwab <schwab@suse.de>
20040
20041 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20042 TLS_INIT_TP macro.
20043 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20044 * elf/rtld.c (init_tls, dl_main): Likewise.
20045 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20046 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20047 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20048 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20049 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20050 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20051 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20052 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20053 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20054 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20055 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20056 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20057 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20058 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20059 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20060 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20061 * sysdeps/generic/tls.h: Update description.
20062
20063 2014-05-27 Will Newton <will.newton@linaro.org>
20064
20065 [BZ #16990]
20066 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20067 and restore r2 rather than just restoring.
20068
20069 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20070
20071 [BZ #16724]
20072 * libio/tst-ftell-append.c: New test case.
20073 * libio/Makefile (tests): Add test case.
20074 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20075 append mode.
20076 * libio/wfileops.c (do_ftell_wide): Likewise.
20077
20078 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20079
20080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20081
20082 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20083 ...
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20086 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20087 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20088 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20089 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20090 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20091 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20093 Moved ...
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20096 Moved ...
20097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20098 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20099 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20100 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20101 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20102 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20103 ...
20104 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20105 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20106 Moved ...
20107 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20108 here.
20109 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20110 ...
20111 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20112 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20113 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20114
20115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20116 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20118 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20119
20120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20121 merge into ...
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20124 ...
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20127 ...
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20130 Moved ...
20131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20132 here.
20133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20134 Moved ...
20135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20137 Moved ...
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20139
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20141 conditional [RESET_PID].
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20144 removed.
20145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20146 removed.
20147
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20149 <tcb-offsets.h>.
20150 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20151 (__libc_vfork): New strong alias.
20152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20153 removed.
20154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20155 Removed.
20156
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20158 <tcb-offsets.h>.
20159 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20160 (__libc_vfork): New strong alias.
20161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20162 removed.
20163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20164 removed.
20165
20166 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20167
20168 * malloc/malloc.c (mi_arena): New function.
20169 (malloc_info): Remove nested function mi_arena. Call non-nosted
20170 function mi_arena.
20171
20172 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20173
20174 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20175 by insrwi.
20176 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20177 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20178 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20179 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20180 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20181 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20182 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20183
20184 2014-05-26 Andreas Schwab <schwab@suse.de>
20185
20186 [BZ #16984]
20187 * locale/programs/repertoire.c (repertoire_read): Add slash
20188 between I18NPATH element and file name.
20189 * locale/programs/locfile.c (locfile_read): Likewise.
20190
20191 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20192
20193 * nptl/pthread_mutexattr_settype.c
20194 (__pthread_mutexattr_settype):
20195 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20196
20197 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20198
20199 * nptl/tst-mutex5 (do_test):
20200 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20201
20202 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20203
20204 * benchtests/README: Document 'init' directive.
20205 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20206 BENCH_INIT.
20207 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20208 (parse_file): Recognize 'init' directive.
20209
20210 2014-05-26 Kyle McMartin <kyle@redhat.com>
20211
20212 [BZ #16796]
20213 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20214 alignment of struct pthread.
20215
20216 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20217
20218 [BZ #16878]
20219 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20220 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20221 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20222 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20223
20224 2014-05-25 Richard Henderson <rth@twiddle.net>
20225
20226 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20227 (SINGLE_THREAD_P_PIC): Remove.
20228 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20229 (SINGLE_THREAD_P_PIC): Remove.
20230
20231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20232 branch to syscall error ...
20233 (PSEUDO): ... here.
20234 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20235 from __local_syscall_error to .Lsyscall_error.
20236 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20237 (SYSCALL_ERROR): Update label name.
20238
20239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20240 Do not use DOARGS/UNDOARGS.
20241 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20242 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20243 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20244 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20245 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20246
20247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20248 block comment.
20249
20250 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20251 define if !NOT_IN_libc.
20252 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20253 define with non-default symbol versions.
20254
20255 2014-05-23 Richard Henderson <rth@twiddle.net>
20256
20257 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20258 (vfork, __vfork): Define via compat_symbol.
20259
20260 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20261 [!HAVE_IFUNC] (vfork_compat): Remove.
20262 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20263
20264 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20265
20266 [BZ #16978]
20267 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20268 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20269 variable.
20270
20271 2014-05-23 Richard Henderson <rth@twiddle.net>
20272
20273 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20274 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20275 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20276 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20277
20278 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20279 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20281 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20282 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20283 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20284 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20285 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20286 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20287 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20288 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20289 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20290 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20291 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20292 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20293 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20294 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20295 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20296 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20297 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20298 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20299 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20300 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20301 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20302 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20304 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20305 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20306 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20307 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20308 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20309 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20310 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20311 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20312 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20313 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20314 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20315 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20316 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20317 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20318 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20319 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20320 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20321 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20322 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20323 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20325 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20327 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20329 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20331 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20333 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20334
20335 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20336 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20337 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20338 before exiting on error.
20339 (__libc_vfork): New strong alias.
20340 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20341 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20342
20343 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20344 that was previously under [RESET_PID].
20345 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20346
20347 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20348
20349 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #16977]
20352 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20353 value when x - 1 is zero.
20354 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20355 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20356 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20357 0.0L for an argument of 1.0L.
20358 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20359 Likewise.
20360 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20361 value when x - 1 is zero.
20362 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20363 * sysdeps/i386/fpu/libm-test-ulps: Update.
20364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20365
20366 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20367
20368 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20369 alphasort and versionsort.
20370
20371 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20372
20373 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20374 macro.
20375 [copysignf]: Likewise.
20376
20377 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20378
20379 * crypt/md5-crypt.c: Fix formatting.
20380
20381 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20382
20383 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20384 (b64_from_24bit): New function.
20385
20386 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20387
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20389 libc_hidden_builtin_def to ifunc.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20391 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20392
20393 2014-05-21 Roland McGrath <roland@hack.frob.com>
20394
20395 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20396 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20397
20398 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20399
20400 * nscd/Depend (linuxthreads): Remove.
20401 (nptl): Add.
20402 * resolv/Depend (linuxthreads): Remove.
20403 * rt/Depend (linuxthreads): Remove.
20404
20405 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20406 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20407 $(common-objpfx)elf/.
20408 (link-libc-before-gnulib): Likewise.
20409 (elfobjdir): Remove variable.
20410 * Makefile (install): Use $(elf-objpfx) instead of
20411 $(common-objpfx)elf/.
20412 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20413 $(elfobjdir)/.
20414 (link-libc-deps): Likewise.
20415 ($(common-objpfx)libc.so): Likewise.
20416 ($(common-objpfx)linkobj/libc.so): Likewise.
20417 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20418 instead of $(common-objpfx)elf/.
20419 (symbolic-link-list): Likewise.
20420 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20421 [$(cross-compiling) = no]: Likewise.
20422 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20423 $(elfobjdir)/.
20424 (static-gnulib-arch): Likewise.
20425 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20426 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20427 $(common-objpfx)elf/.
20428
20429 2014-05-21 Richard Henderson <rth@redhat.com>
20430
20431 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20432 (SINGLE_THREAD_P): Use the correct width load. Fold
20433 into the ldr offset.
20434
20435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20436 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20437
20438 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20439
20440 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20441 (libgcc_s_resume): Use __attribute_used__.
20442 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20443 Likewise.
20444
20445 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20446
20447 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20448 optimization when used with float constants.
20449
20450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20451
20452 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20453
20454 [BZ #16915]
20455 * locale/nl_langinfo_l.c: Make direct reference to every
20456 _nl_current_CATEGORY symbol.
20457 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20458 (tests-static): Add tst-langinfo-static.
20459 (tests-special): Add tst-langinfo-static.out.
20460 ($(objpfx)tst-langinfo.out): Redirect output.
20461 ($(objpfx)tst-langinfo-static.out): New.
20462 * localedata/tst-langinfo.sh: Send output to stdout.
20463 * localedata/tst-langinfo-static.c: New file.
20464
20465 [BZ #16965]
20466 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20467 when the shift amount is modulo the limb size.
20468
20469 2014-05-20 Richard Henderson <rth@redhat.com>
20470
20471 [BZ #16967]
20472 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20473 Change type of sa_flags from unsigned int to int.
20474
20475 [BZ #16966]
20476 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20477
20478 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20479
20480 2014-05-20 Will Newton <will.newton@linaro.org>
20481
20482 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20483 Test the return value of the system call in the nocancel case.
20484
20485 2014-05-20 Will Newton <will.newton@linaro.org>
20486 Yvan Roux <yvan.roux@linaro.org>
20487
20488 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20489 #include of asm/ptrace.h.
20490 (PTRACE_GET_THREAD_AREA): Remove #undef.
20491 (PTRACE_GETHBPREGS): Likewise.
20492 (PTRACE_SETHBPREGS): Likewise.
20493 (struct user_regs_struct): New structure.
20494 (struct user_fpsimd_struct): New structure.
20495 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20496 #include of asm/ptrace.h and second #include of sys/user.h.
20497 (PTRACE_GET_THREAD_AREA): Remove #undef.
20498 (PTRACE_GETHBPREGS): Likewise.
20499 (PTRACE_SETHBPREGS): Likewise.
20500 (ELF_NGREG): Use new struct user_regs_struct.
20501 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20502
20503 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20504
20505 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20507
20508 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20509
20510 [BZ #16958]
20511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20512 membar to avoid block loads/stores to overlap previous stores.
20513
20514 2014-05-17 Richard Henderson <rth@redhat.com>
20515
20516 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20517 Create the __##syscall_name##_nocancel entry point.
20518 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20519 Remove; let the sysdep-cancel.h code create it.
20520
20521 2014-05-17 David S. Miller <davem@davemloft.net>
20522
20523 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20524 Protect with __USE_GNU.
20525 (TIOCSET_TEMPT): Likewise.
20526 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20527 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20528 these are already provided in bits/ioctl-types.h
20529
20530 2014-05-16 Roland McGrath <roland@hack.frob.com>
20531
20532 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20533 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20534
20535 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20536 Use wait4 regardless of [__NR_waitpid].
20537
20538 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20539
20540 PR libgcc/60166
20541 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20542 (_FP_NANSIGN_Q): Set the quiet bit.
20543
20544 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20545
20546 * benchtests/Makefile
20547 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20548 not $(common-objpfx)math/libm.so.
20549 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20550 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20551 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20552 $(common-objpfx)dlfcn/libdl.so.
20553 ($(objpfx)tst-audit8): Depend on $(libm), not
20554 $(common-objpfx)math/libm.so.
20555 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20556 not $(common-objpfx)dlfcn/libdl.so.
20557 * math/Makefile
20558 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20559 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20560 [$(build-shared) = yes].
20561 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20562 $(common-objpfx)nptl/libpthread.so.
20563 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20564 $(common-objpfx)math/libm.so$(libm.so-version) or
20565 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20566 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20567 $(common-objpfx)dlfcn/libdl.so.
20568 * setjmp/Makefile (link-libm): Remove variable.
20569 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20570 * stdio-common/Makefile (link-libm): Remove variable.
20571 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20572 * stdlib/Makefile (link-libm): Remove variable.
20573 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20574 ($(objpfx)tst-strtod-round): Likewise.
20575 ($(objpfx)tst-tininess): Likewise.
20576 ($(objpfx)tst-strtod-underflow): Likewise.
20577 ($(objpfx)tst-strtod6): Likewise.
20578 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20579 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20580 $(common-objpfx)dlfcn/libdl.so.
20581
20582 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20583
20584 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20585 BSD terminal modes definitions.
20586
20587 2014-05-16 Roland McGrath <roland@hack.frob.com>
20588
20589 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20590 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20591
20592 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20593 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20594 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20595 Don't do #include_next.
20596 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20597 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20598 Don't do #include_next.
20599 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20600 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20601 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20602 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20603
20604 2014-05-16 Allan McRae <allan@archlinux.org>
20605
20606 * po/sv.po: Update Swedish translation from translation project.
20607
20608 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20609 in sed expression.
20610
20611 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20612
20613 [BZ #16917]
20614 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20615 errno if the TIOCGPTN ioctl fails with an error different than
20616 EINVAL.
20617 * login/tst-ptsname.c: New file.
20618 * login/Makefile (tests): Add tst-ptsname.
20619
20620 [BZ #16943]
20621 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20622 and prlimit64.
20623
20624 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20625
20626 [BZ #16849]
20627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20628 herrno to return EAI_AGAIN.
20629
20630 2014-05-14 Roland McGrath <roland@hack.frob.com>
20631
20632 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20633 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20634 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20635 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20636 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20637 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20638 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20639 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20641 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20642 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20643 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20644 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20645 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20646 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20647 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20648 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20649 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20650 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20651 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20652 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20653 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20654 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20655 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20656 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20657 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20658 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20659 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20660 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20661 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20663 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20665 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20667 Moved ...
20668 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20670 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20672 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20674 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20676 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20678 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20680 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20682 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20684 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20686 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20688 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20690 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20692 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20694 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20696 Moved ...
20697 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20699 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20701 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20703 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20705 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20707 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20709 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20711 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20713 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20715 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20717 Moved ...
20718 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20720 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20721
20722 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20723 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20724 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20725 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20726 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20727 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20728 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20729 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20730 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20731 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20732 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20733 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20734 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20735 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20736 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20737 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20738 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20739 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20740 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20741 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20742 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20743 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20744 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20745 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20747 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20749 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20750 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20751 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20752 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20753
20754 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20755 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20756
20757 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20758 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20759 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20760 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20761 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20762 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20763 Moved ...
20764 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20765 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20766 Moved ...
20767 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20769 Moved ...
20770 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20772 Moved ...
20773 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20774 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20775 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20776 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20777 Moved ...
20778 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20779 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20780 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20781 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20782 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20783 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20784 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20785 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20786 Moved ...
20787 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20788 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20789 Moved ...
20790 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20791 ... here.
20792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20793 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20794 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20795 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20797 Moved ...
20798 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20799 ... here.
20800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20801 Moved ...
20802 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20803 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20804 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20805 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20806 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20807 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20808 Moved ...
20809 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20810 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20811 Moved ...
20812 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20814 Moved ...
20815 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20817 Moved ...
20818 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20819 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20820 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20821 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20822 Moved ...
20823 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20824 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20825 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20826 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20827 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20828 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20829 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20830 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20831 Moved ...
20832 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20833 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20834 Moved ...
20835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20836 ... here.
20837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20838 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20839 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20840 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20842 Moved ...
20843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20844 ... here.
20845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20846 Moved ...
20847 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20848 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20849 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20850 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20851 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20852 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20853 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20854 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20855 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20856 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20857 Moved ...
20858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20859 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20860 Moved ...
20861 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20863 Moved ...
20864 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20866 Moved ...
20867 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20868 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20869 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20870 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20871 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20873 Moved ...
20874 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20875 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20876 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20877 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20878 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20879 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20880 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20881 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20882 Moved ...
20883 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20884 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20885 Moved ...
20886 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20887 ... here.
20888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20889 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20890 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20891 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20893 Moved ...
20894 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20895 ... here.
20896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20897 Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20899 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20900 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20901 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20902 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20903 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20904 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20905 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20906 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20907 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20908 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20909
20910 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20911 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20912
20913 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20914 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20915
20916 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20917 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20918 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20919 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20920 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20921 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20922 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20923 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20924 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20925 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20929 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20930 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20932 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20934 Moved ...
20935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20937 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20938 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20939 Moved ...
20940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20942 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20944 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20948 Moved ...
20949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20951 Moved ...
20952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20956 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20957 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20958 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20959 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20960 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20961 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20962 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20963 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20964 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20965 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20966 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20967 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20968 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20969
20970 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20971 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20972 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20973 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20974 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20975
20976 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20977 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20978 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20979 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20980 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20981 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20982 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20983 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20984 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20985 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20986
20987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20989
20990 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20991 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20993 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20994 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20995 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20996 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20997 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20998 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20999 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21001 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21002 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21003 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21005 Update #include.
21006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21007 Likewise.
21008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21009 Likewise.
21010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21011 Likewise.
21012 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21013 Likewise.
21014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21015 Likewise.
21016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21017 Likewise.
21018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21019 Likewise.
21020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21021 Likewise.
21022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21023 Likewise.
21024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21032 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21035 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21037 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21038 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21039
21040 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21041 that was previously under [RESET_PID].
21042 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21043 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21044 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21045
21046 * sysdeps/i386/nptl/Implies: New file.
21047 * sysdeps/x86_64/nptl/Implies: New file.
21048 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21049 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21050 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21051 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21052
21053 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21054 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21055 (__libc_vfork): New strong alias.
21056 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21057 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21058
21059 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21060 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21061 (__libc_vfork): New strong alias.
21062 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21063 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21064
21065 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21066 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21067 (__libc_vfork): New strong alias.
21068 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21069 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21070 * nptl/pt-vfork.c: New file.
21071 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21072 (libpthread: GLIBC_2.20): New version set (empty).
21073
21074 2014-05-14 Will Newton <will.newton@linaro.org>
21075
21076 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21077 rather than #if.
21078
21079 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21080
21081 [BZ #16564]
21082 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21083 arguments with exponent 65 or above.
21084 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21085 arguments 0x1p113L or above.
21086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21087 to arguments 0x1p107L or above.
21088 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21089 positive arguments with exponent 65 or above.
21090 * math/auto-libm-test-in: Add more tests of log1p.
21091 * math/auto-libm-test-out: Regenerated.
21092
21093 [BZ #16928]
21094 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21095 non-finite arguments is +0.
21096 * math/s_cacosf.c (__cacosf): Likewise.
21097 * math/s_cacosl.c (__cacosl): Likewise.
21098 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101
21102 [BZ #16927]
21103 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21104 value.
21105 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21106 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21107 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21108 for explicit high bit of mantissa when testing for argument equal
21109 to 1.
21110 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21111 * sysdeps/i386/fpu/libm-test-ulps: Update.
21112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21113
21114 [BZ #16516]
21115 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21116 (__erf): Scale by 16 instead of 8 in potentially underflowing
21117 case. Ensure exception if result actually underflows.
21118 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21119 (__erff): Scale by 16 instead of 8 in potentially underflowing
21120 case. Ensure exception if result actually underflows.
21121 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21122 (efx8): Remove variable.
21123 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21124 case. Ensure exception if result actually underflows.
21125 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21126 (efx8): Remove variable.
21127 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21128 case. Ensure exception if result actually underflows.
21129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21130 (efx8): Remove variable.
21131 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21132 case. Ensure exception if result actually underflows.
21133 * math/auto-libm-test-in: Add more tests of erf.
21134 * math/auto-libm-test-out: Regenerated.
21135
21136 2014-05-14 Andreas Schwab <schwab@suse.de>
21137
21138 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21139 Remove code conditionalized on USE___THREAD.
21140
21141 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21142 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21143 not definedness.
21144
21145 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21146
21147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21148 Define unconditionally.
21149 (__ASSUME_O_CLOEXEC): Likewise.
21150 (__ASSUME_SOCK_CLOEXEC): Likewise.
21151 (__ASSUME_IN_NONBLOCK): Likewise.
21152 (__ASSUME_PIPE2): Likewise.
21153 (__ASSUME_EVENTFD2): Likewise.
21154 (__ASSUME_SIGNALFD4): Likewise.
21155 (__ASSUME_DUP3): Likewise.
21156 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21157 (__ASSUME_DUP3): Do not define.
21158 (__ASSUME_EVENTFD2): Likewise.
21159 (__ASSUME_IN_NONBLOCK): Likewise.
21160 (__ASSUME_O_CLOEXEC): Likewise.
21161 (__ASSUME_PIPE2): Likewise.
21162 (__ASSUME_SIGNALFD4): Likewise.
21163 (__ASSUME_SOCK_CLOEXEC): Likewise.
21164 (__ASSUME_UTIMES): Undefine.
21165 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21166 (__ASSUME_UTIMES): Do not define.
21167 (__ASSUME_O_CLOEXEC): Likewise.
21168 (__ASSUME_SOCK_CLOEXEC): Likewise.
21169 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21170 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21171 0x020621].
21172 (__ASSUME_PIPE2): Likewise.
21173 (__ASSUME_EVENTFD2): Likewise.
21174 (__ASSUME_SIGNALFD4): Likewise.
21175 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21176 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21177 Do not define.
21178 (__ASSUME_EVENTFD2): Likewise.
21179 (__ASSUME_SIGNALFD4): Likewise.
21180 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21181 (__ASSUME_32BITUIDS): Likewise.
21182 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21183 (__ASSUME_IPC64): Likewise.
21184 (__ASSUME_ST_INO_64_BIT): Likewise.
21185 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21186 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21187 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21188 (__ASSUME_UTIMES): Do not define.
21189 (__ASSUME_PSELECT): Likewise.
21190 (__ASSUME_PPOLL): Likewise.
21191 (__ASSUME_O_CLOEXEC): Likewise.
21192 (__ASSUME_SOCK_CLOEXEC): Likewise.
21193 (__ASSUME_IN_NONBLOCK): Likewise.
21194 (__ASSUME_PIPE2): Likewise.
21195 (__ASSUME_EVENTFD2): Likewise.
21196 (__ASSUME_SIGNALFD4): Likewise.
21197 (__ASSUME_DUP3): Likewise.
21198 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21199 (__ASSUME_UTIMES): Likewise.
21200 (__ASSUME_O_CLOEXEC): Likewise.
21201 (__ASSUME_SOCK_CLOEXEC): Likewise.
21202 (__ASSUME_IN_NONBLOCK): Likewise.
21203 (__ASSUME_PIPE2): Likewise.
21204 (__ASSUME_EVENTFD2): Likewise.
21205 (__ASSUME_SIGNALFD4): Likewise.
21206 (__ASSUME_DUP3): Likewise.
21207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21208 (__ASSUME_UTIMES): Likewise.
21209 (__ASSUME_O_CLOEXEC): Likewise.
21210 (__ASSUME_SOCK_CLOEXEC): Likewise.
21211 (__ASSUME_IN_NONBLOCK): Likewise.
21212 (__ASSUME_PIPE2): Likewise.
21213 (__ASSUME_EVENTFD2): Likewise.
21214 (__ASSUME_SIGNALFD4): Likewise.
21215 (__ASSUME_DUP3): Likewise.
21216 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21217 Likewise.
21218 (__ASSUME_UTIMES): Likewise.
21219 (__ASSUME_EVENTFD2): Likewise.
21220 (__ASSUME_SIGNALFD4): Likewise.
21221 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21222 (__ASSUME_O_CLOEXEC): Likewise.
21223 (__ASSUME_SOCK_CLOEXEC): Likewise.
21224 (__ASSUME_IN_NONBLOCK): Likewise.
21225 (__ASSUME_PIPE2): Likewise.
21226 (__ASSUME_EVENTFD2): Likewise.
21227 (__ASSUME_SIGNALFD4): Likewise.
21228 (__ASSUME_DUP3): Likewise.
21229 (__ASSUME_UTIMES): Undefine.
21230
21231 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21232 feclearexcept. Remove symbol versioning code.
21233 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21234 symbol versioning code.
21235 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21236 symbol versioning code.
21237 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21238 feupdateenv. Remove symbol versioning code.
21239 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21240 fegetexceptflag. Remove symbol versioning code.
21241 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21242 fesetexceptflag. Remove symbol versioning code.
21243 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21244 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21245 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21246 (__posix_fadvise64_l32): Remove prototype.
21247 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21248 code.
21249
21250 2014-05-13 Roland McGrath <roland@hack.frob.com>
21251
21252 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21253 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21254 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21255 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21256
21257 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21258
21259 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21260 current working directory
21261
21262 2014-05-13 Roland McGrath <roland@hack.frob.com>
21263
21264 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21265 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21266 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21267 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21268 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21269 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21270 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21271 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21272 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21273 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21274 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21275 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21276 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21277 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21278 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21279 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21280 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21281 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21282 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21283 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21284 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21285 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21286 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21287 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21288 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21289 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21290 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21291 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21292 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21293 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21294 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21295 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21296 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21297 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21298 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21299 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21300 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21301 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21302 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21303 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21304 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21305 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21306
21307 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21308 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21309
21310 * sysdeps/unix/sysv/linux/arm/Makefile
21311 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21312 Add rt-aeabi_unwind_cpp_pr1.
21313 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21314 Add nptl-aeabi_unwind_cpp_pr1.
21315 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21316 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21317 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21318 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21319 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21320 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21321
21322 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21323 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21324 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21325 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21326
21327 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21328 Deconditionalize the code that was previously under [RESET_PID].
21329 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21330
21331 * sysdeps/generic/exit-thread.h: New file.
21332 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21333 * include/unistd.h (__exit_thread): Remove declaration.
21334 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21335 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21336 * csu/libc-start.c: Include <exit-thread.h>.
21337 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21338 * nptl/pthread_create.c: Include <exit-thread.h>.
21339 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21340 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21341 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21342 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21343 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21344 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21345 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21346 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21347 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21348 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21349 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21350 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21351 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21352 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21353 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21354 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21355 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21356
21357 2014-05-13 Andreas Schwab <schwab@suse.de>
21358
21359 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21360
21361 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21362
21363 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21364 (__ASSUME_UTIMES): Do not condition on kernel version.
21365 (__ASSUME_PSELECT): Define unconditionally.
21366 (__ASSUME_PPOLL): Likewise.
21367 (__ASSUME_ATFCTS): Likewise.
21368 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21369 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21370 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21371 (__ASSUME_UTIMENSAT): Define unconditionally.
21372 (__ASSUME_PRIVATE_FUTEX): Likewise.
21373 (__ASSUME_FALLOCATE): Likewise.
21374 (__ASSUME_O_CLOEXEC): Likewise.
21375 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21376 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21377 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21378 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21379 (__ASSUME_IN_NONBLOCK): Likewise.
21380 (__ASSUME_PIPE2): Likewise.
21381 (__ASSUME_EVENTFD2): Likewise.
21382 (__ASSUME_SIGNALFD4): Likewise.
21383 (__ASSUME_DUP3): Likewise.
21384 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21385 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21386 (__ASSUME_AT_RANDOM): Likewise.
21387 (__ASSUME_PREADV): Likewise.
21388 (__ASSUME_PWRITEV): Likewise.
21389 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21390 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21391 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21392 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21393 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21395 (__ASSUME_O_CLOEXEC): Define unconditionally.
21396 (__ASSUME_PSELECT): Do not undefine conditionally.
21397 (__ASSUME_PPOLL): Likewise.
21398 (__ASSUME_ATFCTS): Likewise.
21399 (__ASSUME_SET_ROBUST_LIST): Likewise.
21400 (__ASSUME_UTIMENSAT): Likewise.
21401 (__ASSUME_FDATASYNC): Define unconditionally.
21402 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21403 (__ASSUME_SIGFRAME_V2): Likewise.
21404 )__ASSUME_EVENTFD2): Likewise.
21405 (__ASSUME_SIGNALFD4): Likewise.
21406 (__ASSUME_PSELECT): Do not undefine conditionally.
21407 (__ASSUME_PPOLL): Likewise.
21408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21409 (__ASSUME_PSELECT): Define unconditionally.
21410 (__ASSUME_PPOLL): Likewise.
21411 (__ASSUME_O_CLOEXEC): Likewise.
21412 (__ASSUME_SOCK_CLOEXEC): Likewise.
21413 (__ASSUME_IN_NONBLOCK): Likewise.
21414 (__ASSUME_PIPE2): Likewise.
21415 (__ASSUME_EVENTFD2): Likewise.
21416 (__ASSUME_SIGNALFD4): Likewise.
21417 (__ASSUME_DUP3): Likewise.
21418 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21419 (__ASSUME_O_CLOEXEC): Likewise.
21420 (__ASSUME_SOCK_CLOEXEC): Likewise.
21421 (__ASSUME_IN_NONBLOCK): Likewise.
21422 (__ASSUME_PIPE2): Likewise.
21423 (__ASSUME_EVENTFD2): Likewise.
21424 (__ASSUME_SIGNALFD4): Likewise.
21425 (__ASSUME_DUP3): Likewise.
21426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21427 (__ASSUME_EVENTFD2): Likewise.
21428 (__ASSUME_SIGNALFD4): Likewise.
21429 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21430
21431 2014-05-12 Andreas Schwab <schwab@suse.de>
21432
21433 [BZ #16932]
21434 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21435 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21436 than maximum RPC packet size.
21437 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21438 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21439 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21440 (_nss_nis_getservbyport_r): Likewise.
21441
21442 2014-05-12 Will Newton <will.newton@linaro.org>
21443
21444 * malloc/Makefile (tests): Add tst-mallopt.
21445 * malloc/tst-mallopt.c: New file.
21446
21447 2014-05-09 Roland McGrath <roland@hack.frob.com>
21448
21449 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21450 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21451
21452 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453
21454 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21455 (tst-tlsmod6.so): Likewise.
21456
21457 2014-05-09 Roland McGrath <roland@hack.frob.com>
21458
21459 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21460
21461 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21462
21463 [BZ #16064]
21464 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21465 and <dl-procinfo.h>.
21466 (__fegetenv): Save SSE state in envp->__eip if supported.
21467 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21468 envp->__eip if supported.
21469 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21470 and <dl-procinfo.h>.
21471 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21472 __data_offset and __data_selector in environment to 0. Set SSE
21473 state if supported.
21474 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21475 test-fenv-sse.
21476 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21477 -mfpmath=sse.
21478 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21479
21480 2014-05-09 Will Newton <will.newton@linaro.org>
21481
21482 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21483 and libc_relro_required for ARM.
21484 * sysdeps/arm/preconfigure: Regenerate.
21485
21486 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21487 Stefan Liebler <stli@linux.vnet.ibm.com>
21488
21489 * config.make.in (enable-lock-elision): New Makefile variable.
21490 * configure.ac: Likewise.
21491 * configure: Regenerate.
21492 * sysdeps/s390/configure.ac:
21493 Add check for gcc transactions support.
21494 * sysdeps/s390/configure: Regenerate.
21495 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21496 Build elision files if enabled.
21497 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21498 Add lock elision support for s390.
21499 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21500 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21501 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21502 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21503 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21504 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21506 Likewise.
21507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21508 Likewise.
21509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21510 Likewise.
21511 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21512 Likewise.
21513 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21514 (__lll_timedlock_elision, __lll_lock_elision)
21515 (__lll_unlock_elision, __lll_trylock_elision)
21516 (lll_timedlock_elision, lll_lock_elision)
21517 (lll_unlock_elision, lll_trylock_elision): Add.
21518 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21519 (pthread_mutex_t): Add lock elision support for s390.
21520
21521 2014-05-14 Wilco <wdijkstr@arm.com>
21522
21523 * sysdeps/arm/fclrexcpt.c: Cleanup.
21524 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21525 * sysdeps/arm/feenablxcpt.c: Cleanup.
21526 * sysdeps/arm/fegetenv.c: Cleanup.
21527 * sysdeps/arm/fegetexcept.c: Cleanup.
21528 * sysdeps/arm/fegetround.c: Cleanup.
21529 * sysdeps/arm/feholdexcpt.c: Cleanup.
21530 * sysdeps/arm/fesetenv.c: Cleanup.
21531 * sysdeps/arm/fesetround.c: Cleanup.
21532 * sysdeps/arm/feupdateenv.c: Cleanup.
21533 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21534 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21535 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21536 * sysdeps/arm/ftestexcept.c: Cleanup.
21537 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21538 * sysdeps/arm/setfpucw.c: Cleanup.
21539
21540 2014-05-09 Will Newton <will.newton@linaro.org>
21541
21542 * sysdeps/arm/armv7/strcmp.S: New file.
21543 * NEWS: Mention addition of ARMv7 optimized strcmp.
21544
21545 2014-05-08 Roland McGrath <roland@hack.frob.com>
21546
21547 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21548 look for %.ac rather than %.in.
21549
21550 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21551 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21552 * sysdeps/mach/hurd/configure: Regenerated.
21553 * sysdeps/unix/sysv/linux/configure: Regenerated.
21554
21555 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21556
21557 2014-05-07 Steve Ellcey <sellcey@mips.com>
21558
21559 [BZ# 16922]
21560 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21561 (LONG_SUB): Ditto.
21562 (PTR_SUB): Ditto.
21563
21564 2014-05-07 Andreas Schwab <schwab@suse.de>
21565
21566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21567 when skipping over non-matching result from nscd.
21568
21569 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21570
21571 [BZ #16876]
21572 * nptl/sockperf.c (client): Check socket return value.
21573
21574 [BZ #16877]
21575 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21576 nscd security class.
21577
21578 2014-05-06 Roland McGrath <roland@hack.frob.com>
21579
21580 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21581 * sysdeps/arm/unwind.h: ... here.
21582
21583 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21584
21585 [BZ# 16916]
21586 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21587 Define.
21588
21589 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21590
21591 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21592 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21593 multiarch strncpy for PPC64.
21594 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21595 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21597 multiarch optimizations.
21598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21599 (__libc_ifunc_impl_list): Likewise.
21600 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21602 multiarch stpncpy for PPC64.
21603 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21604 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21605
21606 2014-05-06 Andreas Schwab <schwab@suse.de>
21607
21608 [BZ #16912]
21609 * gmon/mcount.c (_MCOUNT_DECL): Use
21610 atomic_compare_and_exchange_bool_acq instead of
21611 catomic_compare_and_exchange_bool_acq.
21612
21613 2014-05-05 Roland McGrath <roland@hack.frob.com>
21614
21615 * elf/Makefile (others, install-bin): Remove pldd.
21616 (pldd-modules): Variable removed.
21617 ($(objpfx)pldd): Target removed.
21618 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21619 (others, install-bin): Append pldd here.
21620 ($(objpfx)pldd): New target.
21621
21622 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21623 to 0, so the first #if test emitted later doesn't see it undefined.
21624 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21625 * sysdeps/gnu/errlist.c: Regenerated.
21626
21627 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21628
21629 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21630 [libc_hidden_builtin_def]: Define to empty value.
21631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21632 [libc_hidden_builtin_def]: Likewise.
21633 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21634 [libc_hidden_builtin_def]: Likewise.
21635 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21636 [libc_hidden_builtin_def]: Likewise.
21637 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21638 __redirect_memcpy and define ifunc as default hidden symbol.
21639 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21640 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21641
21642 2014-05-04 Adam Conrad <adconrad@0c3.net>
21643
21644 * locale/iso-4217.def: Reintroduce XDR currency.
21645
21646 2014-05-04 Allan McRae <allan@archlinux.org>
21647
21648 * po/eo.po: Update Esperanto translation from translation project.
21649
21650 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21651
21652 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21653 and FEATURE_INDEX_MAX to 1.
21654 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21655
21656 2014-05-01 Steve Ellcey <sellcey@mips.com>
21657
21658 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21659 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21660 * iconvdata/big5.c (ONE_DIRECTION): Define.
21661 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21662 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21663 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21664 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21665 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21666 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21667 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21668 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21669 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21670 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21671 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21672 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21673 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21674 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21675 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21676 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21677 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21678 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21679 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21680 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21681 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21682 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21683 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21684 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21685 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21686 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21687 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21688 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21689 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21690 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21691 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21692 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21693 * iconvdata/johab.c (ONE_DIRECTION): Define.
21694 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21695 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21696 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21697 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21698 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21699 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21700 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21701 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21702 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21703 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21704
21705 2014-05-01 Roland McGrath <roland@hack.frob.com>
21706
21707 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21708 (_IO_JUMPS_OFFSET): Define to 0.
21709
21710 * nptl/sysdeps/pthread/bits/libc-lock.h
21711 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21712 (__libc_lock_define_initialized_recursive): Always define using
21713 initializer. Modern compilers treat uninitialized (implicit zero) and
21714 explicit zero initializers the same (i.e. put the datum in bss).
21715
21716 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21717
21718 * nscd/nscd-client.h: Include <string.h>.
21719
21720 2014-05-01 David S. Miller <davem@davemloft.net>
21721
21722 [BZ #16885]
21723 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21724 multiple zero bytes exist at the end of a string.
21725 Reported by Aurelien Jarno <aurelien@aurel32.net>
21726
21727 * string/test-strcmp.c (check): Add explicit test for situations where
21728 there are multiple zero bytes after the first.
21729
21730 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21731
21732 [BZ #16890]
21733 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21734 when compiling wprintf.
21735 * stdio-common/tstdiomisc.c (t3): New function.
21736 (main): Call it.
21737
21738 2014-05-01 Steve Ellcey <sellcey@mips.com>
21739
21740 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21741 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21742 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21743 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21744
21745 2014-05-01 Steve Ellcey <sellcey@mips.com>
21746
21747 * stdlib/longlong.h: Updated from GCC.
21748
21749 2014-05-01 Will Newton <will.newton@linaro.org>
21750 Bernard Ogden <bernie.ogden@linaro.org>
21751
21752 * NEWS: Update fixed bug list.
21753
21754 [BZ #15119]
21755 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21756
21757 2014-04-30 David S. Miller <davem@davemloft.net>
21758
21759 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21760 (libc_feholdexcept_setround_sparc_ctx): New function.
21761 (libc_fesetenv_sparc_ctx): Likewise.
21762 (libc_feupdateenv_sparc_ctx): Likewise.
21763 (libc_feholdsetround_sparc_ctx): Likewise.
21764 (libc_feholdexcept_setround_ctx): Define.
21765 (libc_feholdexcept_setroundf_ctx): Likewise.
21766 (libc_feholdexcept_setroundl_ctx): Likewise.
21767 (libc_fesetenv_ctx): Likewise.
21768 (libc_fesetenvf_ctx): Likewise.
21769 (libc_fesetenvl_ctx): Likewise.
21770 (libc_feupdateenv_ctx): Likewise.
21771 (libc_feupdateenvf_ctx): Likewise.
21772 (libc_feupdateenvl_ctx): Likewise.
21773 (libc_feresetround_ctx): Likewise.
21774 (libc_feresetroundf_ctx): Likewise.
21775 (libc_feresetroundl_ctx): Likewise.
21776 (libc_feholdsetround_ctx): Likewise.
21777 (libc_feholdsetroundf_ctx): Likewise.
21778 (libc_feholdsetroundl_ctx): Likewise.
21779
21780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21781 with __USE_GNU instead of XOPEN cpp guards.
21782
21783 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21784 0.
21785
21786 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21787 with XOPEN cpp guards.
21788
21789 2014-04-30 Julian Brown <julian@codesourcery.com>
21790
21791 [BZ #16888]
21792 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21793 handling.
21794
21795 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21796
21797 [BZ #9894]
21798 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21799 Change to 2.6.32.
21800 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21801 * sysdeps/unix/sysv/linux/configure: Regenerated.
21802 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21803 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21804 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21805 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21806 * README: Update reference to required Linux kernel version.
21807 * manual/install.texi (Linux): Update reference to required Linux
21808 kernel headers version.
21809 * INSTALL: Regenerated.
21810
21811 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21812 header inclusion.
21813 [POSIX] (limits.h): Likewise.
21814 [POSIX] (math.h): Likewise.
21815 [POSIX] (sys/wait.h): Likewise.
21816 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21817 function.
21818 [POSIX] (stddef.h): Do not allow header inclusion.
21819
21820 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21821
21822 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21823
21824 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21825
21826 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21827 Return immediately after lll_futex_wake.
21828
21829 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21830
21831 [BZ #16791]
21832 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21833 structure.
21834 (datahead_init_pos): Call datahead_init_common early.
21835 (datahead_init_neg): Likewise.
21836
21837 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21838 datahead_init_neg): New functions.
21839 * nscd/aicache.c (addhstaiX): Use them.
21840 * nscd/grpcache.c (cache_addgr): Likewise.
21841 * nscd/hstcache.c (cache_addhst): Likewise.
21842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21843 * nscd/netgroupcache.c (do_notfound): Likewise.
21844 (addgetnetgrentX): Likewise.
21845 (addinnetgrX): Likewise.
21846 * nscd/pwdcache.c (cache_addpw): Likewise.
21847 * nscd/servicescache.c (cache_addserv): Likewise.
21848
21849 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21850 Atsushi Onoe <atsushi@onoe.org>
21851
21852 [BZ #14308]
21853 [BZ #12994]
21854 [BZ #13651]
21855 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21856 one response is valid.
21857 * resolv/res_send.c (send_dg): Check for validity of other
21858 response if the current response is a referral.
21859
21860 2014-04-29 Steve Ellcey <sellcey@mips.com>
21861
21862 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21863
21864 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21865
21866 [BZ #16823]
21867 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21868 Always divide by positive zero when computing -Inf result.
21869 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21870 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21871
21872 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21873
21874 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21875 FPSCR if value do not change.
21876 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21877 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21878 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21879 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21880 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21881 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21882 function.
21883
21884 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21885
21886 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21887 * sysdeps/unix/sysv/linux/hppa: Move directory from
21888 ports/systeps/unix/sysv/linux/hppa.
21889 * README: Update listing for hppa-*-linux-gnu.
21890
21891 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21892
21893 [BZ #16754]
21894 * manual/stdio.texi (Hook functions): Fix types of stream hook
21895 functions.
21896 [BZ #16854]
21897 * socket/sys/socket.h: Fix typo in comment.
21898
21899 2014-04-28 Wilco <wdijkstr@arm.com>
21900
21901 * sysdeps/arm/fenv_private.h: New file.
21902 * sysdeps/arm/math_private.h: New file.
21903 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21904
21905 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21906
21907 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21908 with __int128_t.
21909 (La_x86_64_retval): Likewise.
21910
21911 2014-04-24 Ian Bolton <ian.bolton@arm.com>
21912
21913 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21914 fpsr if value didn't change.
21915 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21916 to fpcr if value didn't change.
21917 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21918 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21919 fpsr or fpcr if value didn't change.
21920 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21921 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21922 fpcr if value didn't change.
21923 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21924 to fpsr if value didn't change.
21925
21926 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21927
21928 * nptl/tst-sem3.c: Use test-skeleton.c
21929 (main): Rename to do_test. Use return instead of
21930 exit.
21931 * nptl/tst-sem4.c: Use test-skeleton.c
21932 (main): Rename to do_test.
21933
21934 2014-04-22 David S. Miller <davem@davemloft.net>
21935
21936 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21937 (struct sigaction): New struct member __glibc_reserved0, change
21938 type of sa_flags to int.
21939
21940 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
21941
21942 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21943 (COUNT_LEADING_ZEROS_0): Define for AArch64.
21944
21945 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21946
21947 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21948 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21949
21950 2014-04-22 Will Newton <will.newton@linaro.org>
21951 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
21952
21953 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21954 (__longjmp): Add longjmp and longjmp_target SystemTap
21955 probes.
21956 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21957 (__sigsetjmp): Add setjmp SystemTap probe.
21958
21959 2014-04-17 Carlos O'Donell <carlos@redhat.com>
21960
21961 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21962 match manual order.
21963
21964 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21965
21966 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21967
21968 * sysdeps/powerpc/fpu/fenv_private.h
21969 (libc_feholdexcept_setroundl_ctx): Define to
21970 libc_feholdexcept_setround_ppc_ctx.
21971 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21972 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21973 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21974 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21975
21976 2014-04-17 Ian Bolton <ian.bolton@arm.com>
21977
21978 * sysdeps/aarch64/math-tests.h: New file.
21979
21980 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
21981
21982 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21983 New.
21984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21985 Check and set bit_AVX2_Usable.
21986 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21987 macro.
21988 (bit_AVX2): Likewise.
21989 (index_AVX2_Usable): Likewise.
21990 (CPUID_AVX2): Likewise.
21991 (HAS_AVX2): Likewise.
21992
21993 2014-04-17 Will Newton <will.newton@linaro.org>
21994
21995 * manual/setjmp.texi (System V contexts): Add note that
21996 calling setcontext on a context created by a call to a
21997 signal handler is undefined. Update text to note that
21998 setcontext from a signal handler is possible but not
21999 recommended.
22000
22001 [BZ #16629]
22002 * stdlib/tst-setcontext.c: Include signal.h.
22003 (main): Check that the signal stack before and
22004 after swapcontext is the same.
22005
22006 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22007 Re-implement to restore registers in user code and avoid
22008 rt_sigreturn system call.
22009
22010 2014-04-17 Wilco <wdijkstr@arm.com>
22011
22012 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22013 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22014 * math/test-fenv.c: Skip exception trap tests on targets which only
22015 support non-stop mode.
22016
22017 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22018 Wilco Dijkstra <wilco.dijkstra@arm.com>
22019
22020 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22021 (libc_feholdsetround_aarch64_ctx)
22022 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22023 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22024 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22025 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22026 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22027 (libc_feresetround_noexl_ctx): Define.
22028
22029 2014-04-16 Richard Henderson <rth@redhat.com>
22030
22031 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22032
22033 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22034 unwind tables.
22035
22036 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22037 const from the non-libc, non-ldso copy.
22038
22039 * sysdeps/alpha/libm-test-ulps: Regenerate.
22040
22041 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22042 Wilco Dijkstra <wilco.dijkstra@arm.com>
22043
22044 * sysdeps/aarch64/fpu/math_private.h: New file.
22045
22046 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22047
22048 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22049
22050 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22051
22052 [BZ #16275]
22053 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22054 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22056 Intel MPX bound registers before _dl_profile_fixup.
22057 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22058 registers after _dl_profile_fixup. Save and restore bound
22059 registers bnd0/bnd1 when calling _dl_call_pltexit.
22060 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22061 (LR_BND_OFFSET): Likewise.
22062 (LRV_BND0_OFFSET): Likewise.
22063 (LRV_BND1_OFFSET): Likewise.
22064
22065 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22066
22067 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22068 to...
22069 * sysdeps/mach/hurd/i386/tls.h: ... here.
22070 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22071 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22072 fields.
22073
22074 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22075
22076 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22077
22078 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22079
22080 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22081
22082 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22083
22084 [BZ #14770]
22085 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22086 * sysdeps/s390/configure: Regenerate.
22087
22088 [BZ #16824]
22089 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22090 Set round-to-nearest internally to reduce error accumulation.
22091
22092 2014-04-16 Alan Modra <amodra@gmail.com>
22093
22094 [BZ #16740]
22095 [BZ #16619]
22096 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22097 * math/libm-test.inc (frexp_test_data): Add tests.
22098 * NEWS: Update fixed bug list.
22099
22100 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22101
22102 * benchtests/Makefile: Depend on libraries in build directory.
22103 (bench-math): Separate out math tests.
22104 (bench-pthread): Separate out pthread tests.
22105 (bench): Include math and pthread tests.
22106
22107 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22108
22109 [BZ #16831]
22110 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22111 _dl_debug_initialize.
22112
22113 * configure.ac: Remove SELinux header check.
22114 * configure: Regenerate.
22115 * nscd/selinux.c (perms): Array of const char* to permission names.
22116 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22117 default policy. Call string_to_security_class and string_to_av_perm to
22118 translate strings. Enforce default policy and call avs_has_perm with
22119 results of translated strings.
22120
22121 2014-04-13 David S. Miller <davem@davemloft.net>
22122
22123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22124
22125 2014-04-12 Allan McRae <allan@archlinux.org>
22126
22127 [BZ #16838]
22128 * manual/string.texi (Collation Functions): Fix qsort argument
22129 order in example.
22130 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22131
22132 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22133
22134 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22135 Make the test a no-op if there are no exceptions defined.
22136
22137 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22138
22139 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22140 enable-hardcoded-path-in-tests
22141
22142 2014-04-11 Will Newton <will.newton@linaro.org>
22143
22144 * benchtests/Makefile (extra-objs): Add json-lib.o.
22145 (bench-func): Tidy up JSON output.
22146 * benchtests/bench-skeleton.c: Include json-lib.h.
22147 (main): Use JSON library functions to do output of
22148 benchmark results.
22149 * benchtests/bench-timing-type.c (main): Output the
22150 timing type simply, leaving formatting to the user.
22151 * benchtests/json-lib.c: New file.
22152 * benchtests/json-lib.h: Likewise.
22153
22154 2014-04-11 Torvald Riegel <triegel@redhat.com>
22155
22156 [BZ #15215]
22157 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22158 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22159 memory barriers. Add comments.
22160 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22161 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22162 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22163 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22164 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22165 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22166
22167 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22168
22169 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22170 * sysdeps/s390/s390-64/configure.ac: ... this ...
22171 * sysdeps/s390/configure.ac: ... to here.
22172 * sysdeps/s390/s390-32/configure: Delete file.
22173 * sysdeps/s390/s390-64/configure: Delete file.
22174 * sysdeps/s390/configure: Regenerate.
22175
22176 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22177
22178 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22179
22180 2014-04-11 Will Newton <will.newton@linaro.org>
22181
22182 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22183 to zero if it is not defined elsewhere. (mtrim): Test
22184 the value of MALLOC_DEBUG with #if rather than #ifdef.
22185
22186 2014-04-10 Torvald Riegel <triegel@redhat.com>
22187
22188 * benchtests/pthread_once-inputs: New file.
22189 * benchtests/pthread_once-source.c: New file.
22190 * benchtests/README: Update documentation.
22191
22192 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22193 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 [BZ #16275]
22196 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22197 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22198 * sysdeps/x86_64/configure: Regenerated.
22199 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22200 macro.
22201 (REGISTER_SAVE_RAX): Likewise.
22202 (REGISTER_SAVE_RCX): Likewise.
22203 (REGISTER_SAVE_RDX): Likewise.
22204 (REGISTER_SAVE_RSI): Likewise.
22205 (REGISTER_SAVE_RDI): Likewise.
22206 (REGISTER_SAVE_R8): Likewise.
22207 (REGISTER_SAVE_R9): Likewise.
22208 (REGISTER_SAVE_BND0): Likewise.
22209 (REGISTER_SAVE_BND1): Likewise.
22210 (REGISTER_SAVE_BND2): Likewise.
22211 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22212 bound registers when calling _dl_fixup.
22213
22214 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22215
22216 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22217 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22218 of its definition.
22219 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22220 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22221 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22222 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22223 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22224 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22225 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22226
22227 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22228
22229 [BZ #15514]
22230 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22231 pathconf(_PC_NAME_MAX).
22232
22233 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22234
22235 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22236 Remove macro usage.
22237 (__PTHREAD_SPINS): Move definition to ...
22238 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22239 (__PTHREAD_SPINS): ... here.
22240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22241 (__PTHREAD_SPIN): Likewise.
22242 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22243 (__PTHREAD_SPIN): Likewise.
22244 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22245 (__PTHREAD_SPIN): Likewise.
22246 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22247 (__PTHREAD_SPIN): Likewise.
22248 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22249 (__PTHREAD_SPIN): Likewise.
22250 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22251 (__PTHREAD_SPIN): Likewise.
22252 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22253 (__PTHREAD_SPIN): Likewise.
22254 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22255 (__PTHREAD_SPIN): Likewise.
22256 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22257 (__PTHREAD_SPIN): Likewise.
22258 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22259 (__PTHREAD_SPIN): Likewise.
22260 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22261 (__PTHREAD_SPIN): Likewise.
22262 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22263 (__PTHREAD_SPIN): Likewise.
22264
22265 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22266 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22267 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22268 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22269 imply folder.
22270 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22271 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22272 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22273 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22274 correct imply path.
22275 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22276 strlen symbol for non multi-arch builds.
22277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22278 missing hidden_def and weak_alias.
22279
22280 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22281
22282 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22283
22284 2014-04-07 Will Newton <will.newton@linaro.org>
22285
22286 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22287 and contents. [!_LIBC] Remove #ifndef and contents.
22288 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22289 * string/memccpy.c (__memccpy): Use ANSI prototype.
22290 * string/memfrob.c (memfrob): Likewise.
22291 * string/strcoll.c (STRCOLL): Likewise.
22292 * string/strlen.c (strlen): Likewise.
22293 * string/strtok.c (STRTOK): Likewise.
22294 * string/strcat.c: Remove unused #include of memcopy.h.
22295 (strcat): Use ANSI prototype.
22296 * string/strchr.c: Remove unused #include of memcopy.h.
22297 (strchr): Use ANSI prototype.
22298 * string/strcmp.c: Remove unused #include of memcopy.h.
22299 (strcmp): Use ANSI prototype.
22300 * string/strcpy.c: Remove unused #include of memcopy.h.
22301 (strcpy): Use ANSI prototype.
22302
22303 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22304
22305 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22306 * config.make.in (config-extra-cppflags): Set it from
22307 libc_extra_cppflags.
22308 * configure.ac (libc_extra_cflags): Make it accumulate over
22309 configure fragments.
22310 (libc_extra_cppflags): New flag.
22311 * configure. Regenerate.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22313 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22314 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22316
22317 [BZ #16815]
22318 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22319 result for FE_DOWNWARD rounding mode.
22320 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22321 Likewise.
22322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22323
22324 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22325
22326 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22327 in function argument name.
22328
22329 2014-04-03 David Svoboda <svoboda@cert.org>
22330
22331 [BZ #5666]
22332 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22333 explicitly.
22334
22335 2014-04-03 Roland McGrath <roland@hack.frob.com>
22336
22337 * elf/dl-unmap-segments.h: New file.
22338 * sysdeps/generic/ldsodefs.h
22339 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22340 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22341 * elf/dl-fptr.c: Likewise.
22342 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22343 * sysdeps/aarch64/tlsdesc.c: Likewise.
22344 * sysdeps/arm/tlsdesc.c: Likewise.
22345 * sysdeps/i386/tlsdesc.c: Likewise.
22346 * sysdeps/tile/dl-runtime.c: Likewise.
22347 * sysdeps/x86_64/tlsdesc.c: Likewise.
22348 * elf/dl-load.h: New file.
22349 * elf/dl-load.c: Include it.
22350 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22351 Macros moved to dl-load.h.
22352 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22353 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22354 Use _dl_unmap_segments in place of __munmap.
22355 Break out segment-mapping loop into ...
22356 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22357
22358 2014-04-03 Will Newton <will.newton@linaro.org>
22359
22360 * elf/dl-lookup.c (do_lookup_x): Remove comment
22361 referring to nested function and move variable
22362 declarations down to before first use.
22363
22364 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22365
22366 [BZ #16799]
22367 [BZ #16800]
22368 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22369 with 0 numerator.
22370 * math/s_catanf.c (__catanf): Likewise.
22371 * math/s_catanh.c (__catanh): Likewise.
22372 * math/s_catanhf.c (__catanhf): Likewise.
22373 * math/s_catanhl.c (__catanhl): Likewise.
22374 * math/s_catanl.c (__catanl): Likewise.
22375 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22376 by positive zero when computing -Inf result.
22377 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22378 (catanh_test): Likewise.
22379 * sysdeps/i386/fpu/libm-test-ulps: Update.
22380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381
22382 [BZ #16789]
22383 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22384 instead of using underflowing value in computing result.
22385 * math/s_clog10.c (__clog10): Likewise.
22386 * math/s_clog10f.c (__clog10f): Likewise.
22387 * math/s_clog10l.c (__clog10l): Likewise.
22388 * math/s_clogf.c (__clogf): Likewise.
22389 * math/s_clogl.c (__clogl): Likewise.
22390 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22391 (clog10_test): Likewise.
22392 * sysdeps/i386/fpu/libm-test-ulps: Update.
22393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22394
22395 2014-04-02 Alan Modra <amodra@gmail.com>
22396
22397 [BZ #16739]
22398 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22399 output when value is near a power of two. Use int64_t for lx and
22400 remove casts. Use decimal rather than hex exponent constants.
22401 Don't use long double multiplication when double will suffice.
22402 * math/libm-test.inc (nextafter_test_data): Add tests.
22403 * NEWS: Add 16739 and 16786 to bug list.
22404
22405 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22406
22407 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22408
22409 2014-04-01 Will Newton <will.newton@linaro.org>
22410
22411 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22412 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22413
22414 2014-04-01 Florian Weimer <fweimer@redhat.com>
22415
22416 [BZ #13347]
22417 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22418 * nptl/tst-setuid2.c: New file.
22419 * nptl/Makefile (xtests): Add tst-setuid2.
22420
22421 2014-04-01 Alan Modra <amodra@gmail.com>
22422
22423 [BZ #16786]
22424 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22425
22426 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22427
22428 [BZ #6803]
22429 [BZ #6804]
22430 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22431 set errno as appropriate.
22432 * math/w_scalbf.c (__scalbf): Likewise.
22433 * math/w_scalbl.c (__scalbl): Likewise.
22434 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22435 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22436 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22437 Add more NaN tests.
22438
22439 [BZ #16349]
22440 * math/w_atan2.c: Include <errno.h>.
22441 (__atan2): Set errno for result underflowing to zero.
22442 * math/w_atan2f.c: Include <errno.h>.
22443 (__atan2f): Set errno for result underflowing to zero.
22444 * math/w_atan2l.c: Include <errno.h>.
22445 (__atan2l): Set errno for result underflowing to zero.
22446 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22447 tests.
22448 * math/auto-libm-test-out: Regenerated.
22449
22450 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22451
22452 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22453 Encode instruction correctly in little endian.
22454 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22455 Likewise.
22456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22457 Likewise.
22458 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22459 Likewise.
22460 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22461 Likewise.
22462
22463 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22464
22465 [BZ #9894]
22466 * sysdeps/unix/sysv/linux/kernel-features.h
22467 [__sparc__ && !__arch64__ && !__sparc_v9__]
22468 (__ASSUME_SET_ROBUST_LIST): Do not define.
22469 [__sparc__ && !__arch64__ && !__sparc_v9__]
22470 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22471 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22472 Likewise.
22473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22474 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22475 (__ASSUME_REQUEUE_PI): Likewise.
22476 (__ASSUME_SET_ROBUST_LIST): Likewise.
22477 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22478 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22479 Undefine.
22480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22482 Likewise.
22483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22484 Likewise.
22485 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22486 Likewise.
22487 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22488 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22489 Undefine.
22490 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22491 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22492 Likewise.
22493
22494 [BZ #16648]
22495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22497 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22498
22499 2014-03-31 Will Newton <will.newton@linaro.org>
22500
22501 * benchtests/Makefile (bench): Add ffs and ffsll to list
22502 of tests.
22503 * benchtests/ffs-inputs: New file.
22504 * benchtests/ffsll-inputs: Likewise.
22505
22506 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22507
22508 [BZ #16770]
22509 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22510 too large before casting to int.
22511 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22512 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22513 * math/libm-test.inc (scalb_test_data): Add more tests.
22514
22515 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22516
22517 * benchtests/Makefile (DETAILED_OPT): New make option.
22518 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22519 set.
22520 * benchtests/bench-skeleton.c: Include stdbool.h.
22521 (main): Store and print timings per input.
22522 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22523 member to each argument value.
22524 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22525 (_print_arg_data): Initialize per-input timing to 0.
22526
22527 * benchtests/Makefile (timing-type): New binary.
22528 (bench-clean): Also remove bench-timing-type.
22529 (bench): New target for timing-type.
22530 (bench-func): Print output in JSON format.
22531 * benchtests/bench-skeleton.c (main): Print output in JSON
22532 format.
22533 * benchtests/bench-timing-type.c: New file.
22534 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22535 (TIMING_PRINT_STATS): Remove.
22536 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22537 name separately.
22538
22539 * benchtests/bench-modf.c: Remove.
22540 * benchtests/modf-inputs: New inputs file.
22541
22542 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22543
22544 [BZ #16362]
22545 * math/s_clog10.c (M_PI_LOG10E): New macro.
22546 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22547 imaginary parts are 0.
22548 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22549 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22550 imaginary parts are 0.
22551 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22552 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22553 imaginary parts are 0.
22554 * math/libm-test.inc (clog10_test_data): Update expected results
22555 for when real and imaginary parts are 0.
22556
22557 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22558
22559 * elf/dl-load.c: Finish conversion of __builtin_expect into
22560 __glibc_{un}likely.
22561
22562 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22563
22564 [BZ #16348]
22565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22566 1+x for argument with exponent below -67.
22567 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22568 Likewise.
22569 * math/auto-libm-test-in: Add more tests of exp.
22570 * math/auto-libm-test-out: Regenerated.
22571
22572 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22573
22574 [BZ #16759]
22575 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22576 (nscd_getnetgrent): Use it.
22577
22578 [BZ #16760]
22579 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22580 of stpcpy.
22581
22582 2014-03-27 Andi Kleen <ak@linux.intel.com>
22583
22584 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22585 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22586 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22587 (lll_robust_unlock): Remove out of line section. Use cfi
22588 intrinsics.
22589 (LLL_STUB_UNWIND_INFO*): Remove.
22590 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22591 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22592 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22593 (lll_robust_unlock): Remove out of line section. Use cfi
22594 intrinsics.
22595 (LLL_STUB_UNWIND_INFO*): Remove.
22596
22597 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22598
22599 [BZ #16758]
22600 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22601 blank values.
22602
22603 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22604
22605 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22606
22607 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #16198]
22610 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22611 fnstenv.
22612 * math/test-fenv-preserve.c: New file.
22613 * math/Makefile (tests): Add test-fenv-preserve.
22614
22615 2014-03-26 Will Newton <will.newton@linaro.org>
22616
22617 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22618
22619 2014-03-25 Roland McGrath <roland@hack.frob.com>
22620
22621 * scripts/versionlist.awk: Partition the version sets and emit all
22622 GLIBC_* (sorted) before all others (sorted).
22623
22624 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22625
22626 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22627 GLIBC_2.2.5 version.
22628
22629 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22630
22631 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22632 calls.
22633
22634 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22635 previous change.
22636
22637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22638
22639 2014-03-25 Andreas Schwab <schwab@suse.de>
22640
22641 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22642 label to be used after in6ailist is initialized.
22643
22644 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22645
22646 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22647 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22648
22649 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22650
22651 [BZ #16357]
22652 [BZ #16599]
22653 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22654 min_plus_half.
22655 (fp_formats): Update initializers.
22656 (init_fp_formats): Initialize new field.
22657 (output_for_one_input_case): Allow underflow for results up to
22658 min_plus_half.
22659 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22660 * math/auto-libm-test-in: Don't mark some underflows from asin and
22661 atanh as spurious.
22662 * math/auto-libm-test-out: Regenerated.
22663 * sysdeps/i386/fpu/libm-test-ulps: Update.
22664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22665
22666 2014-03-25 Andreas Schwab <schwab@suse.de>
22667
22668 * libio/Makefile (tst-ftell-partial-wide-ENV)
22669 (tst-ftell-active-handler-ENV): Define.
22670
22671 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22672
22673 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22674
22675 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22676
22677 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22678
22679 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22680
22681 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22682 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22683 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22684
22685 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22686
22687 [BZ #16634]
22688 * elf/dl-load.c (open_verify): Add mode parameter.
22689 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22690 (open_path): Change from boolean 'secure' to complete flag 'mode'
22691 (_dl_map_object): Adjust.
22692 * elf/Makefile (tests): Add tst-dlopen-aout.
22693 * elf/tst-dlopen-aout.c: New test.
22694
22695 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22696
22697 [BZ #16714]
22698 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22699 (struct stat): Rename member pad0 to __glibc_reserved0.
22700
22701 [BZ #16712]
22702 * sysdeps/s390/s390-32/bits/wordsize.h
22703 (__WORDSIZE32_SIZE_ULONG): New define.
22704 * sysdeps/s390/s390-64/bits/wordsize.h
22705 (__WORDSIZE32_SIZE_ULONG): Likewise.
22706 * sysdeps/generic/stdint.h (SIZE_MAX):
22707 Define as UL if __WORDSIZE32_SIZE_ULONG.
22708
22709 [BZ #16713]
22710 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22711 (__glibc_reserved0): New variable.
22712 (sa_flags): Change type to int.
22713
22714 * posix/Makefile (before-compile): Use += before-compile instead
22715 of a :=.
22716
22717 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22718 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22719
22720 2014-03-20 Andreas Schwab <schwab@suse.de>
22721
22722 [BZ #16743]
22723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22724 non-matching result from nscd.
22725
22726 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22727
22728 * scripts/bench.py: Moved to ...
22729 * benchtests/scripts/bench.py: ... here.
22730 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22731
22732 2014-03-24 Andreas Schwab <schwab@suse.de>
22733
22734 [BZ #16002]
22735 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22736 alloca_account and account alloca use for struct in6ailist.
22737
22738 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22739
22740 [BZ #16284]
22741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22742 rounding mode to recompute results that overflow to infinity or
22743 underflow to zero.
22744 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22745 bug 16284.
22746 * math/auto-libm-test-out: Regenerated.
22747 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22748 (ccosh_test): Likewise.
22749 (csin_test_data): Use plus_oflow.
22750 (csin_test): Use ALL_RM_TEST.
22751 (csinh_test_data): Use plus_oflow.
22752 (csinh_test): Use ALL_RM_TEST.
22753 * sysdeps/i386/fpu/libm-test-ulps: Update.
22754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22755
22756 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22757
22758 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22759 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22760 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22761
22762 [BZ #16731]
22763 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22764 when x - 1 is zero.
22765 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22766 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22767 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22768 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22769 argument is 1.
22770 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22771 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22772 zero.
22773 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22774 * sysdeps/i386/fpu/libm-test-ulps: Update.
22775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22776
22777 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22778
22779 * scripts/bench.pl: Remove file.
22780 * scripts/bench.py: New benchmark script.
22781 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22782 * benchtests/README: Mention python dependency.
22783 * scripts/pylintrc: New file.
22784 * scripts/pylint: New file.
22785
22786 * bits/mathdef.h: Use #ifdef instead of #if.
22787 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22789 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22790 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22791 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22792 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22793
22794 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22795 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22796
22797 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22799 and strpbrk-ppc64 objects.
22800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22801 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22803 multiarch strpbrk for POWER7.
22804 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22805 multiarch strpbrk for PPC64.
22806 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22807 ifunc selector.
22808 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22809 strpbrk for POWER7.
22810
22811 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22812
22813 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22814 (atan_test): Likewise.
22815 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22816 (atanh_test): Use ALL_RM_TEST.
22817 (atan2_test_data): Likewise.
22818 (cabs_test): Likewise.
22819 (cacosh_test): Likewise.
22820 (carg_test): Likewise.
22821 (casin_test): Likewise.
22822 (casinh_test): Likewise.
22823 (cbrt_test): Likewise.
22824 (csqrt_test): Likewise.
22825 (erf_test): Likewise.
22826 (erfc_test): Likewise.
22827 (pow10_test): Likewise.
22828 (exp2_test): Likewise.
22829 (hypot_test): Likewise.
22830 (j0_test): Likewise.
22831 (j1_test): Likewise.
22832 (lgamma_test): Likewise.
22833 (gamma_test): Likewise.
22834 (sincos_test): Likewise.
22835 (tanh_test): Likewise.
22836 (y0_test): Likewise.
22837 (y1_test): Likewise.
22838 * sysdeps/i386/fpu/libm-test-ulps: Update.
22839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22840
22841 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22842
22843 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22845 and strcspn-ppc64 objects.
22846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22847 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22848 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22849 multiarch strcspn for POWER7.
22850 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22851 multiarch strcspn for PPC64.
22852 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22853 ifunc selector.
22854 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22855 strcspn for POWER7.
22856
22857 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22858
22859 * math/gen-libm-test.pl (generate_testfile): Expect only function
22860 name as argument to AUTO_TESTS_* and pass results for all rounding
22861 modes to parse_args.
22862 (parse_auto_input): Separate inputs of automatic tests from
22863 outputs before storing in %auto_tests.
22864 * math/libm-test.inc (acos_test_data): Update call to
22865 AUTO_TESTS_f_f.
22866 (acos_test): Use ALL_RM_TEST.
22867 (acos_tonearest_test_data): Remove.
22868 (acos_test_tonearest): Likewise.
22869 (acos_towardzero_test_data): Likewise.
22870 (acos_test_towardzero): Likewise.
22871 (acos_downward_test_data): Likewise.
22872 (acos_test_downward): Likewise.
22873 (acos_upward_test_data): Likewise.
22874 (acos_test_upward): Likewise.
22875 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22876 (asin_test_data): Likewise.
22877 (asin_test): Use ALL_RM_TEST.
22878 (asin_tonearest_test_data): Remove.
22879 (asin_test_tonearest): Likewise.
22880 (asin_towardzero_test_data): Likewise.
22881 (asin_test_towardzero): Likewise.
22882 (asin_downward_test_data): Likewise.
22883 (asin_test_downward): Likewise.
22884 (asin_upward_test_data): Likewise.
22885 (asin_test_upward): Likewise.
22886 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22887 (atan_test_data): Likewise.
22888 (atanh_test_data): Likewise.
22889 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22890 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22891 (carg_test_data): Likewise.
22892 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22893 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22894 (ccosh_test_data): Likewise.
22895 (cexp_test_data): Likewise.
22896 (clog_test_data): Likewise.
22897 (clog10_test_data): Likewise.
22898 (cos_test_data): Update call to AUTO_TESTS_f_f.
22899 (cos_test): Use ALL_RM_TEST.
22900 (cos_tonearest_test_data): Remove.
22901 (cos_test_tonearest): Likewise.
22902 (cos_towardzero_test_data): Likewise.
22903 (cos_test_towardzero): Likewise.
22904 (cos_downward_test_data): Likewise.
22905 (cos_test_downward): Likewise.
22906 (cos_upward_test_data): Likewise.
22907 (cos_test_upward): Likewise.
22908 (cosh_test_data): Update call to AUTO_TESTS_f_f.
22909 (cosh_test): Use ALL_RM_TEST.
22910 (cosh_tonearest_test_data): Remove.
22911 (cosh_test_tonearest): Likewise.
22912 (cosh_towardzero_test_data): Likewise.
22913 (cosh_test_towardzero): Likewise.
22914 (cosh_downward_test_data): Likewise.
22915 (cosh_test_downward): Likewise.
22916 (cosh_upward_test_data): Likewise.
22917 (cosh_test_upward): Likewise.
22918 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22919 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22920 (ctan_test_data): Likewise.
22921 (ctan_test): Use ALL_RM_TEST.
22922 (ctan_tonearest_test_data): Remove.
22923 (ctan_test_tonearest): Likewise.
22924 (ctan_towardzero_test_data): Likewise.
22925 (ctan_test_towardzero): Likewise.
22926 (ctan_downward_test_data): Likewise.
22927 (ctan_test_downward): Likewise.
22928 (ctan_upward_test_data): Likewise.
22929 (ctan_test_upward): Likewise.
22930 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22931 (ctanh_test): Use ALL_RM_TEST.
22932 (ctanh_tonearest_test_data): Remove.
22933 (ctanh_test_tonearest): Likewise.
22934 (ctanh_towardzero_test_data): Likewise.
22935 (ctanh_test_towardzero): Likewise.
22936 (ctanh_downward_test_data): Likewise.
22937 (ctanh_test_downward): Likewise.
22938 (ctanh_upward_test_data): Likewise.
22939 (ctanh_test_upward): Likewise.
22940 (erf_test_data): Update call to AUTO_TESTS_f_f.
22941 (erfc_test_data): Likewise.
22942 (exp_test_data): Likewise.
22943 (exp_test): Use ALL_RM_TEST.
22944 (exp_tonearest_test_data): Remove.
22945 (exp_test_tonearest): Likewise.
22946 (exp_towardzero_test_data): Likewise.
22947 (exp_test_towardzero): Likewise.
22948 (exp_downward_test_data): Likewise.
22949 (exp_test_downward): Likewise.
22950 (exp_upward_test_data): Likewise.
22951 (exp_test_upward): Likewise.
22952 (exp10_test_data): Update call to AUTO_TESTS_f_f.
22953 (exp10_test): Use ALL_RM_TEST.
22954 (exp10_tonearest_test_data): Remove.
22955 (exp10_test_tonearest): Likewise.
22956 (exp10_towardzero_test_data): Likewise.
22957 (exp10_test_towardzero): Likewise.
22958 (exp10_downward_test_data): Likewise.
22959 (exp10_test_downward): Likewise.
22960 (exp10_upward_test_data): Likewise.
22961 (exp10_test_upward): Likewise.
22962 (exp2_test_data): Update call to AUTO_TESTS_f_f.
22963 (expm1_test_data): Likewise.
22964 (expm1_test): Use ALL_RM_TEST.
22965 (expm1_tonearest_test_data): Remove.
22966 (expm1_test_tonearest): Likewise.
22967 (expm1_towardzero_test_data): Likewise.
22968 (expm1_test_towardzero): Likewise.
22969 (expm1_downward_test_data): Likewise.
22970 (expm1_test_downward): Likewise.
22971 (expm1_upward_test_data): Likewise.
22972 (expm1_test_upward): Likewise.
22973 (fma_test_data): Update call to AUTO_TESTS_fff_f.
22974 (fma_test): Use ALL_RM_TEST.
22975 (fma_towardzero_test_data): Remove.
22976 (fma_test_towardzero): Likewise.
22977 (fma_downward_test_data): Likewise.
22978 (fma_test_downward): Likewise.
22979 (fma_upward_test_data): Likewise.
22980 (fma_test_upward): Likewise.
22981 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22982 (j0_test_data): Update call to AUTO_TESTS_f_f.
22983 (j1_test_data): Likewise.
22984 (jn_test_data): Update call to AUTO_TESTS_if_f.
22985 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22986 (log_test_data): Update call to AUTO_TESTS_f_f.
22987 (log10_test_data): Likewise.
22988 (log1p_test_data): Likewise.
22989 (log2_test_data): Likewise.
22990 (pow_test_data): Update call to AUTO_TESTS_ff_f.
22991 (pow_tonearest_test_data): Likewise.
22992 (sin_test_data): Update call to AUTO_TESTS_f_f.
22993 (sin_test): Use ALL_RM_TEST.
22994 (sin_tonearest_test_data): Remove.
22995 (sin_test_tonearest): Likewise.
22996 (sin_towardzero_test_data): Likewise.
22997 (sin_test_towardzero): Likewise.
22998 (sin_downward_test_data): Likewise.
22999 (sin_test_downward): Likewise.
23000 (sin_upward_test_data): Likewise.
23001 (sin_test_upward): Likewise.
23002 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23003 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23004 (sinh_test): Use ALL_RM_TEST.
23005 (sinh_tonearest_test_data): Remove.
23006 (sinh_test_tonearest): Likewise.
23007 (sinh_towardzero_test_data): Likewise.
23008 (sinh_test_towardzero): Likewise.
23009 (sinh_downward_test_data): Likewise.
23010 (sinh_test_downward): Likewise.
23011 (sinh_upward_test_data): Likewise.
23012 (sinh_test_upward): Likewise.
23013 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23014 (sqrt_test): Use ALL_RM_TEST.
23015 (sqrt_tonearest_test_data): Remove.
23016 (sqrt_test_tonearest): Likewise.
23017 (sqrt_towardzero_test_data): Likewise.
23018 (sqrt_test_towardzero): Likewise.
23019 (sqrt_downward_test_data): Likewise.
23020 (sqrt_test_downward): Likewise.
23021 (sqrt_upward_test_data): Likewise.
23022 (sqrt_test_upward): Likewise.
23023 (tan_test_data): Update call to AUTO_TESTS_f_f.
23024 (tan_test): Use ALL_RM_TEST.
23025 (tan_tonearest_test_data): Remove.
23026 (tan_test_tonearest): Likewise.
23027 (tan_towardzero_test_data): Likewise.
23028 (tan_test_towardzero): Likewise.
23029 (tan_downward_test_data): Likewise.
23030 (tan_test_downward): Likewise.
23031 (tan_upward_test_data): Likewise.
23032 (tan_test_upward): Likewise.
23033 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23034 (tgamma_test_data): Likewise.
23035 (y0_test_data): Likewise.
23036 (y1_test_data): Likewise.
23037 (yn_test_data): Update call to AUTO_TESTS_if_f.
23038 (main): Do not call removed functions.
23039
23040 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23041
23042 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23043 (ldexp_test_data): Remove.
23044 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23045 scalbn_test_data.
23046 (scalb_test): Use ALL_RM_TEST.
23047
23048 2014-03-19 Andreas Schwab <schwab@suse.de>
23049
23050 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23051
23052 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23053
23054 [BZ #16649]
23055 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23056 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23058 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23059 (__ASSUME_PREADV): Undefine.
23060 (__ASSUME_PWRITEV): Likewise.
23061
23062 2014-03-18 Roland McGrath <roland@hack.frob.com>
23063
23064 * bits/mman-linux.h: Add comment about non-Linux use.
23065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23066 bits/mman-linux.h resting place.
23067
23068 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23069 * bits/mman-linux.h: ... here.
23070
23071 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23072
23073 * conform/conformtest.pl: Add standard definition when calling C
23074 preprocessor on data files.
23075 (checknamespace): Remove unused variable.
23076
23077 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23078
23079 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23080 minus_oflow, plus_uflow and minus_uflow in expected results.
23081 * math/libm-test.inc (scalbn_test_data): Add more tests of
23082 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23083 minus_uflow.
23084 (scalbn_test): Use ALL_RM_TEST.
23085 (scalbln_test_data): Add more tests of negative arguments. Use
23086 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23087 (scalbln_test): Use ALL_RM_TEST.
23088
23089 2014-03-18 Roland McGrath <roland@hack.frob.com>
23090
23091 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23092
23093 2014-03-18 Will Newton <will.newton@linaro.org>
23094
23095 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23096 inaccurate comment.
23097
23098 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23099
23100 * Makerules [!subdir] (check-abi): Exit with error status if a
23101 test failed.
23102
23103 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23104
23105 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23106 for rint. Include results for all rounding modes.
23107 (nearbyint_test): Use ALL_RM_TEST.
23108 (rint_test_data): Include all tests used for nearbyint.
23109
23110 2014-03-17 Will Newton <will.newton@linaro.org>
23111
23112 * nptl/sysdeps/pthread/pthread.h: Revert previous
23113 change.
23114
23115 * sysdeps/generic/ldsodefs.h: Revert previous
23116 change.
23117
23118 * libio/genops.c: Revert previous change.
23119 * libio/libioP.h: Likewise.
23120 * stdio-common/vfprintf.c: Likewise.
23121
23122 * sysdeps/generic/math_private.h: Revert previous
23123 change.
23124
23125 * sysdeps/generic/math_private.h: Check whether
23126 HAVE_RM_CTX is defined with #ifdef rather
23127 than #if.
23128
23129 * argp/argp-fmtstream.h: Check whether
23130 __STRICT_ANSI__ is defined with #ifdef rather
23131 than #if.
23132 * argp/argp.h: Likewise.
23133
23134 * libio/genops.c: Check whether
23135 _IO_JUMPS_OFFSET is defined with #ifdef rather
23136 than #if.
23137 * libio/libioP.h: Likewise.
23138 * stdio-common/vfprintf.c: Likewise.
23139
23140 * sysdeps/generic/ldsodefs.h: Check whether
23141 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23142 than #if.
23143
23144 * nptl/sysdeps/pthread/pthread.h: Check
23145 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23146 its value.
23147
23148 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23149
23150 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23151 setting O_APPEND.
23152 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23153 test case.
23154
23155 [BZ #16680]
23156 * libio/fileops.c (_IO_file_open): Seek to end of file but
23157 don't cache the offset.
23158 (get_file_offset): Remove function.
23159 (do_ftell): Use cached offset when available.
23160 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23161 don't cache the offset.
23162 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23163 case.
23164 (do_one_test): Call it.
23165 (do_ftell_test): Fix up expected old offset for a+ mode.
23166 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23167 available.
23168
23169 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23170 up test status with function return status.
23171 (do_write_test): Likewise.
23172 (do_append_test): Likewise.
23173
23174 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23175 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23176 Remove.
23177
23178 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23179
23180 * math/gen-libm-test.pl (parse_args): Handle results specified for
23181 each rounding mode separately.
23182 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23183 tests and results from lrint_tonearest_test_data,
23184 lrint_towardzero_test_data, lrint_downward_test_data and
23185 lrint_upward_test_data.
23186 (lrint_test): Use ALL_RM_TEST.
23187 (lrint_tonearest_test_data): Remove.
23188 (lrint_test_tonearest): Likewise.
23189 (lrint_towardzero_test_data): Likewise.
23190 (lrint_test_towardzero): Likewise.
23191 (lrint_downward_test_data): Likewise.
23192 (lrint_test_downward): Likewise.
23193 (lrint_upward_test_data): Likewise.
23194 (lrint_test_upward): Likewise.
23195 (llrint_test_data): Merge in per-rounding-mode tests and results
23196 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23197 llrint_downward_test_data and llrint_upward_test_data.
23198 (llrint_test): Use ALL_RM_TEST.
23199 (llrint_tonearest_test_data): Remove.
23200 (llrint_test_tonearest): Likewise.
23201 (llrint_towardzero_test_data): Likewise.
23202 (llrint_test_towardzero): Likewise.
23203 (llrint_downward_test_data): Likewise.
23204 (llrint_test_downward): Likewise.
23205 (llrint_upward_test_data): Likewise.
23206 (llrint_test_upward): Likewise.
23207 (rint_test_data): Merge in per-rounding-mode tests and results
23208 from rint_tonearest_test_data, rint_towardzero_test_data,
23209 rint_downward_test_data and rint_upward_test_data. Add
23210 per-rounding-mode results for tests not in those arrays.
23211 (rint_test): Use ALL_RM_TEST.
23212 (rint_tonearest_test_data): Remove.
23213 (rint_test_tonearest): Likewise.
23214 (rint_towardzero_test_data): Likewise.
23215 (rint_test_towardzero): Likewise.
23216 (rint_downward_test_data): Likewise.
23217 (rint_test_downward): Likewise.
23218 (rint_upward_test_data): Likewise.
23219 (rint_test_upward): Likewise.
23220 (main): Don't call removed functions.
23221
23222 2014-03-14 Roland McGrath <roland@hack.frob.com>
23223
23224 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23225 "Compiled on ..." crapola. It is anti-useful.
23226
23227 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23228
23229 * scripts/evaluate-test.sh: Handle fourth argument to determine
23230 whether test run should stop on failure.
23231 * Makeconfig (stop-on-test-failure): New variable.
23232 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23233 $(stop-on-test-failure).
23234 * Makefile (tests): Give a summary of results from testing and
23235 exit with failure status if they include an ERROR or FAIL.
23236 (xtests): Likewise.
23237 * manual/install.texi (Configuring and compiling): Mention
23238 stop-on-test-failure=y.
23239 * INSTALL: Regenerated.
23240
23241 2014-03-14 Roland McGrath <roland@hack.frob.com>
23242
23243 * scripts/versionlist.awk: New file.
23244 * Makerules [$(build-shared) = yes]
23245 (postclean-generated): Add Versions.def, not Versions.def.v and
23246 Versions.def.v.i.
23247 ($(common-objpfx)Versions.def.v.i): Target removed.
23248 ($(common-objpfx)Versions.def): New target.
23249 ($(common-objpfx)Versions.all): Depend on that rather that
23250 $(common-objpfx)Versions.def.v.
23251 * Versions.def: File removed.
23252
23253 * Makeconfig (+gccwarn): Add -Wundef.
23254 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23255 a dl-sysdep.h breaking its contract.
23256 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23257 * include/stackinfo.h: New file.
23258 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23259 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23260 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23261 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23262 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23263 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23264 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23265 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23266 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23267 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23268 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23269 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23270 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23271 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23272 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23273
23274 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23275
23276 [BZ #16707]
23277 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23278 implementation.
23279 * math/libm-test.inc (round_test_data): Add more tests.
23280
23281 [BZ #16706]
23282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23283 implementation.
23284 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23285
23286 [BZ #16701]
23287 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23288 implementation.
23289 * math/libm-test.inc (ceil_test_data): Add more tests.
23290
23291 * math/libm-test.inc (trunc_test_data): Add more tests related to
23292 BZ#16414.
23293
23294 2014-03-14 Roland McGrath <roland@hack.frob.com>
23295
23296 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23297 with #if rather than #ifdef.
23298 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23299
23300 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23303 first. Disable AVX-512 GCC support if assembler doesn't support
23304 it.
23305 * sysdeps/x86_64/configure: Regenerated.
23306
23307 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23308
23309 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23310 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23311 (__old_pthread_attr_setstack): Likewise.
23312 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23313 [!_STACK_GROWS_DOWN]: Likewise.
23314
23315 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23316
23317 * config.make.in (have-bash2): Delete.
23318 * configure.ac (libc_cv_have_bash2): Delete.
23319 * configure: Regenerate.
23320 * elf/Makefile (common-ldd-rewrite): Rename to ...
23321 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23322 (sh-ldd-rewrite): Delete.
23323 (bash-ldd-rewrite): Delete.
23324 (have-bash2): Delete checks.
23325 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23326 ldd-rewrite.
23327
23328 * config.make.in (have-ksh): Delete.
23329 (KSH): Delete.
23330 * configure.ac (libc_cv_have_ksh): Delete.
23331 * configure: Regenerate.
23332
23333 * elf/Makefile: Delete $(have-ksh) check.
23334 ($(objpfx)sotruss): Change KSH to BASH.
23335 * elf/sotruss.ksh: Rename to ...
23336 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23337 function style to match POSIX. Drop ksh vim mode setting.
23338
23339 * manual/time.texi (Specifying the Time Zone with TZ): Change
23340 Tuesday to Thursday.
23341
23342 * debug/tst-longjmp_chk2.c: Update header comment.
23343 (stackoverflow_handler): Add comment. Call assert on pass value.
23344
23345 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23346
23347 [BZ #16194]
23348 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23349 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23350 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23351 (La_x86_64_vector): Add zmm.
23352 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23353 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23354 ($(objpfx)tst-audit10): New target.
23355 ($(objpfx)tst-audit10.out): Likewise.
23356 (tst-audit10-ENV): New.
23357 (AVX512-CFLAGS): Likewise.
23358 (CFLAGS-tst-audit10.c): Likewise.
23359 (CFLAGS-tst-auditmod10a.c): Likewise.
23360 (CFLAGS-tst-auditmod10b.c): Likewise.
23361 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23362 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23363 * sysdeps/x86_64/configure: Regenerated.
23364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23365 AVX-512 zmm register support.
23366 (_dl_x86_64_save_sse): Likewise.
23367 (_dl_x86_64_restore_sse): Likewise.
23368 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23369 size vector registers.
23370 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23371 (ZMM_SIZE): Likewise.
23372 * sysdeps/x86_64/tst-audit10.c: New file.
23373 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23374 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23375
23376 2014-03-13 Roland McGrath <roland@hack.frob.com>
23377
23378 * configure.ac (HAVE_EHDR_START): New check.
23379 * configure: Regenerated.
23380 * config.h.in (HAVE_EHDR_START): New #undef.
23381 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23382 assuming the lowest-addressed segment maps the start of the file.
23383
23384 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23385
23386 * INSTALL: Regenerated.
23387
23388 2014-03-13 Will Newton <will.newton@linaro.org>
23389
23390 * manual/setjmp.texi (System V contexts): Improve
23391 clarity and grammar of documentation.
23392
23393 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23394
23395 [BZ #16381]
23396 * elf/Makefile (tests): Add tst-pie2.
23397 (tests-pie): Add tst-pie2.
23398 * elf/tst-pie2.c: New file.
23399 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23400 for ET_EXEC.
23401 * elf/rtld.c (map_doit): Load executable as lt_executable.
23402 (dl_main): Likewise.
23403
23404 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23405
23406 [BZ #16642]
23407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23408 (__ASSUME_PSELECT): Undefine.
23409
23410 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23411
23412 [BZ #16689]
23413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23414 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23415 static build.
23416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23417 selector for static builds.
23418
23419 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23420
23421 [BZ #16695]
23422 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23423 key in the buffer.
23424
23425 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23426
23427 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23428 IFUNC selector for static builds.
23429
23430 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23431
23432 * sysdeps/mips/math_private.h [__mips_hard_float]
23433 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23434 libc_feresetround_mips_ctx.
23435 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23436 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23437 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23438
23439 [BZ #16677]
23440 * math/s_nextafter.c (__nextafter): Do not return value from
23441 overflowing computation.
23442 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23443 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23444 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23445 Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23447 Likewise.
23448 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23449 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23450
23451 2014-03-11 Roland McGrath <roland@hack.frob.com>
23452
23453 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23454 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23455 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23456 the new mov targetting sp.
23457
23458 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23459
23460 [BZ #16683]
23461 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23462 Define it for static builds as well.
23463 (NO_BZERO_IMPL): Likewise.
23464
23465 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23466
23467 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23468 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23469 multiarch strspn for PPC64.
23470 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23471 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23473 (__libc_ifunc_impl_list): Likewise.
23474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23475 multiarch optimizations
23476 * string/strspn.c (strspn): Using macro to redefine symbol name.
23477
23478 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23480
23481 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23482 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23483 multiarch strncat for PPC64.
23484 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23485 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23487 (__libc_ifunc_impl_list): Likewise.
23488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23489 multiarch optimizations
23490
23491 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23492
23493 [BZ #16639]
23494 * nscd/nscd.service: Make service type forking.
23495
23496 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23497
23498 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23499 sign in non default rounding modes.
23500 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23501
23502 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23503
23504 * math/libm-test.inc (ALL_RM_TEST): New macro.
23505 (ceil_test): Use ALL_RM_TEST.
23506 (cimag_test): Likewise.
23507 (conj_test): Likewise.
23508 (copysign_test): Likewise.
23509 (cproj_test): Likewise.
23510 (creal_test): Likewise.
23511 (fabs_test): Likewise.
23512 (floor_test): Likewise.
23513 (fmax_test): Likewise.
23514 (fmin_test): Likewise.
23515 (fmod_test): Likewise.
23516 (fpclassify_test): Likewise.
23517 (frexp_test): Likewise.
23518 (ilogb_test): Likewise.
23519 (isfinite_test): Likewise.
23520 (finite_test): Likewise.
23521 (isgreater_test): Likewise.
23522 (isgreaterequal_test): Likewise.
23523 (isinf_test): Likewise.
23524 (isless_test): Likewise.
23525 (islessequal_test): Likewise.
23526 (islessgreater_test): Likewise.
23527 (isnan_test): Likewise.
23528 (isnormal_test): Likewise.
23529 (issignaling_test): Likewise.
23530 (isunordered_test): Likewise.
23531 (logb_test): Likewise.
23532 (logb_downward_test_data): Remove.
23533 (logb_test_downward): Likewise.
23534 (lround_test): Use ALL_RM_TEST.
23535 (llround_test): Likewise.
23536 (modf_test): Likewise.
23537 (nexttoward_test): Likewise.
23538 (remainder_test): Likewise.
23539 (drem_test): Likewise.
23540 (remainder_tonearest_test_data): Likewise.
23541 (remainder_test_tonearest): Likewise.
23542 (drem_test_tonearest): Likewise.
23543 (remainder_towardzero_test_data): Likewise.
23544 (remainder_test_towardzero): Likewise.
23545 (drem_test_towardzero): Likewise.
23546 (remainder_downward_test_data): Likewise.
23547 (remainder_test_downward): Likewise.
23548 (drem_test_downward): Likewise.
23549 (remainder_upward_test_data): Likewise.
23550 (remainder_test_upward): Likewise.
23551 (drem_test_upward): Likewise.
23552 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23553 (round_test): Use ALL_RM_TEST.
23554 (signbit_test): Likewise.
23555 (trunc_test): Likewise.
23556 (significand_test): Likewise.
23557 (main): Don't call removed functions.
23558
23559 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23560
23561 [BZ #16674]
23562 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23563 || __USE_XOPEN2K8].
23564 (ILL_ILLOPN): Likewise.
23565 (ILL_ILLADR): Likewise.
23566 (ILL_ILLTRP): Likewise.
23567 (ILL_PRVOPC): Likewise.
23568 (ILL_PRVREG): Likewise.
23569 (ILL_COPROC): Likewise.
23570 (ILL_BADSTK): Likewise.
23571 (FPE_INTDIV): Likewise.
23572 (FPE_INTOVF): Likewise.
23573 (FPE_FLTDIV): Likewise.
23574 (FPE_FLTOVF): Likewise.
23575 (FPE_FLTUND): Likewise.
23576 (FPE_FLTRES): Likewise.
23577 (FPE_FLTINV): Likewise.
23578 (FPE_FLTSUB): Likewise.
23579 (SEGV_MAPERR): Likewise.
23580 (SEGV_ACCERR): Likewise.
23581 (BUS_ADRALN): Likewise.
23582 (BUS_ADRERR): Likewise.
23583 (BUS_OBJERR): Likewise.
23584 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23585 (TRAP_TRACE): Likewise.
23586 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23587 __USE_XOPEN2K8].
23588 (CLD_KILLED): Likewise.
23589 (CLD_DUMPED): Likewise.
23590 (CLD_TRAPPED): Likewise.
23591 (CLD_STOPPED): Likewise.
23592 (CLD_CONTINUED): Likewise.
23593 (POLL_IN): Likewise.
23594 (POLL_OUT): Likewise.
23595 (POLL_MSG): Likewise.
23596 (POLL_ERR): Likewise.
23597 (POLL_PRI): Likewise.
23598 (POLL_HUP): Likewise.
23599 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23600 Likewise.
23601 (ILL_ILLOPN): Likewise.
23602 (ILL_ILLADR): Likewise.
23603 (ILL_ILLTRP): Likewise.
23604 (ILL_PRVOPC): Likewise.
23605 (ILL_PRVREG): Likewise.
23606 (ILL_COPROC): Likewise.
23607 (ILL_BADSTK): Likewise.
23608 (FPE_INTDIV): Likewise.
23609 (FPE_INTOVF): Likewise.
23610 (FPE_FLTDIV): Likewise.
23611 (FPE_FLTOVF): Likewise.
23612 (FPE_FLTUND): Likewise.
23613 (FPE_FLTRES): Likewise.
23614 (FPE_FLTINV): Likewise.
23615 (FPE_FLTSUB): Likewise.
23616 (SEGV_MAPERR): Likewise.
23617 (SEGV_ACCERR): Likewise.
23618 (BUS_ADRALN): Likewise.
23619 (BUS_ADRERR): Likewise.
23620 (BUS_OBJERR): Likewise.
23621 (BUS_MCEERR_AR): Likewise.
23622 (BUS_MCEERR_AO): Likewise.
23623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23624 (TRAP_TRACE): Likewise.
23625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23626 __USE_XOPEN2K8].
23627 (CLD_KILLED): Likewise.
23628 (CLD_DUMPED): Likewise.
23629 (CLD_TRAPPED): Likewise.
23630 (CLD_STOPPED): Likewise.
23631 (CLD_CONTINUED): Likewise.
23632 (POLL_IN): Likewise.
23633 (POLL_OUT): Likewise.
23634 (POLL_MSG): Likewise.
23635 (POLL_ERR): Likewise.
23636 (POLL_PRI): Likewise.
23637 (POLL_HUP): Likewise.
23638 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23639 (ILL_ILLOPN): Likewise.
23640 (ILL_ILLADR): Likewise.
23641 (ILL_ILLTRP): Likewise.
23642 (ILL_PRVOPC): Likewise.
23643 (ILL_PRVREG): Likewise.
23644 (ILL_COPROC): Likewise.
23645 (ILL_BADSTK): Likewise.
23646 (FPE_INTDIV): Likewise.
23647 (FPE_INTOVF): Likewise.
23648 (FPE_FLTDIV): Likewise.
23649 (FPE_FLTOVF): Likewise.
23650 (FPE_FLTUND): Likewise.
23651 (FPE_FLTRES): Likewise.
23652 (FPE_FLTINV): Likewise.
23653 (FPE_FLTSUB): Likewise.
23654 (SEGV_MAPERR): Likewise.
23655 (SEGV_ACCERR): Likewise.
23656 (BUS_ADRALN): Likewise.
23657 (BUS_ADRERR): Likewise.
23658 (BUS_OBJERR): Likewise.
23659 (BUS_MCEERR_AR): Likewise.
23660 (BUS_MCEERR_AO): Likewise.
23661 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23662 (TRAP_TRACE): Likewise.
23663 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23664 __USE_XOPEN2K8].
23665 (CLD_KILLED): Likewise.
23666 (CLD_DUMPED): Likewise.
23667 (CLD_TRAPPED): Likewise.
23668 (CLD_STOPPED): Likewise.
23669 (CLD_CONTINUED): Likewise.
23670 (POLL_IN): Likewise.
23671 (POLL_OUT): Likewise.
23672 (POLL_MSG): Likewise.
23673 (POLL_ERR): Likewise.
23674 (POLL_PRI): Likewise.
23675 (POLL_HUP): Likewise.
23676 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23677 Likewise.
23678 (ILL_ILLOPN): Likewise.
23679 (ILL_ILLADR): Likewise.
23680 (ILL_ILLTRP): Likewise.
23681 (ILL_PRVOPC): Likewise.
23682 (ILL_PRVREG): Likewise.
23683 (ILL_COPROC): Likewise.
23684 (ILL_BADSTK): Likewise.
23685 (ILL_BADIADDR): Likewise.
23686 (ILL_BREAK): Likewise.
23687 (FPE_INTDIV): Likewise.
23688 (FPE_INTOVF): Likewise.
23689 (FPE_FLTDIV): Likewise.
23690 (FPE_FLTOVF): Likewise.
23691 (FPE_FLTUND): Likewise.
23692 (FPE_FLTRES): Likewise.
23693 (FPE_FLTINV): Likewise.
23694 (FPE_FLTSUB): Likewise.
23695 (FPE_DECOVF): Likewise.
23696 (FPE_DECDIV): Likewise.
23697 (FPE_DECERR): Likewise.
23698 (FPE_INVASC): Likewise.
23699 (FPE_INVDEC): Likewise.
23700 (SEGV_MAPERR): Likewise.
23701 (SEGV_ACCERR): Likewise.
23702 (SEGV_PSTKOVF): Likewise.
23703 (BUS_ADRALN): Likewise.
23704 (BUS_ADRERR): Likewise.
23705 (BUS_OBJERR): Likewise.
23706 (BUS_MCEERR_AR): Likewise.
23707 (BUS_MCEERR_AO): Likewise.
23708 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23709 (TRAP_TRACE): Likewise.
23710 (TRAP_BRANCH): Likewise.
23711 (TRAP_HWBKPT): Likewise.
23712 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23713 __USE_XOPEN2K8].
23714 (CLD_KILLED): Likewise.
23715 (CLD_DUMPED): Likewise.
23716 (CLD_TRAPPED): Likewise.
23717 (CLD_STOPPED): Likewise.
23718 (CLD_CONTINUED): Likewise.
23719 (POLL_IN): Likewise.
23720 (POLL_OUT): Likewise.
23721 (POLL_MSG): Likewise.
23722 (POLL_ERR): Likewise.
23723 (POLL_PRI): Likewise.
23724 (POLL_HUP): Likewise.
23725 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23726 (ILL_ILLOPN): Likewise.
23727 (ILL_ILLADR): Likewise.
23728 (ILL_ILLTRP): Likewise.
23729 (ILL_PRVOPC): Likewise.
23730 (ILL_PRVREG): Likewise.
23731 (ILL_COPROC): Likewise.
23732 (ILL_BADSTK): Likewise.
23733 (FPE_INTDIV): Likewise.
23734 (FPE_INTOVF): Likewise.
23735 (FPE_FLTDIV): Likewise.
23736 (FPE_FLTOVF): Likewise.
23737 (FPE_FLTUND): Likewise.
23738 (FPE_FLTRES): Likewise.
23739 (FPE_FLTINV): Likewise.
23740 (FPE_FLTSUB): Likewise.
23741 (SEGV_MAPERR): Likewise.
23742 (SEGV_ACCERR): Likewise.
23743 (BUS_ADRALN): Likewise.
23744 (BUS_ADRERR): Likewise.
23745 (BUS_OBJERR): Likewise.
23746 (BUS_MCEERR_AR): Likewise.
23747 (BUS_MCEERR_AO): Likewise.
23748 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23749 (TRAP_TRACE): Likewise.
23750 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23751 __USE_XOPEN2K8].
23752 (CLD_KILLED): Likewise.
23753 (CLD_DUMPED): Likewise.
23754 (CLD_TRAPPED): Likewise.
23755 (CLD_STOPPED): Likewise.
23756 (CLD_CONTINUED): Likewise.
23757 (POLL_IN): Likewise.
23758 (POLL_OUT): Likewise.
23759 (POLL_MSG): Likewise.
23760 (POLL_ERR): Likewise.
23761 (POLL_PRI): Likewise.
23762 (POLL_HUP): Likewise.
23763 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23764 (ILL_ILLOPN): Likewise.
23765 (ILL_ILLADR): Likewise.
23766 (ILL_ILLTRP): Likewise.
23767 (ILL_PRVOPC): Likewise.
23768 (ILL_PRVREG): Likewise.
23769 (ILL_COPROC): Likewise.
23770 (ILL_BADSTK): Likewise.
23771 (FPE_INTDIV): Likewise.
23772 (FPE_INTOVF): Likewise.
23773 (FPE_FLTDIV): Likewise.
23774 (FPE_FLTOVF): Likewise.
23775 (FPE_FLTUND): Likewise.
23776 (FPE_FLTRES): Likewise.
23777 (FPE_FLTINV): Likewise.
23778 (FPE_FLTSUB): Likewise.
23779 (SEGV_MAPERR): Likewise.
23780 (SEGV_ACCERR): Likewise.
23781 (BUS_ADRALN): Likewise.
23782 (BUS_ADRERR): Likewise.
23783 (BUS_OBJERR): Likewise.
23784 (BUS_MCEERR_AR): Likewise.
23785 (BUS_MCEERR_AO): Likewise.
23786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23787 (TRAP_TRACE): Likewise.
23788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23789 __USE_XOPEN2K8].
23790 (CLD_KILLED): Likewise.
23791 (CLD_DUMPED): Likewise.
23792 (CLD_TRAPPED): Likewise.
23793 (CLD_STOPPED): Likewise.
23794 (CLD_CONTINUED): Likewise.
23795 (POLL_IN): Likewise.
23796 (POLL_OUT): Likewise.
23797 (POLL_MSG): Likewise.
23798 (POLL_ERR): Likewise.
23799 (POLL_PRI): Likewise.
23800 (POLL_HUP): Likewise.
23801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23802 (ILL_ILLOPN): Likewise.
23803 (ILL_ILLADR): Likewise.
23804 (ILL_ILLTRP): Likewise.
23805 (ILL_PRVOPC): Likewise.
23806 (ILL_PRVREG): Likewise.
23807 (ILL_COPROC): Likewise.
23808 (ILL_BADSTK): Likewise.
23809 (FPE_INTDIV): Likewise.
23810 (FPE_INTOVF): Likewise.
23811 (FPE_FLTDIV): Likewise.
23812 (FPE_FLTOVF): Likewise.
23813 (FPE_FLTUND): Likewise.
23814 (FPE_FLTRES): Likewise.
23815 (FPE_FLTINV): Likewise.
23816 (FPE_FLTSUB): Likewise.
23817 (SEGV_MAPERR): Likewise.
23818 (SEGV_ACCERR): Likewise.
23819 (BUS_ADRALN): Likewise.
23820 (BUS_ADRERR): Likewise.
23821 (BUS_OBJERR): Likewise.
23822 (BUS_MCEERR_AR): Likewise.
23823 (BUS_MCEERR_AO): Likewise.
23824 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23825 (TRAP_TRACE): Likewise.
23826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23827 __USE_XOPEN2K8].
23828 (CLD_KILLED): Likewise.
23829 (CLD_DUMPED): Likewise.
23830 (CLD_TRAPPED): Likewise.
23831 (CLD_STOPPED): Likewise.
23832 (CLD_CONTINUED): Likewise.
23833 (POLL_IN): Likewise.
23834 (POLL_OUT): Likewise.
23835 (POLL_MSG): Likewise.
23836 (POLL_ERR): Likewise.
23837 (POLL_PRI): Likewise.
23838 (POLL_HUP): Likewise.
23839 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23840 (ILL_ILLOPN): Likewise.
23841 (ILL_ILLADR): Likewise.
23842 (ILL_ILLTRP): Likewise.
23843 (ILL_PRVOPC): Likewise.
23844 (ILL_PRVREG): Likewise.
23845 (ILL_COPROC): Likewise.
23846 (ILL_BADSTK): Likewise.
23847 (ILL_DBLFLT): Likewise.
23848 (ILL_HARDWALL): Likewise.
23849 (FPE_INTDIV): Likewise.
23850 (FPE_INTOVF): Likewise.
23851 (FPE_FLTDIV): Likewise.
23852 (FPE_FLTOVF): Likewise.
23853 (FPE_FLTUND): Likewise.
23854 (FPE_FLTRES): Likewise.
23855 (FPE_FLTINV): Likewise.
23856 (FPE_FLTSUB): Likewise.
23857 (SEGV_MAPERR): Likewise.
23858 (SEGV_ACCERR): Likewise.
23859 (BUS_ADRALN): Likewise.
23860 (BUS_ADRERR): Likewise.
23861 (BUS_OBJERR): Likewise.
23862 (BUS_MCEERR_AR): Likewise.
23863 (BUS_MCEERR_AO): Likewise.
23864 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23865 (TRAP_TRACE): Likewise.
23866 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23867 __USE_XOPEN2K8].
23868 (CLD_KILLED): Likewise.
23869 (CLD_DUMPED): Likewise.
23870 (CLD_TRAPPED): Likewise.
23871 (CLD_STOPPED): Likewise.
23872 (CLD_CONTINUED): Likewise.
23873 (POLL_IN): Likewise.
23874 (POLL_OUT): Likewise.
23875 (POLL_MSG): Likewise.
23876 (POLL_ERR): Likewise.
23877 (POLL_PRI): Likewise.
23878 (POLL_HUP): Likewise.
23879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23880 (ILL_ILLOPN): Likewise.
23881 (ILL_ILLADR): Likewise.
23882 (ILL_ILLTRP): Likewise.
23883 (ILL_PRVOPC): Likewise.
23884 (ILL_PRVREG): Likewise.
23885 (ILL_COPROC): Likewise.
23886 (ILL_BADSTK): Likewise.
23887 (FPE_INTDIV): Likewise.
23888 (FPE_INTOVF): Likewise.
23889 (FPE_FLTDIV): Likewise.
23890 (FPE_FLTOVF): Likewise.
23891 (FPE_FLTUND): Likewise.
23892 (FPE_FLTRES): Likewise.
23893 (FPE_FLTINV): Likewise.
23894 (FPE_FLTSUB): Likewise.
23895 (SEGV_MAPERR): Likewise.
23896 (SEGV_ACCERR): Likewise.
23897 (BUS_ADRALN): Likewise.
23898 (BUS_ADRERR): Likewise.
23899 (BUS_OBJERR): Likewise.
23900 (BUS_MCEERR_AR): Likewise.
23901 (BUS_MCEERR_AO): Likewise.
23902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23903 (TRAP_TRACE): Likewise.
23904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23905 __USE_XOPEN2K8].
23906 (CLD_KILLED): Likewise.
23907 (CLD_DUMPED): Likewise.
23908 (CLD_TRAPPED): Likewise.
23909 (CLD_STOPPED): Likewise.
23910 (CLD_CONTINUED): Likewise.
23911 (POLL_IN): Likewise.
23912 (POLL_OUT): Likewise.
23913 (POLL_MSG): Likewise.
23914 (POLL_ERR): Likewise.
23915 (POLL_PRI): Likewise.
23916 (POLL_HUP): Likewise.
23917 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23918 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23919
23920 [BZ #16670]
23921 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23922 before #include of <time.h>.
23923 [!__USE_XOPEN2K] (__need_timespec): Likewise.
23924 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23925 (test-xfail-UNIX98/sched.h/conform): Likewise.
23926
23927 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
23928
23929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23930 error absence of trapping exception support.
23931 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23932
23933 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23934
23935 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23936 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23937 * timezone/Makefile (testdata): Move definition above include of
23938 Rules.
23939 (test-zones): New variable.
23940 (tests-special): Add zone files.
23941 (build-testdata): Use $(evaluate-test).
23942
23943 * elf/Makefile (tests-special): Rename tests to end with .out.
23944 ($(objpfx)noload-mem): Likewise.
23945 ($(objpfx)tst-leaks1-mem): Likewise.
23946 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23947 * iconv/Makefile (xtests-special): Change test-iconvconfig to
23948 $(objpfx)test-iconvconfig.out.
23949 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
23950 set -e inside subshell and redirect output to file.
23951 * iconvdata/Makefile (generated): Rename tests to end with .out.
23952 Correct type.
23953 (tests-special): Rename tests to end with .out.
23954 ($(objpfx)mtrace-tst-loading): Likewise.
23955 * intl/Makefile (generated): Likewise.
23956 (tests-special): Likewise.
23957 ($(objpfx)mtrace-tst-gettext): Likewise.
23958 * misc/Makefile (generated): Likewise.
23959 (tests-special): Likewise.
23960 ($(objpfx)tst-error1-mem): Likewise.
23961 * nptl/Makefile (tests-special): Likewise.
23962 ($(objpfx)tst-stack3-mem): Likewise.
23963 (generated): Likewise.
23964 * posix/Makefile (generated): Likewise.
23965 (tests-special): Likewise.
23966 (xtests-special): Likewise.
23967 ($(objpfx)tst-fnmatch-mem): Likewise.
23968 ($(objpfx)bug-regex2-mem): Likewise.
23969 ($(objpfx)bug-regex14-mem): Likewise.
23970 ($(objpfx)bug-regex21-mem): Likewise.
23971 ($(objpfx)bug-regex31-mem): Likewise.
23972 ($(objpfx)tst-vfork3-mem): Likewise.
23973 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23974 ($(objpfx)tst-pcre-mem): Likewise.
23975 ($(objpfx)tst-boost-mem): Likewise.
23976 ($(objpfx)bug-ga2-mem): Likewise.
23977 ($(objpfx)bug-glob2-mem): Likewise.
23978 * resolv/Makefile (generate): Likewise.
23979 (tests-special): Likewise.
23980 (xtests-special): Likewise.
23981 (generated): Likewise.
23982 ($(objpfx)mtrace-tst-leaks): Likewise.
23983 ($(objpfx)mtrace-tst-leaks2): Likewise.
23984
23985 * scripts/merge-test-results.sh: New file.
23986 * Makefile (tests-special-notdir): New variable.
23987 (tests): Run merge-test-results.sh.
23988 (xtests): Likewise.
23989 * Rules (tests-special-notdir): New variable.
23990 (xtests-special-notdir): Likewise.
23991 (tests): Run merge-test-results.sh
23992 (xtests): Likewise.
23993
23994 * Makeconfig (test-xfail-name): New variable.
23995 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23996 compute variable name for expected failures.
23997 * conform/Makefile (conformtest-headers-data): New variable.
23998 (conformtest-standards): Likewise.
23999 (conformtest-headers-ISO): Likewise.
24000 (conformtest-headers-ISO99): Likewise.
24001 (conformtest-headers-ISO11): Likewise.
24002 (conformtest-headers-POSIX): Likewise.
24003 (conformtest-headers-XPG3): Likewise.
24004 (conformtest-headers-XPG4): Likewise.
24005 (conformtest-headers-UNIX98): Likewise.
24006 (conformtest-headers-XOPEN2K): Likewise.
24007 (conformtest-headers-POSIX2008): Likewise.
24008 (conformtest-headers-XOPEN2K8): Likewise.
24009 (conformtest-header-list-base): Likewise.
24010 (conformtest-header-list-tests): Likewise.
24011 (conformtest-header-base): Likewise.
24012 (conformtest-header-tests): Likewise.
24013 (tests-special): Add $(conformtest-header-list-tests). If
24014 [$(fast-check) && !$(cross-compiling)], add
24015 $(conformtest-header-tests) instead of
24016 $(objpfx)run-conformtest.out.
24017 (generated): Add $(conformtest-header-list-base). If
24018 [$(fast-check) && !$(cross-compiling)], add
24019 $(conformtest-header-base). Remove previous setting.
24020 ($(conformtest-header-list-tests)): New target.
24021 (test-xfail-run-conformtest): Remove variable.
24022 ($(objpfx)run-conformtest.out): Remove target.
24023 (test-xfail-ISO11/complex.h/conform): New variable.
24024 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24025 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24026 (test-xfail-XPG3/varargs.h/conform): Likewise.
24027 (test-xfail-XPG4/varargs.h/conform): Likewise.
24028 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24029 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24030 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24031 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24032 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24033 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24034 (test-xfail-XPG3/ftw.h/conform): Likewise.
24035 (test-xfail-XPG3/grp.h/conform): Likewise.
24036 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24037 (test-xfail-XPG3/limits.h/conform): Likewise.
24038 (test-xfail-XPG3/pwd.h/conform): Likewise.
24039 (test-xfail-XPG3/search.h/conform): Likewise.
24040 (test-xfail-XPG3/signal.h/conform): Likewise.
24041 (test-xfail-XPG3/stdio.h/conform): Likewise.
24042 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24043 (test-xfail-XPG3/string.h/conform): Likewise.
24044 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24045 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24046 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24047 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24048 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24049 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24050 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24051 (test-xfail-XPG3/termios.h/conform): Likewise.
24052 (test-xfail-XPG3/time.h/conform): Likewise.
24053 (test-xfail-XPG3/unistd.h/conform): Likewise.
24054 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24055 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24056 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24057 (test-xfail-XPG4/netdb.h/conform): Likewise.
24058 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24059 (test-xfail-XPG4/signal.h/conform): Likewise.
24060 (test-xfail-XPG4/stdio.h/conform): Likewise.
24061 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24062 (test-xfail-XPG4/stropts.h/conform): Likewise.
24063 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24064 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24065 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24066 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24067 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24068 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24069 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24070 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24071 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24072 (test-xfail-XPG4/termios.h/conform): Likewise.
24073 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24074 (test-xfail-XPG4/unistd.h/conform): Likewise.
24075 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24076 (test-xfail-POSIX/sched.h/conform): Likewise.
24077 (test-xfail-POSIX/signal.h/conform): Likewise.
24078 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24079 (test-xfail-POSIX/tar.h/conform): Likewise.
24080 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24081 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24082 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24083 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24084 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24085 (test-xfail-UNIX98/sched.h/conform): Likewise.
24086 (test-xfail-UNIX98/signal.h/conform): Likewise.
24087 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24088 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24089 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24090 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24091 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24092 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24093 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24094 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24095 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24096 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24097 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24098 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24099 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24100 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24101 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24102 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24103 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24104 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24105 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24106 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24107 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24108 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24109 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24110 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24111 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24112 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24113 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24114 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24115 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24116 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24117 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24118 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24119 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24120 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24121 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24122 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24123 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24124 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24125 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24126 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24127 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24128 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24129 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24130 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24131 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24132 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24133 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24134 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24135 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24136 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24137 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24138 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24139 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24140 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24141 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24142 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24143 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24144 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24145 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24146 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24147 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24148 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24149 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24150 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24151 (conformtest-cc-flags): Likewise.
24152 ($(conformtest-header-tests): New target.
24153 * conform/check-header-lists.sh: New file.
24154 * conform/run-conformtest.sh: Remove.
24155
24156 * conform/conformtest.pl: Allow ' and \ in values given for
24157 constants.
24158 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24159 inclusion.
24160 [POSIX] (sys/types.h): Likewise.
24161 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24162 inclusion.
24163 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24164 inclusion.
24165 * conform/data/signal.h-data (SIGIO): Remove expectation.
24166 [XPG3] (SIGBUS): Do not expect.
24167 [POSIX || XPG3] (SIGPOLL): Likewise.
24168 [POSIX || XPG3] (SIGPROF): Likewise.
24169 [POSIX || XPG3] (SIGSYS): Likewise.
24170 [XPG3] (SIGTRAP): Likewise.
24171 [POSIX || XPG3] (SIGURG): Likewise.
24172 [POSIX || XPG3] (SIGVTALRM): Likewise.
24173 [POSIX || XPG3] (SIGXCPU): Likewise.
24174 [POSIX || XPG3] (SIGXFSZ): Likewise.
24175 [POSIX] (SA_SIGINFO): Expect.
24176 [XPG3] (siginfo_t): Do not expect type or contents.
24177 [POSIX] (si_pid): Do not expect element.
24178 [POSIX] (si_uid): Likewise.
24179 [POSIX] (si_addr): Likewise.
24180 [POSIX] (si_status): Likewise.
24181 [POSIX] (si_band): Likewise.
24182 [XPG4] (si_value): Likewise.
24183 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24184 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24185 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24186 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24187 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24188 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24189 [POSIX || XPG3] (ILL_COPROC): Likewise.
24190 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24191 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24192 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24193 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24194 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24195 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24196 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24197 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24198 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24199 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24200 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24201 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24202 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24203 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24204 [POSIX || XPG3] (CLD_EXITED): Likewise.
24205 [POSIX || XPG3] (CLD_KILLED): Likewise.
24206 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24207 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24208 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24209 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24210 [POSIX || XPG3] (POLL_IN): Likewise.
24211 [POSIX || XPG3] (POLL_OUT): Likewise.
24212 [POSIX || XPG3] (POLL_MSG): Likewise.
24213 [POSIX || XPG3] (POLL_ERR): Likewise.
24214 [POSIX || XPG3] (POLL_PRI): Likewise.
24215 [POSIX || XPG3] (POLL_HUP): Likewise.
24216 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24217 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24218 (SIG*): Do not allow.
24219 [XPG3] (si_*): Likewise.
24220 [XPG3] (SI_*): Likewise.
24221 [XPG3 || XPG4] (sigev_*): Likewise.
24222 [XPG3 || XPG4] (SIGEV_*): Likewise.
24223 [XPG3 || XPG4] (sival_*): Likewise.
24224 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24225 [POSIX || XPG3] (BUS_*): Likewise.
24226 [POSIX || XPG3] (CLD_*): Likewise.
24227 [POSIX || XPG3] (FPE_*): Likewise.
24228 [POSIX || XPG3] (ILL_*): Likewise.
24229 [POSIX || XPG3] (POLL_*): Likewise.
24230 [POSIX || XPG3] (SEGV_*): Likewise.
24231 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24232 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24233 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24234 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24235 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24236 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24237 Specify type and value.
24238 (TVERSLEN): Likewise.
24239 (REGTYPE): Likewise.
24240 (AREGTYPE): Likewise.
24241 (LNKTYPE): Likewise.
24242 (SYMTYPE): Likewise.
24243 (CHRTYPE): Likewise.
24244 (BLKTYPE): Likewise.
24245 (DIRTYPE): Likewise.
24246 (FIFOTYPE): Likewise.
24247 (CONTTYPE): Likewise.
24248 (TSUID): Likewise.
24249 (TSGID): Likewise.
24250 (TSVTX): Likewise.
24251 (TUREAD): Likewise.
24252 (TUWRITE): Likewise.
24253 (TUEXEC): Likewise.
24254 (TGREAD): Likewise.
24255 (TGWRITE): Likewise.
24256 (TGEXEC): Likewise.
24257 (TOREAD): Likewise.
24258 (TOWRITE): Likewise.
24259 (TOEXEC): Likewise.
24260 [POSIX] (TSVTX): Expect constant.
24261
24262 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24263
24264 * Makefile (tests): Change dependencies to ....
24265 (tests-special): ... additions to this variable.
24266 (tests): Depend on $(tests-special).
24267 * Makerules (check-abi-list): New variable.
24268 (check-abi): Depend on $(check-abi-list).
24269 [$(subdir) = elf] (tests-special): Add
24270 $(objpfx)check-abi-libc.out.
24271 [$(build-shared) = yes && subdir] (tests-special): Add
24272 $(check-abi-list).
24273 [$(build-shared) = yes && subdir] (tests): Do not depend on
24274 check-abi.
24275 * Rules (tests): Depend on $(tests-special).
24276 (xtests): Depend on $(xtests-special).
24277 * catgets/Makefile (tests): Change dependencies to ....
24278 (tests-special): ... additions to this variable.
24279 * conform/Makefile (tests): Change dependencies to ....
24280 (tests-special): ... additions to this variable.
24281 * elf/Makefile (tests): Change dependencies to ....
24282 (tests-special): ... additions to this variable.
24283 * grp/Makefile (tests): Change dependencies to ....
24284 (tests-special): ... additions to this variable.
24285 * iconv/Makefile (xtests): Change dependencies to ....
24286 (xtests-special): ... additions to this variable.
24287 * iconvdata/Makefile (tests): Change dependencies to ....
24288 (tests-special): ... additions to this variable.
24289 * intl/Makefile (tests): Change dependencies to ....
24290 (tests-special): ... additions to this variable. Also add
24291 $(objpfx)tst-gettext.out.
24292 * io/Makefile (tests): Change dependencies to ....
24293 (tests-special): ... additions to this variable.
24294 * libio/Makefile (tests): Change dependencies to ....
24295 (tests-special): ... additions to this variable.
24296 * malloc/Makefile (tests): Change dependencies to ....
24297 (tests-special): ... additions to this variable.
24298 * misc/Makefile (tests): Change dependencies to ....
24299 (tests-special): ... additions to this variable.
24300 * nptl/Makefile (tests): Change dependencies to ....
24301 (tests-special): ... additions to this variable.
24302 * nptl_db/Makefile (tests): Change dependencies to ....
24303 (tests-special): ... additions to this variable.
24304 * posix/Makefile (tests): Change dependencies to ....
24305 (tests-special): ... additions to this variable.
24306 (xtests): Change dependencies to ....
24307 (xtests-special): ... additions to this variable.
24308 * resolv/Makefile (tests): Change dependencies to ....
24309 (tests-special): ... additions to this variable.
24310 (xtests): Change dependencies to ....
24311 (xtests-special): ... additions to this variable.
24312 * stdio-common/Makefile (tests): Change dependencies to ....
24313 (tests-special): ... additions to this variable.
24314 (do-tst-unbputc): Remove target.
24315 (do-tst-printf): Likewise.
24316 * stdlib/Makefile (tests): Change dependencies to ....
24317 (tests-special): ... additions to this variable.
24318 * string/Makefile (tests): Change dependencies to ....
24319 (tests-special): ... additions to this variable.
24320 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24321 (tests-special): ... additions to this variable.
24322
24323 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24324 whole file.
24325 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24326 whole file.
24327 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24328 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24329
24330 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24331 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24332 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24333 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24334 * conform/data/libgen.h-data [XPG3]: Likewise.
24335 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24336 * conform/data/ndbm.h-data [XPG3]: Likewise.
24337 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24338 * conform/data/netdb.h-data [XPG3]: Likewise.
24339 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24340 * conform/data/poll.h-data [XPG3]: Likewise.
24341 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24342 * conform/data/strings.h-data [XPG3]: Likewise.
24343 * conform/data/stropts.h-data [XPG3]: Likewise.
24344 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24345 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24346 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24347 Likewise.
24348 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24349 * conform/data/sys/time.h-data [XPG3]: Likewise.
24350 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24351 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24352 * conform/data/sys/un.h-data [XPG3]: Likewise.
24353 * conform/data/syslog.h-data [XPG3]: Likewise.
24354 * conform/data/ucontext.h-data [XPG3]: Likewise.
24355 * conform/data/utmpx.h-data [XPG3]: Likewise.
24356 * conform/data/varargs.h-data [UNIX98]: Enable file.
24357
24358 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24359
24360 * math/libm-test.inc (struct test_f_f_data): Move expected results
24361 into structure for each rounding mode.
24362 (struct test_ff_f_data): Likewise.
24363 (struct test_ff_f_data_nexttoward): Likewise.
24364 (struct test_fi_f_data): Likewise.
24365 (struct test_fl_f_data): Likewise.
24366 (struct test_if_f_data): Likewise.
24367 (struct test_fff_f_data): Likewise.
24368 (struct test_c_f_data): Likewise.
24369 (struct test_f_f1_data): Likewise.
24370 (struct test_fF_f1_data): Likewise.
24371 (struct test_ffI_f1_data): Likewise.
24372 (struct test_c_c_data): Likewise.
24373 (struct test_cc_c_data): Likewise.
24374 (struct test_f_i_data): Likewise.
24375 (struct test_ff_i_data): Likewise.
24376 (struct test_f_l_data): Likewise.
24377 (struct test_f_L_data): Likewise.
24378 (struct test_fFF_11_data): Likewise.
24379 (RM_): New macro.
24380 (RM_FE_DOWNWARD): Likewise.
24381 (RM_FE_TONEAREST): Likewise.
24382 (RM_FE_TOWARDZERO): Likewise.
24383 (RM_FE_UPWARD): Likewise.
24384 (RUN_TEST_LOOP_f_f): Update references to expected results.
24385 (RUN_TEST_LOOP_2_f): Likewise.
24386 (RUN_TEST_LOOP_fff_f): Likewise.
24387 (RUN_TEST_LOOP_c_f): Likewise.
24388 (RUN_TEST_LOOP_f_f1): Likewise.
24389 (RUN_TEST_LOOP_fF_f1): Likewise.
24390 (RUN_TEST_LOOP_fI_f1): Likewise.
24391 (RUN_TEST_LOOP_ffI_f1): Likewise.
24392 (RUN_TEST_LOOP_c_c): Likewise.
24393 (RUN_TEST_LOOP_cc_c): Likewise.
24394 (RUN_TEST_LOOP_f_i): Likewise.
24395 (RUN_TEST_LOOP_f_i_tg): Likewise.
24396 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24397 (RUN_TEST_LOOP_f_b): Likewise.
24398 (RUN_TEST_LOOP_f_b_tg): Likewise.
24399 (RUN_TEST_LOOP_f_l): Likewise.
24400 (RUN_TEST_LOOP_f_L): Likewise.
24401 (RUN_TEST_LOOP_fFF_11): Likewise.
24402 * math/gen-libm-test.pl (parse_args): Output four copies of
24403 expected results for each test.
24404
24405 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24406 (__ASSUME_UTIMES): Remove.
24407 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24408 (__ASSUME_UTIMES): Likewise.
24409
24410 * math/gen-auto-libm-tests.c: Update comment on output format.
24411 (output_for_one_input_case): Generate before-rounding and
24412 after-rounding information as conditions on output flags not
24413 floating-point format.
24414 * math/auto-libm-test-out: Regenerated.
24415 * math/gen-libm-test.pl (cond_value): New function.
24416 (or_cond_value): Use cond_value.
24417 (generate_testfile): Handle conditional exceptions.
24418
24419 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24420
24421 * math/libm-test.inc (max_valid_error): New variable.
24422 (init_max_error): Take new argument specifying whether function
24423 results are exactly determined. Set max_valid_error and bound
24424 other variables for errors based on this argument.
24425 (set_max_error): Do not record results above max_valid_error.
24426 (check_float_internal): Only accept errors of up to 0.5ulps if
24427 also at most max_valid_error.
24428 (START): Take new argument EXACT and pass it to init_max_error.
24429 (acos_test): Update call to START.
24430 (acos_test_tonearest): Likewise.
24431 (acos_test_towardzero): Likewise.
24432 (acos_test_downward): Likewise.
24433 (acos_test_upward): Likewise.
24434 (acosh_test): Likewise.
24435 (asin_test): Likewise.
24436 (asin_test_tonearest): Likewise.
24437 (asin_test_towardzero): Likewise.
24438 (asin_test_downward): Likewise.
24439 (asin_test_upward): Likewise.
24440 (asinh_test): Likewise.
24441 (atan_test): Likewise.
24442 (atanh_test): Likewise.
24443 (atan2_test): Likewise.
24444 (cabs_test): Likewise.
24445 (cacos_test): Likewise.
24446 (cacosh_test): Likewise.
24447 (carg_test): Likewise.
24448 (casin_test): Likewise.
24449 (casinh_test): Likewise.
24450 (catan_test): Likewise.
24451 (catanh_test): Likewise.
24452 (cbrt_test): Likewise.
24453 (ccos_test): Likewise.
24454 (ccosh_test): Likewise.
24455 (ceil_test): Likewise.
24456 (cexp_test): Likewise.
24457 (cimag_test): Likewise.
24458 (clog_test): Likewise.
24459 (clog10_test): Likewise.
24460 (conj_test): Likewise.
24461 (copysign_test): Likewise.
24462 (cos_test): Likewise.
24463 (cos_test_tonearest): Likewise.
24464 (cos_test_towardzero): Likewise.
24465 (cos_test_downward): Likewise.
24466 (cos_test_upward): Likewise.
24467 (cosh_test): Likewise.
24468 (cosh_test_tonearest): Likewise.
24469 (cosh_test_towardzero): Likewise.
24470 (cosh_test_downward): Likewise.
24471 (cosh_test_upward): Likewise.
24472 (cpow_test): Likewise.
24473 (cproj_test): Likewise.
24474 (creal_test): Likewise.
24475 (csin_test): Likewise.
24476 (csinh_test): Likewise.
24477 (csqrt_test): Likewise.
24478 (ctan_test): Likewise.
24479 (ctan_test_tonearest): Likewise.
24480 (ctan_test_towardzero): Likewise.
24481 (ctan_test_downward): Likewise.
24482 (ctan_test_upward): Likewise.
24483 (ctanh_test): Likewise.
24484 (ctanh_test_tonearest): Likewise.
24485 (ctanh_test_towardzero): Likewise.
24486 (ctanh_test_downward): Likewise.
24487 (ctanh_test_upward): Likewise.
24488 (erf_test): Likewise.
24489 (erfc_test): Likewise.
24490 (exp_test): Likewise.
24491 (exp_test_tonearest): Likewise.
24492 (exp_test_towardzero): Likewise.
24493 (exp_test_downward): Likewise.
24494 (exp_test_upward): Likewise.
24495 (exp10_test): Likewise.
24496 (exp10_test_tonearest): Likewise.
24497 (exp10_test_towardzero): Likewise.
24498 (exp10_test_downward): Likewise.
24499 (exp10_test_upward): Likewise.
24500 (pow10_test): Likewise.
24501 (exp2_test): Likewise.
24502 (expm1_test): Likewise.
24503 (expm1_test_tonearest): Likewise.
24504 (expm1_test_towardzero): Likewise.
24505 (expm1_test_downward): Likewise.
24506 (expm1_test_upward): Likewise.
24507 (fabs_test): Likewise.
24508 (fdim_test): Likewise.
24509 (floor_test): Likewise.
24510 (fma_test): Likewise.
24511 (fma_test_towardzero): Likewise.
24512 (fma_test_downward): Likewise.
24513 (fma_test_upward): Likewise.
24514 (fmax_test): Likewise.
24515 (fmin_test): Likewise.
24516 (fmod_test): Likewise.
24517 (fpclassify_test): Likewise.
24518 (frexp_test): Likewise.
24519 (hypot_test): Likewise.
24520 (ilogb_test): Likewise.
24521 (isfinite_test): Likewise.
24522 (finite_test): Likewise.
24523 (isgreater_test): Likewise.
24524 (isgreaterequal_test): Likewise.
24525 (isinf_test): Likewise.
24526 (isless_test): Likewise.
24527 (islessequal_test): Likewise.
24528 (islessgreater_test): Likewise.
24529 (isnan_test): Likewise.
24530 (isnormal_test): Likewise.
24531 (issignaling_test): Likewise.
24532 (isunordered_test): Likewise.
24533 (j0_test): Likewise.
24534 (j1_test): Likewise.
24535 (jn_test): Likewise.
24536 (ldexp_test): Likewise.
24537 (lgamma_test): Likewise.
24538 (gamma_test): Likewise.
24539 (lrint_test): Likewise.
24540 (lrint_test_tonearest): Likewise.
24541 (lrint_test_towardzero): Likewise.
24542 (lrint_test_downward): Likewise.
24543 (lrint_test_upward): Likewise.
24544 (llrint_test): Likewise.
24545 (llrint_test_tonearest): Likewise.
24546 (llrint_test_towardzero): Likewise.
24547 (llrint_test_downward): Likewise.
24548 (llrint_test_upward): Likewise.
24549 (log_test): Likewise.
24550 (log10_test): Likewise.
24551 (log1p_test): Likewise.
24552 (log2_test): Likewise.
24553 (logb_test): Likewise.
24554 (logb_test_downward): Likewise.
24555 (lround_test): Likewise.
24556 (llround_test): Likewise.
24557 (modf_test): Likewise.
24558 (nearbyint_test): Likewise.
24559 (nextafter_test): Likewise.
24560 (nexttoward_test): Likewise.
24561 (pow_test): Likewise.
24562 (pow_test_tonearest): Likewise.
24563 (pow_test_towardzero): Likewise.
24564 (pow_test_downward): Likewise.
24565 (pow_test_upward): Likewise.
24566 (remainder_test): Likewise.
24567 (drem_test): Likewise.
24568 (remainder_test_tonearest): Likewise.
24569 (drem_test_tonearest): Likewise.
24570 (remainder_test_towardzero): Likewise.
24571 (drem_test_towardzero): Likewise.
24572 (remainder_test_downward): Likewise.
24573 (drem_test_downward): Likewise.
24574 (remainder_test_upward): Likewise.
24575 (drem_test_upward): Likewise.
24576 (remquo_test): Likewise.
24577 (rint_test): Likewise.
24578 (rint_test_tonearest): Likewise.
24579 (rint_test_towardzero): Likewise.
24580 (rint_test_downward): Likewise.
24581 (rint_test_upward): Likewise.
24582 (round_test): Likewise.
24583 (scalb_test): Likewise.
24584 (scalbn_test): Likewise.
24585 (scalbln_test): Likewise.
24586 (signbit_test): Likewise.
24587 (sin_test): Likewise.
24588 (sin_test_tonearest): Likewise.
24589 (sin_test_towardzero): Likewise.
24590 (sin_test_downward): Likewise.
24591 (sin_test_upward): Likewise.
24592 (sincos_test): Likewise.
24593 (sinh_test): Likewise.
24594 (sinh_test_tonearest): Likewise.
24595 (sinh_test_towardzero): Likewise.
24596 (sinh_test_downward): Likewise.
24597 (sinh_test_upward): Likewise.
24598 (sqrt_test): Likewise.
24599 (sqrt_test_tonearest): Likewise.
24600 (sqrt_test_towardzero): Likewise.
24601 (sqrt_test_downward): Likewise.
24602 (sqrt_test_upward): Likewise.
24603 (tan_test): Likewise.
24604 (tan_test_tonearest): Likewise.
24605 (tan_test_towardzero): Likewise.
24606 (tan_test_downward): Likewise.
24607 (tan_test_upward): Likewise.
24608 (tanh_test): Likewise.
24609 (tgamma_test): Likewise.
24610 (trunc_test): Likewise.
24611 (y0_test): Likewise.
24612 (y1_test): Likewise.
24613 (yn_test): Likewise.
24614 (significand_test): Likewise.
24615
24616 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24617 individual tests in comment.
24618 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24619 (prev_max_error): New variable.
24620 (prev_real_max_error): Likewise.
24621 (prev_imag_max_error): Likewise.
24622 (compare_ulp_data): Don't refer to test names in comment.
24623 (find_test_ulps): Remove function.
24624 (find_function_ulps): Likewise.
24625 (find_complex_function_ulps): Likewise.
24626 (init_max_error): Take function name as argument. Look up ulps
24627 for that function.
24628 (print_ulps): Remove function.
24629 (print_max_error): Use prev_max_error instead of calling
24630 find_function_ulps.
24631 (print_complex_max_error): Use prev_real_max_error and
24632 prev_imag_max_error instead of calling find_complex_function_ulps.
24633 (check_float_internal): Take max_ulp parameter instead of calling
24634 find_test_ulps. Don't call print_ulps.
24635 (check_float): Update call to check_float_internal.
24636 (check_complex): Update calls to check_float_internal.
24637 (START): Pass argument to init_max_error.
24638 * math/gen-libm-test.pl (%results): Don't include "kind"
24639 information.
24640 (parse_ulps): Don't handle ulps of individual tests.
24641 (print_ulps_file): Likewise.
24642 (output_ulps): Likewise.
24643 * math/README.libm-test: Update.
24644 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24645 individual tests.
24646 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24647 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24648 * sysdeps/arm/libm-test-ulps: Likewise.
24649 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24650 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24651 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24652 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24653 * sysdeps/microblaze/libm-test-ulps: Likewise.
24654 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24655 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24657 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24659 * sysdeps/sh/libm-test-ulps: Likewise.
24660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24661 * sysdeps/tile/libm-test-ulps: Likewise.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24663
24664 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24665
24666 * math/libm-test.inc (print_complex_max_error): Check separately
24667 whether real and imaginary errors are within allowed range and
24668 pass 0 to print_complex_function_ulps instead of value within
24669 allowed range.
24670
24671 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24672
24673 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24674 formatting.
24675 (get_handles_fopen): Likewise.
24676 (do_write_test): Likewise.
24677
24678 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24679
24680 * libio/fileops.c (do_ftell): Use cached offset when
24681 available.
24682 * libio/iofwide.c (do_ftell_wide): Likewise.
24683 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24684 _IO_file_attach.
24685 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24686
24687 [BZ #16532]
24688 * libio/libioP.h (get_file_offset): New function.
24689 * libio/fileops.c (get_file_offset): Likewise.
24690 (do_ftell): Likewise.
24691 (_IO_new_file_seekoff): Split out ftell logic.
24692 * libio/wfileops.c (do_ftell_wide): Likewise.
24693 (_IO_wfile_seekoff): Split out ftell logic.
24694 * libio/tst-ftell-active-handler.c: New test case.
24695 * libio/Makefile (tests): Add it.
24696
24697 2014-03-03 Roland McGrath <roland@hack.frob.com>
24698
24699 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24700 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24701
24702 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24703
24704 [BZ #16639]
24705 * nscd/connections.c (nscd_init): Call do_exit.
24706 (start_threads): Call do_exit and notify_parent.
24707 (begin_drop_privileges): Call do_exit.
24708 (finish_drop_privileges): Likewise.
24709 * nscd/selinux.c (preserve_capabilities): Likewise.
24710 (install_real_capabilities): Likewise.
24711 (nscd_selinux_enabled): Likewise.
24712 (avc_create_thread): Likewise.
24713 (avc_alloc_lock): Likewise.
24714 (nscd_avc_init): Likewise.
24715 * nscd/nscd.c (parent_fd): New static variable.
24716 (main): Create a pipe between parent and child processes.
24717 Skip closing parent_fd.
24718 (monitor_child): New function.
24719 (do_exit): Likewise.
24720 (notify_parent): Likewise.
24721 * nscd/nscd.h (notify_parent): Likewise.
24722 (do_exit): Likewise.
24723
24724 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24725
24726 * malloc/malloc.c (__libc_calloc): Revert last change.
24727
24728 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24729
24730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24731
24732 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24733
24734 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24736 implementation.
24737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24738 (__libc_ifunc_impl_list): Likewise.
24739 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24740 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24741 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24742 * string/strrchr.c: Define STRRCHR.
24743
24744 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24745
24746 * benchtest/bench-strtok.c (simple_strtok): Delete.
24747 (strtok_string): Use as benchmark.
24748 * string/strtok (STRTOK): New macro.
24749
24750 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24751
24752 * manual/threads.texi: Add header and standard comments to all
24753 functions.
24754
24755 * elf/dl-lookup.c (check_match): New function.
24756 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24757 (do_lookup_x): Remove nested function check_match. Use non-nested
24758 function check_match.
24759
24760 2014-02-28 Roland McGrath <roland@hack.frob.com>
24761
24762 * csu/Makefile (generated, before-compile): Use += rather than =.
24763 * catgets/Makefile (generated, generated-dirs): Likewise.
24764 * debug/Makefile (generated): Likewise.
24765 * dlfcn/Makefile (generated): Likewise.
24766 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24767 * iconvdata/Makefile (before-compile, generated): Likewise.
24768 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24769 * libio/Makefile (generated): Likewise.
24770 * malloc/Makefile (generated): Likewise.
24771 * manual/Makefile (generated, generated-dirs): Likewise.
24772 * misc/Makefile (generated): Likewise.
24773 * posix/Makefile (generated): Likewise.
24774 * resolv/Makefile (generated): Likewise.
24775 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24776 * timezone/Makefile (generated, generated-dirs): Likewise.
24777
24778 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24779
24780 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24781
24782 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24783 power8 implementation.
24784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24785 file: POWER8 llround ifunc implementation.
24786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24787 (__lllround): Add POWER8 implementation.
24788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24789 POWER8 llround implementation.
24790
24791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24792 power8 implementation.
24793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24794 file: POWER8 llrint ifunc implementation.
24795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24796 Add POWER8 implementation.
24797 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24798 POWER8 llrint implementation.
24799
24800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24801 power8 implementation.
24802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24803 file: POWER8 finite ifunc implementation.
24804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24805 Add POWER8 implementation.
24806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24807 Likewise.
24808 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24809 POWER8 finite implementation.
24810 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24811
24812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24813 power8 implementation.
24814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24815 file: POWER8 isinf ifunc implementation.
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24817 POWER8 implementation.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24819 Likewise.
24820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24821 isinf implementation.
24822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24823
24824 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24825 (INIT_ARCH): Add hwcap2 initialization.
24826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24827 power8 implementation.
24828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24829 file: POWER8 isnan ifunc implementation.
24830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24831 POWER8 implementation.
24832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24833 Likewise.
24834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24835 isnan implementation.
24836 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24837
24838 2014-02-27 Joey Ye <joey.ye@arm.com>
24839
24840 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24841 (_FP_NANFRAC_Q): Set to zero.
24842
24843 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24844
24845 [BZ #16623]
24846 * math/auto-libm-test-in: New test inputs.
24847 * math/auto-libm-test-out: Regenerate.
24848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24849 and DA.
24850 (__cos): Likewise.
24851 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24852
24853 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24854
24855 * scripts/evaluate-test.sh: Take new argument indicating whether
24856 failure is expected.
24857 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24858 indicating whether failure is expected.
24859 * conform/Makefile (test-xfail-run-conformtest): New variable.
24860 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24861 level.
24862 * posix/Makefile (test-xfail-annexc): New variable.
24863 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24864
24865 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24866
24867 * argp/Makefile: Include Makeconfig immediately after defining
24868 subdir.
24869 * assert/Makefile: Likewise.
24870 * benchtests/Makefile: Likewise.
24871 * catgets/Makefile: Likewise.
24872 * conform/Makefile: Likewise.
24873 * crypt/Makefile: Likewise.
24874 * csu/Makefile: Likewise.
24875 (all): Remove target.
24876 * ctype/Makefile: Include Makeconfig immediately after defining
24877 subdir.
24878 * debug/Makefile: Likewise.
24879 * dirent/Makefile: Likewise.
24880 * dlfcn/Makefile: Likewise.
24881 * gmon/Makefile: Likewise.
24882 * gnulib/Makefile: Likewise.
24883 * grp/Makefile: Likewise.
24884 * gshadow/Makefile: Likewise.
24885 * hesiod/Makefile: Likewise.
24886 * hurd/Makefile: Likewise.
24887 (all): Remove target.
24888 * iconvdata/Makefile: Include Makeconfig immediately after
24889 defining subdir.
24890 * inet/Makefile: Likewise.
24891 * intl/Makefile: Likewise.
24892 * io/Makefile: Likewise.
24893 * libio/Makefile: Likewise.
24894 (all): Remove target.
24895 * locale/Makefile: Include Makeconfig immediately after defining
24896 subdir.
24897 * login/Makefile: Likewise.
24898 * mach/Makefile: Likewise.
24899 (all): Remove target.
24900 * malloc/Makefile: Include Makeconfig immediately after defining
24901 subdir.
24902 (all): Remove target.
24903 * manual/Makefile: Include Makeconfig immediately after defining
24904 subdir.
24905 * math/Makefile: Likewise.
24906 * misc/Makefile: Likewise.
24907 * nis/Makefile: Likewise.
24908 * nss/Makefile: Likewise.
24909 * po/Makefile: Likewise.
24910 (all): Remove target.
24911 * posix/Makefile: Include Makeconfig immediately after defining
24912 subdir.
24913 * pwd/Makefile: Likewise.
24914 * resolv/Makefile: Likewise.
24915 * resource/Makefile: Likewise.
24916 * rt/Makefile: Likewise.
24917 * setjmp/Makefile: Likewise.
24918 * shadow/Makefile: Likewise.
24919 * signal/Makefile: Likewise.
24920 * socket/Makefile: Likewise.
24921 * soft-fp/Makefile: Likewise.
24922 * stdio-common/Makefile: Likewise.
24923 * stdlib/Makefile: Likewise.
24924 * streams/Makefile: Likewise.
24925 * string/Makefile: Likewise.
24926 * sunrpc/Makefile: Likewise.
24927 (all): Remove target.
24928 * sysvipc/Makefile: Include Makeconfig immediately after defining
24929 subdir.
24930 * termios/Makefile: Likewise.
24931 * time/Makefile: Likewise.
24932 * timezone/Makefile: Likewise.
24933 (all): Remove target.
24934 * wcsmbs/Makefile: Include Makeconfig immediately after defining
24935 subdir.
24936 * wctype/Makefile: Likewise.
24937
24938 2014-02-26 Steve Ellcey <sellcey@mips.com>
24939
24940 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24941 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24942 (libc_feholdexcept_setround_mips): Ditto.
24943 (libc_feholdsetround): New.
24944 (libc_feholdsetroundf): New.
24945 (libc_feholdsetroundl): New.
24946 (libc_feupdateenv_test_mips): New.
24947 (libc_feupdateenv_test): New.
24948 (libc_feupdateenv_testf): New.
24949 (libc_feupdateenv_testl): New.
24950 (libc_feresetround): New.
24951 (libc_feresetroundf): New.
24952 (libc_feresetroundl): New.
24953 (libc_fetestexcept_mips): New.
24954 (libc_fetestexcept): New.
24955 (libc_fetestexceptf): New.
24956 (libc_fetestexceptl): New.
24957 (HAVE_RM_CTX): New.
24958 (libc_feholdexcept_setround_mips_ctx): New.
24959 (libc_feholdexcept_setround_ctx): New.
24960 (libc_feholdexcept_setroundf_ctx): New.
24961 (libc_feholdexcept_setroundl_ctx): New.
24962 (libc_fesetenv_mips_ctx): New.
24963 (libc_fesetenv_ctx): New.
24964 (libc_fesetenv_ctxf): New.
24965 (libc_fesetenv_ctxl): New.
24966 (libc_feupdateenv_mips_ctx): New.
24967 (libc_feupdateenv_ctx): New.
24968 (libc_feupdateenvf_ctx): New.
24969 (libc_feupdateenvl_ctx): New.
24970 (libc_feholdsetround_mips_ctx): New.
24971 (libc_feholdsetround_ctx): New.
24972 (libc_feholdsetroundf_ctx): New.
24973 (libc_feholdsetroundl_ctx): New.
24974 (libc_feresetround_mips_ctx): New.
24975 (libc_feresetround_ctx): New.
24976 (libc_feresetroundf_ctx): New.
24977 (libc_feresetroundl_ctx): New.
24978
24979 2014-02-26 Carlos O'Donell <carlos@redhat.com>
24980
24981 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24982
24983 * manual/ipc.texi: New file.
24984 * manual/Makefile (chapters): Add ipc.
24985 * manual/job.texi: Add "Inter-Process Communication" to next.
24986 * manual/process.texi: Add "Inter-Process Communication" to prev.
24987
24988 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24989
24990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24991
24992 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
24993
24994 * malloc/malloc.c (__libc_calloc): Simplify implementation.
24995
24996 * manual/arith.texi: Fix spaces after sentences.
24997 * manual/charset.texi: Likewise.
24998 * manual/errno.texi: Likewise.
24999 * manual/install.texi: Likewise.
25000 * manual/llio.texi: Likewise.
25001 * manual/locale.texi: Likewise.
25002 * manual/maint.texi: Likewise.
25003 * manual/math.texi: Likewise.
25004 * manual/memory.texi: Likewise.
25005 * manual/message.texi: Likewise.
25006 * manual/probes.texi: Likewise.
25007 * manual/resource.texi: Likewise.
25008 * manual/signal.texi: Likewise.
25009 * manual/socket.texi: Likewise.
25010 * manual/stdio.texi: Likewise.
25011 * manual/string.texi: Likewise.
25012 * manual/time.texi: Likewise.
25013 * manual/users.texi: Likewise.
25014
25015 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25016
25017 [BZ #16632]
25018 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25019 _DEFAULT_SOURCE is defined.
25020
25021 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25022 Carlos O'Donell <carlos@redhat.com>
25023
25024 [BZ #16613]
25025 * elf/dl-tls.c (_dl_count_modids): New function.
25026 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25027 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25028 audit library and increment generation counter.
25029 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25030 * elf/tst-audit9.c: New file.
25031 * elf/tst-auditmod9a.c: New file.
25032 * elf/tst-auditmod9b.c: New file.
25033 * elf/Makefile: Add rules to build and run tst-audit9.
25034
25035 2014-02-25 Florian Weimer <fweimer@redhat.com>
25036
25037 [BZ #15347]
25038 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25039
25040 2014-02-25 Will Newton <will.newton@linaro.org>
25041
25042 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25043 (__longjmp): Restore sp and lr before restoring callee
25044 saved registers. Add longjmp and longjmp_target
25045 SystemTap probe point.
25046 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25047 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25048 Define to zero to match jmpbuf layout.
25049 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25050 (__sigsetjmp): Save sp and lr before saving callee
25051 saved registers. Add setjmp SystemTap probe point.
25052
25053 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25054
25055 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25056
25057 2014-02-24 Andreas Schwab <schwab@suse.de>
25058
25059 [BZ #15804]
25060 * elf/pldd.c (wait_for_ptrace_stop): New function.
25061 (main): Call it after attaching.
25062
25063 2014-02-22 Roland McGrath <roland@hack.frob.com>
25064
25065 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25066 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25067 Versions files is now verboten.
25068 * hurd/Versions (libc: GLIBC_2.0):
25069 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25070 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25071 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25072 * mach/Versions: Likewise.
25073
25074 * csu/Versions: Remove unused %include.
25075 * resolv/Versions: Likewise.
25076
25077 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25078
25079 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25080 ($(objpfx)check-local-headers.out): Likewise.
25081 ($(objpfx)begin-end-check.out): Likewise.
25082 * Makerules (check-abi-%.out): Likewise.
25083 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25084 ($(objpfx)test2.cat): Likewise.
25085 ($(objpfx)de/libc.cat): Likewise.
25086 ($(objpfx)test-gencat.out): Likewise.
25087 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25088 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25089 ($(objpfx)noload-mem): Likewise.
25090 ($(objpfx)tst-pathopt.out): Likewise.
25091 ($(objpfx)tst-rtld-load-self.out): Likewise.
25092 ($(objpfx)tst-array1-cmp.out): Likewise.
25093 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25094 ($(objpfx)tst-array2-cmp.out): Likewise.
25095 ($(objpfx)tst-array3-cmp.out): Likewise.
25096 ($(objpfx)tst-array4-cmp.out): Likewise.
25097 ($(objpfx)tst-array5-cmp.out): Likewise.
25098 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25099 ($(objpfx)check-textrel.out): Likewise.
25100 ($(objpfx)check-execstack.out): Likewise.
25101 ($(objpfx)check-localplt.out): Likewise.
25102 ($(objpfx)order2-cmp.out): Likewise.
25103 ($(objpfx)tst-leaks1-mem): Likewise.
25104 ($(objpfx)tst-leaks1-static-mem): Likewise.
25105 ($(objpfx)tst-initorder-cmp.out): Likewise.
25106 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25107 ($(objpfx)tst-unused-dep.out): Likewise.
25108 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25109 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25110 * iconv/Makefile (test-iconvconfig): Likewise.
25111 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25112 ($(objpfx)iconv-test.out): Likewise.
25113 ($(objpfx)tst-tables.out): Likewise.
25114 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25115 ($(objpfx)tst-gettext.out): Likewise.
25116 ($(objpfx)tst-translit.out): Likewise.
25117 ($(objpfx)tst-gettext2.out): Likewise.
25118 ($(objpfx)tst-gettext4.out): Likewise.
25119 ($(objpfx)tst-gettext6.out): Likewise.
25120 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25121 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25122 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25123 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25124 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25125 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25126 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25127 ($(objpfx)wordexp-tst.out): Likewise.
25128 ($(objpfx)annexc.out): Likewise.
25129 ($(objpfx)tst-fnmatch-mem): Likewise.
25130 ($(objpfx)bug-regex2-mem): Likewise.
25131 ($(objpfx)bug-regex14-mem): Likewise.
25132 ($(objpfx)bug-regex21-mem): Likewise.
25133 ($(objpfx)bug-regex31-mem): Likewise.
25134 ($(objpfx)tst-vfork3-mem): Likewise.
25135 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25136 ($(objpfx)tst-pcre-mem): Likewise.
25137 ($(objpfx)tst-boost-mem): Likewise.
25138 ($(objpfx)tst-getconf.out): Likewise.
25139 ($(objpfx)bug-ga2-mem): Likewise.
25140 ($(objpfx)bug-glob2-mem): Likewise.
25141 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25142 ($(objpfx)mtrace-tst-leaks2): Likewise.
25143 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25144 ($(objpfx)tst-printf.out): Likewise.
25145 ($(objpfx)tst-setvbuf1.out): Likewise.
25146 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25147 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25148 ($(objpfx)tst-fmtmsg.out): Likewise.
25149 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25150 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25151
25152 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25153 * bits/sigaction.h [__USE_MISC]: Likewise.
25154 * bits/waitstatus.h: Update #endif comments.
25155 * ctype/ctype.h: Likewise.
25156 * dirent/dirent.h: Likewise.
25157 [__USE_MISC]: Remove redundant conditionals.
25158 * grp/grp.h: Update #endif comments.
25159 [__USE_GNU]: Remove redundant conditionals.
25160 [__USE_MISC]: Likewise.
25161 * inet/netinet/in.h [__USE_GNU]: Likewise.
25162 * io/sys/stat.h [__USE_MISC]: Likewise.
25163 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25164 * libio/bits/stdio.h: Update #endif comments.
25165 [__USE_MISC]: Remove redundant conditionals.
25166 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25167 * libio/stdio.h: Update #endif comments.
25168 [__USE_MISC]: Remove redundant conditionals.
25169 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25170 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25171 * math/math.h: Update #else and #endif comments.
25172 [__USE_MISC]: Remove redundant conditionals.
25173 * misc/sys/uio.h: Update #endif comments.
25174 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25175 * posix/glob.h [__USE_MISC]: Likewise.
25176 * posix/sys/types.h: Update #endif comments.
25177 [__USE_MISC]: Remove redundant conditionals.
25178 * posix/sys/wait.h: Update #endif comments.
25179 [__USE_MISC]: Remove redundant conditionals.
25180 * posix/unistd.h: Update #endif comments.
25181 [__USE_MISC]: Remove redundant conditionals.
25182 * pwd/pwd.h [__USE_GNU]: Likewise.
25183 [__USE_MISC]: Likewise.
25184 * resolv/netdb.h [__USE_GNU]: Likewise.
25185 * signal/signal.h: Update #endif comments.
25186 [__USE_MISC]: Remove redundant conditionals.
25187 * stdlib/stdlib.h: Update #else and #endif comments.
25188 [__USE_MISC]: Remove redundant conditionals.
25189 [__USE_GNU]: Likewise.
25190 * string/bits/string2.h [__USE_MISC]: Likewise.
25191 * string/string.h: Update #endif comments.
25192 [__USE_MISC]: Remove redundant conditionals.
25193 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25194 Likewise.
25195 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25196 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25197 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25198 Likewise.
25199 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25200 Likewise.
25201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25202 comments.
25203 [__USE_MISC]: Remove redundant conditionals.
25204 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25205 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25206 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25207 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25208 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25209 Likewise.
25210 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25211 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25212 Likewise.
25213 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25214 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25215 Likewise.
25216 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25217 Likewise.
25218 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25219 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25220 Likewise.
25221 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25222 Likewise.
25223 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25224 * sysdeps/x86/bits/string.h: Update #endif comments.
25225 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25226 conditionals.
25227 * time/sys/time.h: Update #endif comments.
25228 * time/time.h: Likewise.
25229 [__USE_MISC]: Remove redundant conditionals.
25230
25231 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25232
25233 [BZ #16600]
25234 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25235
25236 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25237
25238 * Versions.def (librt): Add GLIBC_2.17.
25239
25240 2014-02-21 Adam Conrad <adconrad@0c3.net>
25241
25242 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25243 synonym for _SYS_AUXV_H to allow direct inclusion.
25244 * sysdeps/sparc/bits/hwcap.h: Likewise.
25245 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25246 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25247 * sysdeps/sparc/sysdep.h: Likewise.
25248
25249 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25250
25251 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25252
25253 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25254
25255 * benchtests/bench-strrchr.c: Print length instead of position.
25256
25257 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25258
25259 [BZ #16611]
25260 * sysdeps/unix/sysv/linux/kernel-features.h
25261 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25262 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25263 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25264 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25265 Likewise.
25266 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25267 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25268 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25269 (__ASSUME_SENDMMSG): Define instead of using previous
25270 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25271 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25272 (__ASSUME_SENDMMSG_SYSCALL): Define.
25273 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25274 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25275 Likewise.
25276 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25277 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25278 Likewise.
25279 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25280 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25281 Likewise.
25282 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25283 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25284 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25285 [__ASSUME_SENDMMSG]: Change conditionals to
25286 [__ASSUME_SENDMMSG_SOCKETCALL].
25287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25288 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25289 Define.
25290 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25291 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25292 Likewise.
25293 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25294 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25295 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25296 [!__ASSUME_SENDMMSG]: Change conditional to
25297 [!__ASSUME_SENDMMSG_SOCKETCALL].
25298 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25299 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25300 Define.
25301
25302 [BZ #16610]
25303 * sysdeps/unix/sysv/linux/kernel-features.h
25304 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25305 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25306 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25307 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25308 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25309 [__i386__ || __sparc__]
25310 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25311 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25312 (__ASSUME_RECVMMSG): Define instead of using previous
25313 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25314 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25315 (__ASSUME_RECVMMSG_SYSCALL): Define.
25316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25318 Likewise.
25319 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25324 Likewise.
25325 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25326 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25327 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25328 [__ASSUME_RECVMMSG]: Change condition to
25329 [__ASSUME_RECVMMSG_SOCKETCALL].
25330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25331 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25332 Define.
25333 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25334 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25336 Likewise.
25337 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25338 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25339 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25340 [!__ASSUME_RECVMMSG]: Change condition to
25341 [!__ASSUME_RECVMMSG_SOCKETCALL].
25342 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25343 (__ASSUME_RECVMMSG_SYSCALL): Define.
25344
25345 [BZ #16609]
25346 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25347 __powerpc__ || __s390__ || __sh__ || __sparc__]
25348 (__ASSUME_SOCKETCALL): Define.
25349 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25350 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25351 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25352 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25353 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25354 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25355 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25356 (__ASSUME_ACCEPT4): Define instead of using previous
25357 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25358 __powerpc__ || __sparc__ || __s390__)] condition.
25359 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25360 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25361 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25362 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25363 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25364 [!__ASSUME_ACCEPT4]: Change condition to
25365 [!__ASSUME_ACCEPT4_SOCKETCALL].
25366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25367 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25368 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25370 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25371 __ASSUME_ACCEPT4_SYSCALL.
25372 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25373 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25374 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25375 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25376 __ASSUME_ACCEPT4_SYSCALL.
25377 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25378 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25379 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25380 [__ASSUME_ACCEPT4]: Change condition to
25381 [__ASSUME_ACCEPT4_SOCKETCALL].
25382 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25383 (__ASSUME_SOCKETCALL): Define.
25384 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25386 (__ASSUME_SOCKETCALL): Define.
25387 (__ASSUME_ACCEPT4): Remove.
25388 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25389 Define.
25390 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25391 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25392 Likewise.
25393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25395
25396 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25397 macro.
25398 (HWCAP_ARM_LPAE): Likewise.
25399 (HWCAP_ARM_EVTSTRM): Likewise.
25400 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25401 Add vpfd32, lpae and evtstrm.
25402 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25403 Increase to 22.
25404
25405 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25406
25407 * math/auto-libm-test-in: Add tests of clog10.
25408 * math/auto-libm-test-out: Regenerated.
25409 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25410 * sysdeps/i386/fpu/libm-test-ulps: Update.
25411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25412
25413 2014-02-18 Andreas Schwab <schwab@suse.de>
25414
25415 [BZ #16574]
25416 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25417 Store non-zero if the second buffer was newly allocated.
25418 (send_dg): Likewise.
25419 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25420 to send_vc and send_dg.
25421 (res_nsend): Pass NULL for ansp2_malloced.
25422 * resolv/res_query.c (__libc_res_nquery): Add parameter
25423 answerp2_malloced and pass it down to __libc_res_nsend.
25424 (res_nquery): Pass additional NULL to __libc_res_nquery.
25425 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25426 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25427 second answer buffer if answerp2_malloced was set.
25428 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25429 (__libc_res_nquerydomain): Add parameter
25430 answerp2_malloced and pass it down to __libc_res_nquery.
25431 (res_nquerydomain): Pass additional NULL to
25432 __libc_res_nquerydomain.
25433 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25434 additional NULL to __libc_res_nsend and __libc_res_nquery.
25435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25436 additional NULL to __libc_res_nsearch.
25437 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25438 parameter of __libc_res_nsearch to check for separately allocated
25439 second buffer.
25440 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25441 __libc_res_nquery.
25442 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25443 additional NULL to __libc_res_nquery.
25444 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25445 __libc_res_nsearch.
25446 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25447 * include/resolv.h: Update prototypes of __libc_res_nquery,
25448 __libc_res_nsearch, __libc_res_nsend.
25449
25450 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25451
25452 * math/auto-libm-test-in: Add tests of fma.
25453 * math/auto-libm-test-out: Regenerated.
25454 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25455 (fma_towardzero_test_data): Likewise.
25456 (fma_downward_test_data): Likewise.
25457 (fma_upward_test_data): Likewise.
25458 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25459 mpc_mode.
25460 (rounding_modes): Add values for new field.
25461 (func_calc_method): Add value mpfr_fff_f.
25462 (func_calc_desc): Add mpfr_fff_f union field.
25463 (test_function): Add field exact_args.
25464 (FUNC): Add macro argument EXACT_ARGS.
25465 (FUNC_mpfr_f_f): Update call to FUNC.
25466 (FUNC_mpfr_f_f): Likewise.
25467 (FUNC_mpfr_ff_f): Likewise.
25468 (FUNC_mpfr_if_f): Likewise.
25469 (FUNC_mpc_c_f): Likewise.
25470 (FUNC_mpc_c_c): Likewise.
25471 (test_functions): Add fma. Update calls to FUNC.
25472 (handle_input_arg): Add argument exact_args.
25473 (add_test): Update call to handle_input_arg.
25474 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25475 (output_for_one_input_case): Update call to calc_generic_results.
25476 Recalculate exact zero results in each rounding mode.
25477
25478 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25479 non-negative before setting low bit.
25480 * math/auto-libm-test-in: Mark one asin test possibly having
25481 spurious underflow.
25482 * math/auto-libm-test-out: Regenerated.
25483 * sysdeps/i386/fpu/libm-test-ulps: Update.
25484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25485
25486 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25487
25488 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25489 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25490 ports/sysdeps/unix/sysv/linux/microblaze.
25491 * README: Add missing listing for microblaze*-*-linux-gnu.
25492
25493 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25494
25495 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25496 duplicate code
25497
25498 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25499
25500 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25501 * sysdeps/unix/sysv/linux/ia64: Move directory from
25502 ports/sysdeps/unix/sysv/linux/ia64.
25503 * README: Update listing for ia64-*-linux-gnu.
25504
25505 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25506 Joseph Myers <joseph@codesourcery.com>
25507
25508 * Makeconfig (test-name): New variable.
25509 (evaluate-test): Likewise.
25510 * Makerules (do-test-clean): Remove .test-result files.
25511 (common-mostlyclean): Likewise.
25512 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25513 * scripts/evaluate-test.sh: New file.
25514
25515 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25516
25517 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25518 separate $(objpfx)tst-fopenloc-cmp.out and
25519 $(objpfx)tst-fopenloc-mem.out targets.
25520 (tests): Update dependencies.
25521 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25522 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25523 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25524 (tst-rxspencer-no-utf8-ARGS): New variable.
25525 (tst-rxspencer-no-utf8-ENV): Likewise.
25526 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25527 instead of $(objpfx)tst-rxspencer-mem.
25528 ($(objpfx)tst-rxspencer-mem): Change target to
25529 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25530 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25531 * posix/tst-rxspencer-no-utf8.c: New file.
25532
25533 * elf/Makefile ($(objpfx)order.out): Remove rule.
25534 [$(run-built-tests) = yes] (tests): Depend on
25535 $(objpfx)order-cmp.out.
25536 ($(objpfx)order-cmp.out): New rule.
25537 [$(run-built-tests) = yes] (tests): Depend on
25538 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25539 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25540 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25541 $(objpfx)tst-array5-static-cmp.out.
25542 ($(objpfx)tst-array1.out): Remove rule.
25543 ($(objpfx)tst-array1-cmp.out): New rule.
25544 ($(objpfx)tst-array1-static.out): Remove rule.
25545 ($(objpfx)tst-array1-static-cmp.out): New rule.
25546 ($(objpfx)tst-array2.out): Remove rule.
25547 ($(objpfx)tst-array2-cmp.out): New rule.
25548 ($(objpfx)tst-array3.out): Remove rule.
25549 ($(objpfx)tst-array3-cmp.out): New rule.
25550 ($(objpfx)tst-array4.out): Remove rule.
25551 ($(objpfx)tst-array4-cmp.out): New rule.
25552 ($(objpfx)tst-array5.out): Remove rule.
25553 ($(objpfx)tst-array5-cmp.out): New rule.
25554 ($(objpfx)tst-array5-static.out): Remove rule.
25555 ($(objpfx)tst-array5-static-cmp.out): New rule.
25556 [$(run-built-tests) = yes] (tests): Depend on
25557 $(objpfx)order2-cmp.out.
25558 ($(objpfx)order2.out): Remove rule.
25559 ($(objpfx)order2-cmp.out): New rule.
25560 ($(objpfx)tst-initorder.out): Remove rule.
25561 [$(run-built-tests) = yes] (tests): Depend on
25562 $(objpfx)tst-initorder-cmp.out.
25563 ($(objpfx)tst-initorder-cmp.out): New rule.
25564 ($(objpfx)tst-initorder2.out): Remove rule.
25565 [$(run-built-tests) = yes] (tests): Depend on
25566 $(objpfx)tst-initorder2-cmp.out.
25567 ($(objpfx)tst-initorder2-cmp.out): New rule.
25568 [$(run-built-tests) = yes] (tests): Depend on
25569 $(objpfx)tst-unused-dep-cmp.out.
25570 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25571 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25572 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25573 on $(objpfx)tst-setvbuf1-cmp.out.
25574 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25575 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25576 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25577 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25578 ($(objpfx)tst-svc.out): Remove rule.
25579 ($(objpfx)tst-svc-cmp.out): New rule.
25580
25581 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25582
25583 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25584 * ctype/ctype.h [__USE_MISC]: Likewise.
25585 * dirent/dirent.h [__USE_MISC]: Likewise.
25586 * grp/grp.h [__USE_MISC]: Likewise.
25587 * io/fcntl.h [__USE_MISC]: Likewise.
25588 * io/sys/stat.h [__USE_MISC]: Likewise.
25589 * libio/stdio.h [__USE_MISC]: Likewise.
25590 * posix/unistd.h [__USE_MISC]: Likewise.
25591 * pwd/pwd.h [__USE_MISC]: Likewise.
25592 * stdlib.h [__USE_MISC]: Likewise.
25593 * string/bits/string2.h [__USE_MISC]: Likewise.
25594 * string/string.h [__USE_MISC]: Likewise.
25595 * time/time.h [__USE_MISC]: Likewise.
25596
25597 2014-02-13 Andreas Schwab <schwab@suse.de>
25598
25599 [BZ #16574]
25600 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25601 second answer buffer if it was separately allocated.
25602
25603 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25604
25605 * sysdeps/mips/math-tests.h: Include <features.h>.
25606 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25607 (ROUNDING_TESTS_long_double): Do not define.
25608 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25609 (EXCEPTION_TESTS_long_double): Likewise.
25610 * sysdeps/mips/mips64/libm-test-ulps: Update.
25611
25612 * include/features.h (__USE_BSD): Remove macro definitions.
25613 (__USE_SVID): Likewise.
25614 (_BSD_SOURCE): Likewise.
25615 (_SVID_SOURCE): Likewise.
25616 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25617 from definition of _DEFAULT_SOURCE.
25618 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25619 [_DEFAULT_SOURCE].
25620 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25621 * bits/mman.h [__USE_BSD]: Likewise.
25622 * bits/termios.h [__USE_BSD]: Likewise.
25623 * bits/waitstatus.h [__USE_BSD]: Likewise.
25624 * ctype/ctype.h [__USE_SVID]: Likewise.
25625 * dirent/dirent.h [__USE_BSD]: Likewise.
25626 * grp/grp.h [__USE_SVID]: Likewise.
25627 [__USE_BSD]: Likewise.
25628 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25629 * io/fcntl.h [__USE_BSD]: Likewise.
25630 * io/ftw.h [__USE_BSD]: Likewise.
25631 * io/sys/stat.h [__USE_BSD]: Likewise.
25632 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25633 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25634 * libio/stdio.h [__USE_SVID]: Likewise.
25635 [__USE_BSD]: Likewise.
25636 * math/math.h [__USE_SVID]: Likewise.
25637 [__USE_BSD]: Likewise.
25638 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25639 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25640 * misc/search.h [__USE_SVID]: Likewise.
25641 * misc/sys/mman.h [__USE_BSD]: Likewise.
25642 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25643 * misc/sys/uio.h [__USE_BSD]: Likewise.
25644 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25645 * posix/glob.h [__USE_BSD]: Likewise.
25646 * posix/regex.h [__USE_BSD]: Likewise.
25647 * posix/sys/types.h [__USE_BSD]: Likewise.
25648 [__USE_SVID]: Likewise.
25649 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25650 * posix/sys/wait.h [__USE_BSD]: Likewise.
25651 [__USE_SVID]: Likewise.
25652 * posix/unistd.h [__USE_BSD]: Likewise.
25653 [__USE_SVID]: Likewise.
25654 * pwd/pwd.h [__USE_SVID]: Likewise.
25655 * resolv/netdb.h [__USE_BSD]: Likewise.
25656 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25657 * signal/signal.h [__USE_BSD]: Likewise.
25658 [__USE_SVID]: Likewise.
25659 * socket/sys/socket.h [__USE_BSD]: Likewise.
25660 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25661 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25662 [__USE_SVID]: Likewise.
25663 * string/bits/string2.h [__USE_BSD]: Likewise.
25664 [__USE_SVID]: Likewise.
25665 * string/bits/string3.h [__USE_BSD]: Likewise.
25666 * string/endian.h [__USE_BSD]: Likewise.
25667 * string/string.h [__USE_SVID]: Likewise.
25668 [__USE_BSD]: Likewise.
25669 * string/strings.h [__USE_BSD]: Likewise.
25670 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25671 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25673 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25674 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25675 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25676 Likewise.
25677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25678 Likewise.
25679 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25680 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25681 Likewise.
25682 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25683 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25684 Likewise.
25685 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25686 Likewise.
25687 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25688 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25690 Likewise.
25691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25692 Likewise.
25693 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25694 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25695 * termios/termios.h [__USE_BSD]: Likewise.
25696 * time/sys/time.h [__USE_BSD]: Likewise.
25697 * time/time.h [__USE_BSD]: Likewise.
25698 [__USE_SVID]: Likewise.
25699
25700 * Makefile (subdir_targets): Remove subdir_lint.out.
25701
25702 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25703 (do-tst-printf): Likewise.
25704 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25705 $(objpfx)tst-printf.out.
25706
25707 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25708
25709 * Makerules (check-abi-%): Change target to
25710 $(objpfx)check-abi-%.out.
25711 (check-abi target): Update dependencies.
25712 (check-abi-pattern variable): Redirect output of diff to $@.
25713 (check-abi variable): Likewise.
25714 * elf/Makefile (check-abi): Update dependencies.
25715
25716 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25717 unused.
25718 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25719 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25720 subnormal range.
25721 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25722 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25723 value has largest subnormal exponent.
25724 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25725 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25726 * sysdeps/aarch64/soft-fp/sfp-machine.h
25727 (_FP_TININESS_AFTER_ROUNDING): New macro.
25728 * sysdeps/alpha/soft-fp/sfp-machine.h
25729 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25730 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25731 Likewise.
25732 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25734 * sysdeps/mips/soft-fp/sfp-machine.h
25735 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25736 * sysdeps/powerpc/soft-fp/sfp-machine.h
25737 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25738 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25739 Likewise.
25740 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25742 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25743 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25744 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25745 Likewise.
25746
25747 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25748
25749 [BZ #16545]
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25751 model 1.
25752
25753 2014-02-12 Richard Henderson <rth@redhat.com>
25754
25755 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25756 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25757 * sysdeps/unix/sysv/linux/alpha: Move directory from
25758 ports/sysdeps/unix/sysv/linux/alpha.
25759 * README: Update listing for alpha-*-linux-gnu.
25760
25761 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25762
25763 * include/features.h: Update comment documenting feature test
25764 macros.
25765 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25766 _DEFAULT_SOURCE.
25767 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25768 (_SVID_SOURCE): Likewise.
25769 (_DEFAULT_SOURCE): Update description of default features.
25770 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25771 with _GNU_SOURCE.
25772 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25773 (S_ISVTX): Likewise.
25774 * manual/math.texi (Mathematical Constants): Likewise.
25775 * manual/signal.texi (Interrupted Primitives): Likewise.
25776 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25777 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25778 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25779 Don't refer to _SVID_SOURCE in warning text.
25780
25781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25782
25783 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25784 already defined.
25785 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25786 * sysdeps/mips/dl-lookup.c: Remove.
25787 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25788
25789 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25790
25791 [BZ #16447]
25792 * math/auto-libm-test-in: Add testcase for expl.
25793 * math/auto-libm-test-out: Regenerate.
25794 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25795 calculation of unsafe.
25796 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25797
25798 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25799
25800 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25801 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25802 ports/sysdeps/unix/sysv/linux/aarch64.
25803 * README: Update listing for aarch64*-*-linux-gnu.
25804
25805 2014-02-11 Will Newton <will.newton@linaro.org>
25806
25807 * manual/probes.texi (Mathematical Function Probes): Use
25808 "triggered" instead of "hit".
25809
25810 * manual/probes.texi (Internal Probes): Add documentation
25811 of setjmp, longjmp and longjmp_target probes.
25812
25813 * include/stap-probe.h: Add comment about probe argument
25814 format.
25815
25816 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25817 definition. (tr_where, tr_freehook, tr_mallochook,
25818 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25819
25820 2014-02-11 David S. Miller <davem@davemloft.net>
25821
25822 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25823 processing int_tests.
25824
25825 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25826
25827 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25828 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25829 * sysdeps/unix/sysv/linux/mips: Move directory from
25830 ports/sysdeps/unix/sysv/linux/mips.
25831 * README: Update listing for mips-*-linux-gnu and
25832 mips64-*-linux-gnu.
25833
25834 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25835
25836 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25837 * sysdeps/unix/sysv/linux/m68k: Move directory from
25838 ports/sysdeps/unix/sysv/linux/m68k.
25839 * README: Update listing for m68k-*-linux-gnu.
25840
25841 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25842
25843 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25844 * sysdeps/unix/sysv/linux/generic: Move directory from
25845 ports/sysdeps/unix/sysv/linux/generic.
25846 * sysdeps/unix/sysv/linux/tile: Move directory from
25847 ports/sysdeps/unix/sysv/linux/tile.
25848 * README: Update listing for tile*-*-linux-gnu.
25849
25850 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25851
25852 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25853 __builtin_expect.
25854 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25855 * catgets/open_catalog.c (__open_catalog): Likewise.
25856 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25857 * debug/confstr_chk.c: Likewise.
25858 * debug/fread_chk.c (__fread_chk): Likewise.
25859 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25860 * debug/getgroups_chk.c: Likewise.
25861 * debug/mbsnrtowcs_chk.c: Likewise.
25862 * debug/mbsrtowcs_chk.c: Likewise.
25863 * debug/mbstowcs_chk.c: Likewise.
25864 * debug/memcpy_chk.c: Likewise.
25865 * debug/memmove_chk.c: Likewise.
25866 * debug/mempcpy_chk.c: Likewise.
25867 * debug/memset_chk.c: Likewise.
25868 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25869 * debug/strcat_chk.c (__strcat_chk): Likewise.
25870 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25871 * debug/strncat_chk.c (__strncat_chk): Likewise.
25872 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25873 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25874 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25875 * debug/wcpncpy_chk.c: Likewise.
25876 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25877 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25878 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25879 * debug/wcsncpy_chk.c: Likewise.
25880 * debug/wcsnrtombs_chk.c: Likewise.
25881 * debug/wcsrtombs_chk.c: Likewise.
25882 * debug/wcstombs_chk.c: Likewise.
25883 * debug/wmemcpy_chk.c: Likewise.
25884 * debug/wmemmove_chk.c: Likewise.
25885 * debug/wmempcpy_chk.c: Likewise.
25886 * debug/wmemset_chk.c: Likewise.
25887 * dirent/scandirat.c (SCANDIRAT): Likewise.
25888 * dlfcn/dladdr1.c (dladdr1): Likewise.
25889 * dlfcn/dladdr.c (dladdr): Likewise.
25890 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25891 * dlfcn/dlerror.c (__dlerror): Likewise.
25892 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25893 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25894 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25895 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25896 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25897 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25898 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25899 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25900 Likewise.
25901 * elf/dl-conflict.c: Likewise.
25902 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25903 * elf/dl-dst.h: Likewise.
25904 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25905 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25906 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25907 * elf/dl-init.c (call_init, _dl_init): Likewise.
25908 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25909 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25910 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25911 Likewise.
25912 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25913 Likewise.
25914 * elf/dl-minimal.c (__libc_memalign): Likewise.
25915 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25916 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25917 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25918 * elf/dl-sym.c (do_sym): Likewise.
25919 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25920 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25921 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25922 * elf/dl-writev.h (_dl_writev): Likewise.
25923 * elf/ldconfig.c (search_dir): Likewise.
25924 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25925 (dl_main): Likewise.
25926 * elf/setup-vdso.h (setup_vdso): Likewise.
25927 * grp/compat-initgroups.c (compat_call): Likewise.
25928 * grp/fgetgrent.c (fgetgrent): Likewise.
25929 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25930 * grp/putgrent.c (putgrent): Likewise.
25931 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25932 Likewise.
25933 * hurd/hurdinit.c: Likewise.
25934 * iconvdata/8bit-gap.c (struct): Likewise.
25935 * iconvdata/ansi_x3.110.c : Likewise.
25936 * iconvdata/big5.c : Likewise.
25937 * iconvdata/big5hkscs.c : Likewise.
25938 * iconvdata/cp1255.c: Likewise.
25939 * iconvdata/cp1258.c : Likewise.
25940 * iconvdata/cp932.c : Likewise.
25941 * iconvdata/euc-cn.c: Likewise.
25942 * iconvdata/euc-jisx0213.c : Likewise.
25943 * iconvdata/euc-jp.c: Likewise.
25944 * iconvdata/euc-jp-ms.c : Likewise.
25945 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25946 * iconvdata/gb18030.c : Likewise.
25947 * iconvdata/gbbig5.c (const): Likewise.
25948 * iconvdata/gbgbk.c: Likewise.
25949 * iconvdata/gbk.c : Likewise.
25950 * iconvdata/ibm1364.c : Likewise.
25951 * iconvdata/ibm930.c : Likewise.
25952 * iconvdata/ibm932.c: Likewise.
25953 * iconvdata/ibm933.c : Likewise.
25954 * iconvdata/ibm935.c : Likewise.
25955 * iconvdata/ibm937.c : Likewise.
25956 * iconvdata/ibm939.c : Likewise.
25957 * iconvdata/ibm943.c: Likewise.
25958 * iconvdata/iso_11548-1.c: Likewise.
25959 * iconvdata/iso-2022-cn.c : Likewise.
25960 * iconvdata/iso-2022-cn-ext.c : Likewise.
25961 * iconvdata/iso-2022-jp-3.c: Likewise.
25962 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25963 * iconvdata/iso-2022-kr.c : Likewise.
25964 * iconvdata/iso646.c (gconv_end): Likewise.
25965 * iconvdata/iso_6937-2.c : Likewise.
25966 * iconvdata/iso_6937.c : Likewise.
25967 * iconvdata/iso8859-1.c: Likewise.
25968 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25969 * iconvdata/shift_jisx0213.c : Likewise.
25970 * iconvdata/sjis.c : Likewise.
25971 * iconvdata/t.61.c : Likewise.
25972 * iconvdata/tcvn5712-1.c : Likewise.
25973 * iconvdata/tscii.c: Likewise.
25974 * iconvdata/uhc.c : Likewise.
25975 * iconvdata/unicode.c (gconv_end): Likewise.
25976 * iconvdata/utf-16.c (gconv_end): Likewise.
25977 * iconvdata/utf-32.c (gconv_end): Likewise.
25978 * iconvdata/utf-7.c (base64): Likewise.
25979 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25980 * iconv/gconv_close.c (__gconv_close): Likewise.
25981 * iconv/gconv_open.c (__gconv_open): Likewise.
25982 * iconv/gconv_simple.c (internal_ucs4_loop_single)
25983 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25984 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25985 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25986 (ucs4le_internal_loop_single): Likewise.
25987 * iconv/iconv.c (iconv): Likewise.
25988 * iconv/iconv_close.c: Likewise.
25989 * iconv/loop.c (SINGLE): Likewise.
25990 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25991 * include/atomic.h: Likewise.
25992 * inet/inet6_option.c (option_alloc): Likewise.
25993 * intl/bindtextdom.c (set_binding_values): Likewise.
25994 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25995 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25996 * intl/localealias.c (read_alias_file): Likewise.
25997 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25998 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25999 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26000 * libio/fmemopen.c (fmemopen): Likewise.
26001 * libio/iofgets.c (_IO_fgets): Likewise.
26002 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26003 * libio/iofgetws.c (fgetws): Likewise.
26004 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26005 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26006 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26007 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26008 * locale/findlocale.c (_nl_find_locale): Likewise.
26009 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26010 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26011 Likewise.
26012 * locale/setlocale.c (setlocale): Likewise.
26013 * login/programs/pt_chown.c (main): Likewise.
26014 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26015 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26016 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26017 (mmap, mmap64, mremap, munmap): Likewise.
26018 * math/e_exp2l.c: Likewise.
26019 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26020 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26021 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26022 * math/s_catan.c (__catan): Likewise.
26023 * math/s_catanf.c (__catanf): Likewise.
26024 * math/s_catanh.c (__catanh): Likewise.
26025 * math/s_catanhf.c (__catanhf): Likewise.
26026 * math/s_catanhl.c (__catanhl): Likewise.
26027 * math/s_catanl.c (__catanl): Likewise.
26028 * math/s_ccosh.c (__ccosh): Likewise.
26029 * math/s_ccoshf.c (__ccoshf): Likewise.
26030 * math/s_ccoshl.c (__ccoshl): Likewise.
26031 * math/s_cexp.c (__cexp): Likewise.
26032 * math/s_cexpf.c (__cexpf): Likewise.
26033 * math/s_cexpl.c (__cexpl): Likewise.
26034 * math/s_clog10.c (__clog10): Likewise.
26035 * math/s_clog10f.c (__clog10f): Likewise.
26036 * math/s_clog10l.c (__clog10l): Likewise.
26037 * math/s_clog.c (__clog): Likewise.
26038 * math/s_clogf.c (__clogf): Likewise.
26039 * math/s_clogl.c (__clogl): Likewise.
26040 * math/s_csin.c (__csin): Likewise.
26041 * math/s_csinf.c (__csinf): Likewise.
26042 * math/s_csinh.c (__csinh): Likewise.
26043 * math/s_csinhf.c (__csinhf): Likewise.
26044 * math/s_csinhl.c (__csinhl): Likewise.
26045 * math/s_csinl.c (__csinl): Likewise.
26046 * math/s_csqrt.c (__csqrt): Likewise.
26047 * math/s_csqrtf.c (__csqrtf): Likewise.
26048 * math/s_csqrtl.c (__csqrtl): Likewise.
26049 * math/s_ctan.c (__ctan): Likewise.
26050 * math/s_ctanf.c (__ctanf): Likewise.
26051 * math/s_ctanh.c (__ctanh): Likewise.
26052 * math/s_ctanhf.c (__ctanhf): Likewise.
26053 * math/s_ctanhl.c (__ctanhl): Likewise.
26054 * math/s_ctanl.c (__ctanl): Likewise.
26055 * math/w_pow.c: Likewise.
26056 * math/w_powf.c: Likewise.
26057 * math/w_powl.c: Likewise.
26058 * math/w_scalb.c (sysv_scalb): Likewise.
26059 * math/w_scalbf.c (sysv_scalbf): Likewise.
26060 * math/w_scalbl.c (sysv_scalbl): Likewise.
26061 * misc/error.c (error_tail): Likewise.
26062 * misc/pselect.c (__pselect): Likewise.
26063 * nis/nis_callback.c (__nis_create_callback): Likewise.
26064 * nis/nis_call.c (__nisfind_server): Likewise.
26065 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26066 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26067 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26068 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26069 * nis/nis_lookup.c (nis_lookup): Likewise.
26070 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26071 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26072 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26073 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26074 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26075 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26076 * nis/nss_compat/compat-initgroups.c (add_group)
26077 (internal_getgrent_r): Likewise.
26078 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26079 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26080 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26081 (internal_getspnam_r): Likewise.
26082 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26083 (_nss_nis_getaliasbyname_r): Likewise.
26084 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26085 (_nss_nis_getntohost_r): Likewise.
26086 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26087 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26088 (_nss_nis_getgrgid_r): Likewise.
26089 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26090 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26091 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26092 (_nss_nis_gethostbyname4_r): Likewise.
26093 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26094 (initgroups_netid): Likewise.
26095 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26096 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26097 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26098 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26099 (_nss_nis_getprotobynumber_r): Likewise.
26100 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26101 (_nss_nis_getsecretkey): Likewise.
26102 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26103 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26104 (_nss_nis_getpwuid_r): Likewise.
26105 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26106 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26107 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26108 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26109 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26110 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26111 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26112 Likewise.
26113 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26114 (_nss_nisplus_getntohost_r): Likewise.
26115 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26116 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26117 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26118 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26119 Likewise.
26120 * nis/nss_nisplus/nisplus-initgroups.c
26121 (_nss_nisplus_initgroups_dyn): Likewise.
26122 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26123 (_nss_nisplus_getnetbyaddr_r): Likewise.
26124 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26125 (_nss_nisplus_getprotobynumber_r): Likewise.
26126 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26127 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26128 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26129 Likewise.
26130 * nis/nss_nisplus/nisplus-service.c
26131 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26132 (_nss_nisplus_getservbyport_r): Likewise.
26133 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26134 (_nss_nisplus_getspnam_r): Likewise.
26135 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26136 Likewise.
26137 * nscd/aicache.c (addhstaiX): Likewise.
26138 * nscd/cache.c (cache_search, prune_cache): Likewise.
26139 * nscd/connections.c (register_traced_file, send_ro_fd)
26140 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26141 (main_loop_epoll): Likewise.
26142 * nscd/grpcache.c (addgrbyX): Likewise.
26143 * nscd/hstcache.c (addhstbyX): Likewise.
26144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26145 * nscd/mem.c (gc, mempool_alloc): Likewise.
26146 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26147 (addinnetgrX): Likewise.
26148 * nscd/nscd-client.h (__nscd_acquire_maplock)
26149 (__nscd_drop_map_ref): Likewise.
26150 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26151 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26152 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26153 Likewise.
26154 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26156 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26157 (__nscd_get_map_ref): Likewise.
26158 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26159 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26160 Likewise.
26161 * nscd/pwdcache.c (addpwbyX): Likewise.
26162 * nscd/selinux.c (preserve_capabilities): Likewise.
26163 * nscd/servicescache.c (addservbyX): Likewise.
26164 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26165 * posix/fnmatch.c (fnmatch): Likewise.
26166 * posix/getopt.c (_getopt_internal_r): Likewise.
26167 * posix/glob.c (glob, glob_in_dir): Likewise.
26168 * posix/wordexp.c (exec_comm_child): Likewise.
26169 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26170 (getanswer_r, gaih_getanswer_slice): Likewise.
26171 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26172 * resolv/res_init.c: Likewise.
26173 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26174 * resolv/res_query.c (__libc_res_nquery): Likewise.
26175 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26176 Likewise.
26177 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26178 * stdio-common/perror.c (perror): Likewise.
26179 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26180 * stdio-common/tmpnam.c (tmpnam): Likewise.
26181 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26182 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26183 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26184 Likewise.
26185 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26186 * stdlib/putenv.c (putenv): Likewise.
26187 * stdlib/setenv.c (__add_to_environ): Likewise.
26188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26189 * stdlib/strtol_l.c (INTERNAL): Likewise.
26190 * string/memmem.c (memmem): Likewise.
26191 * string/strerror.c (strerror): Likewise.
26192 * string/strnlen.c (__strnlen): Likewise.
26193 * string/test-memmem.c (simple_memmem): Likewise.
26194 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26195 * sunrpc/pm_getport.c (__get_socket): Likewise.
26196 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26197 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26198 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26199 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26200 Likewise.
26201 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26202 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26203 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26204 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26205 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26206 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26207 Likewise.
26208 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26209 Likewise.
26210 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26211 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26213 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26214 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26216 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26217 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26218 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26219 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26220 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26222 Likewise.
26223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26224 Likewise.
26225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26226 Likewise.
26227 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26230 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26231 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26232 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26233 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26237 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26242 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26243 Likewise.
26244 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26245 Likewise.
26246 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26247 Likewise.
26248 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26249 Likewise.
26250 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26252 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26253 Likewise.
26254 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26255 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26256 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26257 * sysdeps/posix/sleep.c: Likewise.
26258 * sysdeps/posix/tempname.c: Likewise.
26259 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26260 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26261 Likewise.
26262 * sysdeps/powerpc/powerpc32/dl-machine.h
26263 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26264 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26266 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26267 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26268 Likewise.
26269 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26271 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26273 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26274 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26275 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26276 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26277 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26278 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26280 (elf_machine_lazy_rel): Likewise.
26281 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26283 (elf_machine_lazy_rel): Likewise.
26284 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26285 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26286 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26287 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26288 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26289 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26290 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26292 Likewise.
26293 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26294 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26295 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26296 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26297 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26298 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26299 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26300 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26301 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26302 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26303 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26304 Likewise.
26305 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26306 (__posix_fallocate64_l64): Likewise.
26307 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26308 (posix_fallocate): Likewise.
26309 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26310 Likewise.
26311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26312 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26313 (getifaddrs_internal): Likewise.
26314 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26315 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26316 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26317 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26318 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26319 (__posix_fallocate64_l64): Likewise.
26320 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26321 Likewise.
26322 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26323 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26324 (__get_clockfreq): Likewise.
26325 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26326 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26327 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26330 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26331 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26332 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26333 Likewise.
26334 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26335 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26336 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26338 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26339 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26340 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26341 Likewise.
26342 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26343 (posix_fallocate): Likewise.
26344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26345 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26346 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26347 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26348 (elf_machine_rela, elf_machine_rela_relative)
26349 (elf_machine_lazy_rel): Likewise.
26350 * time/asctime.c (asctime_internal): Likewise.
26351 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26352 * time/tzset.c (__tzset_parse_tz): Likewise.
26353 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26354 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26355 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26356 * wcsmbs/wcsmbsload.h: Likewise.
26357
26358 [BZ #15894]
26359 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26360
26361 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26362 (arena_get2): Remove THREAD_STATS conditionals.
26363 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26364 (__malloc_stats, int): Likewise.
26365
26366 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26367
26368 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26369 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26370
26371 * manual/setjmp.texi: Fix typos/grammar errors.
26372
26373 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26374 Only return early when n is <= 0. Delete unused return statement.
26375
26376 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26377 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26378 * debug/tst-longjmp_chk3.c: New file.
26379
26380 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26381 (test_main): Replace code with set_fortify_handler call.
26382 * debug/test-strcpy_chk.c: Likewise.
26383 * debug/tst-chk1.c: Likewise.
26384 * debug/tst-longjmp_chk.c: Likewise.
26385 * test-skeleton.c: Include fcntl.h & paths.h
26386 (set_fortify_handler): Define.
26387
26388 * debug/tst-longjmp_chk.c: Add header comment and include
26389 ../test-skeleton.c.
26390 (do_test): Mark static.
26391 (TEST_FUNCTION): Define.
26392
26393 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26394 (IP_PMTUDISC_INTERFACE): Likewise.
26395 (IP_MULTICAST_IF): Likewise.
26396 (IP_MULTICAST_TTL): Likewise.
26397 (IP_MULTICAST_LOOP): Likewise.
26398 (IP_ADD_MEMBERSHIP): Likewise.
26399 (IP_DROP_MEMBERSHIP): Likewise.
26400 (IP_UNBLOCK_SOURCE): Likewise.
26401 (IP_BLOCK_SOURCE): Likewise.
26402 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26403 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26404 (IP_MSFILTER): Likewise.
26405 (MCAST_JOIN_GROUP): Likewise.
26406 (MCAST_BLOCK_SOURCE): Likewise.
26407 (MCAST_UNBLOCK_SOURCE): Likewise.
26408 (MCAST_LEAVE_GROUP): Likewise.
26409 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26410 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26411 (MCAST_MSFILTER): Likewise.
26412 (IP_MULTICAST_ALL): Likewise.
26413 (IP_UNICAST_IF): Likewise.
26414
26415 * timezone/Makefile: Delete $(have-ksh) check.
26416 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26417 * timezone/tzselect.ksh: Add +x mode bits.
26418
26419 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26420 (ANON_INODE_FS_MAGIC): Likewise.
26421 (BDEVFS_MAGIC): Likewise.
26422 (BINFMTFS_MAGIC): Likewise.
26423 (BTRFS_TEST_MAGIC): Likewise.
26424 (CRAMFS_MAGIC_WEND): Likewise.
26425 (DEBUGFS_MAGIC): Likewise.
26426 (ECRYPTFS_SUPER_MAGIC): Likewise.
26427 (EXT3_SUPER_MAGIC): Likewise.
26428 (EXT4_SUPER_MAGIC): Likewise.
26429 (FUTEXFS_SUPER_MAGIC): Likewise.
26430 (HOSTFS_SUPER_MAGIC): Likewise.
26431 (HUGETLBFS_MAGIC): Likewise.
26432 (MINIX3_SUPER_MAGIC): Likewise.
26433 (MTD_INODE_FS_MAGIC): Likewise.
26434 (NILFS_SUPER_MAGIC): Likewise.
26435 (OPENPROM_SUPER_MAGIC): Likewise.
26436 (PIPEFS_MAGIC): Likewise.
26437 (PSTOREFS_MAGIC): Likewise.
26438 (QNX6_SUPER_MAGIC): Likewise.
26439 (RAMFS_MAGIC): Likewise.
26440 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26441 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26442 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26443 (SECURITYFS_MAGIC): Likewise.
26444 (SELINUX_MAGIC): Likewise.
26445 (SMACK_MAGIC): Likewise.
26446 (SOCKFS_MAGIC): Likewise.
26447 (SQUASHFS_MAGIC): Likewise.
26448 (STACK_END_MAGIC): Likewise.
26449 (TMPFS_MAGIC): Likewise.
26450 (USBDEVICE_SUPER_MAGIC): Likewise.
26451 (V9FS_MAGIC): Likewise.
26452 (XENFS_SUPER_MAGIC): Likewise.
26453 (CRAMFS_MAGIC): Fix typo in comment.
26454 (EXT2_SUPER_MAGIC): Update comment.
26455 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26456
26457 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26458
26459 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26460 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26461 * sysdeps/unix/sysv/linux/arm: Move directory from
26462 ports/sysdeps/unix/sysv/linux/arm.
26463 * README: Update listing for arm-*-linux-gnueabi.
26464
26465 * README: Remove mention of am33.
26466
26467 2014-02-07 Roland McGrath <roland@hack.frob.com>
26468
26469 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26470 than the comma operator, to avoid "rhs of comma has no effect"
26471 compiler warnings.
26472 (__sigfillset, __sigandset, __sigorset): Likewise.
26473 * include/signal.h (__sigemptyset): Likewise.
26474 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26475
26476 2014-02-07 Allan McRae <allan@archlinux.org>
26477
26478 * version.h (RELEASE): Set to "development".
26479 (VERSION): Set to "2.19.90"
26480 * NEWS: Add 2.20 section.
26481
26482 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26483
26484 [BZ #16529]
26485 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26486
26487 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26488
26489 * manual/contrib.texi: Update entry for Carlos O'Donell,
26490 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26491
26492 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26493
26494 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26495
26496 * sysdeps/unix/sysv/linux/kernel-features.h
26497 [__LINUX_KERNEL_VERSION >= 0x020621]
26498 (__ASSUME_PROC_PID_TASK_COMM): Define.
26499
26500 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26501
26502 [BZ #16398]
26503 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26504 conversion when destination buffer does not have enough space.
26505 * libio/tst-ftell-partial-wide.c: New test case.
26506 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26507
26508 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26509 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26510 Leonard and Allan McRae.
26511
26512 2014-02-04 David S. Miller <davem@davemloft.net>
26513
26514 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26515 32-bit.
26516
26517 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26518
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26520 New file
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26522 New file
26523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26524 New file.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26526 New file.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26528 New file.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26530 New file.
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26532 New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26534 New file.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26536 New file.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26538 New file.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26540 New file.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26542 New file.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26544 New file.
26545
26546 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26547
26548 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26549 * shlib-versions: Likewise.
26550
26551 2014-02-04 Roland McGrath <roland@hack.frob.com>
26552 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26553
26554 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26555 (abilist-pattern): New variable, set to %-le.abilist.
26556
26557 * Makerules (abilist-pattern): New variable.
26558 (vpath): Use $(abilist-pattern) in place of %.abilist.
26559 (check-abi-% pattern rule): Likewise.
26560 (check-abi, update-abi): Likewise.
26561
26562 2014-02-04 Eric Wong <normalperson@yhbt.net>
26563
26564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26565
26566 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26567
26568 * manual/startup.texi: Add next, previous, and top entries for
26569 the `Program Arguments' and `Environment Variables' nodes.
26570
26571 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26572
26573 * manual/macros.texi: Add comments before MTASC-safety macros.
26574
26575 * manual/users.texi: Document MTASC-safety properties.
26576
26577 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26578 (pthread_getspecific, pthread_setspecific): Format with
26579 @deftypefun, and add @safety note.
26580 * manual/signal.texi: Move comments that analyze the above
26581 functions to their home place.
26582
26583 2014-02-03 Allan McRae <allan@archlinux.org>
26584
26585 * po/sl.po: Update Slovenian translation from translation project.
26586
26587 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26588
26589 * manual/time.texi (timegm): Add missing blank after @c.
26590 Reported by Joseph Myers <joseph@codesourcery.com>.
26591
26592 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26593
26594 * manual/check-safety.sh: New.
26595 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26596
26597 * manual/terminal.texi: Document MTASC-safety properties.
26598
26599 * manual/filesys.texi: Document MTASC-safety properties.
26600
26601 * manual/errno.texi: Document MTASC-safety properties.
26602
26603 * manual/intro.texi: Document safety identifiers and
26604 conditionals.
26605
26606 * manual/string.texi (wcstok): Fix prototype.
26607 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26608
26609 * manual/time.texi: Document MTASC-safety properties.
26610
26611 * manual/string.texi: Document MTASC-safety properties.
26612
26613 * manual/threads.texi: Document MTASC-safety properties.
26614
26615 * manual/stdio.texi: Document MTASC-safety properties.
26616
26617 * manual/syslog.texi: Document MTASC-safety properties.
26618
26619 * manual/sysinfo.texi: Document MTASC-safety properties.
26620
26621 * manual/startup.texi: Document MTASC-safety properties.
26622
26623 * manual/socket.texi: Document MTASC-safety properties.
26624
26625 * manual/signal.texi: Document MTASC-safety properties.
26626
26627 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26628
26629 * manual/setjmp.texi: Document MTASC-safety properties.
26630
26631 * manual/search.texi: Document MTASC-safety properties.
26632
26633 * manual/resource.texi: Document MTASC-safety properties.
26634
26635 * manual/process.texi: Document MTASC-safety properties.
26636
26637 * manual/platform.texi: Document MTASC-safety properties.
26638
26639 * manual/pipe.texi: Document MTASC-safety properties.
26640
26641 * manual/pattern.texi: Document MTASC-safety properties.
26642
26643 * manual/message.texi: Document MTASC-safety properties.
26644
26645 [BZ #12751]
26646 * manual/memory.texi: Document MTASC-safety properties.
26647
26648 * manual/math.texi: Document MTASC-safety properties.
26649
26650 * manual/locale.texi: Document MTASC-safety properties.
26651
26652 * manual/llio.texi: Document MTASC-safety properties.
26653
26654 * manual/libdl.texi: New.
26655
26656 * manual/lang.texi: Document MTASC-safety properties.
26657
26658 * manual/job.texi: Document MTASC-safety properties.
26659
26660 * manual/getopt.texi: Document MTASC-safety properties.
26661
26662 * manual/ctype.texi: Document MTASC-safety properties.
26663
26664 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26665
26666 [BZ #16046]
26667 * csu/libc-tls.c (static_map): Remove variable.
26668 (__libc_setup_tls): Use main executable's link map for TLS data.
26669 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26670 casing for LM_ID_BASE and GL(dl_nns).
26671 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26672 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26673 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26674 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26675 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26676 member.
26677 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26678 l_phnum members.
26679
26680 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26681
26682 * manual/debug.texi: Document MTASC-safety properties.
26683
26684 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26685
26686 [BZ #16510]
26687 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26688 of __x86_64__ when disabling x87 inline functions.
26689
26690 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26691
26692 * manual/charset.texi: Document MTASC-safety properties.
26693
26694 * manual/crypt.texi: Document MTASC-safety properties.
26695
26696 * manual/conf.texi: Document MTASC-safety properties.
26697
26698 * manual/arith.texi: Document MTASC-safety properties.
26699
26700 * manual/argp.texi: Document MTASC-safety properties.
26701
26702 * manual/macros.texi: Introduce macros to document multi
26703 thread, asynchronous signal and asynchronous cancellation
26704 safety properties.
26705 * manual/intro.texi: Introduce the properties themselves.
26706
26707 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26708
26709 * sysdeps/sh/sh4/Makefile: New file.
26710
26711 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26712
26713 * math/gen-libm-test.pl ($srcdir): New variable.
26714 ($auto_input): Use it.
26715
26716 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26717
26718 [BZ #16506]
26719 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26720 access beyond array bounds when parsing netgroups file.
26721
26722 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26723 the old buffer before realloc.
26724
26725 2014-01-27 Allan McRae <allan@archlinux.org>
26726
26727 * po/fr.po: Update French translation from translation project.
26728
26729 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26730
26731 * sysdeps/sh/libm-test-ulps: Regenerate.
26732
26733 2014-01-24 David S. Miller <davem@davemloft.net>
26734
26735 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26736
26737 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26738
26739 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26740 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26741
26742 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26743
26744 [BZ #16474]
26745 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26746 string pointers after reallocation.
26747
26748 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26749
26750 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26751 __SH4A__ instead of __SH_FPU_ANY__.
26752
26753 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26754
26755 * sysdeps/sh/fpu_control.h: New file.
26756 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26757 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26758 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26759 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26760 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26761 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26762 * sysdeps/sh/sys/ucontext.h: Remove.
26763 * sysdeps/sh/sys: Remove directory.
26764
26765 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26766
26767 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26768 s390/sys/ucontext.h.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26771
26772 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 [BZ #15605]
26775 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26776
26777 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26778
26779 [BZ#16431]
26780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26781 Adjust the vDSO correctly for internal calls.
26782 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26783
26784 2014-01-20 Allan McRae <allan@archlinux.org>
26785
26786 * po/ca.po: Update Catalan translation from translation project.
26787
26788 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26789
26790 * sysdeps/s390/sotruss-lib.c: New file.
26791
26792 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26793
26794 [BZ#16430]
26795 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26796 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26797 local calls issues by not having a PLT stub required for IFUNC calls.
26798 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26799
26800 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26801
26802 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26803 * math/test-fpucw-static.c: Likewise.
26804
26805 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26806
26807 [BZ #16453]
26808 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26809
26810 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26811
26812 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26813 implementation for powerpc.
26814
26815 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26816
26817 [BZ #14782]
26818 * sysdeps/posix/system.c (__libc_system): Do not enable
26819 asynchronous cancellation.
26820
26821 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26822
26823 [BZ #16427]
26824 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26825 handling only for numbers special also in the IEEE case.
26826
26827 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26828
26829 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26830
26831 2014-01-11 Allan McRae <allan@archlinux.org>
26832
26833 * po/bg.po: Update Bulgarian translation from translation project.
26834
26835 * po/de.po: Update German translation from translation project.
26836
26837 2014-01-10 Roland McGrath <roland@hack.frob.com>
26838
26839 * sysdeps/generic/gcc-compat.h: New file.
26840
26841 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26842
26843 * benchtests/asin-inputs: Correct slow inputs.
26844 * benchtests/acos-inputs: Likewise.
26845
26846 2014-01-10 Allan McRae <allan@archlinux.org>
26847
26848 * po:sv.po: Update Swedish translation from translation project.
26849
26850 * po/vi.po: Update Vietnamese translation from translation project.
26851
26852 * po/eo.po: Update Esperanto translation from translation project.
26853
26854 * po/cs.po: Update Czech translation from translation project.
26855
26856 * po/nl.po: Update Dutch translation from translation project.
26857
26858 * po/pl.po: Update Polish translation from translation project.
26859
26860 * po/ru.po: Update Russian translation from translation project.
26861
26862 * po/uk.po: Update Ukrainian translation from translation project.
26863
26864 2014-01-08 Brooks Moses <bmoses@google.com>
26865
26866 * elf/dl-load.c: Fix comment typo.
26867
26868 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26869
26870 * po/header.pot: Rename to...
26871 * po/pot.header: ... this.
26872 * po/Makefile: Use pot.header.
26873
26874 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26875 Maxim Kuvyrkov <maxim@kugelworks.com>
26876
26877 [BZ #16394]
26878 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26879 SRC and DEST against LEN.
26880
26881 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26882
26883 [BZ #16414]
26884 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26885 implementation.
26886 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26887
26888 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26889
26890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26891
26892 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26893
26894 [BZ #16408]
26895 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26896 for large positive arguments.
26897
26898 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26899
26900 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26901
26902 * math/auto-libm-test-in: Mark various tests with
26903 xfail-rounding:ldbl-128ibm.
26904 * math/auto-libm-test-out: Regenerated.
26905
26906 [BZ #16407]
26907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26908 Increase overflow threshold.
26909
26910 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
26911
26912 [BZ #14286]
26913 * stdio-common/vfprintf.c: Check for integer overflow.
26914
26915 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26916
26917 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26918 the first argument and return value of __tls_get_addr_internal.
26919
26920 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26921
26922 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26923 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26924
26925 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26926
26927 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26928 * sysdeps/s390/rtld-global-offsets.sym: New file.
26929 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26930 GLIBC_2.19 symbol.
26931 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26932 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26933 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26934 ... this.
26935 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26936 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26937 ... this.
26938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26939 Regenerate.
26940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26941 Regenerate.
26942 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26943 halfs of GPRs for high_gprs contexts.
26944 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26945 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
26946 field.
26947 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26948 uc_flags field.
26949 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26950 64 bit versions:
26951 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26952 for high GPRs (uc_high_gprs) and for future extensions
26953 (__reserved).
26954 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26955 for future extensions (__reserved).
26956 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26957 64 bit versions:
26958 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26959 SC_HIGHGPRS offset definition.
26960 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26961 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26962
26963 * Versions.def: Add GLIBC_2.19 for libpthread.
26964 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26965 siglongjmp for libpthread with GLIBC_2.19 symver.
26966 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26967 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26968 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26969 * sysdeps/s390/__longjmp.c: New file.
26970 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26971 * sysdeps/s390/longjmp.c: New file.
26972 * sysdeps/s390/setjmp.S: New file.
26973 * sysdeps/s390/sigjmp.S: New file.
26974 * sysdeps/s390/v1-longjmp.c: New file.
26975 * sysdeps/s390/v1-setjmp.h: New file.
26976 * sysdeps/s390/v1-sigjmp.c: New file.
26977 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26978 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26979 GLIBC_2.19 version.
26980 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26981 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26982 versioned symbols for ____longjmp_chk.
26983 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26984 Likewise.
26985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26986 Regenerate.
26987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26988 Regenerate.
26989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26990 Regenerate.
26991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26992 Regenerate.
26993 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26994 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26995 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26996 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26997 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26998 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26999 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27000 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27001 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27002 * sysdeps/s390/rtld-__longjmp.c: New file.
27003 * sysdeps/s390/rtld-setjmp.S: New file.
27004
27005 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27006
27007 [BZ #16400]
27008 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27009 Return -__logl (x) for small positive arguments without evaluating
27010 a polynomial.
27011
27012 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27013
27014 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27015 Rename to ...
27016 (__ptrace_peeksiginfo_args): ... this.
27017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27018 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27019 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27020
27021 2014-01-06 Allan McRae <allan@archlinux.org>
27022
27023 * inet/netinet/in.h: Fix typo in comment.
27024
27025 2014-01-05 Andreas Jaeger <aj@suse.de>
27026
27027 * sysdeps/i386/fpu/libm-test-ulps: Update.
27028
27029 2014-01-05 Allan McRae <allan@archlinux.org>
27030
27031 * po/libc.pot: Regenerated.
27032
27033 * malloc/memusagestat.c: Fix gettext call formatting.
27034
27035 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27036
27037 * nscd/nscd.c: Improve usage() output.
27038
27039 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27040
27041 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27042 * sysdeps/unix/sysv/linux/configure: Regenerated.
27043 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27044 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27045
27046 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27047
27048 [BZ #16390]
27049 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27050 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27051
27052 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27053
27054 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27055 extra tokens at end of #undef directive.
27056 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27057 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27058 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27059
27060 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27061
27062 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27063
27064 * math/auto-libm-test-in: Mark various tests with
27065 xfail-rounding:ldbl-128ibm.
27066 * math/auto-libm-test-out: Regenerated.
27067
27068 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27069
27070 [BZ #16386]
27071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27072 numbers with subnormal high part when calculating exponent.
27073
27074 [BZ #16385]
27075 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27076 fabs.
27077
27078 [BZ #16384]
27079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27080 M_LN2l.
27081 (__ieee754_acoshl): Use __log1pl not __log1p.
27082
27083 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27084
27085 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27086 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27087 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27088 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27089 (reused_arena, arena_get2): Convert to GNU style.
27090 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27091 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27092 (memalign_check, __malloc_set_state): Likewise.
27093 * malloc/mallocbug.c (main): Likewise.
27094 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27095 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27096 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27097 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27098 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27099 (__posix_memalign, malloc_info): Likewise.
27100 * malloc/malloc.h: Likewise.
27101 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27102 (mallochook, memalignhook, reallochook, mabort): Likewise.
27103 * malloc/mcheck.h: Likewise.
27104 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27105 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27106 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27107 * malloc/morecore.c (__default_morecore): Likewise.
27108 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27109 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27110 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27111 (print_and_abort): Likewise.
27112 * malloc/obstack.h: Likewise.
27113 * malloc/set-freeres.c (__libc_freeres): Likewise.
27114 * malloc/tst-mallocstate.c (main): Likewise.
27115 * malloc/tst-mtrace.c (main): Likewise.
27116 * malloc/tst-realloc.c (do_test): Likewise.
27117
27118 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27119
27120 [BZ #16366]
27121 * nscd/netgroupcache.c (do_notfound): New function.
27122 (addgetnetgrentX): Use it.
27123
27124 [BZ # 16365]
27125 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27126 NSS_STATUS_NOTFOUND.
27127
27128 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27129
27130 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27132
27133 2014-01-01 Allan McRae <allan@archlinux.org>
27134
27135 * scripts/update-copyrights: Update configure input file suffix.
27136
27137 * NEWS: Update copyright year.
27138 * catgets/gencat.c: Likewise.
27139 * csu/version.c: Likewise.
27140 * debug/catchsegv.sh: Likewise.
27141 * debug/pcprofiledump.c: Likewise.
27142 * debug/xtrace.sh: Likewise.
27143 * elf/ldconfig.c: Likewise.
27144 * elf/ldd.bash.in: Likewise.
27145 * elf/pldd.c: Likewise.
27146 * elf/sotruss.ksh: Likewise.
27147 * elf/sprof.c: Likewise.
27148 * iconv/iconv_prog.c: Likewise.
27149 * iconv/iconvconfig.c: Likewise.
27150 * locale/programs/locale.c: Likewise.
27151 * locale/programs/localedef.c: Likewise.
27152 * login/programs/pt_chown.c: Likewise.
27153 * malloc/memusage.sh: Likewise.
27154 * malloc/memusagestat.c: Likewise.
27155 * malloc/mtrace.pl: Likewise.
27156 * manual/libc.texinfo: Likewise.
27157 * nscd/nscd.c: Likewise.
27158 * nss/getent.c: Likewise.
27159 * nss/makedb.c: Likewise.
27160 * posix/getconf.c: Likewise.
27161 * scripts/test-installation.pl: Likewise.
27162
27163 * All files with FSF copyright notices: Update copyright dates
27164 using scripts/update-copyrights.
27165 * intl/plural.c: Regenerated.
27166 * locale/programs/charmap-kw.h: Likewise.
27167 * locale/programs/locfile-kw.h: Likewise.
27168
27169 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27170
27171 * sysdeps/unix/sysv/linux/configure: Regenerated.
27172 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27173 the linux/fanotify.h header.
27174 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27175 HAVE_LINUX_FANOTIFY_H is defined.
27176
27177 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27178
27179 * benchtests/cos-inputs: New inputs.
27180 * benchtests/sin-inputs: Likewise.
27181
27182 * benchtests/atan-inputs: New inputs. Fix name of multiple
27183 precision fallback inputs.
27184
27185 * benchtests/atanh-inputs: New inputs.
27186 * benchtests/tanh-inputs: Likewise.
27187
27188 * benchtests/acosh-inputs: New inputs.
27189 * benchtests/asinh-inputs: Likewise.
27190
27191 * benchtests/cosh-inputs: New inputs.
27192 * benchtests/sinh-inputs: Likewise.
27193
27194 * benchtests/acos-inputs: Add more inputs.
27195 * benchtests/asin-inputs: Likewise.
27196
27197 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27198
27199 [BZ #16375]
27200 * manual/arith.texi: Fix spelling.
27201 * manual/charset.texi: Likewise.
27202 * manual/errno.texi: Likewise.
27203 * manual/filesys.texi: Likewise.
27204 * manual/lang.texi: Likewise.
27205 * manual/llio.texi: Likewise.
27206 * manual/locale.texi: Likewise.
27207 * manual/message.texi: Likewise.
27208 * manual/resource.texi: Likewise.
27209 * manual/search.texi: Likewise.
27210 * manual/setjmp.texi: Likewise.
27211 * manual/stdio.texi: Likewise.
27212 * manual/string.texi: Likewise.
27213 * manual/sysinfo.texi: Likewise.
27214 * manual/time.texi: Likewise.
27215
27216 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27217
27218 * po/sl.po: New file.
27219
27220 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27221
27222 * .gitignore: Add core/.gdbinit/.gdb_history.
27223
27224 2013-12-27 Allan McRae <allan@archlinux.org>
27225
27226 [BZ #16369]
27227 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27228 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27229
27230 2013-12-24 Brooks Moses <bmoses@google.com>
27231
27232 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27233 all compilers that claim C++98 compliance, not just GCC.
27234 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27235 Likewise.
27236
27237 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27238
27239 * NEWS: Restore accidentally deleted bug-fix entries.
27240
27241 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27242 Ondřej Bílka <neleai@seznam.cz>
27243
27244 [BZ #15073]
27245 * malloc/malloc.c (_int_free): Perform sanity check only if we
27246 have_lock.
27247
27248 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27249
27250 [BZ #12986]
27251 * manual/stdio.texi (String Input Conversions): Clarify that character
27252 classes are not supported.
27253
27254 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27255
27256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27257
27258 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27259
27260 [BZ #16337]
27261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27262 Calculate results for small negative arguments directly rather
27263 than using reflection formula with special underflow handling.
27264
27265 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27266 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27267 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27268 (fchflags): Likewise.
27269 (revoke): Likewise.
27270 (setlogin): Likewise.
27271 (sigaltstack): Likewise.
27272 (wait4): Likewise.
27273 (sigblock): Remove.
27274 (sigsetmask): Likewise.
27275 (wait3): Likewise.
27276 (waitpid): Likewise.
27277 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27278 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27279 file.
27280 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27281 * sysdeps/unix/bsd/Makefile: ... here.
27282 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27283 * sysdeps/unix/bsd/Versions: ... here.
27284 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27285 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27286 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27287 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27288 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27289 * sysdeps/unix/bsd/sigblock.c: ... here.
27290 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27291 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27292 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27293 * sysdeps/unix/bsd/sigvec.c: ... here.
27294 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27295 * sysdeps/unix/bsd/tcdrain.c: ... here.
27296 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27297 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27298 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27299 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27300 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27301 * sysdeps/unix/bsd/wait.c: ... here.
27302 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27303 * sysdeps/unix/bsd/wait3.c: ... here.
27304 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27305 * sysdeps/unix/bsd/waitpid.c: ... here.
27306
27307 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27308
27309 [BZ #16356]
27310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27311 round-to-nearest for [!USE_AS_EXPM1L].
27312 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27313 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27314 more tests of exp and exp10. Expect some exp10 tests to miss
27315 exceptions or fail in directed rounding modes.
27316 * math/auto-libm-test-out: Regenerated.
27317 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27318 (exp10_test_tonearest): New function.
27319 (exp10_towardzero_test_data): New array.
27320 (exp10_test_towardzero): New function.
27321 (exp10_downward_test_data): New array.
27322 (exp10_test_downward): New function.
27323 (exp10_upward_test_data): New array.
27324 (exp10_test_upward): New function.
27325 (main): Call the new functions.
27326 * sysdeps/i386/fpu/libm-test-ulps: Update.
27327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27328
27329 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27330
27331 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27332 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27333 * math/auto-libm-test-out: Regenerated.
27334 * math/libm-test.inc (acosh_test_data): Add more tests.
27335 (atanh_test_data): Likewise.
27336 (ceil_test_data): Likewise.
27337 (copysign_test_data): Likewise.
27338 * sysdeps/i386/fpu/libm-test-ulps: Update.
27339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27340
27341 * timezone/checktab.awk: Update from tzcode 2013i.
27342 * timezone/private.h: Likewise.
27343 * timezone/scheck.c: Likewise.
27344 * timezone/tzfile.h: Likewise.
27345 * timezone/tzselect.ksh: Likewise.
27346 * timezone/zdump.c: Likewise.
27347 * timezone/zic.c: Likewise.
27348
27349 * math/auto-libm-test-in: Add tests of cpow.
27350 * math/auto-libm-test-out: Regenerated.
27351 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27352 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27353 mpc_cc_c.
27354 (func_calc_desc): Add mpc_cc_c union field.
27355 (test_functions): Add cpow.
27356 (special_fill_2pi): New function.
27357 (special_real_inputs): Add 2pi.
27358 (calc_generic_results): Handle mpc_cc_c.
27359 * sysdeps/i386/fpu/libm-test-ulps: Update.
27360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27361
27362 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27363 csqrt, ctan and ctanh.
27364 * math/auto-libm-test-out: Regenerated.
27365 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27366 (TEST_COND_x86): Likewise.
27367 (ccos_test_data): Use AUTO_TESTS_c_c.
27368 (ccosh_test_data): Likewise.
27369 (cexp_test_data): Likewise.
27370 (clog_test_data): Likewise.
27371 (csqrt_test_data): Likewise.
27372 (ctan_test_data): Likewise.
27373 (ctan_tonearest_test_data): Likewise.
27374 (ctan_towardzero_test_data): Likewise.
27375 (ctan_downward_test_data): Likewise.
27376 (ctan_upward_test_data): Likewise.
27377 (ctanh_test_data): Likewise.
27378 (ctanh_tonearest_test_data): Likewise.
27379 (ctanh_towardzero_test_data): Likewise.
27380 (ctanh_downward_test_data): Likewise.
27381 (ctanh_upward_test_data): Likewise.
27382 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27383 mpc_c_c.
27384 (func_calc_desc): Add mpc_c_c union field.
27385 (FUNC_mpc_c_c): New macro.
27386 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27387 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27388 ctanh.
27389 (special_fill_min_subnorm_p120): New function.
27390 (special_real_inputs): Add min_subnorm_p120.
27391 (calc_generic_results): Handle mpc_c_c.
27392 * sysdeps/i386/fpu/libm-test-ulps: Update.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27394
27395 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27396
27397 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27398 (do_sin_slow): New functions.
27399 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27400 (cslow2, csloww1, csloww2): Use the new functions.
27401
27402 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27403 Use M to change sign of result instead of X. Assume X is
27404 positive.
27405 (csloww1): Likewise.
27406 (__sin): Adjust.
27407 (__cos): Adjust.
27408
27409 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27410 arguments A and DA.
27411 (__sin): Adjust.
27412 (__cos): Likewise.
27413
27414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27415 (__cos): Likewise.
27416 (sloww1): Don't adjust sign of DX.
27417 (csloww1): Likewise.
27418 (sloww2): Use X directly and don't adjust sign of DX.
27419 (csloww2): Likewise.
27420
27421 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27422
27423 * math/auto-libm-test-in: Add tests of cabs and carg.
27424 * math/auto-libm-test-out: Regenerated.
27425 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27426 (carg_test_data): Likewise.
27427 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27428 mpc_c_f.
27429 (func_calc_desc): Add mpc_c_f union field.
27430 (test_functions): Add cabs and carg.
27431 (calc_generic_results): Handle mpc_c_f.
27432
27433 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27434 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27435 as a macro and a compat symbol.
27436 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27437 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27438 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27439 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27440 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27442 not use .hidden.
27443 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27444 Likewise.
27445 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27446 Likewise.
27447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27448 Likewise.
27449 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27450 Likewise.
27451 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27452 Likewise.
27453 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27454 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27455 from GLIBC_2.3.2.
27456
27457 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27458
27459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27460
27461 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27462
27463 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27464 trailing whitespace removed.
27465 * scripts/config.guess: Update to version 2013-11-29.
27466 * scripts/config.sub: Update to version 2013-10-01.
27467
27468 * math/auto-libm-test-in: Add tests of sincos.
27469 * math/auto-libm-test-out: Regenerated.
27470 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27471 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27472 mpfr_f_11.
27473 (func_calc_desc): Add mpfr_f_11 union field.
27474 (test_functions): Add sincos.
27475 (calc_generic_results): Handle mpfr_f_11.
27476 * sysdeps/i386/fpu/libm-test-ulps: Update.
27477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27478
27479 2013-12-19 Andreas Schwab <schwab@suse.de>
27480
27481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27482 CALL_MCOUNT.
27483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27484 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27485 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27486
27487 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27488
27489 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27490 * sysdeps/i386/fpu/libm-test-ulps: Update.
27491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27492
27493 [BZ #16293]
27494 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27495 round-to-nearest mode when using frndint.
27496 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27497 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27498 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27499 Likewise.
27500 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27501 sinh test to fail.
27502 * math/auto-libm-test-out: Regenerated.
27503 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27504 (TEST_COND_x86): Likewise.
27505 (expm1_tonearest_test_data): New array.
27506 (expm1_test_tonearest): New function.
27507 (expm1_towardzero_test_data): New array.
27508 (expm1_test_towardzero): New function.
27509 (expm1_downward_test_data): New array.
27510 (expm1_test_downward): New function.
27511 (expm1_upward_test_data): New array.
27512 (expm1_test_upward): New function.
27513 (main): Run the new test functions.
27514 * sysdeps/i386/fpu/libm-test-ulps: Update.
27515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27516
27517 * include/features.h: Update comment documenting feature test
27518 macros. Mention _DEFAULT_SOURCE in comment.
27519 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27520 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27521 _BSD_SOURCE and _SVID_SOURCE.
27522 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27523 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27524 !_SVID_SOURCE]: Likewise.
27525 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27526 (__USE_POSIX_IMPLICITLY): Define.
27527 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27528 (_POSIX_SOURCE): Undefine and redefine.
27529 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27530 (_POSIX_C_SOURCE): Likewise.
27531 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27532 (Feature Test Macros): Update documentation of default features.
27533
27534 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27535
27536 * benchtests/Makefile: Add bench-strtok.
27537 * benchtests/bench-strtok.c: New file: strtok benchtest.
27538
27539 2013-12-19 Allan McRae <allan@archlinux.org>
27540
27541 * manual/install.texi: Suppress menu for plain text output.
27542 * INSTALL: Regenerated.
27543
27544 2013-12-18 Brooks Moses <bmoses@google.com>
27545
27546 [BZ #15846]
27547 * misc/getauxval.c: Include errno.h.
27548 (__getauxval): Set errno to ENOENT if the requested type is not
27549 found.
27550 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27551 don't declare with __attribute_const__.
27552 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27553 * manual/startup.texi: Document that getauxval sets errno.
27554
27555 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27556
27557 * math/auto-libm-test-in: Add tests of jn and yn.
27558 * math/auto-libm-test-out: Regenerated.
27559 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27560 (yn_test_data): Likewise.
27561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27562 mpfr_if_f.
27563 (func_calc_desc): Add mpfr_if_f union field.
27564 (FUNC_mpfr_if_f): New macro.
27565 (test_functions): Add jn and yn.
27566 (calc_generic_results): Assert type of second input for
27567 mpfr_ff_f. Handle mpfr_if_f.
27568 (output_for_one_input_case): Disable all checking for arguments
27569 fitting floating-point types in case of an integer argument.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27572
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27574 Don't expect fegetround reference in libm.so.
27575
27576 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27577
27578 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27579 $(config-cflags-nofma).
27580
27581 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27582
27583 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27584 * math/auto-libm-test-out: Regenerated.
27585
27586 [BZ #16338]
27587 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27588 to determine exponent and adjust argument to have exponent of -1.
27589 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27590 log2.
27591 * math/auto-libm-test-out: Regenerated.
27592 * sysdeps/i386/fpu/libm-test-ulps: Update.
27593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27594
27595 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27596
27597 * manual/probes.texi: Remove cases when per-thread arenas are
27598 disabled.
27599
27600 2013-12-18 Andreas Schwab <schwab@suse.de>
27601
27602 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27603 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27604 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27605 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27606 * sysdeps/i386/i686/multiarch/Makefile: Update.
27607 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27608
27609 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27610
27611 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27612 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27613
27614 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27615
27616 [BZ #15968]
27617 Support TZ transition times < 00:00:00.
27618 This is needed for version-3 tz-format files; it supports time
27619 stamps past 2037 for America/Godthab (the only entry in the tz
27620 database for which this change is relevant).
27621 * manual/time.texi (TZ Variable): Document transition times
27622 from -167:59:59 through -00:00:01.
27623 * time/tzset.c (tz_rule): Time of day is now signed.
27624 (__tzset_parse_tz): Parse negative time of day.
27625
27626 Document TZ transition times >= 25:00:00.
27627 * manual/time.texi (TZ Variable): Document transition times from
27628 25:00:00 through 167:59:59. These are already supported, and this
27629 support will help with version-3 tz-format files.
27630
27631 * manual/time.texi (TZ Variable): Modernize North America example
27632 to reflect current (i.e., 2007-and-later) daylight saving rules.
27633
27634 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27635
27636 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27637
27638 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27639 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27642 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27643 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27644 * sysdeps/unix/bsd/clock.c: Likewise.
27645 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27646 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27647 * sysdeps/unix/bsd/init-posix.c: Likewise.
27648 * sysdeps/unix/bsd/poll.c: Likewise.
27649 * sysdeps/unix/bsd/ptsname.c: Likewise.
27650 * sysdeps/unix/bsd/seekdir.c: Likewise.
27651 * sysdeps/unix/bsd/setegid.c: Likewise.
27652 * sysdeps/unix/bsd/seteuid.c: Likewise.
27653 * sysdeps/unix/bsd/setgid.c: Likewise.
27654 * sysdeps/unix/bsd/setrgid.c: Likewise.
27655 * sysdeps/unix/bsd/setruid.c: Likewise.
27656 * sysdeps/unix/bsd/setsid.c: Likewise.
27657 * sysdeps/unix/bsd/setuid.c: Likewise.
27658 * sysdeps/unix/bsd/sigaction.c: Likewise.
27659 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27660 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27661 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27662 * sysdeps/unix/bsd/telldir.c: Likewise.
27663 * sysdeps/unix/bsd/times.c: Likewise.
27664 * sysdeps/unix/bsd/usleep.c: Likewise.
27665
27666 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27667 ($(objpfx)libbsd-compat.a): Remove rule.
27668
27669 * include/features.h (__FAVOR_BSD): Do not define.
27670 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27671 features conflicting with POSIX.
27672 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27673 (_BSD_SOURCE): Remove description of not being a subset of other
27674 feature test macros.
27675 * manual/job.texi (getpgrp): Do not document BSD version.
27676 (getpgid): Do not document by reference to BSD getpgrp.
27677 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27678 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27679 * signal/signal.h [__FAVOR_BSD]: Likewise.
27680 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27681 instead of making contents conditional on [__FAVOR_BSD].
27682 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27683
27684 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27685
27686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27687
27688 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27689
27690 [BZ #16314]
27691 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27692 values below 2**-450, not 2**-500.
27693 * math/auto-libm-test-in: Don't allow spurious underflow from
27694 hypot.
27695 * math/auto-libm-test-out: Regenerated.
27696
27697 [BZ #16316]
27698 [BZ #16330]
27699 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27700 values of ha and hb and sort them after adjusting subnormal
27701 arguments.
27702 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27703 Likewise.
27704 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27705 values of ea and eb and sort them after adjusting subnormal
27706 arguments.
27707 * math/auto-libm-test-in: Do not expect some hypot tests of
27708 subnormals to fail. Add more hypot tests.
27709 * math/auto-libm-test-out: Regenerated.
27710
27711 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27712
27713 [BZ #13304]
27714 * sysdeps/sh/s_fma.c: New file.
27715 * sysdeps/sh/s_fmaf.c: New file.
27716 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27717 version.
27718 * sysdeps/sh/Implies: Add sh/soft-fp.
27719
27720 2013-12-16 Roland McGrath <roland@hack.frob.com>
27721
27722 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27723 level of indirection to members `objname', `errstring', `malloced'.
27724 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27725 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27726 it as the __longjmp argument (just pass 1 instead).
27727 (_dl_catch_error): Initialize C with argument pointers and address of
27728 volatile local ERRCODE rather than copying values out of C at return.
27729
27730 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27731
27732 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27733 * math/auto-libm-test-out: Regenerated.
27734 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27735 (hypot_test_data): Likewise.
27736 (pow_test_data): Likewise.
27737 (pow_tonearest_test_data): Likewise.
27738 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27739 mpfr_ff_f.
27740 (func_calc_desc): Add mpfr_ff_f union field.
27741 (FUNC_mpfr_ff_f): New macro.
27742 (test_functions): Add atan2, hypot and pow.
27743 (special_fill_min): New function.
27744 (special_fill_minus_min): Likewise.
27745 (special_fill_min_subnorm): Likewise.
27746 (special_fill_minus_min_subnorm): Likewise.
27747 (special_real_inputs): Add min, -min, min_subnorm and
27748 -min_subnorm.
27749 (calc_generic_results): Handle mpfr_ff_f.
27750 * sysdeps/i386/fpu/libm-test-ulps: Update.
27751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27752
27753 2013-12-16 Will Newton <will.newton@linaro.org>
27754
27755 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27756 (Aligned Memory Blocks): Add documentation for aligned_alloc
27757 and suggest it as an alternative to posix_memalign.
27758 (Hooks for Malloc): Document __memalign_hook is also called
27759 for aligned_alloc. (Summary of Malloc): Add summary for
27760 aligned alloc. Document __memalign_hook is also called
27761 for aligned_alloc.
27762
27763 2013-12-16 Will Newton <will.newton@linaro.org>
27764
27765 * manual/memory.texi (Malloc Examples): Clarify default
27766 alignment documentation. Suggest posix_memalign rather
27767 than memalign or valloc.
27768 (Aligned Memory Blocks): Remove suggestion to use memalign
27769 or valloc. Remove obsolete comment about BSD.
27770 Document memalign errno values and mark the function obsolete.
27771 Document posix_memalign returned error codes. Mark valloc
27772 as obsolete. (Hooks for Malloc): __memalign_hook is also
27773 called for posix_memalign and valloc.
27774 (Summary of Malloc): Add posix_memalign to function summary.
27775 __memalign_hook is also called for posix_memalign and valloc.
27776
27777 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27778
27779 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27780 TAYLOR_SIN.
27781 (__sin): Adjust.
27782 (__cos): Likewise.
27783 (sloww): Use mynumber union. Expand ternary operator into
27784 if-else statements.
27785 (cslow): use mynumber union.
27786
27787 2013-12-16 Allan McRae <allan@archlinux.org>
27788
27789 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27790 * configure: Regenerated.
27791
27792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27793
27794 [BZ #14120]
27795 * configure.ac: Added --enable-maintainer-mode. Check for
27796 autoconf when enabled.
27797 * configure: Regenerated.
27798
27799 * nscd/nscd.service: New file.
27800 * nscd/nscd.tmpfiles: New file.
27801
27802 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27803
27804 [BZ #12100]
27805 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27806 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27807 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27808 (strstr): Add __strstr_sse2_unaligned ifunc.
27809 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27810 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27811 (strcasestr): Remove __strcasestr_sse42 ifunc.
27812 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27815
27816 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27817
27818 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27819 * sysdeps/sh/bits/fenv.h: ... here.
27820 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27821
27822 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27823
27824 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27825
27826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27827 hypotf multiarch implementations.
27828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27831 multiarch hypot for PPC64.
27832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27834 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27835 multiarch hypotf for PPC64.
27836
27837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27838 modff multiarch implementations.
27839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27842 multiarch modf for PPC64.
27843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27846 multiarch modff for PPC64.
27847
27848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27849 and logl multiarch implementations.
27850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27853 multiarch logb for PPC64.
27854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27857 multiarch logb for PPC64.
27858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27861 multiarch logb for PPC64.
27862
27863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27864 isinff multiarch implementation.
27865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27866 file.
27867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27869 multiarch isinf for PPC64.
27870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27871 file.
27872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27873 multiarch isinff for PPC64.
27874
27875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27876 finitef multiarch implementation.
27877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27878 file.
27879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27881 multiarch finite for PPC64.
27882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27883 file.
27884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27885 multiarch finitef for PPC64.
27886
27887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27888 lrint multiarch implementation.
27889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27890 file.
27891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27893 multiarch llrint for PPC64.
27894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27895 multiarch lrint for PPC64.
27896
27897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27898 copysignf multiarch implementation.
27899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27900 file.
27901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27902 file.
27903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27904 multiarch copysign for PPC64.
27905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27906 multiarch copysignf for PPC64.
27907
27908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27909 multiarch implementation.
27910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27911 file.
27912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27913 file.
27914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27915 file.
27916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27917 file.
27918 multiarch llround for PPC64.
27919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27920 multiarch trunc for PPC64.
27921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27922 multiarch truncf for PPC64.
27923
27924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27925 multiarch implementation.
27926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27927 file.
27928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27929 file.
27930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27931 file.
27932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27933 file.
27934 multiarch llround for PPC64.
27935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27936 multiarch round for PPC64.
27937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27938 multiarch roundf for PPC64.
27939
27940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27941 multiarch implementation.
27942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27943 file.
27944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27945 file.
27946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27947 file.
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27949 file.
27950 multiarch llround for PPC64.
27951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27952 multiarch floor for PPC64.
27953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27954 multiarch floorf for PPC64.
27955
27956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27957 multiarch implementation.
27958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27959 file.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27961 file.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27963 file.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27965 file.
27966 multiarch llround for PPC64.
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27968 multiarch ceil for PPC64.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27970 multiarch ceilf for PPC64.
27971
27972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27973 multiarch implementation.
27974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27975 file.
27976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27977 file.
27978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27979 file.
27980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27981 multiarch llround for PPC64.
27982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27983 multiarch lround for PPC64.
27984
27985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27986 multiarch implementation.
27987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27990 file.
27991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27994 multiarch isnan for PPC64.
27995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27996 multiarch isnanf for PPC64.
27997
27998 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27999 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28000 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28001 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28002 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28004
28005 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28006 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28008 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28009
28010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28011 multiarch implementations.
28012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28013 (__libc_ifunc_impl_list): Likewise.
28014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28015 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28016 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28017 multiarch stpcpy for PPC64.
28018
28019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28020 multiarch implementations.
28021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28022 (__libc_ifunc_impl_list): Likewise.
28023 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28024 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28025 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28026 multiarch strcpy for PPC64.
28027
28028 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28029 redefine function name.
28030 (_wordcopy_fwd_dest_aligned): Likewise.
28031 (_wordcopy_bwd_aligned): Likewise.
28032 (_wordcopy_bwd_dest_aligned): Likewise.
28033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28034 multiarch implementations.
28035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28036 (__libc_ifunc_impl_list): Likewise.
28037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28038 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28039 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28040 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28041 multiarch wcscpy for PPC64.
28042
28043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28044 multiarch implementations.
28045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28046 (__libc_ifunc_impl_list): Likewise.
28047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28049 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28050 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28051 multiarch wcscpy for PPC64.
28052
28053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28054 multiarch implementations.
28055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28056 (__libc_ifunc_impl_list): Likewise.
28057 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28058 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28059 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28060 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28061 multiarch wcsrchr for PPC64.
28062
28063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28064 multiarch implementations.
28065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28066 (__libc_ifunc_impl_list): Likewise.
28067 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28068 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28069 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28070 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28071 multiarch wcschr for PPC64.
28072
28073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28074 multiarch implementations.
28075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28076 (__libc_ifunc_impl_list): Likewise.
28077 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28078 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28079 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28080 multiarch strchrnul for PPC64.
28081
28082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28083 implementations.
28084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28085 (__libc_ifunc_impl_list): Likewise.
28086 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28087 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28088 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28089 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28090 strchr for PPC64.
28091
28092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28093 implementations.
28094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28095 (__libc_ifunc_impl_list): Likewise.
28096 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28097 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28098 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28099 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28100 strncmp for PPC64.
28101
28102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28103 multiarch implementations.
28104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28105 (__libc_ifunc_impl_list): Likewise.
28106 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28107 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28108 strncasecmp for PPC64.
28109 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28110 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28111 multiarch strncasecmp_l for PPC64.
28112
28113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28114 multiarch implementations.
28115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28116 (__libc_ifunc_impl_list): Likewise.
28117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28119 multiarch strcasecmp for PPC64.
28120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28121 file.
28122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28123 multiarch strcasecmp_l for PPC64.
28124
28125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28126 implementations.
28127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28128 (__libc_ifunc_impl_list): Likewise.
28129 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28130 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28131 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28132 strnlen for PPC64.
28133
28134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28135 implementations.
28136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28137 (__libc_ifunc_impl_list): Likewise.
28138 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28139 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28140 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28141 strlen for PPC64.
28142
28143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28144 implementations.
28145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28146 (__libc_ifunc_impl_list): Likewise.
28147 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28148 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28149 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28150 rawmemrchr for PPC64.
28151
28152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28153 implementation.
28154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28155 (__libc_ifunc_impl_list): Likewise.
28156 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28157 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28158 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28159 memrchr for PPC64.
28160
28161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28162 implementation.
28163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28164 (__libc_ifunc_impl_list): Likewise.
28165 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28166 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28167 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28168 memchr for PPC64.
28169
28170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28171 implementation.
28172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28173 (__libc_ifunc_impl_list): Likewise.
28174 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28175 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28177 mempcpy for PPC64.
28178
28179 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28180 avoid cretion of __bzero symbol.
28181 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28182 Likewise.
28183 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28184 Likewise.
28185 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28186 Likewise.
28187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28188 multiarch implementations.
28189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28190 (__libc_ifunc_impl_list): Likewise.
28191 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28192 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28193 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28194 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28195 bzero for PPC32.
28196 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28197 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28198 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28199 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28200 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28201 memset for PPC64.
28202 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28203
28204 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28206 implementations.
28207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28208 (__libc_ifunc_impl_list): Likewise.
28209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28211 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28212 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28213 memcmp for PPC64.
28214
28215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28216 multiarch for POWER/PPC64.
28217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28218 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28225 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28226 memcpy for PPC64.
28227
28228 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28229 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28230 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28231 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28232 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28233 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28234 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28235 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28236 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28237 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28238 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28239 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28240 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28241 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28242 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28250
28251 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28252
28253 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28254
28255 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28256
28257 * benchtests/Makefile (bench): Add exp2 and log2.
28258 (LDLIBS-bench-exp2): Add -lm.
28259 (LDLIBS-bench-log2): Likewise.
28260 * benchtests/exp2-inputs: New inputs file.
28261 * benchtests/log2-inputs: New inputs file.
28262 * benchtests/log-inputs: Add new inputs.
28263 * benchtests/tan-inputs: Likewise.
28264
28265 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28266
28267 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28268 definition...
28269 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28270 (csloww2): ... from here.
28271
28272 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28273 instead of structures.
28274 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28275 (POLYNOMIAL): Likewise.
28276 (TAYLOR_SLOW): Likewise.
28277 (__sin): Likewise.
28278 (__cos): Likewise.
28279 (slow1): Likewise.
28280 (slow2): Likewise.
28281 (sloww): Likewise.
28282 (sloww1); Likewise.
28283 (sloww2): Likewise.
28284 (bsloww1): Likewise.
28285 (bsloww2): Likewise.
28286 (cslow2): Likewise.
28287 (csloww): Likewise.
28288 (csloww1): Likewise.
28289 (csloww2): Likewise.
28290
28291 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28292
28293 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28294 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28295 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28296 * malloc/hooks.c (realloc_check): Likewise.
28297
28298 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28299 * malloc/arena.c: Remove PER_THREAD conditional.
28300 [!PER_THREAD]: Remove code.
28301 (ptmalloc_unlock_all2): Likewise.
28302 (ptmalloc_init): Likewise.
28303 (_int_new_arena): Likewise.
28304 (arena_get2): Likewise.
28305 * malloc/hooks.c (__malloc_get_state): Likewise.
28306 (__malloc_set_state): Likewise.
28307 * malloc/malloc.c: Likewise.
28308 (struct malloc_state): Likewise.
28309 (struct malloc_par): Likewise.
28310 (__libc_realloc): Likewise.
28311 (__libc_mallopt): Likewise.
28312
28313 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28314
28315 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28316
28317 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28318
28319 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28320 macro to a function. Check for zero perturb_byte.
28321 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28322
28323 * malloc/malloc.c: (force_reg): Remove.
28324 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28325 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28326 force_reg by atomic_forced_read.
28327 * malloc/arena.c (ptmalloc_init): Likewise.
28328 * malloc/hooks.c (top_check): Likewise.
28329
28330 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28331
28332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28333
28334 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28335
28336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28337
28338 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28339
28340 * math/auto-libm-test-in: Add tests of lgamma.
28341 * math/auto-libm-test-out: Regenerated.
28342 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28343 (M_LOG_2_SQRT_PIl): Likewise.
28344 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28346 mpfr_f_f1.
28347 (func_calc_desc): Add mpfr_f_f1 union field.
28348 (ARGS1): New macro.
28349 (ARGS2): Likewise.
28350 (ARGS3): Likewise.
28351 (ARGS4): Likewise.
28352 (RET1): Likewise.
28353 (RET2): Likewise.
28354 (CALC): Likewise.
28355 (FUNC): Likewise.
28356 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28357 (test_functions): Add lgamma.
28358 (calc_generic_results): Handle mpfr_f_f1.
28359 * sysdeps/i386/fpu/libm-test-ulps: Update.
28360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28361
28362 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28363
28364 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28365 __mpn_add_n for PowerPC64/POWER7.
28366 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28367 __mpn_sub_n for PowerPC64/POWER7.
28368
28369 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28370 __mpn_addmul_1 for PowerPC64.
28371 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28372 __mpn_submul_1 for PowerPC64.
28373 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28374 for PowerPC64.
28375 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28376 for PowerPC64.
28377
28378 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28379
28380 [BZ #15089]
28381 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28382
28383 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28384
28385 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28386
28387 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28388 add multiarch folders.
28389 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28390 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28391 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28392 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28393 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28394 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28395 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28396 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28397 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28398 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28399 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28406
28407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28408 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28410 New file.
28411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28412 New file.
28413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28414 multiarch __ieee754_hypot for PowerPC32.
28415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28416 New file.
28417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28418 New file.
28419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28420 multiarch __ieee754_hypotf for PowerPC32.
28421
28422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28423 long_double_symbol only if __logbl is defined.
28424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28425 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28427 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28428 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28429 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28431 path for implementation.
28432 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28435 logb, and logbl multiarch implementations for PowerPC32.
28436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28437 file.
28438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28439 file.
28440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28441 multiarch logb for PowerPC32.
28442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28443 file.
28444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28445 file.
28446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28447 multiarch logbf for PowerPC32.
28448 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28450 file.
28451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28452 multiarch logbl implementation for PowerPC32.
28453
28454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28455 and modff multiarch implementations.
28456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28457 New file.
28458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28459 New file.
28460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28461 multiarch modf for PowerPC32.
28462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28463 New file.
28464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28465 New file.
28466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28467 multiarch modff for PowerPC32.
28468
28469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28470 and lrintf multiarch implementations.
28471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28472 New file.
28473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28474 New file.
28475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28476 multiarch lrint for PowerPC32.
28477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28478 file: multiarch lrintf for PowerPC32.
28479
28480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28481 and lroundf multiarch implementations.
28482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28483 New file.
28484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28485 New file.
28486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28487 New file.
28488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28489 multiarch lround for PowerPC32.
28490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28491 file: multiarch lroundf for PowerPC32.
28492
28493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28494 copysign and copysignf multiarch implementations.
28495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28496 New file.
28497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28498 New file.
28499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28500 file: multiarch copysign for PowerPC32.
28501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28502 file: multiarch copysignf for PowerPC32.
28503
28504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28505 and truncf multiarch implementations.
28506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28507 New file.
28508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28509 file.
28510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28511 multiarch trunc for PowerPC32.
28512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28513 New file.
28514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28515 New file.
28516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28517 multiarch truncf for PowerPC32.
28518
28519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28520 and roundf multiarch implementations.
28521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28522 New file.
28523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28524 file.
28525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28526 multiarch round for PowerPC32.
28527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28528 New file.
28529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28530 New file.
28531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28532 multiarch roundf for PowerPC32.
28533
28534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28535 and floorf multiarch implementations.
28536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28537 New file.
28538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28539 file.
28540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28541 multiarch floor for PowerPC32.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28543 New file.
28544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28545 New file.
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28547 multiarch floorf for PowerPC32.
28548
28549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28550 and ceilf multiarch implementations.
28551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28552 New file.
28553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28554 file.
28555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28556 multiarch ceil for PowerPC32.
28557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28558 New file.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28560 file.
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28562 multiarch ceilf for PowerPC32.
28563
28564 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28565 is defined.
28566 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28567 FINITEF is defined.
28568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28569 and finitef multiarch implementations.
28570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28571 New file.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28573 file.
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28575 multiarch finite for PowerPC32.
28576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28577 New file.
28578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28579 file: multiarch finitef for PowerPC32.
28580
28581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28582 and isinff multiarch implementations.
28583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28584 file.
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28586 file.
28587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28588 multiarch isinf for PowerPC32.
28589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28590 New file.
28591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28592 multiarch isinff for PowerPC32.
28593
28594 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28595 alias when __isnan is defined.
28596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28597 and isnanf multiarch implementations.
28598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28599 file.
28600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28601 file.
28602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28603 file.
28604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28605 file.
28606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28607 multiarch isnan for PowerPC32.
28608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28609 New file.
28610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28611 New file.
28612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28613 multiarch isnanf for PowerPC32.
28614
28615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28616 and sqrtf multiarch implementations.
28617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28618 file.
28619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28620 file.
28621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28622 multiarch sqrt for PowerPC32.
28623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28624 file.
28625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28626 file.
28627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28628 multiarch sqrtf for PowerPC32.
28629
28630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28631 and llroundf multiarch implementations.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28633 New file.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28635 New file.
28636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28637 New file.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28639 file: multiarch llround for PowerPC32.
28640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28641 file: multiarch llroundf for PowerPC32.
28642
28643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28644 multiarch PowerPC32 fpu implementations.
28645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28646 New file.
28647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28648 New file.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28650 multiarch llrint for PowerPC32.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28652 New file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28654 New file.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28656 file.
28657
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28659
28660 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28661 file.
28662 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28663 file.
28664 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28665 file.
28666 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28667 multiarch wordcopy for PPC32.
28668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28669 wordcopy objects.
28670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28671 (__libc_ifunc_impl_list): Likewise.
28672 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28673 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28674 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28675 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28677 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28678
28679 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28681 file.
28682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28683 file.
28684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28685 file.
28686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28687 multiarch wcscpy for PPC32.
28688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28689 multiarch objects.
28690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28691 (__libc_ifunc_impl_list): Likewise.
28692 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28693 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28694 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28695 sysdeps/powerpc/power6/wcscpy.c.
28696
28697 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28699 file.
28700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28701 file.
28702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28703 file.
28704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28705 multiarch wcsrchr for PPC32.
28706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28707 multiarch objects.
28708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28709 (__libc_ifunc_impl_list): Likewise.
28710 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28711 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28712 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28713 sysdeps/powerpc/power6/wcsrchr.c.
28714
28715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28716 file.
28717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28718 file.
28719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28721 multiarch wcschr for PPc32.
28722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28723 multiarch objects.
28724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28725 (__libc_ifunc_impl_list): Likewise.
28726 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28727 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28728 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28729 sysdeps/powerpc/power6/wcschr.c.
28730
28731 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28732 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28733 file.
28734 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28735 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28736 file: multiarch strchr for PPC32.
28737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28738 multiarch objects.
28739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28740 (__libc_ifunc_impl_list): Likewise.
28741
28742 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28743 name.
28744 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28745 file.
28746 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28747 file.
28748 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28749 multiarch strchrnul for PPC32.
28750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28751 multiarch objects.
28752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28753 (__libc_ifunc_impl_list): Likewise.
28754
28755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28756 file.
28757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28758 multiarch strncasecmp for PPC32.
28759 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28760 file.
28761 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28762 multiarch strncasecmp_l for PPC32.
28763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28764 strncasecmp multiarch objects.
28765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28766 (__libc_ifunc_impl_list): Likewise.
28767
28768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28769 file.
28770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28771 multiarch strncasecmp for PPC32.
28772 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28773 New file.
28774 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28775 multiarch strcasecmp_l for PPC32.
28776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28777 multiarch objects.
28778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28779 (__libc_ifunc_impl_list): Likewise.
28780
28781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28782 file.
28783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28784 file.
28785 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28786 multiarch strncmp for PPC32.
28787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28788 multiarch objects.
28789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28790 (__libc_ifunc_impl_list): Likewise.
28791
28792 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28793 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28794 file.
28795 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28796 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28798 multiarch objects.
28799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28800 (__libc_ifunc_impl_list): Likewise.
28801
28802 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28803 file.
28804 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28805 file.
28806 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28808 multiarch objects.
28809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28810 (__libc_ifunc_impl_list): Likewise.
28811
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28813 file.
28814 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28815 file.
28816 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28817 multiarch rawmemchr for PPC32.
28818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28819 multiarch objects.
28820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28821 (__libc_ifunc_impl_list): Likewise.
28822
28823 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28824 file.
28825 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28826 file.
28827 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28828 file: memrchr multiarch for PPC32.
28829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28830 multiarch objects.
28831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28832 (__libc_ifunc_impl_list): Likewise.
28833
28834 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28835 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28836 file.
28837 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28838 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28839 multiarch memchr for PPC32.
28840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28841 multiarch objects.
28842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28843 (__libc_ifunc_impl_list): Likewise.
28844
28845 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28846 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28847 file.
28848 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28849 file.
28850 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28851 file: multiarch mempcpy for PPC32.
28852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28853 multiarch objects.
28854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28855 (__libc_ifunc_impl_list): Likewise.
28856
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28858 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28859 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28860 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28861 multiarch bzero for PPC32.
28862 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28863 file.
28864 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28865 file.
28866 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28867 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28868 file: multiarch memset for PPC32.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28871 memset multiarch objects.
28872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28873 (__libc_ifunc_impl_list): Likewise.
28874
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28876 file.
28877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28879 memcmp for PPC32.
28880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28882 multiarch objects.
28883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28884 (__libc_ifunc_impl_list): Likewise.
28885
28886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28889 file.
28890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28891 file.
28892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28893 file.
28894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28895 multiarch memcpy for PPC32.
28896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
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/Makefile: New file to
28902 support multiarch for POWER/PPC32.
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28904 Likewise.
28905 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28907 Implies file to make multiarch folder appers before the fpu and
28908 default folder for power4 configuration.
28909
28910 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28911
28912 * scripts/bench.pl: Append volatile keyword to type.
28913
28914 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28915
28916 * sysdeps/sh/sotruss-lib.c: New file.
28917 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28918
28919 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28920
28921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28922
28923 2013-12-05 Joseph Myers <joseph@codesourcery.com>
28924
28925 [BZ #6810]
28926 * math/w_tgamma.c: Include <errno.h>.
28927 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
28928 * math/w_tgammaf.c: Include <errno.h>.
28929 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
28930 * math/w_tgammal.c: Include <errno.h>.
28931 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
28932 * math/auto-libm-test-in: Do not allow missing errno on tgamma
28933 underflow. Add more tgamma tests.
28934 * math/auto-libm-test-out: Regenerated.
28935 * sysdeps/i386/fpu/libm-test-ulps: Update.
28936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28937
28938 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28939 sin, sinh, tan, tanh, tgamma, y0 and y1.
28940 * math/auto-libm-test-out: Regenerated.
28941 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28942 (TEST_COND_x86): Likewise.
28943 (M_E2l): Remove macro.
28944 (M_E3l): Likewise.
28945 (M_2_SQRT_PIl): Likewise.
28946 (M_SQRT_PIl): Likewise.
28947 (M_1_DIV_El): Likewise.
28948 (log_test_data): Use AUTO_TESTS_f_f.
28949 (log10_test_data): Likewise.
28950 (log1p_test_data): Likewise.
28951 (log2_test_data): Likewise.
28952 (sin_test_data): Likewise.
28953 (sin_tonearest_test_data): Likewise.
28954 (sin_towardzero_test_data): Likewise.
28955 (sin_downward_test_data): Likewise.
28956 (sin_upward_test_data): Likewise.
28957 (sinh_test_data): Likewise.
28958 (sinh_tonearest_test_data): Likewise.
28959 (sinh_towardzero_test_data): Likewise.
28960 (sinh_downward_test_data): Likewise.
28961 (sinh_upward_test_data): Likewise.
28962 (tan_test_data): Likewise.
28963 (tan_tonearest_test_data): Likewise.
28964 (tan_towardzero_test_data): Likewise.
28965 (tan_downward_test_data): Likewise.
28966 (tan_upward_test_data): Likewise.
28967 (tanh_test_data): Likewise.
28968 (tgamma_test_data): Likewise.
28969 (y0_test_data): Likewise.
28970 (y1_test_data): Likewise.
28971 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28972 (special_real_inputs): Add pi/4.
28973 * sysdeps/i386/fpu/libm-test-ulps: Update.
28974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28975
28976 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28977
28978 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28979 "longjmp_target" static probes.
28980 (__longjmp): Rename to __longjmp_symbol.
28981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28982 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28983 on which longjmp to generate.
28984 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28985 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28986 probe.
28987 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28988 (__sigjmp_save): Rename to __sigjmp_save_symbol.
28989 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28990 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28991 and __sigjmp_save_symbol based on which sigsetjmp to generated.
28992 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28994 __longjmp_symbol based on which __longjmp to generate.
28995 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28996 probe.
28997 (setjmp): Rename to setjmp_symbol.
28998 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28999 (_setjmp): Rename to _setjmp_symbol.
29000 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29001 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29002 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29003 which setjmp to generate.
29004 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29005 "longjmp_target" static probes.
29006
29007 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29008
29009 * benchtests/README: Add note about output arguments.
29010 * benchtests/bench-sincos.c: Remove file.
29011 * benchtests/sincos-inputs: New file.
29012 * scripts/bench.pl: Identify output arguments and define
29013 static variables for them.
29014
29015 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29016
29017 [BZ #15941]
29018 * Makefile (INSTALL): Add install-plain.texi as the primary
29019 dependency.
29020 * manual/install-plain.texi: New file.
29021 * manual/install.texi: Include node directive only for
29022 non-plaintext output.
29023
29024 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29025
29026 * stdlib/longlong.h: Update from GCC.
29027
29028 [BZ #6807]
29029 [BZ #15901]
29030 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29031 * math/w_j0f.c (y0f): Likewise.
29032 * math/w_j0l.c (__y0l): Likewise.
29033 * math/w_j1.c (y1): Likewise.
29034 * math/w_j1f.c (y1f): Likewise.
29035 * math/w_j1l.c (__y1l): Likewise
29036 * math/w_jn.c (yn): Likewise.
29037 * math/w_jnf.c (ynf): Likewise.
29038 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29039 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29040 value for Bessel function domain errors outside _SVID_ mode.
29041 Adjust sign of return value for yn (negative integer, 0).
29042 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29043 by zero in return for negative x and set sign appropriately for
29044 negative n.
29045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29046 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29047 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29048 expectations in error cases.
29049 (y1_test_data): Likewise.
29050 (yn_test_data): Likewise.
29051 * sysdeps/i386/fpu/libm-test-ulps: Update.
29052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29053
29054 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29055
29056 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29057 "64" to "64-v1". Add "64-v2".
29058 (abi-64-options): Rename to ...
29059 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29060 (abi-64-condition): Rename to ...
29061 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29062 (abi-64-ld-soname): Rename to ...
29063 (abi-64-v1-ld-soname): ... this.
29064 (abi-64-v2-options): Define.
29065 (abi-64-v2-condition): Likewise.
29066 (abi-64-v2-ld-soname): Likewise.
29067 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29068 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29072
29073 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29074 Alan Modra <amodra@gmail.com>
29075
29076 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29077 New versions for use with the ELFv2 ABI.
29078 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29079 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29080 declaration.
29081 (struct La_ppc64v2_retval): Likewise.
29082 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29083 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29084 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29085 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29086 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29087 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29088 Do not save or restore CR.
29089 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29090 (_dl_profile_resolve): Do no save or restore CR. Support extended
29091 return values for ELFv2 ABI. Fix location of FPR return registers.
29092 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29093 updated values for _CALL_ELF == 2.
29094 (La_regs, La_retval, int_retval): Likewise.
29095
29096 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29097
29098 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29099 (FRAME_MIN_SIZE_PARM): Likewise.
29100 (FRAME_BACKCHAIN): Likewise.
29101 (FRAME_CR_SAVE): Likewise.
29102 (FRAME_LR_SAVE): Likewise.
29103 (FRAME_TOC_SAVE): Likewise.
29104 (FRAME_PARM_SAVE): Likewise.
29105 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29106 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29107 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29108 (call_mcount_parm_offset): New macro.
29109 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29110 (PROF): Use symbolic stack frame offsets.
29111 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29113 Redefine in terms of FRAME_MIN_SIZE.
29114 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29115 (_dl_profile_resolve): Likewise. Update comment.
29116 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29117 symbols stack frame offsets.
29118 (__sigsetjmp): Likewise.
29119 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29120 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29121 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29122 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29123
29124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29125 (FRAME_BACKCHAIN): Remove.
29126 (FRAME_CR_SAVE): Likewise.
29127 (FRAME_LR_SAVE): Likewise.
29128 (FRAME_COMPILER_DW): Likewise.
29129 (FRAME_LINKER_DW): Likewise.
29130 (FRAME_TOC_SAVE): Likewise.
29131 (FRAME_PARM_SAVE): Likewise.
29132 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29133 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29134 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29136 (CHECK_SP): Use symbolic stack frame offsets.
29137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29138 zone" instead of caller's parameter save area for temp storage.
29139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29140 Likewise. Also, use symbolic stack frame offsets.
29141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29142 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29143 our own stack frame instead of the caller's.
29144 (__socket): Use symbolic stack frame offsets.
29145
29146 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29147 Alan Modra <amodra@gmail.com>
29148
29149 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29150 Define.
29151 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29152 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29153 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29154 New function.
29155 (elf_machine_fixup_plt): Call it.
29156 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29157 reloc arguments.
29158 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29159 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29160 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29161 r2 before calling target.
29162
29163 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29164 Alan Modra <amodra@gmail.com>
29165
29166 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29167 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29168 versions of macros to support ELFv2 ABI.
29169 (LOCALENTRY): New macro.
29170 (ENTRY, EALIGN): Use it.
29171 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29172 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29173 fall through into ENTRY entry point.
29174 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29175 Only define if _CALL_ELF != 2.
29176
29177 (elf_machine_matches_host): Verify ABI version matches.
29178 (RTLD_START): Use LOCALENTRY.
29179 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29180 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29181 (PLT_ENTRY_WORDS): New macro.
29182 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29183 (elf_machine_runtime_setup): Support ELFv2 ABI.
29184 (elf_machine_fixup_plt): Likewise.
29185 (elf_machine_plt_conflict): Likewise.
29186 (resolve_ifunc): Likewise.
29187 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29189 Likewise.
29190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29191 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29193 (makecontext): Support ELFv2 ABI.
29194 * elf/elf.h (EF_PPC64_ABI): Define.
29195
29196 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29197
29198 * sysdeps/powerpc/powerpc64/sysdep.h
29199 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29200 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29201 (ENTRY) [ASSEMBLER]: ... but instead here ...
29202 (EALIGN) [ASSEMBLER]: ... and here.
29203 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29204 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29205 (ENTRY_2) [!ASSEMBLER]: Use it.
29206 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29207 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29209 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29210 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29212 Use PPC64_LOAD_FUNCPTR.
29213
29214 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29215
29216 2013-12-04 Alan Modra <amodra@gmail.com>
29217
29218 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29219 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29220 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29221 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29222
29223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29224 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29225 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29226 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29227 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29228 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29229
29230 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29231
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29233 (__makecontext): Fix incorrect CFI when backtracing out of
29234 context created via makecontext.
29235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29236 (__setcontext): Fix incorrect CFI during switch to new context.
29237 (__novec_setcontext): Likewise.
29238
29239 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29240
29241 [BZ #4772]
29242 * time/strptime_l.c (__strptime_internal): Allow modifiers
29243 in strptime.
29244 * time/tst-strptime.c (day_tests): Add testcase.
29245
29246 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29247
29248 * scripts/bench.pl: Skip over blank lines.
29249
29250 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29251
29252 [BZ #926]
29253 * manual/time.texi (Calendar Time): Clarify what timezone functions
29254 use.
29255
29256 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29257
29258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29259
29260 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29261
29262 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29263 implementation.
29264 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29265 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29266 * debug/memset_chk.c (__memset_chk): Likewise.
29267 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29268 * debug/strncpy_chk.c: Likewise.
29269
29270 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29271
29272 [BZ #15268]
29273 [BZ #15425]
29274 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29275 (__ieee754_exp): For possibly underflowing results, check size of
29276 result and force underflow exception if required.
29277 * math/auto-libm-test-in: Add more tests of exp.
29278 * math/auto-libm-test-out: Regenerated.
29279 * sysdeps/i386/fpu/libm-test-ulps: Update.
29280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29281
29282 [BZ #16283]
29283 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29284 * math/w_exp2f.c (__exp2f): Likewise.
29285 * math/w_exp2l.c (__exp2l): Likewise.
29286 * math/auto-libm-test-in: Do not allow missing errno on exp2
29287 underflow.
29288 * math/auto-libm-test-out: Regenerated.
29289
29290 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29291
29292 [BZ #16274]
29293 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29294 handle filename validation.
29295 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29296 (do_open): Delete.
29297
29298 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29299
29300 [BZ #6786]
29301 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29302 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29303 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29304 <float.h>.
29305 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29307 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29309 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29311 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29312 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29313 Add more erfc tests.
29314 * math/auto-libm-test-out: Regenerated.
29315 * sysdeps/i386/fpu/libm-test-ulps: Update.
29316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317
29318 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29319 exp2, expm1, j0 and j1.
29320 * math/auto-libm-test-out: Regenerated.
29321 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29322 (erfc_test_data): Likewise.
29323 (exp_test_data): Likewise.
29324 (exp_tonearest_test_data): Likewise.
29325 (exp_towardzero_test_data): Likewise.
29326 (exp_downward_test_data): Likewise.
29327 (exp_upward_test_data): Likewise.
29328 (exp10_test_data): Likewise.
29329 (exp2_test_data): Likewise.
29330 (expm1_test_data): Likewise.
29331 (j0_test_data): Likewise.
29332 (j1_test_data): Likewise.
29333 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29334 (input_flag_type): Add flag_xfail_rounding.
29335 (input_flags): Add xfail-rounding.
29336 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29337 (output_for_one_input_case): Handle flag_xfail_rounding.
29338 * sysdeps/i386/fpu/libm-test-ulps: Update.
29339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29340
29341 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29342
29343 [BZ #16289]
29344 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29345 division by 0.
29346
29347 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29348
29349 [BZ #16195]
29350 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29351 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29352 (STAP_PROBE0): New macro.
29353 (STAP_PROBE1): Likewise.
29354 (STAP_PROBE2): Likewise.
29355 (STAP_PROBE3): Likewise.
29356 (STAP_PROBE4): Likewise.
29357
29358 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29359
29360 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29361
29362 2013-12-02 Steve Ellcey <sellcey@mips.com>
29363
29364 * benchtests/Makefile (bench): Add sqrt.
29365 (LDLIBS-bench-sqrt): New.
29366 * benchtests/sqrt-input: New.
29367
29368 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29369
29370 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29371 (GAIH_EAI): Likewise.
29372 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29373 (gaih_inet): Likewise.
29374 (getaddrinfo): Don't use GAIH_EAI.
29375
29376 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29377 (struct gaih): Remove definition.
29378
29379 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29380
29381 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29382 Use HERRNOP directly.
29383
29384 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29385
29386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29387
29388 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29389
29390 * math/gen-auto-libm-tests.c (test_functions): Add more
29391 single-argument functions.
29392 (special_fill_pi_2): New function.
29393 (special_fill_minus_pi_2): Likewise.
29394 (special_fill_pi_6): Likewise.
29395 (special_fill_minus_pi_6): Likewise.
29396 (special_fill_pi_3): Likewise.
29397 (special_fill_2pi_3): Likewise.
29398 (special_fill_e): Likewise.
29399 (special_fill_1_e): Likewise.
29400 (special_fill_e_minus_1): Likewise.
29401 (special_real_inputs): Add more special inputs.
29402 (output_for_one_input_case): Do not require ERANGE on underflow to
29403 zero if round-to-nearest result does not underflow to zero, unless
29404 exact results required.
29405 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29406 atan, atanh, cbrt, cos and cosh.
29407 * math/auto-libm-test-out: Regenerated.
29408 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29409 (acos_tonearest_test_data): Likewise.
29410 (acos_towardzero_test_data): Likewise.
29411 (acos_downward_test_data): Likewise.
29412 (acos_upward_test_data): Likewise.
29413 (acosh_test_data): Likewise.
29414 (asin_test_data): Likewise.
29415 (asin_tonearest_test_data): Likewise.
29416 (asin_towardzero_test_data): Likewise.
29417 (asin_upward_test_data): Likewise.
29418 (asinh_test_data): Likewise.
29419 (atan_test_data): Likewise.
29420 (atanh_test_data): Likewise.
29421 (cbrt_test_data): Likewise.
29422 (cos_test_data): Likewise.
29423 (cos_tonearest_test_data): Likewise.
29424 (cos_towardzero_test_data): Likewise.
29425 (cos_downward_test_data): Likewise.
29426 (cos_upward_test_data): Likewise.
29427 (cosh_test_data): Likewise.
29428 (cosh_tonearest_test_data): Likewise.
29429 (cosh_towardzero_test_data): Likewise.
29430 (cosh_downward_test_data): Likewise.
29431 (cosh_upward_test_data): Likewise.
29432 * sysdeps/i386/fpu/libm-test-ulps: Update.
29433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29434
29435 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29436
29437 [BZ #6787]
29438 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29439 * math/w_exp10f.c (__exp10f): Likewise.
29440 * math/w_exp10l.c (__exp10l): Likewise.
29441 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29442 errno settings in existing tests.
29443
29444 [BZ #14032]
29445 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29446 precision control set to double precision.
29447 * sysdeps/i386/fpu/w_sqrt.c: New file.
29448 * math/auto-libm-test-in: Add more tests.
29449 * math/auto-libm-test-out: Update.
29450
29451 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29452 (sqrt_test_tonearest): New function.
29453 (sqrt_towardzero_test_data): New variable.
29454 (sqrt_test_towardzero): New function.
29455 (sqrt_downward_test_data): New variable.
29456 (sqrt_test_downward): New function.
29457 (sqrt_upward_test_data): New variable.
29458 (sqrt_test_upward): New function.
29459 (main): Call the new functions.
29460
29461 * math/gen-auto-libm-tests.c: New file.
29462 * math/auto-libm-test-in: Likewise.
29463 * math/auto-libm-test-out: New generated file.
29464 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29465 variables.
29466 (%beautify): Add generated representations of zero.
29467 (top level): Set $auto_input and call parse_auto_input.
29468 (beautify): Remove trailing "f" from hex float constants.
29469 (parse_args): Handle XFAIL_TEST.
29470 (convert_condition): New function.
29471 (or_value): Likewise.
29472 (or_cond_value): Likewise.
29473 (generate_testfile): Handle AUTO_TESTS_* lines.
29474 (parse_auto_input): New function.
29475 * math/libm-test.inc (XFAIL_TEST): New macro.
29476 (ERRNO_UNCHANGED): Update value.
29477 (ERRNO_EDOM): Likewise.
29478 (ERRNO_ERANGE): Likewise.
29479 (IGNORE_RESULT): Likewise.
29480 (TEST_COND_flt_32): New macro.
29481 (TEST_COND_dbl_64): Likewise.
29482 (TEST_COND_ldbl_96_intel): Likewise.
29483 (TEST_COND_ldbl_96_m68k): Likewise.
29484 (TEST_COND_ldbl_128): Likewise.
29485 (TEST_COND_ldbl_128ibm): Likewise.
29486 (TEST_COND_long32): Likewise.
29487 (TEST_COND_long64): Likewise.
29488 (TEST_COND_before_rounding): Likewise.
29489 (TEST_COND_after_rounding): Likewise.
29490 (enable_test): Handle XFAIL_TEST flag.
29491 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29492 with finite results.
29493 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29494 auto-libm-test-out.
29495
29496 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29497 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29498
29499 [BZ #16214]
29500 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29501 __tls_get_addr_internal instead of __tls_get_offset in order to
29502 avoid GOT pointer dependency. Make rtld export
29503 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29504 __tls_get_addr since we are a __tls_get_offset platform.
29505 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29506 GOT pointer being set up before.
29507 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29508
29509 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29510
29511 * manual/math.texi (Errors in Math Functions): Document accuracy
29512 goals.
29513
29514 [BZ #15004]
29515 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29516 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29518 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29523 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29524 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29525 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29528 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29530 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29531
29532 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29533 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29534 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29535 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29536 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29537 Likewise.
29538 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29539 Likewise.
29540 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29541 Likewise.
29542 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29543 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29544 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29545 atomic-feupdateenv and flt-rounds.
29546 * sysdeps/powerpc/nofpu/Versions (libc): Add
29547 __atomic_feholdexcept, __atomic_feclearexcept,
29548 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29549 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29550 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29551 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29552 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29553 here.
29554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29555 Update.
29556
29557 * manual/arith.texi (FP Exceptions): Document that exceptions may
29558 not be raised when matherr is used.
29559 (Math Error Reporting): Document overflow in directed rounding
29560 modes. Document that errno may not be set when finite values are
29561 returned on overflow. Document intent to set errno on underflow
29562 only for underflow to zero.
29563
29564 [BZ #16271]
29565 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29566 round-to-nearest then adjust result for other rounding modes.
29567 * include/fenv.h (fegetround): Use libm_hidden_proto.
29568 * math/fegetround.c (fegetround): Use libm_hidden_def.
29569 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29570 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29571 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29573 Likewise.
29574 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29575 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29576 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29577 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29578
29579 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29580
29581 [BZ #16077]
29582 * nss/Versions (libnss_files): Add
29583 _nss_files_gethostbyname3_r.
29584 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29585 New function.
29586 (HOST_DB_LOOKUP): Remove macro.
29587 (_nss_files_gethostbyname_r): Implement function without the
29588 HOST_DB_LOOKUP macro.
29589 (_nss_files_gethostbyname2_r): Likewise.
29590
29591 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29592
29593 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29594
29595 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29596
29597 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29598 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29599 warning.
29600
29601 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29602
29603 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29604 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29605 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29606 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29607 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29608 __fe_nomask_env_priv and attribute_hidden.
29609 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29610 (libc_feupdateenv_test_ppc): Likewise.
29611 (libc_feresetround_ppc): Likewise.
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29613 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29614 compat_symbol macro.
29615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29616 (__fe_nomask_env): Likewise.
29617 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29618
29619 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29620
29621 * string/Makefile: Remove ifunc tests.
29622 * string/test-string.h: Define TEST_IFUNC.
29623 * string/test-bcopy-ifunc.c: Remove.
29624 * string/test-bzero-ifunc.c: Likewise.
29625 * string/test-memccpy-ifunc.c: Likewise.
29626 * string/test-memchr-ifunc.c: Likewise.
29627 * string/test-memcmp-ifunc.c: Likewise.
29628 * string/test-memcpy-ifunc.c: Likewise.
29629 * string/test-memmem-ifunc.c: Likewise.
29630 * string/test-memmove-ifunc.c: Likewise.
29631 * string/test-mempcpy-ifunc.c: Likewise.
29632 * string/test-memrchr-ifunc.c: Likewise.
29633 * string/test-memset-ifunc.c: Likewise.
29634 * string/test-rawmemchr-ifunc.c: Likewise.
29635 * string/test-stpcpy-ifunc.c: Likewise.
29636 * string/test-stpncpy-ifunc.c: Likewise.
29637 * string/test-strcasecmp-ifunc.c: Likewise.
29638 * string/test-strcasestr-ifunc.c: Likewise.
29639 * string/test-strcat-ifunc.c: Likewise.
29640 * string/test-strchr-ifunc.c: Likewise.
29641 * string/test-strchrnul-ifunc.c: Likewise.
29642 * string/test-strcmp-ifunc.c: Likewise.
29643 * string/test-strcpy-ifunc.c: Likewise.
29644 * string/test-strcspn-ifunc.c: Likewise.
29645 * string/test-strlen-ifunc.c: Likewise.
29646 * string/test-strncasecmp-ifunc.c: Likewise.
29647 * string/test-strncat-ifunc.c: Likewise.
29648 * string/test-strncmp-ifunc.c: Likewise.
29649 * string/test-strncpy-ifunc.c: Likewise.
29650 * string/test-strnlen-ifunc.c: Likewise.
29651 * string/test-strpbrk-ifunc.c: Likewise.
29652 * string/test-strrchr-ifunc.c: Likewise.
29653 * string/test-strspn-ifunc.c: Likewise.
29654 * string/test-strstr-ifunc.c: Likewise.
29655
29656 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29657
29658 * benchtests/Makefile: Remove ifunc tests.
29659 * benchtests/bench-string.h: Define TEST_IFUNC.
29660 * benchtests/bench-bcopy-ifunc.c: Remove.
29661 * benchtests/bench-bzero-ifunc.c: Likewise.
29662 * benchtests/bench-memccpy-ifunc.c: Likewise.
29663 * benchtests/bench-memchr-ifunc.c: Likewise.
29664 * benchtests/bench-memcmp-ifunc.c: Likewise.
29665 * benchtests/bench-memcpy-ifunc.c: Likewise.
29666 * benchtests/bench-memmem-ifunc.c: Likewise.
29667 * benchtests/bench-memmove-ifunc.c: Likewise.
29668 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29669 * benchtests/bench-memrchr-ifunc.c: Likewise.
29670 * benchtests/bench-memset-ifunc.c: Likewise.
29671 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29672 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29673 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29674 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29675 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29676 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29677 * benchtests/bench-strcat-ifunc.c: Likewise.
29678 * benchtests/bench-strchr-ifunc.c: Likewise.
29679 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29680 * benchtests/bench-strcmp-ifunc.c: Likewise.
29681 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29682 * benchtests/bench-strcpy-ifunc.c: Likewise.
29683 * benchtests/bench-strcspn-ifunc.c: Likewise.
29684 * benchtests/bench-strlen-ifunc.c: Likewise.
29685 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29686 * benchtests/bench-strncat-ifunc.c: Likewise.
29687 * benchtests/bench-strncmp-ifunc.c: Likewise.
29688 * benchtests/bench-strncpy-ifunc.c: Likewise.
29689 * benchtests/bench-strnlen-ifunc.c: Likewise.
29690 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29691 * benchtests/bench-strrchr-ifunc.c: Likewise.
29692 * benchtests/bench-strsep-ifunc.c: Likewise.
29693 * benchtests/bench-strspn-ifunc.c: Likewise.
29694 * benchtests/bench-strstr-ifunc.c: Likewise.
29695
29696 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29697
29698 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29699
29700 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29701
29702 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29703 * rt/aio.h: Likewise.
29704 * sysdeps/gnu/bits/utmp.h: Likewise.
29705 * sysdeps/gnu/bits/utmpx.h: Likewise.
29706 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29707 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29708 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29709 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29710 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29711 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29712 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29713 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29714 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29715 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29716 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29717 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29718 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29720 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29721 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29722 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29723 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29724 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29725 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29726 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29727 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29728 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29729 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29730 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29732 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29733 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29734 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29737 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29738 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29739 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29740 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29741 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29742 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29743 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29744 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29745 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29746 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29747 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29748
29749 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29750
29751 [BZ #16245]
29752 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29753 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29754
29755 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29756
29757 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29758 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29759 Likewise.
29760
29761 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29762
29763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29764 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29765 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29766 (__fesetround): Remove define.
29767 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29768 rounding and exceptions handling.
29769 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29770 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29771 (__fe_nomask_env): Likewise.
29772 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29773 __fegetround instead of fegetround.
29774 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29775 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29776
29777 2013-11-21 Roland McGrath <roland@hack.frob.com>
29778
29779 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29780 it's there.
29781
29782 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29783
29784 2013-11-21 Meador Inge <meadori@codesourcery.com>
29785
29786 [BZ #11157]
29787 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29788 (encrypt_r): Likewise.
29789 * malloc/obstack.h (obstack_free): Likewise.
29790 * posix/unistd.h (encrypt): Likewise.
29791
29792 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29793
29794 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29795 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29796 DL_CALL_DT_FINI() that call the functions directly.
29797 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29798 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29799 * elf/dl-fini.c: Likewise.
29800
29801 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29802
29803 * malloc/hooks.c (memalign_check): Add alignment rounding.
29804 * malloc/malloc.c (_mid_memalign): New function.
29805 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29806 Implement by calling _mid_memalign.
29807 * manual/probes.texi (Memory Allocation Probes): Remove
29808 memory_valloc_retry and memory_pvalloc_retry.
29809
29810 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29811
29812 * locale/programs/locarchive.c (open_archive): Add const
29813 qualifier to ARCHIVEFNAME and copy default fname to
29814 DEFAULT_FNAME.
29815
29816 [BZ #15601]
29817 * libio/tst-widetext.input: Rename Oriya to Odia.
29818 * locale/iso-639.def: Likewise.
29819
29820 * manual/probes.texi (Mathematical Function Probes): Add
29821 documentation for sin, cos, asin and acos probes.
29822 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29823 (__sin32): Add slowasin probe.
29824 (__cos32): Add slowacos probe.
29825 (__mpsin): Add slowsin probe.
29826 (__mpcos): Add slowcos probe.
29827
29828 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29829
29830 [BZ #15483]
29831 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29832 thread-local __sim_exceptions_thread and global
29833 __sim_exceptions_global.
29834 (__sim_disabled_exceptions): Change to thread-local
29835 __sim_disabled_exceptions_thread and global
29836 __sim_disabled_exceptions_global.
29837 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29838 and global __sim_round_mode_global.
29839 (__simulate_exceptions): Use thread-local floating-point state and
29840 set global state from it as needed.
29841 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29842 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29843 __sim_round_mode_thread.
29844 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29845 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29846 and global __sim_exceptions_global.
29847 (__sim_disabled_exceptions): Change to thread-local
29848 __sim_disabled_exceptions_thread and global
29849 __sim_disabled_exceptions_global.
29850 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29851 and global __sim_round_mode_global.
29852 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29853 (SIM_SET_GLOBAL): Likewise.
29854 * sysdeps/powerpc/soft-fp/sfp-machine.h
29855 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29856 __sim_round_mode_thread.
29857 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29858 __sim_disabled_exceptions_thread.
29859 (__sim_exceptions): Change to __sim_exceptions_thread.
29860 (__sim_disabled_exceptions): Change to
29861 __sim_disabled_exceptions_thread.
29862 (__sim_round_mode): Change to __sim_round_mode_thread.
29863 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29864 thread-local floating-point state and set global state from it as
29865 needed.
29866 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29867 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29868 (__sim_disabled_exceptions): Remove extern declaration.
29869 (feenableexcept): Use thread-local floating-point state and set
29870 global state from it as needed.
29871 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29872 extern declaration.
29873 (__sim_disabled_exceptions): Likewise.
29874 (__sim_round_mode): Likewise.
29875 (__fegetenv): Use thread-local floating-point state.
29876 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29877 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29878 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29879 floating-point state and set global state from it as needed.
29880 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29881 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29882 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29883 Likewise.
29884 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29885 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29886 Likewise.
29887 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29888 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29889 Use __sim_round_mode_thread.
29890 * math/test-fenv-tls.c: New file.
29891 * math/Makefile (tests): Add test-fenv-tls.
29892 ($(objpfx)test-fenv-tls): Depend on
29893 $(common-objpfx)nptl/libpthread.so.
29894
29895 2013-11-19 Andreas Schwab <schwab@suse.de>
29896
29897 * locale/programs/locale.c (show_info): Decode wordarray elements.
29898 * locale/categories.def (LC_MONETARY): Add element for
29899 _NL_MONETARY_CRNCYSTR.
29900 * locale/C-monetary.c (conversion_rate): New variable.
29901 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29902 element.
29903
29904 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29905
29906 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29907 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29908
29909 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29910
29911 * elf/Makefile (tst-auxv): New test.
29912 * elf/tst-auxv.c: New
29913 * elf/rtld.c (dl_main): Adjust AT_EXECFN
29914
29915 2013-11-18 Joseph Myers <joseph@codesourcery.com>
29916
29917 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29918 (hidden_proto): Caller changed.
29919 (hidden_tls_proto): New macro.
29920 (libc_hidden_tls_proto): Likewise.
29921 (rtld_hidden_tls_proto): Likewise.
29922 (libm_hidden_tls_proto): Likewise.
29923 (libresolv_hidden_tls_proto): Likewise.
29924 (librt_hidden_tls_proto): Likewise.
29925 (libdl_hidden_tls_proto): Likewise.
29926 (libnss_files_hidden_tls_proto): Likewise.
29927 (libnsl_hidden_tls_proto): Likewise.
29928 (libnss_nisplus_hidden_tls_proto): Likewise.
29929 (libutil_hidden_tls_proto): Likewise.
29930
29931 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
29932
29933 [BZ #10253]
29934 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29935 (decompose_rpath): Defer expansion to fillin_rpath.
29936 (_dl_init_paths): Pass linkmap to fillin_rpath.
29937
29938 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29939
29940 * benchtests/Makefile: Add strsep.
29941 * benchtests/bench-strsep.c: New file: strsep benchtest.
29942 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29943
29944 2013-11-18 Andreas Schwab <schwab@suse.de>
29945
29946 * locale/programs/locale.c (show_info) [case byte]: Check for
29947 '\377' instead of '\177'.
29948 * locale/C-monetary.c (not_available): Always use "\377".
29949 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29950 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
29951 detect unavailable sign_posn locale elements.
29952 * locale/localeconv.c (__localeconv): For grouping and
29953 mon_grouping handle "\177" and "\377" like no grouping.
29954 (INT_ELEM): New macro. Use it to set all numeric members.
29955 * locale/programs/ld-monetary.c (monetary_read)
29956 <tok_mon_grouping>: Normalize single -1 to the empty string.
29957 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29958 Likewise.
29959
29960 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
29961
29962 [BZ #16055]
29963 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29964 when we match (nil).
29965 * stdio-common/tst-sscanf.c (struct test): Add testcase.
29966
29967 2013-11-16 Joseph Myers <joseph@codesourcery.com>
29968
29969 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29970 (NO_TEST_INLINE): Update value.
29971 (ERRNO_UNCHANGED): Likewise.
29972 (ERRNO_EDOM): Likewise.
29973 (ERRNO_ERANGE): Likewise.
29974 (IGNORE_RESULT): Likewise.
29975 (check_float_internal): Check signs of NaN results if
29976 TEST_NAN_SIGN used.
29977 (check_complex): Pass TEST_NAN_SIGN flag through to second
29978 check_float_internal call.
29979 (copysign_test_data): Add tests with quiet NaNs as second
29980 argument. Use TEST_NAN_SIGN.
29981 (fabs_test_data): Add test of negative quiet NaN argument. Use
29982 TEST_NAN_SIGN.
29983 (signbit_test_data): Add tests of quiet NaN argument.
29984 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29985
29986 * math/gen-libm-test.pl (show_exceptions): Take extra argument
29987 $ignore_result.
29988 (parse_args): Handle function results specified as IGNORE.
29989 * math/libm-test.inc (IGNORE_RESULT): New macro.
29990 (check_float_internal): Do not check numerical result if flag
29991 IGNORE_RESULT set.
29992 (check_complex): Pass through IGNORE_RESULT to second
29993 check_float_internal call.
29994 (check_int): Do not check numerical result if flag IGNORE_RESULT
29995 set.
29996 (check_long): Likewise.
29997 (check_bool): Likewise.
29998 (check_longlong): Likewise.
29999 (lrint_test_data): Add tests of infinite and NaN arguments.
30000 (lrint_tonearest_test_data): Likewise.
30001 (lrint_towardzero_test_data): Likewise.
30002 (lrint_downward_test_data): Likewise.
30003 (lrint_upward_test_data): Likewise.
30004 (llrint_test_data): Likewise.
30005 (llrint_tonearest_test_data): Likewise.
30006 (llrint_towardzero_test_data): Likewise.
30007 (llrint_downward_test_data): Likewise.
30008 (llrint_upward_test_data): Likewise.
30009 (lround_test_data): Likewise.
30010 (llround_test_data): Likewise.
30011
30012 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30013 (ERRNO_UNCHANGED): Update value.
30014 (ERRNO_EDOM): Likewise.
30015 (ERRNO_ERANGE): Likewise.
30016 (NO_TEST_INLINE_FLOAT): New macro.
30017 (NO_TEST_INLINE_DOUBLE): Likewise.
30018 (enable_test): New function.
30019 (RUN_TEST_f_f): Check enable_test before running test.
30020 (RUN_TEST_2_f): Likewise.
30021 (RUN_TEST_fff_f): Likewise.
30022 (RUN_TEST_c_f): Likewise.
30023 (RUN_TEST_f_f1): Likewise.
30024 (RUN_TEST_fF_f1): Likewise.
30025 (RUN_TEST_fI_f1): Likewise.
30026 (RUN_TEST_ffI_f1): Likewise.
30027 (RUN_TEST_c_c): Likewise.
30028 (RUN_TEST_cc_c): Likewise.
30029 (RUN_TEST_f_i): Likewise.
30030 (RUN_TEST_f_i_tg): Likewise.
30031 (RUN_TEST_ff_i_tg): Likewise.
30032 (RUN_TEST_f_b): Likewise.
30033 (RUN_TEST_f_b_tg): Likewise.
30034 (RUN_TEST_f_l): Likewise.
30035 (RUN_TEST_f_L): Likewise.
30036 (RUN_TEST_fFF_11): Likewise.
30037 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30038 conditionals.
30039 (cosh_test_data): Likewise.
30040 (exp_test_data): Likewise.
30041 (expm1_test_data): Likewise.
30042 (hypot_test_data): Likewise.
30043 (pow_test_data): Likewise.
30044 (sinh_test_data): Likewise.
30045 (tanh_test_data): Likewise.
30046 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30047 flags argument.
30048
30049 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30050 tests with quiet NaN input and output.
30051 (acosh_test_data): Likewise.
30052 (asin_test_data): Likewise.
30053 (asinh_test_data): Likewise.
30054 (atan_test_data): Likewise.
30055 (atanh_test_data): Likewise.
30056 (atan2_test_data): Likewise.
30057 (cbrt_test_data): Likewise.
30058 (cos_test_data): Likewise.
30059 (cosh_test_data): Likewise.
30060 (erf_test_data): Likewise.
30061 (erfc_test_data): Likewise.
30062 (exp_test_data): Likewise.
30063 (exp10_test_data): Likewise.
30064 (exp2_test_data): Likewise.
30065 (expm1_test_data): Likewise.
30066 (hypot_test_data): Likewise.
30067 (j0_test_data): Likewise.
30068 (j1_test_data): Likewise.
30069 (jn_test_data): Likewise.
30070 (lgamma_test_data): Likewise.
30071 (log_test_data): Likewise.
30072 (log10_test_data): Likewise.
30073 (log1p_test_data): Likewise.
30074 (log2_test_data): Likewise.
30075 (pow_test_data): Likewise.
30076 (scalb_test_data): Likewise.
30077 (sin_test_data): Likewise.
30078 (sincos_test_data): Likewise.
30079 (sinh_test_data): Likewise.
30080 (tan_test_data): Likewise.
30081 (tanh_test_data): Likewise.
30082 (tgamma_test_data): Likewise.
30083 (y0_test_data): Likewise.
30084 (y1_test_data): Likewise.
30085 (yn_test_data): Likewise.
30086
30087 [BZ #16167]
30088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30089 argument being NaN and avoid computations with second argument in
30090 that case.
30091 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30092 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30093 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30094
30095 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30096
30097 * locale/iso-639.def: Add Chitwani Tharu (the).
30098
30099 2013-11-14 Andreas Schwab <schwab@suse.de>
30100
30101 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30102 word instead of empty string.
30103
30104 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30105
30106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30107 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30109 (__fe_nomask_env): Likewise.
30110
30111 2013-11-13 Steve Ellcey <sellcey@mips.com>
30112
30113 * benchtests/bench-timing.h: Include time.h.
30114
30115 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30116
30117 [BZ #15997]
30118 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30119 to 3.4.0 for x32.
30120 * sysdeps/unix/sysv/linux/configure: Regenerated.
30121
30122 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30123
30124 [BZ #16151]
30125 * stdlib/strtod_l.c (round_and_return): Do not consider
30126 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30127 exponent one less than half the least subnormal exponent.
30128 * stdlib/test-strtod-round-data: Add more tests.
30129 * stdlib/tst-strtod-round.c (tests): Regenerated.
30130
30131 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30132
30133 [BZ #14143]
30134 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30135 (__fe_mask_env): Likewise.
30136 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30137 libm_hidden_proto and add function prototype.
30138 (__fe_mask_env): Add function prototype.
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30140 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30142 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30144 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30145
30146 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30147
30148 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30149 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30150
30151 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30152
30153 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30154 of htab_find_slot().
30155
30156 2013-11-11 David S. Miller <davem@davemloft.net>
30157
30158 [BZ #16150]
30159 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30160 symbol in the non-vis3 case in static builds.
30161 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30162 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30163 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30164 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30165
30166 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30167
30168 [BZ #387]
30169 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30170 it is empty.
30171
30172 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30173
30174 * benchtests/Makefile: Add bench-strtod.
30175 * benchtests/bench-strtod.c: New file: strtod benchtest
30176
30177 2013-11-11 Andreas Schwab <schwab@suse.de>
30178
30179 [BZ #16153]
30180 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30181 terminating NUL in key length.
30182
30183 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30184
30185 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30186 Add artificial ODP entry for vDSO symbol for PPC64.
30187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30188 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30189
30190 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30191
30192 [BZ #15374]
30193 * nss/getent.c (services_keys): Recognize services starting with digit.
30194
30195 2013-11-06 David S. Miller <davem@davemloft.net>
30196
30197 [BZ #15985]
30198 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30199 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30200
30201 2013-11-06 Will Newton <will.newton@linaro.org>
30202
30203 * manual/memory.texi (Malloc Examples): Remove register
30204 keyword from examples.
30205
30206 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30207
30208 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30209
30210 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30211
30212 [BZ #6981]
30213 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30214 depending on [__GCC_IEC_559 > 0].
30215 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30216 depending on [__GCC_IEC_559_COMPLEX > 0].
30217
30218 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30219
30220 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30221 to iso-639.def.
30222
30223 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30224
30225 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30226
30227 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30228
30229 [BZ #16112]
30230 * malloc/malloc (malloc_info): Do not handle first bin as
30231 special case.
30232
30233 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30234
30235 * locale/iso-639.def: Add Central Nahuatl (nhn).
30236
30237 2013-11-01 Bruno Haible <bruno@clisp.org>
30238
30239 [BZ #7003]
30240 * manual/math.texi (BSD Random): Specify range upper bound as
30241 in POSIX.
30242
30243 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30244
30245 * locale/iso-639.def: Add Meadow Mari (mhr).
30246
30247 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30248
30249 [BZ #14752], [BZ #15763]
30250 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30251 Validate name.
30252 * rt/tst_shm.c: Add test for escaping directory.
30253
30254 2013-10-31 Andreas Schwab <schwab@suse.de>
30255
30256 [BZ #15917]
30257 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30258 followed by 'x' as part of digit sequence.
30259 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30260
30261 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30262
30263 [BZ #16037]
30264 * configure.ac: allow GNU Make 4.0 and greater.
30265 * configure: Regenerated.
30266
30267 2013-10-30 Will Newton <will.newton@linaro.org>
30268
30269 [BZ #16038]
30270 * malloc/hooks.c (memalign_check): Limit alignment to the
30271 maximum representable power of two.
30272 * malloc/malloc.c (__libc_memalign): Likewise.
30273 * malloc/tst-memalign.c (do_test): Add test for very
30274 large alignment values.
30275 * malloc/tst-posix_memalign.c (do_test): Likewise.
30276
30277 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30278
30279 [BZ #11087]
30280 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30281 (munmap_chunk): Likewise.
30282 (mremap_chunk): Likewise.
30283
30284 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30285
30286 [BZ #15799]
30287 * stdlib/div.c (div): Remove obsolete code.
30288 * stdlib/ldiv.c (ldiv): Likewise.
30289 * stdlib/lldiv.c (lldiv): Likewise.
30290
30291 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30292
30293 [BZ #16071]
30294 * nss/nss_files/files-XXX.c (get_contents_ret): New
30295 enumerator.
30296 (get_contents): New function.
30297 (internal_getent): Use it. Expand size of LINEBUFLEN.
30298
30299 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30300
30301 * configure.in: Moved to ...
30302 * configure.ac: ... here. Change reference to configure.in
30303 to configure.ac.
30304 * sysdeps/arm/preconfigure.ac: ... here.
30305 configure.in to configure.ac.
30306 * sysdeps/gnu/configure.in: Moved to ...
30307 * sysdeps/gnu/configure.ac: ... here.
30308 * sysdeps/i386/configure.in: Moved to ...
30309 * sysdeps/i386/configure.ac: ... here.
30310 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30311 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30312 * sysdeps/mach/configure.in: Moved to ...
30313 * sysdeps/mach/configure.ac: ... here.
30314 * sysdeps/mach/hurd/configure.in: Moved to ...
30315 * sysdeps/mach/hurd/configure.ac: ... here.
30316 * sysdeps/powerpc/configure.in: Moved to ...
30317 * sysdeps/powerpc/configure.ac: ... here.
30318 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30319 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30320 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30321 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30322 * sysdeps/s390/s390-32/configure.in: Moved to ...
30323 * sysdeps/s390/s390-32/configure.ac: ... here.
30324 * sysdeps/s390/s390-64/configure.in: Moved to ...
30325 * sysdeps/s390/s390-64/configure.ac: ... here.
30326 * sysdeps/sh/configure.in: Moved to ...
30327 * sysdeps/sh/configure.ac: ... here.
30328 * sysdeps/sparc/configure.in: Moved to ...
30329 * sysdeps/sparc/configure.ac: ... here.
30330 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30331 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30332 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30333 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30334 * sysdeps/x86_64/configure.in: Moved to ...
30335 * sysdeps/x86_64/configure.ac: ... here.
30336 * sysdeps/x86_64/preconfigure.in: Moved to ...
30337 * sysdeps/x86_64/preconfigure.ac: ... here.
30338 * aclocal.m4: Change reference to configure.in to configure.ac.
30339 * config.h.in: Likewise.
30340 * manual/install.texi: Likewise.
30341 * manual/maint.texi: Likewise.
30342 * Makefile: Likewise.
30343 * malloc/Makefile: Likewise.
30344 * nscd/Makefile: Likewise.
30345 * Makeconfig: Change reference to configure.in and
30346 preconfigure.in to configure.ac and preconfigure.ac
30347 respectively.
30348 * INSTALL: Regenerated.
30349 * configure: Likewise.
30350 * sysdeps/gnu/configure: Likewise.
30351 * sysdeps/i386/configure: Likewise.
30352 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30353 * sysdeps/mach/configure: Likewise.
30354 * sysdeps/mach/hurd/configure: Likewise.
30355 * sysdeps/powerpc/configure: Likewise.
30356 * sysdeps/powerpc/powerpc32/configure: Likewise.
30357 * sysdeps/powerpc/powerpc64/configure: Likewise.
30358 * sysdeps/s390/s390-32/configure: Likewise.
30359 * sysdeps/s390/s390-64/configure: Likewise.
30360 * sysdeps/sh/configure: Likewise.
30361 * sysdeps/sparc/configure: Likewise.
30362 * sysdeps/unix/sysv/linux/configure: Likewise.
30363 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30364 * sysdeps/x86_64/configure: Likewise.
30365 * sysdeps/x86_64/preconfigure: Likewise.
30366
30367 2013-10-29 Andreas Schwab <schwab@suse.de>
30368
30369 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30370
30371 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30372
30373 * benchtests/pow-inputs: Add new inputs.
30374
30375 * benchtests/exp-inputs: Add new inputs.
30376
30377 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30378 conditional check for return value.
30379 (__cos32): Likewise.
30380
30381 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30382
30383 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30384 to provide a boost for large inputs with word alignment.
30385 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30386 implementation based on optimized PPC64 strcpy.
30387 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30388 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30389 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30390 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30391
30392 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30393
30394 [BZ #2801]
30395 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30396
30397 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30398
30399 [BZ #14876]
30400 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30401 * time/tst-strptime.c (day_tests): Add testcase.
30402
30403 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30404
30405 [BZ #14029]
30406 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30407
30408 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30409
30410 [BZ #16074]
30411 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30412 MAP_FAILED on error.
30413
30414 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30415
30416 [BZ #16072]
30417 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30418 heap for large requests.
30419
30420 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30421
30422 [BZ #9954]
30423 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30424 result if the result has no associated interface.
30425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30426 interface for all 127.X.Y.Z addresses.
30427
30428 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30429
30430 * locale/iso-639.def: Add Ligurian (lij)
30431
30432 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30433
30434 [BZ #15825]
30435 * sunrpc/rpc_main.c: Document rpcgen -5.
30436
30437 2013-10-19 Michael Stahl <mstahl@redhat.com>
30438
30439 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30440
30441 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30442
30443 [BZ #10278]
30444 * posix/glob.c: Match only directories when trailing slash is present.
30445 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30446 (main): Add testcase.
30447
30448 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30449
30450 [BZ #15670]
30451 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30452
30453 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30454
30455 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30456 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30457 AUTH_DES and cindex for FIPS 140-2.
30458 (DES Encryption): Add cindex FIPS 46-3.
30459
30460 * locale/locarchive.h (struct locarhandle): Add fname.
30461 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30462 if an optional argument was specified to --list-archive,
30463 otherwise NULL.
30464 * locale/programs/locarchive.c (show_archive_content): Take new
30465 argument fname and pass it via ah.fname to open_archive.
30466 * locale/programs/localedef.h: Update decl.
30467 (open_archive): If AH->fname is non-null, open that file
30468 rather than the default file name, and don't ignore ENOENT.
30469 (create_archive): Set AH.fname to NULL.
30470 (delete_locales_from_archive): Likewise.
30471 (add_locales_to_archive): Likewise.
30472 * locale/programs/locfile.c (write_all_categories): Likewise.
30473
30474 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30475 Aldy Hernandez <aldyh@redhat.com>
30476
30477 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30478 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30479 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30480 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30481 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30482 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30483 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30484 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30485 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30486 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30487 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30488 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30489 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30490 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30491 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30492 Likewise.
30493 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30494 Likewise.
30495 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30496 Likewise.
30497 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30498 Likewise.
30499 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30500 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30501 Likewise.
30502 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30503 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30504 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30505 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30506 Likewise.
30507 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30508 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30509 * sysdeps/powerpc/preconfigure: Likewise.
30510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30511 Likewise.
30512 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30513 Replace contents of file by #include of <fenv_libc.h>.
30514 * sysdeps/powerpc/soft-fp/sfp-machine.h
30515 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30516 and <sys/prctl.h>.
30517 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30530 Allow copysignl PLT reference to be missing.
30531
30532 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30533 Joseph Myers <joseph@codesourcery.com
30534
30535 [BZ #15948]
30536 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30537 single character.
30538 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30539
30540 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30541
30542 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30543 * elf/tst-tls1.c: Likewise.
30544 * elf/tst-tls10.h: Likewise.
30545 * elf/tst-tls14.c: Likewise.
30546 * elf/tst-tls2.c: Likewise.
30547 * elf/tst-tls3.c: Likewise.
30548 * elf/tst-tls4.c: Likewise.
30549 * elf/tst-tls5.c: Likewise.
30550 * elf/tst-tls6.c: Likewise.
30551 * elf/tst-tls7.c: Likewise.
30552 * elf/tst-tls8.c: Likewise.
30553 * elf/tst-tls9.c: Likewise.
30554 * elf/tst-tlsmod1.c: Likewise.
30555 * elf/tst-tlsmod13.c: Likewise.
30556 * elf/tst-tlsmod13a.c: Likewise.
30557 * elf/tst-tlsmod14a.c: Likewise.
30558 * elf/tst-tlsmod16a.c: Likewise.
30559 * elf/tst-tlsmod16b.c: Likewise.
30560 * elf/tst-tlsmod2.c: Likewise.
30561 * elf/tst-tlsmod3.c: Likewise.
30562 * elf/tst-tlsmod4.c: Likewise.
30563 * elf/tst-tlsmod5.c: Likewise.
30564 * elf/tst-tlsmod6.c: Likewise.
30565
30566 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30567
30568 [BZ #12486]
30569 * malloc/malloc.c: remove checks for statistics.
30570
30571 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30572
30573 [BZ #15277]
30574 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30575 * inet/tst-network.c: Add testcase.
30576
30577 2013-10-17 Andreas Schwab <schwab@suse.de>
30578
30579 [BZ #15218]
30580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30581 to determine canonical name.
30582
30583 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30584
30585 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30586 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30609 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30610 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30643
30644 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #16041]
30647 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30648 make result into a quiet NaN.
30649
30650 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30651
30652 * soft-fp/adddf3.c: Fix horizontal whitespace.
30653 * soft-fp/addsf3.c: Likewise.
30654 * soft-fp/addtf3.c: Likewise.
30655 * soft-fp/divdf3.c: Likewise.
30656 * soft-fp/divsf3.c: Likewise.
30657 * soft-fp/divtf3.c: Likewise.
30658 * soft-fp/double.h: Likewise.
30659 * soft-fp/eqdf2.c: Likewise.
30660 * soft-fp/eqsf2.c: Likewise.
30661 * soft-fp/eqtf2.c: Likewise.
30662 * soft-fp/extenddftf2.c: Likewise.
30663 * soft-fp/extended.h: Likewise.
30664 * soft-fp/extendsfdf2.c: Likewise.
30665 * soft-fp/extendsftf2.c: Likewise.
30666 * soft-fp/extendxftf2.c: Likewise.
30667 * soft-fp/fixdfdi.c: Likewise.
30668 * soft-fp/fixdfsi.c: Likewise.
30669 * soft-fp/fixdfti.c: Likewise.
30670 * soft-fp/fixsfdi.c: Likewise.
30671 * soft-fp/fixsfsi.c: Likewise.
30672 * soft-fp/fixsfti.c: Likewise.
30673 * soft-fp/fixtfdi.c: Likewise.
30674 * soft-fp/fixtfsi.c: Likewise.
30675 * soft-fp/fixtfti.c: Likewise.
30676 * soft-fp/fixunsdfdi.c: Likewise.
30677 * soft-fp/fixunsdfsi.c: Likewise.
30678 * soft-fp/fixunsdfti.c: Likewise.
30679 * soft-fp/fixunssfdi.c: Likewise.
30680 * soft-fp/fixunssfsi.c: Likewise.
30681 * soft-fp/fixunssfti.c: Likewise.
30682 * soft-fp/fixunstfdi.c: Likewise.
30683 * soft-fp/fixunstfsi.c: Likewise.
30684 * soft-fp/fixunstfti.c: Likewise.
30685 * soft-fp/floatdidf.c: Likewise.
30686 * soft-fp/floatdisf.c: Likewise.
30687 * soft-fp/floatditf.c: Likewise.
30688 * soft-fp/floatsidf.c: Likewise.
30689 * soft-fp/floatsisf.c: Likewise.
30690 * soft-fp/floatsitf.c: Likewise.
30691 * soft-fp/floattidf.c: Likewise.
30692 * soft-fp/floattisf.c: Likewise.
30693 * soft-fp/floattitf.c: Likewise.
30694 * soft-fp/floatundidf.c: Likewise.
30695 * soft-fp/floatundisf.c: Likewise.
30696 * soft-fp/floatunditf.c: Likewise.
30697 * soft-fp/floatunsidf.c: Likewise.
30698 * soft-fp/floatunsisf.c: Likewise.
30699 * soft-fp/floatunsitf.c: Likewise.
30700 * soft-fp/floatuntidf.c: Likewise.
30701 * soft-fp/floatuntisf.c: Likewise.
30702 * soft-fp/floatuntitf.c: Likewise.
30703 * soft-fp/fmadf4.c: Likewise.
30704 * soft-fp/fmasf4.c: Likewise.
30705 * soft-fp/fmatf4.c: Likewise.
30706 * soft-fp/gedf2.c: Likewise.
30707 * soft-fp/gesf2.c: Likewise.
30708 * soft-fp/getf2.c: Likewise.
30709 * soft-fp/ledf2.c: Likewise.
30710 * soft-fp/lesf2.c: Likewise.
30711 * soft-fp/letf2.c: Likewise.
30712 * soft-fp/muldf3.c: Likewise.
30713 * soft-fp/mulsf3.c: Likewise.
30714 * soft-fp/multf3.c: Likewise.
30715 * soft-fp/negdf2.c: Likewise.
30716 * soft-fp/negsf2.c: Likewise.
30717 * soft-fp/negtf2.c: Likewise.
30718 * soft-fp/op-1.h: Likewise.
30719 * soft-fp/op-2.h: Likewise.
30720 * soft-fp/op-4.h: Likewise.
30721 * soft-fp/op-8.h: Likewise.
30722 * soft-fp/op-common.h: Likewise.
30723 * soft-fp/quad.h: Likewise.
30724 * soft-fp/single.h: Likewise.
30725 * soft-fp/soft-fp.h: Likewise.
30726 * soft-fp/sqrtdf2.c: Likewise.
30727 * soft-fp/sqrtsf2.c: Likewise.
30728 * soft-fp/sqrttf2.c: Likewise.
30729 * soft-fp/subdf3.c: Likewise.
30730 * soft-fp/subsf3.c: Likewise.
30731 * soft-fp/subtf3.c: Likewise.
30732 * soft-fp/truncdfsf2.c: Likewise.
30733 * soft-fp/trunctfdf2.c: Likewise.
30734 * soft-fp/trunctfsf2.c: Likewise.
30735 * soft-fp/trunctfxf2.c: Likewise.
30736 * soft-fp/unorddf2.c: Likewise.
30737 * soft-fp/unordsf2.c: Likewise.
30738 * soft-fp/unordtf2.c: Likewise.
30739
30740 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30741
30742 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30743 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30744
30745 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30746
30747 * elf/dl-libc.c: Clear initfini list after freeing.
30748
30749 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30750
30751 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30752 * soft-fp/addsf3.c: Likewise.
30753 * soft-fp/addtf3.c: Likewise.
30754 * soft-fp/divdf3.c: Likewise.
30755 * soft-fp/divsf3.c: Likewise.
30756 * soft-fp/divtf3.c: Likewise.
30757 * soft-fp/double.h: Likewise.
30758 * soft-fp/eqdf2.c: Likewise.
30759 * soft-fp/eqsf2.c: Likewise.
30760 * soft-fp/eqtf2.c: Likewise.
30761 * soft-fp/extenddftf2.c: Likewise.
30762 * soft-fp/extended.h: Likewise.
30763 * soft-fp/extendsfdf2.c: Likewise.
30764 * soft-fp/extendsftf2.c: Likewise.
30765 * soft-fp/extendxftf2.c: Likewise.
30766 * soft-fp/fixdfdi.c: Likewise.
30767 * soft-fp/fixdfsi.c: Likewise.
30768 * soft-fp/fixdfti.c: Likewise.
30769 * soft-fp/fixsfdi.c: Likewise.
30770 * soft-fp/fixsfsi.c: Likewise.
30771 * soft-fp/fixsfti.c: Likewise.
30772 * soft-fp/fixtfdi.c: Likewise.
30773 * soft-fp/fixtfsi.c: Likewise.
30774 * soft-fp/fixtfti.c: Likewise.
30775 * soft-fp/fixunsdfdi.c: Likewise.
30776 * soft-fp/fixunsdfsi.c: Likewise.
30777 * soft-fp/fixunsdfti.c: Likewise.
30778 * soft-fp/fixunssfdi.c: Likewise.
30779 * soft-fp/fixunssfsi.c: Likewise.
30780 * soft-fp/fixunssfti.c: Likewise.
30781 * soft-fp/fixunstfdi.c: Likewise.
30782 * soft-fp/fixunstfsi.c: Likewise.
30783 * soft-fp/fixunstfti.c: Likewise.
30784 * soft-fp/floatdidf.c: Likewise.
30785 * soft-fp/floatdisf.c: Likewise.
30786 * soft-fp/floatditf.c: Likewise.
30787 * soft-fp/floatsidf.c: Likewise.
30788 * soft-fp/floatsisf.c: Likewise.
30789 * soft-fp/floatsitf.c: Likewise.
30790 * soft-fp/floattidf.c: Likewise.
30791 * soft-fp/floattisf.c: Likewise.
30792 * soft-fp/floattitf.c: Likewise.
30793 * soft-fp/floatundidf.c: Likewise.
30794 * soft-fp/floatundisf.c: Likewise.
30795 * soft-fp/floatunsidf.c: Likewise.
30796 * soft-fp/floatunsisf.c: Likewise.
30797 * soft-fp/floatuntidf.c: Likewise.
30798 * soft-fp/floatuntisf.c: Likewise.
30799 * soft-fp/floatuntitf.c: Likewise.
30800 * soft-fp/fmadf4.c: Likewise.
30801 * soft-fp/fmasf4.c: Likewise.
30802 * soft-fp/fmatf4.c: Likewise.
30803 * soft-fp/gedf2.c: Likewise.
30804 * soft-fp/gesf2.c: Likewise.
30805 * soft-fp/getf2.c: Likewise.
30806 * soft-fp/ledf2.c: Likewise.
30807 * soft-fp/lesf2.c: Likewise.
30808 * soft-fp/letf2.c: Likewise.
30809 * soft-fp/muldf3.c: Likewise.
30810 * soft-fp/mulsf3.c: Likewise.
30811 * soft-fp/multf3.c: Likewise.
30812 * soft-fp/negdf2.c: Likewise.
30813 * soft-fp/negsf2.c: Likewise.
30814 * soft-fp/negtf2.c: Likewise.
30815 * soft-fp/op-1.h: Likewise.
30816 * soft-fp/op-2.h: Likewise.
30817 * soft-fp/op-4.h: Likewise.
30818 * soft-fp/op-8.h: Likewise.
30819 * soft-fp/op-common.h: Likewise.
30820 * soft-fp/quad.h: Likewise.
30821 * soft-fp/single.h: Likewise.
30822 * soft-fp/soft-fp.h: Likewise.
30823 * soft-fp/sqrtdf2.c: Likewise.
30824 * soft-fp/sqrtsf2.c: Likewise.
30825 * soft-fp/sqrttf2.c: Likewise.
30826 * soft-fp/subdf3.c: Likewise.
30827 * soft-fp/subsf3.c: Likewise.
30828 * soft-fp/subtf3.c: Likewise.
30829 * soft-fp/truncdfsf2.c: Likewise.
30830 * soft-fp/trunctfdf2.c: Likewise.
30831 * soft-fp/trunctfsf2.c: Likewise.
30832 * soft-fp/trunctfxf2.c: Likewise.
30833 * soft-fp/unorddf2.c: Likewise.
30834 * soft-fp/unordsf2.c: Likewise.
30835 * soft-fp/unordtf2.c: Likewise.
30836
30837 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30838
30839 [BZ #15672]
30840 * misc/error.c (error_tail): Fix possible buffer overflow.
30841
30842 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30843
30844 [BZ #13028]
30845 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30846 address.
30847
30848 2013-10-14 P. J. McDermott <pj@pehjota.net>
30849
30850 [BZ #832]
30851 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30852 testing pipefail option.
30853
30854 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30855
30856 * soft-fp/double.h: Indent preprocessor directives inside #if.
30857 * soft-fp/extended.h: Likewise.
30858 * soft-fp/op-2.h: Likewise.
30859 * soft-fp/op-4.h: Likewise.
30860 * soft-fp/op-common.h: Likewise.
30861 * soft-fp/quad.h: Likewise.
30862 * soft-fp/single.h: Likewise.
30863 * soft-fp/soft-fp.h: Likewise.
30864
30865 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30866
30867 * iconv/iconv_prog.c: Fix typos.
30868 * stdio-common/psiginfo-data.h: Likewise.
30869
30870 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30871
30872 [BZ #15764]
30873 * locale/setlocale.c: Fix typo.
30874
30875 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30876
30877 [BZ #16036]
30878 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30879 signaling NaN arguments.
30880 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30881 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30882
30883 [BZ #14910]
30884 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30885 unordered operands.
30886 * soft-fp/gesf2.c (__gesf2): Likewise.
30887 * soft-fp/getf2.c (__getf2): Likewise.
30888 * soft-fp/ledf2.c (__ledf2): Likewise.
30889 * soft-fp/lesf2.c (__lesf2): Likewise.
30890 * soft-fp/letf2.c (__letf2): Likewise.
30891
30892 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30893 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30894 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30895 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30896 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30897 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30898 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30899 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30900 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30901 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30902 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30903 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30904 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30905 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30906 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30907 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30908 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30909 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30910 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30911 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30912 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30913 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30914 * soft-fp/floatdisf.c (__floatdisf): Likewise.
30915 * soft-fp/floatsisf.c (__floatsisf): Likewise.
30916 * soft-fp/floattidf.c (__floattidf): Likewise.
30917 * soft-fp/floattisf.c (__floattisf): Likewise.
30918 * soft-fp/floattitf.c (__floattitf): Likewise.
30919 * soft-fp/floatundidf.c (__floatundidf): Likewise.
30920 * soft-fp/floatundisf.c (__floatundisf): Likewise.
30921 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30922 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30923 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30924 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30925 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30926 * soft-fp/gesf2.c (__gesf2): Likewise.
30927 * soft-fp/getf2.c (__getf2): Likewise.
30928 * soft-fp/ledf2.c (__ledf2): Likewise.
30929 * soft-fp/lesf2.c (__lesf2): Likewise.
30930 * soft-fp/letf2.c (__letf2): Likewise.
30931
30932 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30933 Undefine and redefine.
30934 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30935 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30936 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30937 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30938 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30939 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30940 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30941 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30942 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30943 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30944 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30945 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30946 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30947 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30948 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30949
30950 [BZ #16032]
30951 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30952 without decrementing exponent if mantissa >= that for the
30953 denominator, not >.
30954 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30955 denominator, not >. Decrement exponent in < case instead of
30956 incrementing in >= case.
30957 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30958 without decrementing exponent if mantissa >= that for the
30959 denominator, not >.
30960
30961 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30962 computing saturated result for unsigned overflow.
30963
30964 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30965 Jeff Law <law@redhat.com>
30966
30967 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30968 (atan2Mp): Add systemtap probe marker.
30969 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30970 (__ieee754_log): Add systemtap probe marker.
30971 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30972 (atanMp): Add systemtap probe marker.
30973 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30974 (tanMp): Add systemtap probe marker.
30975 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30976 (__slowexp): Add systemtap probe marker.
30977 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30978 (__slowpow): Add systemtap probe marker.
30979 * manual/probes.texi: Document probes.
30980
30981 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
30982
30983 [BZ #15362]
30984 * libio/fileops.c (_IO_new_file_write): Return count of bytes
30985 written.
30986 (_IO_new_file_xsputn): Don't return EOF if nothing has been
30987 written.
30988 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30989 written to buffer but not flushed.
30990 * libio/iofwrite_u.c: Likewise.
30991 * libio/iopadn.c: Return bytes returned even if EOF was
30992 encountered.
30993 * libio/iowpadn.c: Likewise.
30994 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30995 if _IO_padn does not write the whole buffer.
30996 [!COMPILE_WPRINTF] (PAD): Likewise.
30997
30998 2013-10-10 David S. Miller <davem@davemloft.net>
30999
31000 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31001 directory block.
31002
31003 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31004
31005 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31006 instead of FSF address.
31007 * soft-fp/fixdfti.c: Likewise.
31008 * soft-fp/fixsfti.c: Likewise.
31009 * soft-fp/fixtfti.c: Likewise.
31010 * soft-fp/fixunsdfti.c: Likewise.
31011 * soft-fp/fixunssfti.c: Likewise.
31012 * soft-fp/fixunstfti.c: Likewise.
31013 * soft-fp/floattidf.c: Likewise.
31014 * soft-fp/floattisf.c: Likewise.
31015 * soft-fp/floattitf.c: Likewise.
31016 * soft-fp/floatuntidf.c: Likewise.
31017 * soft-fp/floatuntisf.c: Likewise.
31018 * soft-fp/floatuntitf.c: Likewise.
31019 * soft-fp/trunctfxf2.c: Likewise.
31020
31021 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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 2013-10-10 David S. Miller <davem@davemloft.net>
31037
31038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31039
31040 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31041
31042 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31043 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31044 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31045 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31046 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31047 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31048 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31049
31050 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31051 for NaNs before doing comparisons on argument.
31052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31053 Likewise.
31054
31055 2013-10-10 Will Newton <will.newton@linaro.org>
31056
31057 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31058 passed to _int_memalign does not overflow.
31059
31060 2013-10-10 Torvald Riegel <triegel@redhat.com>
31061
31062 * scripts/bench.pl: Add include-sources directive.
31063 * benchtests/README: Update documentation.
31064
31065 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31066
31067 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31068 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31069 instead of FP_INIT_ROUNDMODE.
31070 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31071 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31072
31073 [BZ #16034]
31074 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31075 copy class of input value.
31076 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31077 not handle exceptions.
31078 * soft-fp/negsf2.c (__negsf2): Likewise.
31079 * soft-fp/negtf2.c (__negtf2): Likewise.
31080 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31081
31082 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31083
31084 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31085 semicolon. From Linux kernel.
31086
31087 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31088
31089 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31090
31091 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31092
31093 [BZ #156]
31094 * manual/socket.texi: Added statement about buffer
31095 for gethostbyname2_r.
31096
31097 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31098
31099 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31100 Use .p2align directive instead, throughout.
31101 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31102 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31103 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31106 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31107 * sysdeps/x86_64/strchr.S: Likewise.
31108 * sysdeps/x86_64/strrchr.S: Likewise.
31109
31110 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31111
31112 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31113
31114 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31115
31116 * sysdeps/generic/math_private.h (__mpsin1): Remove
31117 declaration.
31118 (__mpcos1): Likewise.
31119 (__mpsin): New argument __range_reduce.
31120 (__mpcos): Likewise.
31121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31122 (slow): Use __mpsin and __mpcos.
31123 (slow1): Likewise.
31124 (slow2): Likewise.
31125 (sloww): Likewise.
31126 (sloww1): Likewise.
31127 (sloww2): Likewise.
31128 (bsloww): Likewise.
31129 (bsloww1): Likewise.
31130 (bsloww2): Likewise.
31131 (cslow2): Likewise.
31132 (csloww): Likewise.
31133 (csloww1): Likewise.
31134 (csloww2): Likewise.
31135 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31136 range_reduce. Merge in __mpsin1.
31137 (__mpcos): Likewise.
31138 (__mpsin1): Remove.
31139 (__mpcos1): Likewise.
31140
31141 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31142
31143 * locale/loadlocale.c (_nl_intern_locale_data): Use
31144 LOCFILE_ALIGNED_P.
31145 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31146 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31147 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31148 obstack data is appropriately aligned.
31149 (obstack_int32_grow_fast): Likewise.
31150 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31151 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31152 (add_locale_uint32_array): Likewise.
31153
31154 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31155
31156 * benchtests/Makefile: Remove ARGLIST and RET variables.
31157 ($(objpfx)bench-%.c): Pass only function name to the script.
31158 * benchtests/README: Update documentation.
31159 * benchtests/acos-inputs: Add new directives.
31160 * benchtests/acosh-inputs: Likewise.
31161 * benchtests/asin-inputs: Likewise.
31162 * benchtests/asinh-inputs: Likewise.
31163 * benchtests/atan-inputs: Likewise.
31164 * benchtests/atanh-inputs: Likewise.
31165 * benchtests/cos-inputs: Likewise.
31166 * benchtests/cosh-inputs: Likewise.
31167 * benchtests/exp-inputs: Likewise.
31168 * benchtests/log-inputs: Likewise.
31169 * benchtests/pow-inputs: Likewise.
31170 * benchtests/rint-inputs: Likewise.
31171 * benchtests/sin-inputs: Likewise.
31172 * benchtests/sinh-inputs: Likewise.
31173 * benchtests/tan-inputs: Likewise.
31174 * benchtests/tanh-inputs: Likewise.
31175 * scripts/bench.pl: Add support for new directives.
31176
31177 2013-10-07 Alan Modra <amodra@gmail.com>
31178
31179 * README: Fix careless merge.
31180
31181 2013-10-05 Alan Modra <amodra@gmail.com>
31182
31183 * NEWS: Mention powerpc64le support and bugs fixed.
31184 * README: Both big-endian and little-endian powerpc64 supported.
31185
31186 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31187
31188 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31189 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31190 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31191 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31192
31193 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31194
31195 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31196 match prototype.
31197
31198 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31199
31200 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31201 Move -mhard-float appending from
31202 ports/sysdeps/powerpc/powerpc32/Makefile.
31203 [$(with-fp) = yes] (ASFLAGS): Likewise.
31204 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31205 * sysdeps/powerpc/nofpu: Move directory from
31206 ports/sysdeps/powerpc/nofpu.
31207 * sysdeps/powerpc/soft-fp: Move directory from
31208 ports/sysdeps/powerpc/soft-fp.
31209 * sysdeps/powerpc/powerpc32/405: Move directory from
31210 ports/sysdeps/powerpc/powerpc32/405.
31211 * sysdeps/powerpc/powerpc32/440: Move directory from
31212 ports/sysdeps/powerpc/powerpc32/440.
31213 * sysdeps/powerpc/powerpc32/464: Move directory from
31214 ports/sysdeps/powerpc/powerpc32/464.
31215 * sysdeps/powerpc/powerpc32/476: Move directory from
31216 ports/sysdeps/powerpc/powerpc32/476.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31218 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31220 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31222 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31226 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31227 * README: Update for powerpc-*-linux-gnu software floating point
31228 support in libc.
31229
31230 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31231 case to powerpc/powerpc32*.
31232 * sysdeps/unix/sysv/linux/configure: Regenerated.
31233
31234 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31235 (_FPU_MASK_OM): Define as 0x04.
31236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31238 0x00c10080.
31239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31240 0x0000003c.
31241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31242
31243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31244 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31245 getcontext_e500.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31247 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31248 setcontext_e500.
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31251 and setcontext_e500.
31252
31253 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31254
31255 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31256
31257 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31258
31259 * manual/threads.texi (Default Thread Attributes): Fix typo.
31260
31261 2013-10-04 Will Newton <will.newton@linaro.org>
31262
31263 * malloc/Makefile: Add tst-memalign.
31264 * malloc/tst-memalign.c: New file.
31265
31266 * malloc/tst-posix_memalign.c: Add comments.
31267 (do_test): Add comments and call free on all potentially
31268 allocated pointers. Add space after cast.
31269
31270 * malloc/tst-pvalloc.c: Add comments.
31271 (do_test): Add comments and call free on all potentially
31272 allocated pointers. Remove duplicate check for NULL pointer.
31273 Add space after cast.
31274
31275 * malloc/tst-valloc.c: Add comments.
31276 (do_test): Add comments and call free on all potentially
31277 allocated pointers. Remove duplicate check for NULL pointer.
31278 Add space after cast.
31279
31280 2013-10-04 Alan Modra <amodra@gmail.com>
31281
31282 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31283 Use stdint types in rather than __attribute__((mode())).
31284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31285
31286 2013-10-04 Alan Modra <amodra@gmail.com>
31287
31288 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31289 Correct handling of unaligned relocs for little-endian.
31290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31291
31292 2013-10-04 Alan Modra <amodra@gmail.com>
31293
31294 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31295 * configure: Regenerate.
31296 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31297 * shlib-versions: Likewise.
31298
31299 2013-10-04 Alan Modra <amodra@gmail.com>
31300
31301 * string/tester.c (test_memrchr): Increment reported test cycle.
31302
31303 2013-10-04 Alan Modra <amodra@gmail.com>
31304
31305 * string/test-memcpy.c (do_one_test): When reporting errors, print
31306 string address and don't overrun end of string.
31307
31308 2013-10-04 Alan Modra <amodra@gmail.com>
31309
31310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31311 insrdi. Make better use of reg selection to speed exit slightly.
31312 Schedule entry path a little better. Remove useless "are we done"
31313 checks on entry to main loop. Handle wrapping around zero address.
31314 Correct main loop count. Handle single left-over word from main
31315 loop inline rather than by using loop_small. Remove extra word
31316 case in loop_small caused by wrong loop count. Add little-endian
31317 support.
31318 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31319 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31320 cache hint.
31321 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31322 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31323 support. Avoid rlwimi.
31324 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31325
31326 2013-10-04 Alan Modra <amodra@gmail.com>
31327
31328 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31329 insrdi. Formatting.
31330 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31331 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31332 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31333 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31334 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31335 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31336
31337 2013-10-04 Alan Modra <amodra@gmail.com>
31338
31339 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31340 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31342 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31343 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31344 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31345 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31346 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31347 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31348 use of regs. Use power7 mtocrf. Tidy function tails.
31349
31350 2013-10-04 Alan Modra <amodra@gmail.com>
31351
31352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31353 Formatting. Consistently use rXXX register defines or rN defines.
31354 Use early exit labels that avoid restoring unused non-volatile regs.
31355 Make cr field use more consistent with rWORDn compares. Rename
31356 regs used as shift registers for unaligned loop, using rN defines
31357 for short lifetime/multiple use regs.
31358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31360 addi 1,1,64 to pop stack frame. Simplify return value code.
31361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31362
31363 2013-10-04 Alan Modra <amodra@gmail.com>
31364
31365 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31366 support. Correct typos, formatting. Optimize tail. Use insrdi
31367 rather than rlwimi.
31368 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31369 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31370 little-endian support. Correct typos.
31371 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31372 rather than rlwimi.
31373 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31374 in loop and entry code to keep "and." results.
31375 (strchr): Add little-endian support. Comment. Move cntlzd
31376 earlier in tail.
31377 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31378
31379 2013-10-04 Alan Modra <amodra@gmail.com>
31380
31381 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31382 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31383 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31384 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31385
31386 2013-10-04 Alan Modra <amodra@gmail.com>
31387
31388 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31389 (rTMP): Define as r11.
31390 (strcmp): Add little-endian support. Optimise tail.
31391 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31392 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31393 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31394 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31396 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31398
31399 2013-10-04 Alan Modra <amodra@gmail.com>
31400
31401 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31402 little-endian support. Remove unnecessary "are we done" tests.
31403 Handle "s" wrapping around zero and extremely large "size".
31404 Correct main loop count. Handle single left-over word from main
31405 loop inline rather than by using small_loop. Correct comments.
31406 Delete "zero" tail, use "end_max" instead.
31407 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31408
31409 2013-10-04 Alan Modra <amodra@gmail.com>
31410
31411 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31412 support. Don't branch over align.
31413 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31414 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31415 support. Rearrange tmp reg use to suit. Comment.
31416 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31417
31418 2013-10-04 Alan Modra <amodra@gmail.com>
31419
31420 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31421
31422 2013-10-04 Alan Modra <amodra@gmail.com>
31423
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31425 conditional form of branch and link when obtaining pc.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31427
31428 2013-10-04 Alan Modra <amodra@gmail.com>
31429
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31431 HIWORD/LOWORD.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31434
31435 2013-10-04 Alan Modra <amodra@gmail.com>
31436
31437 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31438 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31439 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31440 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31441 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31442 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31443 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31444 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31445 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31446 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31447
31448 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31449 Alistair Popple <alistair@ozlabs.au.ibm.com>
31450 Alan Modra <amodra@gmail.com>
31451
31452 [BZ #15723]
31453 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31455 _dl_hwcap access for little-endian.
31456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31457 destroy vmx regs when saving unaligned.
31458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31460 destroy vmx regs when saving unaligned.
31461
31462 2013-10-04 Alan Modra <amodra@gmail.com>
31463
31464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31465 Don't use a union to pack hi/low value.
31466
31467 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31468
31469 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31470 for little-endian.
31471 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31472 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31473 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31474 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31475 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31476
31477 2013-10-04 Alan Modra <amodra@gmail.com>
31478
31479 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31480 constants to usual value for .cst8 section, and remove redundant
31481 high address load.
31482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31483 constant for 0x1p52. Load little-endian words of double from
31484 correct stack offsets.
31485
31486 2013-10-04 Alan Modra <amodra@gmail.com>
31487
31488 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31489 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31490 words of double from correct stack offsets.
31491 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31492 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31493 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31495 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31496 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31497 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31498 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31499 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31501 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31502 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31503 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31504 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31505 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31506 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31507 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31508
31509 2013-10-04 Alan Modra <amodra@gmail.com>
31510
31511 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31512 64-bit int/double union.
31513 (_FPU_SETCW): Likewise.
31514 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31515 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31516
31517 2013-10-04 Alan Modra <amodra@gmail.com>
31518
31519 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31520 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31521
31522 2013-10-04 Alan Modra <amodra@gmail.com>
31523
31524 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31525 use vector int constants.
31526 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31527
31528 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31529
31530 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31531 array with long long.
31532 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31533 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31534 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31535 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31536 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31537 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31538 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31539 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31540 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31541 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31542 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31543 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31544 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31545
31546 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31547
31548 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31549 (__signbit): Likewise. Correct for little-endian.
31550 (__signbitl): Call __signbit.
31551 (lrint): Correct for little-endian.
31552 (lrintf): Call lrint.
31553
31554 2013-10-04 Alan Modra <amodra@gmail.com>
31555
31556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31557 union 32-bit int array member with 64-bit int array.
31558 (t515, tm256): Double rather than long double.
31559 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31560
31561 2013-10-04 Alan Modra <amodra@gmail.com>
31562
31563 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31564 Delete.
31565 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31566 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31567 version of math_ldbl.h.
31568
31569 2013-10-04 Alan Modra <amodra@gmail.com>
31570
31571 [BZ #15734], [BZ #15735]
31572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31573 all uses of ieee875 long double macros and unions. Simplify test
31574 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31575 ldbl_extract_mantissa value for ix,iy exponents. Properly
31576 normalize after ldbl_extract_mantissa, and don't add hidden bit
31577 already handled. Don't treat low word of ieee854 mantissa like
31578 low word of IBM long double and mask off bit when testing for
31579 zero.
31580 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31581 all uses of ieee875 long double macros and unions. Simplify tests
31582 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31583 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31584 two1022, instead use their values. Recognise that tests for large
31585 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31586 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31587 Rewrite all uses of ieee875 long double macros and unions. Simplify
31588 test for 0.0L and nan. Correct negation.
31589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31590 ieee875 long double macros and unions. Correct output for large
31591 magnitude x. Correct absolute value calculation.
31592 (__erfcl): Likewise.
31593 * math/libm-test.inc: Add tests for errors discovered in IBM long
31594 double versions of fmodl, remainderl, erfl and erfcl.
31595
31596 2013-10-04 Alan Modra <amodra@gmail.com>
31597
31598 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31599 all uses of ieee854 long double macros and unions. Simplify tests
31600 for long doubles that are fully specified by the high double.
31601 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31602 Likewise.
31603 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31604 Remove dead code too.
31605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31606 (__ieee754_ynl): Likewise.
31607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31610 Remove dead code too.
31611 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31615 Simplify.
31616 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31617 Simplify.
31618 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31621 Comment on variable precision.
31622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31624 Likewise.
31625 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31629 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31630
31631 2013-10-04 Alan Modra <amodra@gmail.com>
31632
31633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31635 all uses of ieee854 long double macros and unions.
31636 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31638 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31640 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31641 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31642 Likewise.
31643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31644 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31645 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31646 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31649 Simplify sign and nan test too.
31650 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31651 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31652 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31653 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31654 Likewise.
31655 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31656 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31657 Likewise.
31658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31659 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31660 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31661 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31662 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31664
31665 2013-10-04 Alan Modra <amodra@gmail.com>
31666
31667 * stdio-common/printf_size.c (__printf_size): Don't use
31668 union ieee854_long_double in fpnum union.
31669 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31670 signbit macro to retrieve sign from long double.
31671 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31672 retrieve sign from long double.
31673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31674 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31675 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31676 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31677 * math/test-misc.c (main): Don't use union ieee854_long_double.
31678
31679 2013-10-04 Alan Modra <amodra@gmail.com>
31680
31681 [BZ #15680]
31682 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31683 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31684 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31685 calculation. Remove unnecessary test for denormal exponent.
31686 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31687 Correct handling of denormals. Avoid undefined shift behaviour.
31688 Correct normalisation of low mantissa when low double is denormal.
31689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31690 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31691 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31692 Correct normalisation of low mantissa. Test for overflow of high
31693 mantissa and normalise.
31694 (ldbl_nearbyint): Use more readable constant for two52.
31695 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31696 (__mpn_construct_long_double): Fix test for overflow of high
31697 mantissa and correct normalisation. Avoid undefined shift.
31698
31699 2013-10-04 Alan Modra <amodra@gmail.com>
31700
31701 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31702 (union ibm_extended_long_double): Define as an array of ieee754_double.
31703 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31704 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31705 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31706 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31711 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31712 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31713 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31714
31715 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31716
31717 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31718 page size instead of calling getpagesize.
31719
31720 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31721 (LOCFILE_ALIGN_MASK): Likewise.
31722 (LOCFILE_ALIGN_UP): Likewise.
31723 (LOCFILE_ALIGNED_P): Likewise.
31724 * locale/programs/ld-collate.c (collate_output): Use the new
31725 macros instead of __alignof__ (int32_t).
31726 * locale/weight.h (findidx): Likewise.
31727
31728 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31729
31730 [BZ #431]
31731 * manual/string.texi: Fix strncat and wcsncat.
31732
31733 2013-10-03 Brooks Moses <bmoses@google.com>
31734
31735 [BZ #15915]
31736 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31737 * Makerules: ...here, and adjust associated comments.
31738
31739 2013-10-02 Will Newton <will.newton@linaro.org>
31740
31741 * malloc/Makefile: Add tst-pvalloc.
31742 * malloc/tst-pvalloc.c: New file.
31743
31744 2013-10-02 Will Newton <will.newton@linaro.org>
31745
31746 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31747 improve test coverage.
31748
31749 2013-10-02 Will Newton <will.newton@linaro.org>
31750
31751 * malloc/Makefile: Add tst-posix_memalign.
31752 * malloc/tst-posix_memalign.c: New file.
31753
31754 2013-10-01 Eric Blake <eblake@redhat.com>
31755
31756 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31757 Use __THROWNL rather than __THROW on static functions.
31758
31759 2013-09-30 Petr Machata <pmachata@redhat.com>
31760
31761 * elf/elf.h (R_AARCH64_ABS16): New macro.
31762 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31763 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31764 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31765 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31766 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31767 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31768 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31769 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31770 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31771 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31772 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31773 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31774 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31775 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31776 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31777 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31778 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31779 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31780 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31781 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31782 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31783 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31784 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31785 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31786 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31787 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31788 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31789 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31790 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31791 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31792 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31793 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31794 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31795 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31796 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31797 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31798 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31799 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31800 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31801 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31802 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31803 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31804 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31805 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31806 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31807 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31808 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31809 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31810 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31811 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31812 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31813 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31814 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31815 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31816 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31817 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31818 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31819 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31820 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31821 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31822 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31823 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31824 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31825 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31826 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31827 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31828 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31829 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31830 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31831 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31832 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31833 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31834 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31835 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31836 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31837 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31838 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31839 (R_AARCH64_TLSDESC_LDR): Likewise.
31840 (R_AARCH64_TLSDESC_ADD): Likewise.
31841 (R_AARCH64_TLSDESC_CALL): Likewise.
31842
31843 2013-09-30 Andreas Schwab <schwab@suse.de>
31844
31845 [BZ #15048]
31846 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31847 the nss database lookup.
31848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31850
31851 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31852
31853 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31854
31855 2013-09-28 P. J. McDermott <pj@pehjota.net>
31856
31857 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31858 ${Bash-specific parameter/pattern/string} parameter expansion.
31859 * sysdeps/unix/make-syscalls.sh: Likewise.
31860
31861 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31862
31863 * sysdeps/sh/stackguard-macros.h: New file.
31864
31865 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31866
31867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31869 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31871 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31872 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31873
31874 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31875
31876 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31877 Fix thread ID register.
31878
31879 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31880
31881 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31882 [POSIX || UNIX98]: Require rather than permitting all symbols from
31883 <time.h>.
31884 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31885 element of struct sched_param.
31886 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31887 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31888 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31889 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31890 constant.
31891
31892 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31893
31894 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31895 argument calculation.
31896
31897 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31898
31899 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31900 Expect macro.
31901 [POSIX] (pthread_attr_t): Do not require type.
31902 [POSIX] (pthread_cond_t): Likewise.
31903 [POSIX] (pthread_condattr_t): Likewise.
31904 [POSIX] (pthread_key_t): Likewise.
31905 [POSIX] (pthread_mutex_t): Likewise.
31906 [POSIX] (pthread_mutexattr_t): Likewise.
31907 [POSIX] (pthread_once_t): Likewise.
31908 [POSIX] (pthread_t): Likewise.
31909 [POSIX-based standards] (pthread_atfork): Expect function.
31910
31911 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31912 Richard Sandiford <richard@codesourcery.com>
31913
31914 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31915 (swap_endianness_p): New extern variable.
31916 (set_big_endian): New inline function.
31917 (maybe_swap_uint32): Likewise.
31918 (maybe_swap_uint32_array): Likewise.
31919 (maybe_swap_uint32_obstack): Likewise.
31920 * locale/programs/locfile.c: Include <stdbool.h>.
31921 (swap_endianness_p): New variable.
31922 (add_locale_uint32): Call maybe_swap_uint32.
31923 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31924 (write_locale_data): Call maybe_swap_uint32_array.
31925 * locale/programs/ld-collate.c (obstack_int32_grow): Call
31926 maybe_swap_uint32.
31927 (obstack_int32_grow_fast): Likewise.
31928 (output_weightwc): Call maybe_swap_uint32_obstack.
31929 (collate_output): Likewise.
31930 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31931 (OPT_LITTLE_ENDIAN): Likewise.
31932 (options): Add --little-endian and --big-endian options.
31933 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31934 * locale/programs/locarchive.c: Include "locfile.h".
31935 (GET): New macro.
31936 (SET): Likewise.
31937 (INC): Likewise.
31938 (create_archive): Use the new macros to access fields of
31939 structures directly mapped from or written to locale archives.
31940 (oldlocrecentcmp): Likewise.
31941 (enlarge_archive): Likewise.
31942 (insert_name): Likewise.
31943 (add_alias): Likewise.
31944 (add_locale): Likewise.
31945 (delete_locales_from_archive): Likewise.
31946 (show_archive_content): Likewise.
31947 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
31948 locale data.
31949
31950 2013-09-24 Roland McGrath <roland@hack.frob.com>
31951
31952 * manual/freemanuals.texi: Updated from (newly) canonical copy at
31953 http://www.gnu.org/doc/freemanuals.texi.
31954 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31955
31956 2013-09-24 Will Newton <will.newton@linaro.org>
31957
31958 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31959 macro.
31960
31961 2013-09-23 Joseph Myers <joseph@codesourcery.com>
31962
31963 * locale/hashval.h (compute_hashval): Interpret bytes of key as
31964 unsigned char.
31965
31966 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
31967
31968 * manual/threads.texi (POSIX Threads): Fix a typo.
31969
31970 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31971
31972 [BZ #14547]
31973 * string/tst-strcoll-overflow.c: New test case.
31974 * string/Makefile (xtests): Add tst-strcoll-overflow.
31975 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31976 cache if string sizes may cause integer overflow.
31977
31978 [BZ #14547]
31979 * string/strcoll_l.c (coll_seq): New members rule, idx,
31980 save_idx and back_us.
31981 (get_next_seq_nocache): New function.
31982 (do_compare_nocache): New function.
31983 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31984 when malloc fails.
31985
31986 2013-09-23 Carlos O'Donell <carlos@redhat.com>
31987
31988 [BZ #15754]
31989 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31990 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31991 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31992
31993 [BZ #15754]
31994 * elf/Makefile (tests): Add tst-ptrguard1.
31995 (tests-static): Add tst-ptrguard1-static.
31996 (tst-ptrguard1-ARGS): Define.
31997 (tst-ptrguard1-static-ARGS): Define.
31998 * elf/tst-ptrguard1.c: New file.
31999 * elf/tst-ptrguard1-static.c: New file.
32000 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32001 * sysdeps/i386/stackguard-macros.h: Likewise.
32002 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32003 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32004 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32005 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32006 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32007 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32008
32009 2013-09-23 Hector Marco <hecmargi@upv.es>
32010 Ismael Ripoll <iripoll@disca.upv.es>
32011 Carlos O'Donell <carlos@redhat.com>
32012
32013 [BZ #15754]
32014 * sysdeps/generic/stackguard-macros.h: Define
32015 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32016 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32017 Define __pointer_chk_guard_local.
32018 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32019 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32020
32021 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32022
32023 [BZ #15859]
32024 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32025
32026 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32027
32028 * include/string.h (__ffs): Declare as hidden.
32029 * string/ffs.c (__ffs): Define as hidden.
32030 * sysdeps/i386/ffs.c (__ffs): Likewise.
32031 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32032 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32033 * sysdeps/s390/ffs.c (__ffs): Likewise.
32034 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32035
32036 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32037
32038 * NEWS: Mention malloc probes.
32039
32040 * malloc/arena.c (new_heap): New memory_heap_new probe.
32041 (grow_heap): New memory_heap_more probe.
32042 (shrink_heap): New memory_heap_less probe.
32043 (heap_trim): New memory_heap_free probe.
32044 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32045 (systrim): New memory_sbrk_less probe.
32046 * manual/probes.texi: Document them.
32047
32048 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32049 * manual/probes.texi: Document it.
32050
32051 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32052 (__libc_realloc): Add memory_realloc_retry probe.
32053 (__libc_memalign): Add memory_memalign_retry probe.
32054 (__libc_valloc): Add memory_valloc_retry probe.
32055 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32056 (__libc_calloc): Add memory_calloc_retry probe.
32057 * manual/probes.texi: Document them.
32058
32059 * malloc/arena.c (get_free_list): Add probe
32060 memory_arena_reuse_free_list.
32061 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32062 and memory_arena_reuse.
32063 (arena_get2) [!PER_THREAD]: Likewise.
32064 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32065 memory_arena_reuse_realloc.
32066 * manual/probes.texi: Document them.
32067
32068 * malloc/malloc.c (__libc_free): Add
32069 memory_mallopt_free_dyn_thresholds probe.
32070 (__libc_mallopt): Add multiple memory_mallopt probes.
32071 * manual/probes.texi: Document them.
32072
32073 * malloc/malloc.c: Include stap-probe.h.
32074 (__libc_mallopt): Add memory_mallopt probe.
32075 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32076 * manual/probes.texi: New.
32077 * manual/Makefile (chapters): Add probes.
32078 * manual/threads.texi: Set next node.
32079
32080 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32081
32082 [BZ #15963, #13985]
32083 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32084 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32085 Add `Chinese' to `nan' entry name.
32086
32087 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32088
32089 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32090 (POLYNOMIAL): Likewise.
32091 (TAYLOR_SINCOS): Likewise.
32092 (TAYLOR_SLOW): Likewise.
32093 (__sin): Use TAYLOR_SINCOS.
32094 (__cos): Likewise.
32095 (slow): Use TAYLOR_SLOW.
32096 (sloww): Likewise.
32097 (bsloww): Likewise.
32098 (csloww): Likewise.
32099
32100 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32101
32102 * stdlib/strtod_l.c: Fix buffer overrun.
32103
32104 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32105
32106 * benchtests/Makefile (bench): Add sincos.
32107 * benchtests/bench-sincos.c: New file.
32108
32109 * math/libm-test.inc (cos_test_data): New test inputs.
32110 (sin_test_data): Likewise.
32111
32112 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32113 macro.
32114 (__sin): Use it.
32115 (__cos): Likewise.
32116 (slow1): Likewise.
32117 (slow2): Likewise.
32118 (sloww1): Likewise.
32119 (sloww2): Likewise.
32120 (bsloww1): Likewise.
32121 (bsloww2): Likewise.
32122 (cslow2): Likewise.
32123 (csloww1): Likewise.
32124 (csloww2): Likewise.
32125
32126 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32127 function.
32128 (__sin): Use it.
32129 (__cos): Likewise.
32130
32131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32132 gotos.
32133 (__cos): Likewise.
32134
32135 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32136
32137 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32138 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32139 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32140 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32141 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32142 * elf/cache.c (print_entry): Handle the new cache flags.
32143
32144 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32145 Aldy Hernandez <aldyh@redhat.com>
32146
32147 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32148 Change condition to [_SOFT_FLOAT].
32149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32161 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32164 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32165 declaration.
32166
32167 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32168
32169 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32170 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32171 (__longjmp): Use LOAD_GP to load saved GPRs.
32172 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32173 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32174 (__sigsetjmp): Use SAVE_GP to save GPRs.
32175
32176 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32177 Do not append -msoft-float.
32178 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32179
32180 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32181
32182 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32183
32184 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32185
32186 [BZ #15966]
32187 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32188 (_FPU_GETCW): Use initial "__" on variable and field names but not
32189 on macro parameter name.
32190 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32191 parentheses around reference to macro parameter.
32192
32193 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32194
32195 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32196 prototype.
32197 (ctype_startup): Use uint32_t in cast and sizeof for
32198 ctype->charnames.
32199
32200 2013-09-11 Jia Liu <proljc@gmail.com>
32201
32202 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32203 __daddr_t_defined.
32204 [__FreeBSD__]: Likewise.
32205
32206 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32207
32208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32209 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32210 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32211 (strchr): Remove __strchr_sse42 ifunc selection.
32212 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32213 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32214
32215 2013-09-11 Will Newton <will.newton@linaro.org>
32216
32217 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32218 parameter to RES. Remove hardcoded 1000 value.
32219 * benchtests/bench-skeleton.c (main): Pass RES parameter
32220 to TIMING_INIT and multiply result by 1000.
32221
32222 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32223
32224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32225
32226 2013-09-11 Andreas Schwab <schwab@suse.de>
32227
32228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32229 if not defined.
32230 (O_TMPFILE) [__USE_GNU]: Define.
32231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32232 Define.
32233
32234 2013-09-11 Will Newton <will.newton@linaro.org>
32235
32236 [BZ #15857]
32237 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32238 does not overflow.
32239
32240 2013-09-11 Will Newton <will.newton@linaro.org>
32241
32242 [BZ #15856]
32243 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32244 does not overflow.
32245
32246 2013-09-11 Will Newton <will.newton@linaro.org>
32247
32248 [BZ #15855]
32249 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32250 does not overflow.
32251
32252 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32253
32254 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32255 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32259
32260 2013-09-10 Allan McRae <allan@archlinux.org>
32261
32262 [BZ #15748]
32263 * manual/arith.texi (Parsing of Floats): Clarify
32264 cross-reference.
32265
32266 [BZ #15849]
32267 * manual/install.texi (Running make install): Mention
32268 --enable-pt-chown.
32269 * INSTALL: Regenerated.
32270
32271 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32272
32273 * csu/init-first.c (_init): Remove the !SHARED condition around
32274 FPU control word initialization.
32275 * elf/dl-support.c (_dl_fpu_control): New variable.
32276 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32277 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32278 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32279 * math/test-fpucw-static.c: New file.
32280 * math/test-fpucw-ieee.c: New file.
32281 * math/test-fpucw-ieee-static.c: New file.
32282 * math/Makefile (tests): Add `test-fpucw-ieee' and
32283 `$(tests-static)'.
32284 (tests-static): New variable.
32285 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32286 dependency to...
32287 [($(build-shared),yes)]
32288 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32289 ... this.
32290 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32291 New dependency.
32292
32293 2013-09-09 Allan McRae <allan@archlinux.org>
32294
32295 [BZ #15939]
32296 * manual/string.texi (Collation Functions): Fix typo in
32297 strcoll example.
32298 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32299
32300 [BZ #15893]
32301 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32302
32303 [BZ #15892]
32304 * libio/memstream.c (open_memstream): Fix memory leak.
32305 * libio/wmemstream.c (open_wmemstream): Likewise.
32306
32307 [BZ #15895]
32308 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32309
32310 2013-09-09 Will Newton <will.newton@linaro.org>
32311
32312 * malloc/Makefile: Add tst-realloc to tests.
32313 * malloc/tst-realloc.c: New file.
32314
32315 2013-09-09 Allan McRae <allan@archlinux.org>
32316
32317 [BZ #15844]
32318 * COPYING: Update from GNU website to fix FSF address.
32319 * COPYING.LIB: Likewise.
32320
32321 2013-09-06 David S. Miller <davem@davemloft.net>
32322
32323 * po/zh_TW.po: Update Chinese (traditional) translation from
32324 translation project.
32325
32326 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32327 Joseph Myers <joseph@codesourcery.com>
32328
32329 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32330 "localeinfo.h".
32331 (obstack_chunk_alloc): New macro.
32332 (obstack_chunk_free): Likewise.
32333 (record_offset): New function.
32334 (init_locale_data): Likewise.
32335 (align_locale_data): Likewise.
32336 (add_locale_empty): Likewise.
32337 (add_locale_raw_data): Likewise.
32338 (add_locale_raw_obstack): Likewise.
32339 (add_locale_string): Likewise.
32340 (add_locale_wstring): Likewise.
32341 (add_locale_uint32): Likewise.
32342 (add_locale_uint32_array): Likewise.
32343 (add_locale_char): Likewise.
32344 (start_locale_structure): Likewise.
32345 (end_locale_structure): Likewise.
32346 (start_locale_prelude): Likewise.
32347 (end_locale_prelude): Likewise.
32348 (write_locale_data): Take locale_file structure rather than an
32349 iovec.
32350 * locale/programs/locfile.h: Include "obstack.h".
32351 (struct locale_file): Change to store locale file contents instead
32352 of header.
32353 (init_locale_data): New prototype.
32354 (align_locale_data): Likewise.
32355 (add_locale_empty): Likewise.
32356 (add_locale_raw_data): Likewise.
32357 (add_locale_raw_obstack): Likewise.
32358 (add_locale_string): Likewise.
32359 (add_locale_wstring): Likewise.
32360 (add_locale_uint32): Likewise.
32361 (add_locale_uint32_array): Likewise.
32362 (add_locale_char): Likewise.
32363 (start_locale_structure): Likewise.
32364 (end_locale_structure): Likewise.
32365 (start_locale_prelude): Likewise.
32366 (end_locale_prelude): Likewise.
32367 (write_locale_data): Update prototype.
32368 * locale/programs/3level.h (struct TABLE): Remove result field.
32369 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32370 Use new locale_file interface.
32371 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32372 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32373 * locale/programs/ld-address.c (address_output): Use new
32374 locale_file interface.
32375 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32376 NO_ADD_LOCALE.
32377 (collate_finish): Don't call collseq_table_finalize.
32378 (collate_output): Use new locale_file interface.
32379 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32380 in file.
32381 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32382 (TABLE): Move defines earlier in file.
32383 (ELEMENT): Likewise.
32384 (DEFAULT): Likewise.
32385 (wctrans_table_add): Move macro and inline function earlier in
32386 file.
32387 (struct wctype_table): Move type earlier in file.
32388 (add_locale_wctype_table): New static prototype.
32389 (struct locale_ctype_t): Use logical types instead of struct iovec
32390 pointers for members.
32391 (ctype_output): Use new locale_file interface.
32392 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32393 new locale_file interface.
32394 (allocate_arrays): Update for use of new locale_file interface.
32395 * locale/programs/ld-identification.c (identification_output): Use
32396 new locale_file interface.
32397 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32398 * locale/programs/ld-messages.c (messages_output): Likewise.
32399 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32400 * locale/programs/ld-name.c (name_output): Likewise.
32401 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32402 * locale/programs/ld-paper.c (paper_output): Likewise.
32403 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32404 * locale/programs/ld-time.c (time_output): Likewise.
32405
32406 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32407
32408 * benchtests/Makefile: Add memrchr benchmark.
32409 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32410 benchmark as memrchr.
32411 * benchtests/bench-memrchr-ifunc.c: New file.
32412 * benchtests/bench-memrchr.c: New file.
32413
32414 2013-09-06 Will Newton <will.newton@linaro.org>
32415
32416 * benchtests/Makefile (string-bench): Add memcpy.
32417
32418 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32419 Cong Wang <amwang@redhat.com>
32420
32421 [BZ #15850]
32422 * sysdeps/unix/sysv/linux/bits/in.h
32423 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32424 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32425 before __USE_KERNEL_IPV6_DEFS uses.
32426 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32427 IPPROTO_BEETPH.
32428 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32429 sockaddr_in6, or ipv6_mreq.
32430
32431 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32432
32433 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32434 memory access for final bytes in some large inputs.
32435 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32436
32437 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32438
32439 * string/test-memrchr.c: New file.
32440 * string/test-memrchr-ifunc.c: New file.
32441 * string/Makefile: Add new memrchr testcase.
32442
32443 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32444
32445 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32446 fanotify_init returns EPERM.
32447
32448 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32449
32450 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32451 errors.
32452 (top level): Treat second token from macro or constant entries for
32453 allowed headers as allowed.
32454 * include/complex.h: Condition internal declarations on
32455 [!_ISOMAC].
32456 * include/fenv.h: Condition include of <stdbool.h> and internal
32457 declarations on [!_ISOMAC].
32458
32459 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32460
32461 [BZ #15923]
32462 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32463
32464 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32465
32466 * configure.in (--enable-versioning): Remove configure option.
32467 (libc_cv_asm_symver_directive): Remove configure test.
32468 (libc_cv_ld_version_script_option): Likewise.
32469 (VERSIONING): Remove variable and AC_SUBST.
32470 (DO_VERSIONING): Remove AC_DEFINE.
32471 * configure: Regenerated.
32472 * config.h.in (DO_VERSIONING): Remove macro.
32473 * Makerules [$(versioning) = yes]: Change conditionals to
32474 [$(build-shared) = yes].
32475 * config.make.in (versioning): Remove variable.
32476 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32477 [$(build-shared) = yes].
32478 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32479 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32480 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32481 [$(build-shared) = yes].
32482 * extra-lib.mk [$(versioning) = yes]: Likewise.
32483 * hurd/Makefile [$(versioning) = yes]: Likewise.
32484 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32485 [SHARED].
32486 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32487 [SHARED].
32488 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32489 [SHARED && !NO_HIDDEN].
32490 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32491 [SHARED].
32492 [SHARED && DO_VERSIONING]: Likewise..
32493 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32494 [$(build-shared) = yes].
32495 * manual/install.texi (--disable-versioning): Remove
32496 documentation.
32497 * INSTALL: Regenerated.
32498 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32499 to [SHARED].
32500 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32501 [$(build-shared) = yes].
32502 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32503 * sysdeps/i386/i686/multiarch/strstr-c.c
32504 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32505 [SHARED && !NO_HIDDEN].
32506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32507 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32508 * sysdeps/powerpc/powerpc32/dl-machine.c
32509 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32510 * sysdeps/powerpc/powerpc32/sysdep.h
32511 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32512 to [SHARED && PIC && !NO_HIDDEN].
32513 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32514 conditional to [SHARED].
32515
32516 2013-09-04 Will Newton <will.newton@linaro.org>
32517
32518 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32519 * benchtests/bench-string.h: Include bench-timing.h instead
32520 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32521 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32522 call to HP_TIMING_DIFF_INIT.
32523 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32524 instead of hp-timing.h macros.
32525 * benchtests/bench-memchr.c: Likewise.
32526 * benchtests/bench-memcmp.c: Likewise.
32527 * benchtests/bench-memcpy.c: Likewise.
32528 * benchtests/bench-memmem.c: Likewise.
32529 * benchtests/bench-memmove.c: Likewise.
32530 * benchtests/bench-memset.c: Likewise.
32531 * benchtests/bench-rawmemchr.c: Likewise.
32532 * benchtests/bench-strcasecmp.c: Likewise.
32533 * benchtests/bench-strcasestr.c: Likewise.
32534 * benchtests/bench-strcat.c: Likewise.
32535 * benchtests/bench-strchr.c: Likewise.
32536 * benchtests/bench-strcmp.c: Likewise.
32537 * benchtests/bench-strcpy.c: Likewise.
32538 * benchtests/bench-strcpy_chk.c: Likewise.
32539 * benchtests/bench-strlen.c: Likewise.
32540 * benchtests/bench-strncasecmp.c: Likewise.
32541 * benchtests/bench-strncat.c: Likewise.
32542 * benchtests/bench-strncmp.c: Likewise.
32543 * benchtests/bench-strncpy.c: Likewise.
32544 * benchtests/bench-strnlen.c: Likewise.
32545 * benchtests/bench-strpbrk.c: Likewise.
32546 * benchtests/bench-strrchr.c: Likewise.
32547 * benchtests/bench-strspn.c: Likewise.
32548 * benchtests/bench-strstr.c: Likewise.
32549
32550 2013-09-04 Will Newton <will.newton@linaro.org>
32551
32552 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32553
32554 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32555
32556 [BZ #15427]
32557 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32558 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32559 * math/libm-test.inc (lgamma_test_data): Add more tests.
32560 * sysdeps/i386/fpu/libm-test-ulps: Update.
32561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32562
32563 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32564
32565 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32567 Add ifunc.
32568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32569 Add strcmp-sse2-unaligned
32570 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32571
32572 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32573
32574 * Versions.def (libc): Add GLIBC_2.19.
32575
32576 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32577
32578 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32579 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32580
32581 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32582
32583 [BZ #14155]
32584 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32585 intermediate calculations in recurrence.
32586 (__ieee754_ynf): Likewise.
32587 * math/libm-test.inc (jn_test_data): Do not allow spurious
32588 underflow exception. Add more tests.
32589 (yn_test_data): Add more tests.
32590 * sysdeps/i386/fpu/libm-test-ulps: Update.
32591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32592
32593 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32594
32595 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32596
32597 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32598
32599 * csu/init-first.c: Fix then/than typos.
32600 * locale/programs/ld-collate.c: Likewise.
32601 * locale/programs/linereader.h: Likewise.
32602 * manual/charset.texi: Likewise.
32603 * manual/filesys.texi: Likewise.
32604 * manual/stdio.texi: Likewise.
32605 * manual/string.texi: Likewise.
32606 * stdlib/fmtmsg.c: Likewise.
32607 * sysdeps/i386/stpncpy.S: Likewise.
32608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32609 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32611 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32612
32613 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32614
32615 * elf/dl-open.c: Fix typos.
32616 * iconvdata/gbbig5.c: Likewise.
32617 * iconvdata/iso-2022-jp.c: Likewise.
32618 * iconv/gconv_int.h: Likewise.
32619 * iconv/loop.c: Likewise.
32620 * nis/rpcsvc/nis.h: Likewise.
32621 * resolv/ns_name.c: Likewise.
32622 * stdio-common/vfscanf.c: Likewise.
32623 * streams/stropts.h: Likewise.
32624 * sunrpc/rpc_thread.c: Likewise.
32625 * sysdeps/i386/strpbrk.S: Likewise.
32626 * sysdeps/ieee754/k_standard.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32629 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32630 * sysdeps/mach/hurd/profil.c: Likewise.
32631 * sysdeps/s390/dl-procinfo.h: Likewise.
32632 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32634 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32635 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32637
32638 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32639
32640 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32642
32643 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32644
32645 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32646 aix specific files.
32647 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32648 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32649 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32650 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32651 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32652 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32653 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32654 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32655
32656 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32657 Roland McGrath <roland@hack.frob.com>
32658
32659 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32660 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32661
32662 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32663
32664 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32665 __executable_start symbol instead of _start.
32666
32667 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32668
32669 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32670 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32671 Move macros to...
32672 * sysdeps/gnu/ldsodefs.h: ... this new file.
32673
32674 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32675 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32676 instead of ELFOSABI_LINUX.
32677
32678 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32679 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32680 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32681 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32682 Likewise.
32683 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32684 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32685 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32686 Likewise.
32687 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32688 (ibm_extended_long_double): Add ieee_nan member.
32689 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32690 (do_test): New function.
32691
32692 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32693 TEST_TRUNC.
32694 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32695 functions, renamed from truncdfsf_test, trunctfsf_test,
32696 trunctfdf_test.
32697 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32698 functions.
32699 (do_test): Run all these.
32700
32701 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32702
32703 * argp/argp-help.c: Fix typos.
32704 * argp/argp-parse.c: Likewise.
32705 * debug/backtracesyms.c: Likewise.
32706 * elf/elf.h: Likewise.
32707 * malloc/malloc.c: Likewise.
32708 * nis/nis_print.c: Likewise.
32709 * resolv/res_comp.c: Likewise.
32710 * stdlib/stdlib.h: Likewise.
32711 * sunrpc/clnt_tcp.c: Likewise.
32712 * sunrpc/clnt_udp.c: Likewise.
32713 * sunrpc/clnt_unix.c: Likewise.
32714 * sysdeps/unix/bsd/ptsname.c: Likewise.
32715 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32716 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32718 Likewise.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32720 Likewise.
32721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32722 Likewise.
32723 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32724
32725 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32726
32727 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32729
32730 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32731
32732 [BZ #15897]
32733 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32734 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32735 ($(objpfx)bug-dl-leaf): New rule.
32736 ($(objpfx)bug-dl-leaf.so): Likewise.
32737 ($(objpfx)bug-dl-leaf.out): Likewise.
32738 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32739 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32740 * dlfcn/bug-dl-leaf.c: New test.
32741 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32742 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32743 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32744 (dlclose): Likewise.
32745 (dlmopen): Likewise.
32746
32747 2013-08-27 Roland McGrath <roland@hack.frob.com>
32748
32749 * include/netdb.h [!_ISOMAC]:
32750 Don't include <tls.h>.
32751 (h_errno, __libc_h_errno): Move declaration and macros out of
32752 [_LIBC_REENTRANT].
32753
32754 * include/resolv.h [_RESOLV_H_]:
32755 Don't include <tls.h>.
32756 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32757 * resolv/res_libc.c: Don't include <tls.h>.
32758 (_res): Use __attribute__ ((nocommon)) in place of
32759 __attribute__ ((section (".bss"))).
32760
32761 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32762 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32763
32764 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32765
32766 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32767 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32768
32769 * resolv/res_mkquery.c: Include <sys/time.h>.
32770
32771 * inet/ifreq.c: Moved to ...
32772 * sysdeps/unix/ifreq.c: ... here.
32773 * inet/ifreq.c: New file, true stub version.
32774
32775 * socket/sa_len.c: New file.
32776 * socket/Makefile (aux): Add it.
32777 * sysdeps/unix/sysv/linux/Makefile
32778 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32779 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32780 and #include <socket/sa_len.c>.
32781 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32782 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32783
32784 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32785 * bits/socket.h: ... here.
32786
32787 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32788 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32789 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32790
32791 2013-08-27 Andreas Schwab <schwab@suse.de>
32792
32793 [BZ #15736]
32794 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32795 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32796 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32797 * string/test-strcasecmp.c (test_main): Run tests in several
32798 locales.
32799 * string/test-strncasecmp.c (test_main): Likewise.
32800
32801 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32802 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32803 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32805 (__strncasecmp_ssse3) [PIC]: Likewise.
32806
32807 2013-08-26 Roland McGrath <roland@hack.frob.com>
32808
32809 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32810
32811 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32812 instead of explicitly declaring xdecrypt.
32813 * nis/nss_nis/nis-publickey.c: Likewise.
32814
32815 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32816
32817 [BZ #15890]
32818 * nscd/aicache.c: Include res_hconf.h.
32819 (addhstaiX): Initialize res_hconf.
32820
32821 2013-08-26 Andreas Schwab <schwab@suse.de>
32822
32823 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32824 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32825
32826 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32827
32828 * nscd/aicache.c (addhstaiX): Fix indentation.
32829
32830 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32831
32832 * configure.ac: Quote $build_pt_chown test.
32833 * configure: Regenerated.
32834
32835 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32836
32837 [BZ #15532]
32838 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32839 * math/s_cexpf.c (__cexpf): Likewise.
32840 * math/s_cexpl.c (__cexpl): Likewise.
32841 * math/libm-test.inc (cexp_test_data): Correct expected return
32842 value for NaN + i0. Add another test.
32843
32844 2013-08-22 David S. Miller <davem@davemloft.net>
32845
32846 * po/ca.po: Update Catalan translation from translation project.
32847 * po/uk.po: Add Ukrainian translations from translation project.
32848
32849 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32850
32851 [BZ #15797]
32852 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32853 is infinite, not alongside NaN test.
32854 * math/s_fdimf.c (__fdimf): Likewise.
32855 * math/s_fdiml.c (__fdiml): Likewise.
32856 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32857 errno is unchanged.
32858
32859 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32860
32861 * argp/argp-help.c: Fix typos.
32862 * crypt/speeds.c: Likewise.
32863 * csu/check_fds.c: Likewise.
32864 * elf/dl-load.c: Likewise.
32865 * elf/dl-open.c: Likewise.
32866 * elf/reldep3.c: Likewise.
32867 * elf/reldep.c: Likewise.
32868 * elf/sprof.c: Likewise.
32869 * iconv/iconv_charmap.c: Likewise.
32870 * iconv/skeleton.c: Likewise.
32871 * iconv/strtab.c: Likewise.
32872 * io/lockf64.c: Likewise.
32873 * libio/libioP.h: Likewise.
32874 * resolv/gai_notify.c: Likewise.
32875 * resolv/ns_name.c: Likewise.
32876 * resolv/ns_samedomain.c: Likewise.
32877 * resolv/res_send.c: Likewise.
32878 * stdlib/random.c: Likewise.
32879 * sunrpc/rpc/xdr.h: Likewise.
32880 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32881 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32882 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32883 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32884 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32888 * sysdeps/mach/hurd/check_fds.c: Likewise.
32889 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32890 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32891 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32892 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32893 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32894 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32895 * sysdeps/pthread/aio_notify.c: Likewise.
32896 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32897 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32899 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32900 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32901
32902 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32903
32904 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32905 version if bit_Slow_SSE4_2 is set.
32906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32908
32909 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32910
32911 [BZ #15867]
32912 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32913 trampoline stack frame information.
32914 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32916 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32917 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32918 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32919 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32920 (_libc_vdso_platform_setup): Initialize the signal trampolines.
32921 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32922 sa_flags value.
32923 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32924 interrupting a syscall and set with option SA_SIGINFO.
32925
32926 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32927
32928 [BZ #15531]
32929 * math/s_cproj.c (__cproj): Only return an infinity if one part of
32930 argument is infinite.
32931 * math/s_cprojf.c (__cprojf): Likewise.
32932 * math/s_cprojl.c (__cprojl): Likewise.
32933 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32934 * math/libm-test.inc (cproj_test_data): Add more tests.
32935
32936 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32937
32938 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32939 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32940 size. Use __ffs to determine corresponding shift.
32941
32942 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32943 Roland McGrath <roland@hack.frob.com>
32944
32945 * Makefile (INSTALL): Remove trailing blank lines from output of
32946 makeinfo.
32947
32948 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32949
32950 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32951 Align 32 bit compat elf_greg to 8 bytes.
32952
32953 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
32954
32955 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32956
32957 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32958
32959 * string/strcoll_l.c (coll_seq): New structure.
32960 (get_next_seq_cached): New function.
32961 (get_next_seq): New function.
32962 (do_compare): New function.
32963 (STRCOLL): Use GNU style definition. Simplify implementation
32964 by using get_next_seq, get_next_seq_cached and do_compare.
32965
32966 2013-08-16 Florian Weimer <fweimer@redhat.com>
32967
32968 [BZ #14699]
32969 CVE-2013-4237
32970 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32971 member.
32972 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32973 member.
32974 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32975 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32976 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
32977 conditional.
32978 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32979 GETDENTS_64BIT_ALIGNED.
32980 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32981 * manual/filesys.texi (Reading/Closing Directory): Document
32982 ENAMETOOLONG return value of readdir_r. Recommend readdir more
32983 strongly.
32984 * manual/conf.texi (Limits for Files): Add portability note to
32985 NAME_MAX, PATH_MAX.
32986 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32987
32988 2013-08-13 Andreas Schwab <schwab@suse.de>
32989
32990 [BZ #15749]
32991 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32992 of fabs.
32993 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32994 LDBL_MAX_EXP >= 16384]: Add tests for it.
32995
32996 2013-08-12 David S. Miller <davem@davemloft.net>
32997
32998 * version.h (RELEASE): Set to "development".
32999 (VERSION): Set to "2.18.90".
33000 * NEWS: Add 2.19 section.
33001
33002 2013-08-03 David S. Miller <davem@davemloft.net>
33003
33004 * po/ko.po: Update Korean translation from translation project.
33005
33006 2013-08-01 David S. Miller <davem@davemloft.net>
33007
33008 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33009 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33010 Bilka.
33011
33012 2013-07-30 David S. Miller <davem@davemloft.net>
33013
33014 * po/fr.po: Update French translation from translation project.
33015
33016 2013-07-28 David S. Miller <davem@davemloft.net>
33017
33018 * po/cs.po: Update Czech translation from translation project.
33019
33020 * po/sv.po: Update Swedish translation from translation project.
33021
33022 2013-07-27 David S. Miller <davem@davemloft.net>
33023
33024 * po/eo.po: Update Esperanto translation from translation project.
33025
33026 * po/vi.po: Update Vietnamese translation from translation project.
33027
33028 * po/de.po: Update German translation from translation project.
33029
33030 2013-07-26 David S. Miller <davem@davemloft.net>
33031
33032 * po/bg.po: Update Bulgarian translation from translation project.
33033
33034 * po/nl.po: Update Dutch translation from translation project.
33035 * po/pl.po: Update Polish translation from translation project.
33036 * po/ru.po: Update Russian translation from translation project.
33037
33038 2013-07-24 David S. Miller <davem@davemloft.net>
33039
33040 * po/libc.pot: Update.
33041
33042 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33043
33044 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33045 variable page size.
33046 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33047 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33048 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33049
33050 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33051
33052 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33053
33054 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33055 Andreas Schwab <schwab@suse.de>
33056 Roland McGrath <roland@hack.frob.com>
33057 Joseph Myers <joseph@codesourcery.com>
33058 Carlos O'Donell <carlos@redhat.com>
33059
33060 [BZ #15755]
33061 * config.h.in: Define HAVE_PT_CHOWN.
33062 * config.make.in (build-pt-chown): New variable.
33063 * configure.in (--enable-pt_chown): New configure option.
33064 * configure: Regenerate.
33065 * login/Makefile: Include Makeconfig. Build pt_chown only if
33066 build-pt-chown is enabled.
33067 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33068 pt_chown to fix pty ownership.
33069 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33070 CLOSE_ALL_FDS.
33071 * manual/install.texi (Configuring and compiling): Mention
33072 --enable-pt_chown. Add @findex for grantpt.
33073 * INSTALL: Regenerate.
33074
33075 2013-07-20 David S. Miller <davem@davemloft.net>
33076
33077 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33078 difference between 32-bit and 64-bit.
33079
33080 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33081
33082 [BZ #15711]
33083 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33084 Avoid system header dependency with -ffreestanding.
33085 ($(objpfx)bits/syscall%d): Likewise.
33086
33087 2013-07-13 David S. Miller <davem@davemloft.net>
33088
33089 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33090 underflows from atanl/atan2l due to bug 15319.
33091 (casinh_test_data): Likewise.
33092
33093 2013-07-07 David S. Miller <davem@davemloft.net>
33094
33095 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33096
33097 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33098
33099 * sysdeps/i386/fpu/libm-test-ulps: Update.
33100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101
33102 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33103
33104 * configure.in (--enable-lock-elision): Fix message text.
33105 * INSTALL: Regenerate.
33106 * configure: Regenerate.
33107
33108 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33109
33110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33111
33112 2013-07-03 Andreas Jaeger <aj@suse.de>
33113
33114 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33115 define.
33116 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33117 (ptrace_peeksiginfo_args): Add.
33118 (__ptrace_peeksiginfo_flags): Add.
33119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33122
33123 2013-07-03 Allan McRae <allan@archlinux.org>
33124
33125 * sysdeps/i386/fpu/libm-test-ulps: Update.
33126
33127 2013-07-02 David S. Miller <davem@davemloft.net>
33128
33129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33130
33131 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33132
33133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33134
33135 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33136
33137 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33139
33140 2013-07-02 Andi Kleen <ak@linux.intel.com>
33141
33142 * config.h.in (ENABLE_LOCK_ELISION): Add.
33143 * configure.in (--enable-lock-elision): Add option.
33144 * manual/install.texi: Document --enable lock elision.
33145 * configure: Regenerate
33146 * INSTALL: Regenerate.
33147
33148 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33151 SSE4.2 strcasecmp for libc.a.
33152 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33153
33154 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33155
33156 [BZ #13304]
33157 * soft-fp/op-common.h (_FP_FMA): New macro.
33158 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33159 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33160 (_FP_MUL_MEAT_1_imm): ... here.
33161 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33162 (_FP_MUL_MEAT_1_wide): ... here.
33163 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33164 (_FP_MUL_MEAT_1_hard): ... here.
33165 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33166 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33167 (_FP_MUL_MEAT_2_wide): ... here.
33168 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33169 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33170 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33171 (_FP_MUL_MEAT_2_gmp): ... here.
33172 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33173 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33174 (_FP_MUL_MEAT_4_wide): ... here.
33175 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33176 (_FP_MUL_MEAT_4_gmp): ... here.
33177 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33178 (_FP_WFRACBITS_DW_S): Likewise.
33179 (_FP_WFRACXBITS_DW_S): Likewise.
33180 (_FP_HIGHBIT_DW_S): Likewise.
33181 (FP_FMA_S): Likewise.
33182 (_FP_FRAC_HIGH_DW_S): Likewise.
33183 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33184 (_FP_WFRACBITS_DW_D): Likewise.
33185 (_FP_WFRACXBITS_DW_D): Likewise.
33186 (_FP_HIGHBIT_DW_D): Likewise.
33187 (FP_FMA_D): Likewise.
33188 (_FP_FRAC_HIGH_DW_D): Likewise.
33189 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33190 (_FP_WFRACBITS_DW_E): Likewise.
33191 (_FP_WFRACXBITS_DW_E): Likewise.
33192 (_FP_HIGHBIT_DW_E): Likewise.
33193 (FP_FMA_E): Likewise.
33194 (_FP_FRAC_HIGH_DW_E): Likewise.
33195 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33196 (_FP_WFRACBITS_DW_Q): Likewise.
33197 (_FP_WFRACXBITS_DW_Q): Likewise.
33198 (_FP_HIGHBIT_DW_Q): Likewise.
33199 (FP_FMA_Q): Likewise.
33200 (_FP_FRAC_HIGH_DW_Q): Likewise.
33201 * soft-fp/fmasf4.c: New file.
33202 * soft-fp/fmadf4.c: Likewise.
33203 * soft-fp/fmatf4.c: Likewise.
33204
33205 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33206
33207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33208 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33209 Silvermont.
33210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33211 macro.
33212 (index_Slow_SSE4_2): Likewise.
33213 (index_Prefer_PMINUB_for_stringop): Likewise.
33214 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33215 bit_Slow_SSE4_2 is set.
33216 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33217 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33218
33219 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33220
33221 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33222 rtld_global._dl_hwcap2.
33223 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33224 POWER8.
33225 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33226 POWER8 feature descriptions defined in _dl_hwcap2.
33227 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33228 string handling for POWER8 feature bits.
33229 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33230 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33231 _dl_powerpc_cap_flags.
33232 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33233 * sysdeps/powerpc/rtld-global-offsets.sym
33234 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33235 _dl_hwcap2 in the rtld_global_ro structure.
33236
33237 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33238
33239 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33240 hardware capabilities in support of AT_HWCAP2.
33241 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33242 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33243 GLRO(dl_hwcap2).
33244 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33245 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33246 explicitly the unknown a_type display mechanism is used.
33247 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33248 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33249 struct member.
33250 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33251 to macro prototype for AT_HWCAP2 support.
33252 * sysdeps/i386/dl-procinfo.h: Likewise.
33253 * sysdeps/s390/dl-procinfo.h: Likewise.
33254 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33255 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33256 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33257 return -1 for unknown a_type display fallback.
33258 * sysdeps/sparc/dl-procinfo.h: Likewise.
33259 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33260 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33261
33262 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33263
33264 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33265 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33266
33267 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33268
33269 [BZ #12492]
33270 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33271 mprotect making __stack_prot writable.
33272
33273 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33274 Joseph Myers <joseph@codesourcery.com>
33275
33276 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33277 as being properly aligned.
33278
33279 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33280
33281 * dlfcn/modstatic5.c: New file.
33282 * dlfcn/tststatic5.c: New file.
33283 * dlfcn/Makefile (tests): Add tststatic5.
33284 (tests-static): Likewise.
33285 (modules-names): Add modstatic5.
33286 (tststatic5-ENV): New variable.
33287 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33288
33289 [BZ #15022]
33290 * elf/dl-support.c (_dl_main_map): New variable.
33291 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33292 (_dl_nns, _dl_load_adds): Set to 1.
33293 (_dl_initial_searchlist): Refer to _dl_main_map.
33294 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33295 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33296 call to _dl_get_origin.
33297 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33298 around call_map.
33299 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33300 * dlfcn/modstatic3.c: New file.
33301 * dlfcn/tststatic3.c: New file.
33302 * dlfcn/tststatic4.c: New file.
33303 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33304 (tests-static): Likewise.
33305 (modules-names): Add modstatic3.
33306 (tststatic3-ENV, tststatic4-ENV): New variables.
33307 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33308 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33309
33310 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33311
33312 * configure.in (CC): Require GCC version 4.4 or later.
33313 * configure: Regenerated.
33314 * manual/install.texi (Tools for Compilation): Update GCC version
33315 requirement.
33316 * INSTALL: Regenerated.
33317
33318 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33319
33320 [BZ #15674]
33321 * string/test-memcmp.c (check2): New.
33322 (main): Call check2.
33323
33324 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33325
33326 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33327
33328 [BZ #15022]
33329 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33330 over to...
33331 (dl_open_worker) [!SHARED]: ... here.
33332
33333 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33334
33335 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33336
33337 2013-06-25 Richard Henderson <rth@redhat.com>
33338
33339 * locale/programs/locarchive.c: Include <libc-internal.h>
33340
33341 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33342
33343 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33344 trailing whitespace removed.
33345
33346 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33347
33348 [BZ #10283]
33349 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33350 * locale/programs/locarchive.c: Include libc-mmap.h.
33351 (prepare_address_space): Take two new outputs (the mmap base and len).
33352 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33353 values.
33354 (create_archive): Declare new mmap base and len values for
33355 prepare_address_space, and store the result in ah.
33356 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33357 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33358 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33359 Declare new mmap base and len values for
33360 prepare_address_space, and store the result in new_ah.
33361 (open_archive): Declare new mmap base and len values for
33362 prepare_address_space, and store the result in ah.
33363 (close_archive): If ah->mmap_base is not NULL, use that and
33364 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33365 * sysdeps/generic/libc-mmap.h: New file.
33366
33367 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33368
33369 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33370 (ALIGN_UP): Likewise.
33371 (PTR_ALIGN_DOWN): Likewise.
33372 (PTR_ALIGN_UP): Likewise.
33373
33374 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33375
33376 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33377 entry mapped to PPC_PLATFORM_POWER8.
33378 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33379 POWER8.
33380 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33381 (_dl_string_platform): Add case for exporting platform position for
33382 POWER8.
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33384 search path to sysdeps/powerpc/powerpc32/power8 directory.
33385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33386 search path to sysdeps/powerpc/powerpc64/power8 directory.
33387 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33388 power7 directories.
33389 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33390 power7 directories.
33391
33392 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33393
33394 * INSTALL: Regenerate.
33395
33396 * nscd/connections.c (nscd_init): Fix comment.
33397
33398 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33399
33400 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33401
33402 [BZ #15667]
33403 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33404 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33405
33406 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33407
33408 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33409 DL_DST_REQ_STATIC.
33410 (DL_DST_REQ_STATIC): Remove macro.
33411
33412 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33413
33414 [BZ #7006]
33415 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33416 with a shift of 0 bits.
33417
33418 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33419
33420 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33421 $(tststatic-ENV).
33422
33423 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33424
33425 [BZ #15655]
33426 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33427
33428 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33429
33430 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33431 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33432 accepts -fno-tree-loop-distribute-patterns.
33433 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33434 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33435 recursive call.
33436 * string/memset.c (memset): Likewise.
33437 * string/test-memmove.c (simple_memmove): Disable loop transformation
33438 to library calls.
33439 * string/test-memset.c (simple_memset): Likewise.
33440 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33441 * benchtests/bench-memset.c (simple_memset): Likewise.
33442 * configure: Regenerated.
33443
33444 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33445
33446 * math/test-misc.c (main): Ignore fesetround failure when failures
33447 of subsequent rounding tests would be ignored.
33448
33449 [BZ #15654]
33450 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33451 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33452 * math/fegetenv.c (__fegetenv): Return 0.
33453 * math/fegetexcept.c (fegetexcept): Return 0.
33454 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33455 FE_TONEAREST.
33456 * math/feholdexcpt.c (feholdexcept): Return 0.
33457 * math/fesetenv.c (__fesetenv): Return 0.
33458 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33459 argument FE_TONEAREST.
33460 * math/feupdateenv.c (__feupdateenv): Return 0.
33461 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33462
33463 2013-06-18 Roland McGrath <roland@hack.frob.com>
33464
33465 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33466 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33467 ($(objpfx)rtld-%.os rules): Use them.
33468
33469 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33470
33471 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33472 fields.
33473
33474 2013-06-17 Roland McGrath <roland@hack.frob.com>
33475
33476 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33477 length of target pattern, then descending length of dependency pattern.
33478 * configure.in (AWK): Require gawk 3.1.2 or newer.
33479 * manual/install.texi (Tools for Compilation): Say that we do.
33480 * configure: Regenerated.
33481
33482 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33483 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33484 * scripts/sysd-rules.awk: ... this new script.
33485 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33486 than a glob-style pattern.
33487
33488 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33489
33490 * math/test-misc.c (main): Do not treat incorrectly rounded
33491 conversions as failure unless ROUNDING_TESTS passes.
33492
33493 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33494
33495 [BZ #15631]
33496 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33497 restore exception state around main square root computation, then
33498 check for inexactness explicitly.
33499
33500 * math/libm-test.inc (fma_test_data): Add another test.
33501
33502 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33503
33504 * manual/threads.texi (Non-POSIX Extensions): New document
33505 node. Document pthread_getattr_default_np and
33506 pthread_setattr_default_np.
33507
33508 * Versions.def (libpthread): Add GLIBC_2.18.
33509 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33511 Likewise.
33512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33513 Likewise.
33514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33515 Likewise.
33516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33517 Likewise.
33518 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33519 Likewise.
33520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33521 Likewise.
33522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33523 Likewise.
33524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33525 Likewise.
33526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33527 Likewise.
33528
33529 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33530
33531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33532 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33533
33534 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33535 H.J. Lu <hjl.tools@gmail.com>
33536
33537 [BZ #15627]
33538 * sysdeps/x86_64/rtld-memset.c: Remove file.
33539 * sysdeps/x86_64/rtld-memset.S: New file.
33540
33541 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33542
33543 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33544 (test_in_one_mode): Take arguments for whether the rounding mode
33545 is supported for each floating-point type.
33546 (do_test): Pass new arguments to test_in_one_mode using
33547 ROUNDING_TESTS.
33548
33549 2013-06-13 Roland McGrath <roland@hack.frob.com>
33550
33551 * posix/tst-waitid.c (do_test): Distinguish different instances of
33552 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33553 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33554 before entering the kernel for waitpid.
33555
33556 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33557
33558 * NEWS: Fix note on clock function precision. Text by Roland
33559 McGrath.
33560
33561 2013-06-13 Roland McGrath <roland@hack.frob.com>
33562
33563 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33564 it into place only when and if the sanity check passes.
33565
33566 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33567
33568 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33569 output for whether conversion result is exact. Take argument
33570 indicating whether type is IBM long double.
33571 (round_for_all): Change need_exact field to ibm_ld.
33572 * stdlib/tst-strtod-round.c (struct exactness): New type.
33573 (struct test): Change bool ld_ok field to struct exactness exact.
33574 (TEST): Update all definitions for change to field.
33575 (tests): Regenerate array contents.
33576 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33577 field value. Check for IBM long double here.
33578 (do_test): Update calls to test_in_one_mode.
33579
33580 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33581
33582 [BZ #12515]
33583 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33584 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33585
33586 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33587
33588 [BZ #15605]
33589 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33590 generated by the compiler on loop optimizations.
33591 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33592 general definitions.
33593
33594 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33595
33596 * math/bug-nextafter.c: Include <math-tests.h>.
33597 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33598 the relevant type.
33599 * math/bug-nexttoward.c: Include <math-tests.h>.
33600 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33601 the relevant type.
33602 * math/test-misc.c: Include <math-tests.h>.
33603 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33604 the relevant type.
33605
33606 2013-06-12 Andreas Jaeger <aj@suse.de>
33607
33608 * po/ia.po: Update Interlingua translation from translation
33609 project.
33610
33611 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33612
33613 * include/fenv.h: Include stdbool.h.
33614 (struct rm_ctx): New structure.
33615 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33616 Define macro.
33617 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33618 (SET_RESTORE_ROUNDF): Likewise.
33619 (SET_RESTORE_ROUNDL): Likewise.
33620 (SET_RESTORE_ROUND_NOEX): Likewise.
33621 (SET_RESTORE_ROUND_NOEXF): Likewise.
33622 (SET_RESTORE_ROUND_NOEXL): Likewise.
33623 (SET_RESTORE_ROUND_53BIT): Likewise.
33624 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33625 (libc_feresetround_noexf_ctx): Likewise.
33626 (libc_feresetround_noexl_ctx): Likewise.
33627 (libc_feholdsetround_53bit_ctx): Likewise.
33628 (libc_feresetround_53bit_ctx): Likewise.
33629 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33630 (libc_feholdexcept_setround_sse_ctx): New function.
33631 (libc_fesetenv_sse_ctx): Likewise.
33632 (libc_feupdateenv_sse_ctx): Likewise.
33633 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33634 (libc_feholdexcept_setround_387_ctx): Likewise.
33635 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33636 (libc_feholdsetround_387_prec_ctx): Likewise.
33637 (libc_feholdsetround_387_ctx): Likewise.
33638 (libc_feholdsetround_387_53bit_ctx): Likewise.
33639 (libc_feholdsetround_sse_ctx): Likewise.
33640 (libc_feresetround_sse_ctx): Likewise.
33641 (libc_feresetround_387_ctx): Likewise.
33642 (libc_feupdateenv_387_ctx): Likewise.
33643 (libc_feholdexcept_setroundf_ctx): Define macro.
33644 (libc_fesetenvf_ctx): Likewise.
33645 (libc_feupdateenvf_ctx): Likewise.
33646 (libc_feholdsetroundf_ctx): Likewise.
33647 (libc_feresetroundf_ctx): Likewise.
33648 (libc_feholdexcept_setround_ctx): Likewise.
33649 (libc_fesetenv_ctx): Likewise.
33650 (libc_feupdateenv_ctx): Likewise.
33651 (libc_feholdsetround_ctx): Likewise.
33652 (libc_feresetround_ctx): Likewise.
33653 (libc_feholdexcept_setroundl_ctx): Likewise.
33654 (libc_feupdateenvl_ctx): Likewise.
33655 (libc_feholdsetroundl_ctx): Likewise.
33656 (libc_feresetroundl_ctx): Likewise.
33657 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33658 (libc_feresetround_53bit_ctx): Likewise.
33659
33660 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33661
33662 * locale/iso-639.def: Convert to UTF-8.
33663
33664 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33665
33666 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33667 (EXCEPTION_TESTS_double): Likewise.
33668 (EXCEPTION_TESTS_long_double): Likewise.
33669 (EXCEPTION_TESTS): Likewise.
33670 * math/libm-test.inc (test_exceptions): Only test exceptions if
33671 EXCEPTION_TESTS (FLOAT).
33672
33673 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33674
33675 * benchtests/Makefile (string-bench): Add strcpy_chk and
33676 stpcpy_chk.
33677 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33678 * benchtests/bench-stpcpy_chk.c: New file.
33679 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33680 * benchtests/bench-strcpy_chk.c: New file.
33681 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33682 code.
33683 (do_test): Likewise.
33684
33685 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33686
33687 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33688 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33689 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33690 with tabs where appropriate.
33691 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33692 dl-procinfo.h.
33693 [PPC_PLATFORM_PPC440]: Likewise.
33694 [PPC_PLATFORM_PPC464]: Likewise.
33695 [PPC_PLATFORM_PPC476]: Likewise.
33696 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33697 ppc464, and ppc476 platform strings merging from ports/
33698 dl-procinfo.h.
33699
33700 2013-06-11 Andreas Schwab <schwab@suse.de>
33701
33702 [BZ #14991]
33703 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33704 (from_ucs4_idx): Regenerate.
33705 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33706 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33707 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33708 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33709 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33710 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33711 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33712 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33713 from FROM_LOOP and TO_LOOP specific macros.
33714 (BODY): Handle combining characters.
33715 * iconvdata/BIG5HKSCS.irreversible: Update.
33716 * iconvdata/BIG5HKSCS.precomposed: New file.
33717 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33718 characters.
33719 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33720
33721 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33722
33723 * include/sys/time.h: Fix indentation and add copyright header.
33724
33725 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33726 (do_test): Likewise.
33727 * string/test-memchr.c (do_one_test): Likewise.
33728 (do_test): Likewise.
33729 * string/test-memcmp.c (do_one_test): Likewise.
33730 (do_test): Likewise.
33731 * string/test-memcpy.c (do_one_test): Likewise.
33732 (do_test): Likewise.
33733 * string/test-memmem.c (do_one_test): Likewise.
33734 (do_test): Likewise.
33735 (do_random_tests): Likewise.
33736 * string/test-memmove.c (do_one_test): Likewise.
33737 (do_test): Likewise.
33738 * string/test-memset.c (do_one_test): Likewise.
33739 (do_test): Likewise.
33740 * string/test-rawmemchr.c (do_one_test): Likewise.
33741 (do_test): Likewise.
33742 * string/test-strcasecmp.c (do_one_test): Likewise.
33743 (do_test): Likewise.
33744 * string/test-strcasestr.c (do_one_test): Likewise.
33745 (do_test): Likewise.
33746 * string/test-strcat.c (do_one_test): Likewise.
33747 (do_test): Likewise.
33748 * string/test-strchr.c (do_one_test): Likewise.
33749 (do_test): Likewise.
33750 * string/test-strcmp.c (do_one_test): Likewise.
33751 (do_test): Likewise.
33752 * string/test-strcpy.c (do_one_test): Likewise.
33753 (do_test): Likewise.
33754 * string/test-string.h: Likewise.
33755 (test_init): Likewise.
33756 * string/test-strlen.c (do_one_test): Likewise.
33757 (do_test): Likewise.
33758 * string/test-strncasecmp.c (do_one_test): Likewise.
33759 (do_test): Likewise.
33760 * string/test-strncat.c (do_one_test): Likewise.
33761 (do_test): Likewise.
33762 * string/test-strncmp.c (do_one_test): Likewise.
33763 (do_test_limit): Likewise.
33764 (do_test): Likewise.
33765 * string/test-strncpy.c (do_one_test): Likewise.
33766 (do_test): Likewise.
33767 * string/test-strnlen.c (do_one_test): Likewise.
33768 (do_test): Likewise.
33769 * string/test-strpbrk.c (do_one_test): Likewise.
33770 (do_test): Likewise.
33771 * string/test-strrchr.c (do_one_test): Likewise.
33772 (do_test): Likewise.
33773 * string/test-strspn.c (do_one_test): Likewise.
33774 (do_test): Likewise.
33775 * string/test-strstr.c (do_one_test): Likewise.
33776 (do_test): Likewise.
33777
33778 * benchtests/Makefile (string-bench): Add string benchmarks.
33779 * benchtests/bench-bcopy-ifunc.c: New file.
33780 * benchtests/bench-bcopy.c: New file.
33781 * benchtests/bench-bzero-ifunc.c: New file.
33782 * benchtests/bench-bzero.c: New file.
33783 * benchtests/bench-memccpy-ifunc.c: New file.
33784 * benchtests/bench-memccpy.c: New file.
33785 * benchtests/bench-memchr-ifunc.c: New file.
33786 * benchtests/bench-memchr.c: New file.
33787 * benchtests/bench-memcmp-ifunc.c: New file.
33788 * benchtests/bench-memcmp.c: New file.
33789 * benchtests/bench-memmem-ifunc.c: New file.
33790 * benchtests/bench-memmem.c: New file.
33791 * benchtests/bench-memmove-ifunc.c: New file.
33792 * benchtests/bench-memmove.c: New file.
33793 * benchtests/bench-mempcpy-ifunc.c: New file.
33794 * benchtests/bench-mempcpy.c: New file.
33795 * benchtests/bench-memset-ifunc.c: New file.
33796 * benchtests/bench-memset.c: New file.
33797 * benchtests/bench-rawmemchr-ifunc.c: New file.
33798 * benchtests/bench-rawmemchr.c: New file.
33799 * benchtests/bench-stpcpy-ifunc.c: New file.
33800 * benchtests/bench-stpcpy.c: New file.
33801 * benchtests/bench-stpncpy-ifunc.c: New file.
33802 * benchtests/bench-stpncpy.c: New file.
33803 * benchtests/bench-strcasecmp-ifunc.c: New file.
33804 * benchtests/bench-strcasecmp.c: New file.
33805 * benchtests/bench-strcasestr-ifunc.c: New file.
33806 * benchtests/bench-strcasestr.c: New file.
33807 * benchtests/bench-strcat-ifunc.c: New file.
33808 * benchtests/bench-strcat.c: New file.
33809 * benchtests/bench-strchr-ifunc.c: New file.
33810 * benchtests/bench-strchr.c: New file.
33811 * benchtests/bench-strchrnul-ifunc.c: New file.
33812 * benchtests/bench-strchrnul.c: New file.
33813 * benchtests/bench-strcmp-ifunc.c: New file.
33814 * benchtests/bench-strcmp.c: New file.
33815 * benchtests/bench-strcpy-ifunc.c: New file.
33816 * benchtests/bench-strcpy.c: New file.
33817 * benchtests/bench-strcspn-ifunc.c: New file.
33818 * benchtests/bench-strcspn.c: New file.
33819 * benchtests/bench-strlen-ifunc.c: New file.
33820 * benchtests/bench-strlen.c: New file.
33821 * benchtests/bench-strncasecmp-ifunc.c: New file.
33822 * benchtests/bench-strncasecmp.c: New file.
33823 * benchtests/bench-strncat-ifunc.c: New file.
33824 * benchtests/bench-strncat.c: New file.
33825 * benchtests/bench-strncmp-ifunc.c: New file.
33826 * benchtests/bench-strncmp.c: New file.
33827 * benchtests/bench-strncpy-ifunc.c: New file.
33828 * benchtests/bench-strncpy.c: New file.
33829 * benchtests/bench-strnlen-ifunc.c: New file.
33830 * benchtests/bench-strnlen.c: New file.
33831 * benchtests/bench-strpbrk-ifunc.c: New file.
33832 * benchtests/bench-strpbrk.c: New file.
33833 * benchtests/bench-strrchr-ifunc.c: New file.
33834 * benchtests/bench-strrchr.c: New file.
33835 * benchtests/bench-strspn-ifunc.c: New file.
33836 * benchtests/bench-strspn.c: New file.
33837 * benchtests/bench-strstr-ifunc.c: New file.
33838 * benchtests/bench-strstr.c: New file.
33839
33840 * benchtests/Makefile: Disable parallel execution of targets.
33841 (string-bench): Add memcpy.
33842 (benchset): New variable to store a list of benchmark sets.
33843 (bench-func): Renamed from bench.
33844 (bench-set): New target.
33845 (bench): Depend on bench-func and bench-set.
33846 * benchtests/README: Add section on benchmark sets.
33847 * benchtests/bench-memcpy-ifunc.c: New file.
33848 * benchtests/bench-memcpy.c: New file.
33849 * benchtests/bench-string.h: New file.
33850
33851 2013-06-11 Andreas Schwab <schwab@suse.de>
33852
33853 [BZ #15577]
33854 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33855 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33856 values in the triple.
33857 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33858 terminator in the group key.
33859
33860 2013-06-11 Andreas Jaeger <aj@suse.de>
33861
33862 * po/zh_TW.po: Update Chinese (traditional) translation from
33863 translation project.
33864
33865 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33866
33867 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33868 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33869 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33871 (clock_getcpuclockid): Likewise.
33872 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33873 Add weak_alias and libc_hidden_def.
33874 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33875 * rt/clock_gettime.c (clock_gettime): Rename to
33876 __clock_gettime. Add weak_alias and libc_hidden_def.
33877 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33878 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33879 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33880 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33881 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33882 Likewise.
33883 * rt/clock_settime.c (clock_settime): Rename to
33884 __clock_settime. Add weak_alias and libc_hidden_def.
33885 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33886
33887 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33888
33889 * mach/err_boot.sub: Remove trailing whitespace.
33890 * mach/err_ipc.sub: Likewise.
33891 * mach/err_mach.sub: Likewise.
33892
33893 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33894 (ROUNDING_TESTS_double): Likewise.
33895 (ROUNDING_TESTS_long_double): Likewise.
33896 (ROUNDING_TESTS): Likewise.
33897 * math/libm-test.inc: Include <math-tests.h>.
33898 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33899 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33900 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33901 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33902
33903 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33904
33905 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33906 of assigning.
33907
33908 2013-06-08 Joseph Myers <joseph@codesourcery.com>
33909
33910 * sysdeps/gnu/errlist.awk: Do not generate space at end of
33911 otherwise empty TRANS lines.
33912 * sysdeps/gnu/errlist.c: Regenerated.
33913
33914 * catgets/gencat.c (error_print): Use (void) in function
33915 definition.
33916 * crypt/crypt_util.c (__init_des): Likewise.
33917 * crypt/speeds.c (Stop): Likewise.
33918 (main): Likewise.
33919 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33920 * inet/ruserpass.c (token): Likewise.
33921 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33922 * intl/localealias.c (extend_alias_table): Likewise.
33923 * intl/plural-exp.c (init_germanic_plural): Likewise.
33924 * libio/fcloseall.c (__fcloseall): Likewise.
33925 * libio/genops.c (_IO_flush_all): Likewise.
33926 (_IO_flush_all_linebuffered): Likewise.
33927 (_IO_cleanup): Likewise.
33928 (_IO_iter_begin): Likewise.
33929 (_IO_iter_end): Likewise.
33930 (_IO_list_lock): Likewise.
33931 (_IO_list_unlock): Likewise.
33932 (_IO_list_resetlock): Likewise.
33933 * libio/getchar.c (getchar): Likewise.
33934 * libio/getchar_u.c (getchar_unlocked): Likewise.
33935 * libio/getwchar.c (getwchar): Likewise.
33936 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33937 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33938 * login/getpt.c (__getpt): Likewise.
33939 * login/tst-utmp.c (main): Likewise.
33940 * malloc/hooks.c (__malloc_check_init): Likewise.
33941 * malloc/malloc.c (__malloc_stats): Likewise.
33942 * malloc/mtrace.c (tr_break): Likewise.
33943 (mtrace): Likewise.
33944 (muntrace): Likewise.
33945 * misc/fstab.c (endfsent): Likewise.
33946 * misc/getclktck.c (__getclktck): Likewise.
33947 * misc/getdtsz.c (__getdtablesize): Likewise.
33948 * misc/gethostid.c (gethostid): Likewise.
33949 * misc/getpagesize.c (__getpagesize): Likewise.
33950 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33951 (__get_nprocs): Likewise.
33952 (__get_phys_pages): Likewise.
33953 (__get_avphys_pages): Likewise.
33954 * misc/getttyent.c (getttyent): Likewise.
33955 (setttyent): Likewise.
33956 (endttyent): Likewise.
33957 * misc/getusershell.c (getusershell): Likewise.
33958 (endusershell): Likewise.
33959 (setusershell): Likewise.
33960 (initshells): Likewise.
33961 * misc/hsearch.c (__hdestroy): Likewise.
33962 * misc/sync.c (sync): Likewise.
33963 * misc/syslog.c (closelog_internal): Likewise.
33964 (closelog): Likewise.
33965 * misc/ttyslot.c (ttyslot): Likewise.
33966 * misc/vhangup.c (vhangup): Likewise.
33967 * posix/fork.c (__fork): Likewise.
33968 * posix/getegid.c (__getegid): Likewise.
33969 * posix/geteuid.c (__geteuid): Likewise.
33970 * posix/getgid.c (__getgid): Likewise.
33971 * posix/getpid.c (__getpid): Likewise.
33972 * posix/getppid.c (__getppid): Likewise.
33973 * posix/getuid.c (__getuid): Likewise.
33974 * posix/pause.c (pause): Likewise.
33975 * posix/setpgrp.c (setpgrp): Likewise.
33976 * posix/setsid.c (__setsid): Likewise.
33977 * posix/test-vfork.c (noop): Likewise.
33978 * resolv/gethnamaddr.c (_endhtent): Likewise.
33979 (_gethtent): Likewise.
33980 (ht_endhostent): Likewise.
33981 (gethostent): Likewise.
33982 (dns_service): Likewise.
33983 * stdlib/drand48.c (drand48): Likewise.
33984 * stdlib/lrand48.c (lrand48): Likewise.
33985 * stdlib/mrand48.c (mrand48): Likewise.
33986 * stdlib/rand.c (rand): Likewise.
33987 * stdlib/random.c (__random): Likewise.
33988 * stdlib/setenv.c (clearenv): Likewise.
33989 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33990 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33991 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33992 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33993 (__get_nprocs): Likewise.
33994 (__get_phys_pages): Likewise.
33995 (__get_avphys_pages): Likewise.
33996 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33997 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33998 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33999 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34000 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34001 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34002 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34003 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34004 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34005 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34006 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34007 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34008 * sysdeps/posix/clock.c (clock): Likewise.
34009 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34010 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34011 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34012 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34013 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34015 (__get_nprocs_conf): Likewise.
34016 (__get_phys_pages): Likewise.
34017 (__get_avphys_pages): Likewise.
34018 * time/clock.c (clock): Likewise.
34019 * time/tzset.c (__tzname_max): Likewise.
34020
34021 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34022
34023 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34024 (__bswap_32): Do not use "register".
34025 * crypt/crypt.c (_ufc_doit_r): Likewise.
34026 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34027 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34028 * gmon/gmon.c (__monstartup): Likewise.
34029 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34030 * hurd/hurdmalloc.c (more_memory): Likewise.
34031 (malloc): Likewise.
34032 (free): Likewise.
34033 (realloc): Likewise.
34034 (malloc_fork_prepare): Likewise.
34035 (malloc_fork_parent): Likewise.
34036 (malloc_fork_child): Likewise.
34037 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34038 (_svcauth_des): Likewise.
34039 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34040 * inet/inet_net.c (inet_network): Likewise.
34041 * inet/inet_netof.c (inet_netof): Likewise.
34042 * inet/rcmd.c (__validuser2_sa): Likewise.
34043 * io/fts.c (fts_open): Likewise.
34044 (fts_load): Likewise.
34045 (fts_close): Likewise.
34046 (fts_read): Likewise.
34047 (fts_children): Likewise.
34048 (fts_build): Likewise.
34049 (fts_stat): Likewise.
34050 (fts_sort): Likewise.
34051 (fts_alloc): Likewise.
34052 (fts_lfree): Likewise.
34053 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34054 (_IO_file_xsgetn): Likewise.
34055 (_IO_file_xsgetn_mmap): Likewise.
34056 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34057 (_IO_cookie_write): Likewise.
34058 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34059 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34060 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34061 * malloc/obstack.c (_obstack_begin): Likewise.
34062 (_obstack_begin_1): Likewise.
34063 (_obstack_newchunk): Likewise.
34064 (_obstack_allocated_p): Likewise.
34065 (obstack_free): Likewise.
34066 (_obstack_memory_used): Likewise.
34067 * misc/getttyent.c (getttynam): Likewise.
34068 (getttyent): Likewise.
34069 (skip): Likewise.
34070 (value): Likewise.
34071 * misc/getusershell.c (initshells): Likewise.
34072 * misc/syslog.c (__vsyslog_chk): Likewise.
34073 * misc/ttyslot.c (ttyslot): Likewise.
34074 * nis/nis_hash.c (__nis_hash): Likewise.
34075 * posix/fnmatch_loop.c (FCT): Likewise.
34076 * posix/getconf.c (print_all): Likewise.
34077 (main): Likewise.
34078 * posix/getopt.c (exchange): Likewise.
34079 * posix/glob.c (globfree): Likewise.
34080 (prefix_array): Likewise.
34081 (__glob_pattern_type): Likewise.
34082 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34083 (NS_GET32): Likewise.
34084 (NS_PUT16): Likewise.
34085 (NS_PUT32): Likewise.
34086 * resolv/gethnamaddr.c (getanswer): Likewise.
34087 (gethostbyname2): Likewise.
34088 (gethostbyaddr): Likewise.
34089 (_gethtent): Likewise.
34090 (_gethtbyname2): Likewise.
34091 (_gethtbyaddr): Likewise.
34092 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34093 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34094 * resolv/res_init.c (__res_vinit): Likewise.
34095 (net_mask): Likewise.
34096 * resolv/res_mkquery.c (outchar): Likewise.
34097 (PRINT): Likewise.
34098 * stdio-common/printf_fp.c (outchar): Likewise.
34099 (PRINT): Likewise.
34100 * stdio-common/printf_fphex.c (outchar): Likewise.
34101 (PRINT): Likewise.
34102 * stdio-common/printf_size.c (outchar): Likewise.
34103 (PRINT): Likewise.
34104 * stdio-common/test_rdwr.c (main): Likewise.
34105 * stdio-common/tfformat.c (matches): Likewise.
34106 * stdio-common/vfprintf.c (outchar): Likewise.
34107 (printf_unknown): Likewise.
34108 (buffered_vfprintf): Likewise.
34109 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34110 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34111 (ReadFile): Likewise.
34112 * stdlib/qsort.c (SWAP): Likewise.
34113 (_quicksort): Likewise.
34114 * stdlib/setenv.c (__add_to_environ): Likewise.
34115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34116 * stdlib/strtol_l.c (__strtol_l): Likewise.
34117 * stdlib/tst-strtod.c (main): Likewise.
34118 * stdlib/tst-strtol.c (main): Likewise.
34119 * stdlib/tst-strtoll.c (main): Likewise.
34120 * string/bits/string2.h (__strcmp_cc): Likewise.
34121 (__strcmp_cg): Likewise.
34122 (__strcspn_c1): Likewise.
34123 (__strcspn_c2): Likewise.
34124 (__strcspn_c3): Likewise.
34125 (__strspn_c1): Likewise.
34126 (__strspn_c2): Likewise.
34127 (__strspn_c3): Likewise.
34128 (__strsep_1c): Likewise.
34129 (__strsep_2c): Likewise.
34130 (__strsep_3c): Likewise.
34131 * string/memccpy.c (__memccpy): Likewise.
34132 * string/stpcpy.c (__stpcpy): Likewise.
34133 * string/strcmp.c (strcmp): Likewise.
34134 * string/strrchr.c (strrchr): Likewise.
34135 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34136 Likewise.
34137 * sysdeps/mach/hurd/getcwd.c
34138 (_hurd_canonicalize_directory_name_internal): Likewise.
34139 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34140 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34141 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34142 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34143 Likewise, in both definitions.
34144 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34145 definitions.
34146 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34147 64] (__bswap_64): Likewise.
34148 * time/test_time.c (main): Likewise.
34149 * time/tzfile.c (__tzfile_read): Likewise.
34150 (__tzfile_compute): Likewise.
34151 * time/tzset.c (__tzset_parse_tz): Likewise.
34152 (tzset_internal): Likewise.
34153 (compute_change): Likewise.
34154 * wcsmbs/wcscat.c (__wcscat): Likewise.
34155 * wcsmbs/wcschr.c (wcschr): Likewise.
34156 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34157 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34158 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34159 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34160 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34161 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34162 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34163 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34164 * wcsmbs/wmemset.c (wmemset): Likewise.
34165
34166 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34167
34168 * scripts/config.guess: Update to version 2013-05-16.
34169 * scripts/config.sub: Update to version 2013-04-24.
34170 * scripts/install-sh: Update to version 2011-11-20.07.
34171 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34172 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34173
34174 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34175
34176 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34177 * elf/sln.c: Likewise.
34178 * hurd/hurd/ioctl.h: Likewise.
34179 * hurd/hurdmalloc.c: Likewise.
34180 * hurd/xattr.c: Likewise.
34181 * include/shlib-compat.h: Likewise.
34182 * inet/ruserpass.c: Likewise.
34183 * libio/iofgets_u.c: Likewise.
34184 * libio/iofgetws_u.c: Likewise.
34185 * locale/programs/ld-identification.c: Likewise.
34186 * locale/programs/ld-time.c: Likewise.
34187 * mach/msg-destroy.c: Likewise.
34188 * nss/nss_files/files-netgrp.c: Likewise.
34189 * resolv/res_data.c: Likewise.
34190 * soft-fp/op-1.h: Likewise.
34191 * soft-fp/op-2.h: Likewise.
34192 * soft-fp/op-4.h: Likewise.
34193 * soft-fp/op-common.h: Likewise.
34194 * stdio-common/printf_fphex.c: Likewise.
34195 * stdlib/strtod_l.c: Likewise.
34196 * sunrpc/rpc/clnt.h: Likewise.
34197 * sysdeps/generic/framestate.c: Likewise.
34198 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34199 * sysdeps/i386/bsd-setjmp.S: Likewise.
34200 * sysdeps/i386/__longjmp.S: Likewise.
34201 * sysdeps/i386/setjmp.S: Likewise.
34202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34209 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34218 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34220 * sysdeps/ieee754/support.c: Likewise.
34221 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34222 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34223 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34224 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34225 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34226 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34227 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34228 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34229 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34230 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34231 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34232 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34233 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34234 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34235 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34236 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34237 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34239
34240 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34241
34242 * posix/transbug.c: Remove executable mode.
34243
34244 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34245
34246 * crypt/speeds.c: Remove trailing whitespace.
34247 * dlfcn/default.c: Likewise.
34248 * elf/ifuncdep2.c: Likewise.
34249 * elf/ifuncmain1.c: Likewise.
34250 * elf/ifuncmain1vis.c: Likewise.
34251 * elf/testobj.h: Likewise.
34252 * elf/tst-stackguard1.c: Likewise.
34253 * gmon/sys/gmon.h: Likewise.
34254 * hurd/hurdmsg.c: Likewise.
34255 * hurd/new-fd.c: Likewise.
34256 * hurd/ports-get.c: Likewise.
34257 * iconvdata/ibm1008_420.c: Likewise.
34258 * inet/tst-getni1.c: Likewise.
34259 * inet/tst-getni2.c: Likewise.
34260 * libio/ioungetc.c: Likewise.
34261 * libio/wfiledoalloc.c: Likewise.
34262 * manual/libm-err-tab.pl: Likewise.
34263 * math/w_dremf.c: Likewise.
34264 * misc/ftruncate.c: Likewise.
34265 * posix/bug-glob2.c: Likewise.
34266 * posix/tst-pcre.c: Likewise.
34267 * posix/wait4.c: Likewise.
34268 * resolv/README: Likewise.
34269 * resolv/res_debug.h: Likewise.
34270 * resolv/tst-inet_ntop.c: Likewise.
34271 * setjmp/bug269-setjmp.c: Likewise.
34272 * soft-fp/extended.h: Likewise.
34273 * soft-fp/op-1.h: Likewise.
34274 * soft-fp/op-2.h: Likewise.
34275 * soft-fp/op-4.h: Likewise.
34276 * soft-fp/op-8.h: Likewise.
34277 * soft-fp/testit.c: Likewise.
34278 * stdio-common/bug16.c: Likewise.
34279 * stdlib/random.c: Likewise.
34280 * sunrpc/rpcsvc/rquota.x: Likewise.
34281 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34289 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34290 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34291 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34292 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34303 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34308 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34310 * sysdeps/ieee754/s_lib_version.c: Likewise.
34311 * sysdeps/mach/hurd/check_fds.c: Likewise.
34312 * sysdeps/mach/hurd/getsockname.c: Likewise.
34313 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34314 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34315 * sysdeps/powerpc/bits/link.h: Likewise.
34316 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34317 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34318 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34319 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34320 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34321 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34322 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34323 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34324 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34325 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34326 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34327 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34328 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34329 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34330 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34331 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34333 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34334 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34335 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34336 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34337 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34338 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34339 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34340 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34342 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34344 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34345 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34346 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34347 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34348 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34349 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34350 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34351 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34352 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34353 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34354 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34355 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34356 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34357 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34358 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34359 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34360 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34361 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34362 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34363 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34364 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34365 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34368 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34369 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34370 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34371 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34372 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34373 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34374 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34375 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34376 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34377 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34378 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34379 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34380 * sysdeps/powerpc/sysdep.h: Likewise.
34381 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34382 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34383 * sysdeps/sh/dl-trampoline.S: Likewise.
34384 * sysdeps/sh/memset.S: Likewise.
34385 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34386 * sysdeps/sh/strlen.S: Likewise.
34387 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34388 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34389 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34390 * sysdeps/sparc/sparc32/rem.S: Likewise.
34391 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34392 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34393 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34394 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34395 * sysdeps/sparc/sparc32/urem.S: Likewise.
34396 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34397 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34398 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34399 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34401 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34402 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34403 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34404 * sysdeps/unix/bsd/times.c: Likewise.
34405 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34406 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34410 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34411 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34412 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34413 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34414 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34415 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34416 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34417 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34418 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34419 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34420 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34421 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34422 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34423 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34424 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34425 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34426 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34427 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34428 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34429 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34430 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34431 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34433 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34434 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34435 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34436 * sysdeps/x86_64/strcspn.S: Likewise.
34437
34438 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34439
34440 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34441 generated file. Regenerate properly from gen-translit.pl.
34442 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34443 locale/C-translit.h.
34444
34445 2013-06-05 Andreas Schwab <schwab@suse.de>
34446
34447 [BZ #15100]
34448 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34449 week as 6 instead of -1.
34450 * time/tst-strptime.c (day_tests): Add test case.
34451
34452 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34453
34454 * sysdeps/generic/math_private.h
34455 (libc_feholdexcept_setround_53bit): Replace with
34456 libc_feholdsetround_53bit.
34457 (libc_feupdateenv_53bit): Replace with
34458 libc_feresetround_53bit.
34459 (SET_RESTORE_ROUND_53BIT): Adjust.
34460
34461 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34462
34463 * string/test-strchrnul.c: Add copyright header.
34464
34465 * posix/tst-getaddrinfo4.c: Increase test timeout.
34466
34467 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34468
34469 [BZ #15536]
34470 * math/libm-test.inc (MAX_EXP): Remove
34471 (MIN_EXP): Define.
34472 (ulp): Use MIN_EXP - MANT_DIG.
34473 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34474
34475 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34476
34477 * po/be.po: Revert last change.
34478 * po/zh_CN.po: Likewise.
34479 * po/header.pot: Likewise.
34480
34481 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34482
34483 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34484 link-libc-deps to empty as target-specific variable.
34485 * Makerules (link-libc-args): New variable.
34486 (libc-for-link): Likewise.
34487 (link-libc-deps): Likewise.
34488 (lib%.so): Depend on $(link-libc-deps). Link with
34489 $(link-libc-args).
34490 (build-module): Link with $(link-libc-args).
34491 (build-module-asneeded): Likewise.
34492 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34493 list of objects.
34494 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34495 target-specific variable.
34496 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34497 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34498 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34499 libc.
34500 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34501 libc and ld.so.
34502 ($(objpfx)libpcprofile.so): Likewise.
34503 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34504 libc_nonshared.a.
34505 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34506 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34507 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34508 $(link-libc-deps).
34509 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34510 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34511 * login/Makefile ($(objpfx)libutil.so): Likewise.
34512 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34513 * math/Makefile ($(objpfx)libm.so): Likewise.
34514 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34515 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34516 variable instead of depending directly on libc.
34517 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34518 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34519 $(link-libc-deps).
34520 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34521 libc.
34522 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34523 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34524 ($(objpfx)libanl.so): Likewise.
34525 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34526 ld.so.
34527 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34528 $(link-libc-deps).
34529 * sysdeps/i386/fpu/Makefile: Remove file.
34530 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34531 ($(objpfx)libm.so): Remove dependency on ld.so.
34532
34533 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34534
34535 [BZ # 15553]
34536 * nis/yp_xdr.c (XDRMAXNAME): Define.
34537 (XDRMAXRECORD): Define.
34538 (xdr_domainname): Use XDRMAXNAME.
34539 (xdr_mapname): Likewise.
34540 (xdr_peername): Likewise.
34541 (xdr_keydat): Use XDRMAXRECORD.
34542 (xdr_valdat): Likewise.
34543
34544 2013-05-30 Jeff Law <law@redhat.com>
34545
34546 [BZ #14256]
34547 * manual/errno.texi (ESTALE): Update to account for more than
34548 just NFS file systems.
34549 * sysdeps/gnu/errlist.c: Regenerated.
34550
34551 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34552
34553 [BZ #15465]
34554 * elf/Makefile (tests): Add tst-null-argv.
34555 (modules-names): Add tst-null-argv-lib.
34556 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34557 (tst-null-argv-ENV): Set environment for tst-null-argv.
34558 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34559 (RTLD_PROGNAME): New macro.
34560 * elf/tst-null-argv.c: New test case.
34561 * elf/tst-null-argv-lib.c: Library for test case.
34562 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34563 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34564 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34565 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34566 * elf/dl-init.c (call_init): Likewise.
34567 (_dl_init): Likewise.
34568 * elf/dl-load.c (print_search_path): Likewise.
34569 (_dl_map_object): Likewise.
34570 * elf/dl-lookup.c (do_lookup_x): Likewise.
34571 (add_dependency): Likewise.
34572 (_dl_lookup_symbol_x): Likewise.
34573 (_dl_debug_bindings): Likewise.
34574 * elf/dl-open.c (_dl_show_scope): Likewise.
34575 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34576 * elf/dl-version.c (match_symbol): Likewise.
34577 (_dl_check_map_versions): Likewise.
34578 * elf/rtld.c (dl_main): Likewise.
34579 (print_unresolved): Use RTLD_PROGNAME.
34580 (print_missing_version): Likewise.
34581 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34582 (elf_machine_rela): Likewise.
34583 * sysdeps/powerpc/powerpc32/dl-machine.c
34584 (__process_machine_rela): Likewise.
34585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34586 Likewise.
34587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34588 Likewise.
34589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34590 Likewise.
34591 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34593 Likewise.
34594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34595 Likewise.
34596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34597
34598 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34599
34600 * po/be.po: Add descriptive title.
34601 * po/zh_CN.po: Likewise.
34602 * po/header.pot: Likewise.
34603
34604 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34605
34606 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34607 error message.
34608 (enlarge_archive): Likewise.
34609
34610 2013-05-28 Ben North <ben@redfrontdoor.org>
34611
34612 * manual/arith.texi (frexp): It is the magnitude of the return
34613 value which lies in [0.5, 1), not the return value itself.
34614
34615 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34616
34617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34618
34619 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34620
34621 * stdio-common/bug26.c (main): Correct fscanf template.
34622
34623 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34624 declare _dl_skip_args.
34625
34626 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34627 Don't declare.
34628
34629 * manual/platform.texi: Add missing @end deftypefun.
34630
34631 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34632
34633 [BZ #15529]
34634 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34635 bit of mantissa of 2^16382.
34636 * math/libm-test.inc (hypot_test_data): Add more tests.
34637
34638 * math/libm-test.inc: Add drem and pow10 to list of tested
34639 functions.
34640 (pow10_test): New function.
34641 (drem_test): Likewise.
34642 (drem_test_tonearest): Likewise.
34643 (drem_test_towardzero): Likewise.
34644 (drem_test_downward): Likewise.
34645 (drem_test_upward): Likewise.
34646 (main): Call the new functions.
34647
34648 * math/libm-test.inc (finite_test_data): Remove.
34649 (finite_test): Run tests from isfinite_test_data.
34650 (gamma_test_data): Remove.
34651 (gamma_test): Run tests from lgamma_test_data.
34652 * sysdeps/i386/fpu/libm-test-ulps: Update.
34653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654
34655 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34656
34657 * manual/platform.texi: Add PowerPC PPR function set documentation.
34658 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34659 implementation.
34660
34661 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34662
34663 * math/libm-test.inc (MAX_EXP): Define.
34664 (ULPDIFF): Define.
34665 (ulp): New function.
34666 (check_float_internal): Use ULPDIFF.
34667 (cpow_test): Disable failing test.
34668 (check_ulp): Test ulp() implemetnation.
34669 (main): Call check_ulp before starting tests.
34670
34671 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34672
34673 * math/gen-libm-test.pl (generate_testfile): Do not handle
34674 START_DATA and END_DATA.
34675 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34676 END_DATA.
34677 (acos_tonearest_test_data): Likewise.
34678 (acos_towardzero_test_data): Likewise.
34679 (acos_downward_test_data): Likewise.
34680 (acos_upward_test_data): Likewise.
34681 (acosh_test_data): Likewise.
34682 (asin_test_data): Likewise.
34683 (asin_tonearest_test_data): Likewise.
34684 (asin_towardzero_test_data): Likewise.
34685 (asin_downward_test_data): Likewise.
34686 (asin_upward_test_data): Likewise.
34687 (asinh_test_data): Likewise.
34688 (atan_test_data): Likewise.
34689 (atanh_test_data): Likewise.
34690 (atan2_test_data): Likewise.
34691 (cabs_test_data): Likewise.
34692 (cacos_test_data): Likewise.
34693 (cacosh_test_data): Likewise.
34694 (carg_test_data): Likewise.
34695 (casin_test_data): Likewise.
34696 (casinh_test_data): Likewise.
34697 (catan_test_data): Likewise.
34698 (catanh_test_data): Likewise.
34699 (cbrt_test_data): Likewise.
34700 (ccos_test_data): Likewise.
34701 (ccosh_test_data): Likewise.
34702 (ceil_test_data): Likewise.
34703 (cexp_test_data): Likewise.
34704 (cimag_test_data): Likewise.
34705 (clog_test_data): Likewise.
34706 (clog10_test_data): Likewise.
34707 (conj_test_data): Likewise.
34708 (copysign_test_data): Likewise.
34709 (cos_test_data): Likewise.
34710 (cos_tonearest_test_data): Likewise.
34711 (cos_towardzero_test_data): Likewise.
34712 (cos_downward_test_data): Likewise.
34713 (cos_upward_test_data): Likewise.
34714 (cosh_test_data): Likewise.
34715 (cosh_tonearest_test_data): Likewise.
34716 (cosh_towardzero_test_data): Likewise.
34717 (cosh_downward_test_data): Likewise.
34718 (cosh_upward_test_data): Likewise.
34719 (cpow_test_data): Likewise.
34720 (cproj_test_data): Likewise.
34721 (creal_test_data): Likewise.
34722 (csin_test_data): Likewise.
34723 (csinh_test_data): Likewise.
34724 (csqrt_test_data): Likewise.
34725 (ctan_test_data): Likewise.
34726 (ctan_tonearest_test_data): Likewise.
34727 (ctan_towardzero_test_data): Likewise.
34728 (ctan_downward_test_data): Likewise.
34729 (ctan_upward_test_data): Likewise.
34730 (ctanh_test_data): Likewise.
34731 (ctanh_tonearest_test_data): Likewise.
34732 (ctanh_towardzero_test_data): Likewise.
34733 (ctanh_downward_test_data): Likewise.
34734 (ctanh_upward_test_data): Likewise.
34735 (erf_test_data): Likewise.
34736 (erfc_test_data): Likewise.
34737 (exp_test_data): Likewise.
34738 (exp_tonearest_test_data): Likewise.
34739 (exp_towardzero_test_data): Likewise.
34740 (exp_downward_test_data): Likewise.
34741 (exp_upward_test_data): Likewise.
34742 (exp10_test_data): Likewise.
34743 (exp2_test_data): Likewise.
34744 (expm1_test_data): Likewise.
34745 (fabs_test_data): Likewise.
34746 (fdim_test_data): Likewise.
34747 (finite_test_data): Likewise.
34748 (floor_test_data): Likewise.
34749 (fma_test_data): Likewise.
34750 (fma_towardzero_test_data): Likewise.
34751 (fma_downward_test_data): Likewise.
34752 (fma_upward_test_data): Likewise.
34753 (fmax_test_data): Likewise.
34754 (fmin_test_data): Likewise.
34755 (fmod_test_data): Likewise.
34756 (fpclassify_test_data): Likewise.
34757 (frexp_test_data): Likewise.
34758 (gamma_test_data): Likewise.
34759 (hypot_test_data): Likewise.
34760 (ilogb_test_data): Likewise.
34761 (isfinite_test_data): Likewise.
34762 (isgreater_test_data): Likewise.
34763 (isgreaterequal_test_data): Likewise.
34764 (isinf_test_data): Likewise.
34765 (isless_test_data): Likewise.
34766 (islessequal_test_data): Likewise.
34767 (islessgreater_test_data): Likewise.
34768 (isnan_test_data): Likewise.
34769 (isnormal_test_data): Likewise.
34770 (issignaling_test_data): Likewise.
34771 (isunordered_test_data): Likewise.
34772 (j0_test_data): Likewise.
34773 (j1_test_data): Likewise.
34774 (jn_test_data): Likewise.
34775 (ldexp_test_data): Likewise.
34776 (lgamma_test_data): Likewise.
34777 (lrint_test_data): Likewise.
34778 (lrint_tonearest_test_data): Likewise.
34779 (lrint_towardzero_test_data): Likewise.
34780 (lrint_downward_test_data): Likewise.
34781 (lrint_upward_test_data): Likewise.
34782 (llrint_test_data): Likewise.
34783 (llrint_tonearest_test_data): Likewise.
34784 (llrint_towardzero_test_data): Likewise.
34785 (llrint_downward_test_data): Likewise.
34786 (llrint_upward_test_data): Likewise.
34787 (log_test_data): Likewise.
34788 (log10_test_data): Likewise.
34789 (log1p_test_data): Likewise.
34790 (log2_test_data): Likewise.
34791 (logb_test_data): Likewise.
34792 (logb_downward_test_data): Likewise.
34793 (lround_test_data): Likewise.
34794 (llround_test_data): Likewise.
34795 (modf_test_data): Likewise.
34796 (nearbyint_test_data): Likewise.
34797 (nextafter_test_data): Likewise.
34798 (nexttoward_test_data): Likewise.
34799 (pow_test_data): Likewise.
34800 (pow_tonearest_test_data): Likewise.
34801 (pow_towardzero_test_data): Likewise.
34802 (pow_downward_test_data): Likewise.
34803 (pow_upward_test_data): Likewise.
34804 (remainder_test_data): Likewise.
34805 (remainder_tonearest_test_data): Likewise.
34806 (remainder_towardzero_test_data): Likewise.
34807 (remainder_downward_test_data): Likewise.
34808 (remainder_upward_test_data): Likewise.
34809 (remquo_test_data): Likewise.
34810 (rint_test_data): Likewise.
34811 (rint_tonearest_test_data): Likewise.
34812 (rint_towardzero_test_data): Likewise.
34813 (rint_downward_test_data): Likewise.
34814 (rint_upward_test_data): Likewise.
34815 (round_test_data): Likewise.
34816 (scalb_test_data): Likewise.
34817 (scalbn_test_data): Likewise.
34818 (scalbln_test_data): Likewise.
34819 (signbit_test_data): Likewise.
34820 (sin_test_data): Likewise.
34821 (sin_tonearest_test_data): Likewise.
34822 (sin_towardzero_test_data): Likewise.
34823 (sin_downward_test_data): Likewise.
34824 (sin_upward_test_data): Likewise.
34825 (sincos_test_data): Likewise.
34826 (sinh_test_data): Likewise.
34827 (sinh_tonearest_test_data): Likewise.
34828 (sinh_towardzero_test_data): Likewise.
34829 (sinh_downward_test_data): Likewise.
34830 (sinh_upward_test_data): Likewise.
34831 (sqrt_test_data): Likewise.
34832 (tan_test_data): Likewise.
34833 (tan_tonearest_test_data): Likewise.
34834 (tan_towardzero_test_data): Likewise.
34835 (tan_downward_test_data): Likewise.
34836 (tan_upward_test_data): Likewise.
34837 (tanh_test_data): Likewise.
34838 (tgamma_test_data): Likewise.
34839 (trunc_test_data): Likewise.
34840 (y0_test_data): Likewise.
34841 (y1_test_data): Likewise.
34842 (yn_test_data): Likewise.
34843 (significand_test_data): Likewise.
34844
34845 * math/gen-libm-test.pl (@functions): Remove variable.
34846 (generate_testfile): Don't handle START and END lines.
34847 * math/libm-test.inc (START): New macro.
34848 (END): Likewise.
34849 (END_COMPLEX): Likewise.
34850 (acos_test): Use END macro without arguments.
34851 (acos_test_tonearest): Likewise.
34852 (acos_test_towardzero): Likewise.
34853 (acos_test_downward): Likewise.
34854 (acos_test_upward): Likewise.
34855 (acosh_test): Likewise.
34856 (asin_test): Likewise.
34857 (asin_test_tonearest): Likewise.
34858 (asin_test_towardzero): Likewise.
34859 (asin_test_downward): Likewise.
34860 (asin_test_upward): Likewise.
34861 (asinh_test): Likewise.
34862 (atan_test): Likewise.
34863 (atanh_test): Likewise.
34864 (atan2_test): Likewise.
34865 (cabs_test): Likewise.
34866 (cacos_test): Use END_COMPLEX macro without arguments.
34867 (cacosh_test): Likewise.
34868 (carg_test): Use END macro without arguments.
34869 (casin_test): Use END_COMPLEX macro without arguments.
34870 (casinh_test): Likewise.
34871 (catan_test): Likewise.
34872 (catanh_test): Likewise.
34873 (cbrt_test): Use END macro without arguments.
34874 (ccos_test): Use END_COMPLEX macro without arguments.
34875 (ccosh_test): Likewise.
34876 (ceil_test): Use END macro without arguments.
34877 (cexp_test): Use END_COMPLEX macro without arguments.
34878 (cimag_test): Use END macro without arguments.
34879 (clog_test): Use END_COMPLEX macro without arguments.
34880 (clog10_test): Likewise.
34881 (conj_test): Likewise.
34882 (copysign_test): Use END macro without arguments.
34883 (cos_test): Likewise.
34884 (cos_test_tonearest): Likewise.
34885 (cos_test_towardzero): Likewise.
34886 (cos_test_downward): Likewise.
34887 (cos_test_upward): Likewise.
34888 (cosh_test): Likewise.
34889 (cosh_test_tonearest): Likewise.
34890 (cosh_test_towardzero): Likewise.
34891 (cosh_test_downward): Likewise.
34892 (cosh_test_upward): Likewise.
34893 (cpow_test): Use END_COMPLEX macro without arguments.
34894 (cproj_test): Likewise.
34895 (creal_test): Use END macro without arguments.
34896 (csin_test): Use END_COMPLEX macro without arguments.
34897 (csinh_test): Likewise.
34898 (csqrt_test): Likewise.
34899 (ctan_test): Likewise.
34900 (ctan_test_tonearest): Likewise.
34901 (ctan_test_towardzero): Likewise.
34902 (ctan_test_downward): Likewise.
34903 (ctan_test_upward): Likewise.
34904 (ctanh_test): Likewise.
34905 (ctanh_test_tonearest): Likewise.
34906 (ctanh_test_towardzero): Likewise.
34907 (ctanh_test_downward): Likewise.
34908 (ctanh_test_upward): Likewise.
34909 (erf_test): Use END macro without arguments.
34910 (erfc_test): Likewise.
34911 (exp_test): Likewise.
34912 (exp_test_tonearest): Likewise.
34913 (exp_test_towardzero): Likewise.
34914 (exp_test_downward): Likewise.
34915 (exp_test_upward): Likewise.
34916 (exp10_test): Likewise.
34917 (exp2_test): Likewise.
34918 (expm1_test): Likewise.
34919 (fabs_test): Likewise.
34920 (fdim_test): Likewise.
34921 (finite_test): Likewise.
34922 (floor_test): Likewise.
34923 (fma_test): Likewise.
34924 (fma_test_towardzero): Likewise.
34925 (fma_test_downward): Likewise.
34926 (fma_test_upward): Likewise.
34927 (fmax_test): Likewise.
34928 (fmin_test): Likewise.
34929 (fmod_test): Likewise.
34930 (fpclassify_test): Likewise.
34931 (frexp_test): Likewise.
34932 (gamma_test): Likewise.
34933 (hypot_test): Likewise.
34934 (ilogb_test): Likewise.
34935 (isfinite_test): Likewise.
34936 (isgreater_test): Likewise.
34937 (isgreaterequal_test): Likewise.
34938 (isinf_test): Likewise.
34939 (isless_test): Likewise.
34940 (islessequal_test): Likewise.
34941 (islessgreater_test): Likewise.
34942 (isnan_test): Likewise.
34943 (isnormal_test): Likewise.
34944 (issignaling_test): Likewise.
34945 (isunordered_test): Likewise.
34946 (j0_test): Likewise.
34947 (j1_test): Likewise.
34948 (jn_test): Likewise.
34949 (ldexp_test): Likewise.
34950 (lgamma_test): Likewise.
34951 (lrint_test): Likewise.
34952 (lrint_test_tonearest): Likewise.
34953 (lrint_test_towardzero): Likewise.
34954 (lrint_test_downward): Likewise.
34955 (lrint_test_upward): Likewise.
34956 (llrint_test): Likewise.
34957 (llrint_test_tonearest): Likewise.
34958 (llrint_test_towardzero): Likewise.
34959 (llrint_test_downward): Likewise.
34960 (llrint_test_upward): Likewise.
34961 (log_test): Likewise.
34962 (log10_test): Likewise.
34963 (log1p_test): Likewise.
34964 (log2_test): Likewise.
34965 (logb_test): Likewise.
34966 (logb_test_downward): Likewise.
34967 (lround_test): Likewise.
34968 (llround_test): Likewise.
34969 (modf_test): Likewise.
34970 (nearbyint_test): Likewise.
34971 (nextafter_test): Likewise.
34972 (nexttoward_test): Likewise.
34973 (pow_test): Likewise.
34974 (pow_test_tonearest): Likewise.
34975 (pow_test_towardzero): Likewise.
34976 (pow_test_downward): Likewise.
34977 (pow_test_upward): Likewise.
34978 (remainder_test): Likewise.
34979 (remainder_test_tonearest): Likewise.
34980 (remainder_test_towardzero): Likewise.
34981 (remainder_test_downward): Likewise.
34982 (remainder_test_upward): Likewise.
34983 (remquo_test): Likewise.
34984 (rint_test): Likewise.
34985 (rint_test_tonearest): Likewise.
34986 (rint_test_towardzero): Likewise.
34987 (rint_test_downward): Likewise.
34988 (rint_test_upward): Likewise.
34989 (round_test): Likewise.
34990 (scalb_test): Likewise.
34991 (scalbn_test): Likewise.
34992 (scalbln_test): Likewise.
34993 (signbit_test): Likewise.
34994 (sin_test): Likewise.
34995 (sin_test_tonearest): Likewise.
34996 (sin_test_towardzero): Likewise.
34997 (sin_test_downward): Likewise.
34998 (sin_test_upward): Likewise.
34999 (sincos_test): Likewise.
35000 (sinh_test): Likewise.
35001 (sinh_test_tonearest): Likewise.
35002 (sinh_test_towardzero): Likewise.
35003 (sinh_test_downward): Likewise.
35004 (sinh_test_upward): Likewise.
35005 (sqrt_test): Likewise.
35006 (tan_test): Likewise.
35007 (tan_test_tonearest): Likewise.
35008 (tan_test_towardzero): Likewise.
35009 (tan_test_downward): Likewise.
35010 (tan_test_upward): Likewise.
35011 (tanh_test): Likewise.
35012 (tgamma_test): Likewise.
35013 (trunc_test): Likewise.
35014 (y0_test): Likewise.
35015 (y1_test): Likewise.
35016 (yn_test): Likewise.
35017 (significand_test): Likewise.
35018
35019 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35020
35021 [BZ #15381]
35022 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35023
35024 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35025
35026 [BZ #14894]
35027 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35028 __ppc_mdoio and __ppc_mdoom.
35029 * manual/platform.texi: Document new functions __ppc_yield,
35030 __ppc_mdoio and __ppc_mdoom.
35031
35032 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35033
35034 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35035 (main): Mention "tls" pseudo-hwcap is legacy.
35036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35037
35038 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35039
35040 * math/gen-libm-test.pl (parse_args): Output only string of
35041 arguments as text for test name, not full call or descriptions of
35042 tests for extra outputs.
35043 (generate_testfile): Do not pass function name to parse_args.
35044 Generate this_func variable from START.
35045 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35046 field to arg_str.
35047 (struct test_ff_f_data): Likewise.
35048 (test_ff_f_data_nexttoward): Likewise.
35049 (struct test_fi_f_data): Likewise.
35050 (struct test_fl_f_data): Likewise.
35051 (struct test_if_f_data): Likewise.
35052 (struct test_fff_f_data): Likewise.
35053 (struct test_c_f_data): Likewise.
35054 (struct test_f_f1_data): Likewise. Remove field extra_name.
35055 (struct test_fF_f1_data): Likewise.
35056 (struct test_ffI_f1_data): Likewise.
35057 (struct test_c_c_data): Rename test_name field to arg_str.
35058 (struct test_cc_c_data): Likewise.
35059 (struct test_f_i_data): Likewise.
35060 (struct test_ff_i_data): Likewise.
35061 (struct test_f_l_data): Likewise.
35062 (struct test_f_L_data): Likewise.
35063 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35064 and extra2_name.
35065 (COMMON_TEST_SETUP): New macro.
35066 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35067 (COMMON_TEST_CLEANUP): Likewise.
35068 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35069 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35070 macros.
35071 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35072 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35073 macros.
35074 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35075 (RUN_TEST_fff_f): Take argument string. Call new setup and
35076 cleanup macros.
35077 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35078 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35079 macros.
35080 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35081 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35082 macros.
35083 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35084 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35085 cleanup macros.
35086 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35087 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35088 cleanup macros.
35089 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35090 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35091 cleanup macros.
35092 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35093 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35094 macros.
35095 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35096 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35097 macros.
35098 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35099 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35100 macros.
35101 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35102 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35103 cleanup macros.
35104 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35105 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35106 cleanup macros.
35107 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35108 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35109 macros.
35110 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35111 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35112 cleanup macros.
35113 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35114 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35115 macros.
35116 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35117 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35118 macros.
35119 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35120 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35121 cleanup macros.
35122 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35123
35124 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35125
35126 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35127 to _sifields.sigfault.
35128 (si_addr_lsb): Define new macro.
35129 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35132
35133 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35134
35135 [BZ #15441]
35136 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35137 returns -1.
35138 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35139 null return -1.
35140 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35141 loading the domain.
35142
35143 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35144
35145 * math/gen-libm-test.pl (parse_args): Do not include expected
35146 result in test name.
35147 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35149 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35151 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35153
35154 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35155
35156 * benchtests/Makefile: Sort function entries.
35157
35158 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35159 tanh, asinh, acosh, atanh.
35160 * benchtests/acos-inputs: New file.
35161 * benchtests/acosh-inputs: New file.
35162 * benchtests/asin-inputs: New file.
35163 * benchtests/asinh-inputs: New file.
35164 * benchtests/atanh-inputs: New file.
35165 * benchtests/cosh-inputs: New file.
35166 * benchtests/log-inputs: New file.
35167 * benchtests/sinh-inputs: New file.
35168 * benchtests/tanh-inputs: New file.
35169
35170 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35171
35172 [BZ #15339]
35173 * posix/tst-getaddrinfo4.c: New test.
35174 * posix/Makefile (tests): Add it.
35175
35176 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35177
35178 [BZ #15339]
35179 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35180 when no services were used.
35181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35182 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35183
35184 2013-05-21 Andreas Schwab <schwab@suse.de>
35185
35186 [BZ #15014]
35187 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35188 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35189 successful.
35190 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35191 redundant variable declarations and reallocation of buffer when
35192 parsing as IPv6 address. Always set NSS status when called from
35193 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35194 buffer too small. Correct computation of needed size.
35195 * nss/Makefile (tests): Add test-digits-dots.
35196 * nss/test-digits-dots.c: New test.
35197
35198 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35199
35200 * benchtests/Makefile: Remove instructions for adding
35201 benchmark tests.
35202 * benchtests/README: New file to explain how to execute and
35203 enhance the benchmark tests.
35204
35205 2013-05-21 Andreas Schwab <schwab@suse.de>
35206
35207 [BZ #15493]
35208 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35209 * setjmp/tst-sigsetjmp.c: New test.
35210
35211 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35212
35213 * sysdeps/x86_64/memset.S (memset): New implementation.
35214 (__bzero): Likewise.
35215 (__memset_tail): New function.
35216
35217 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35218
35219 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35220 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35221 __memcpy_sse2_unaligned ifunc selection.
35222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35223 Add memcpy-sse2-unaligned.S.
35224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35225 Add: __memcpy_sse2_unaligned.
35226
35227 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #15490]
35230 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35231 math_force_eval before restoring floating-point envrionment.
35232 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35234 Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35236 <math_private.h>.
35237 (__nearbyintl): Use math_force_eval before restoring
35238 floating-point environment.
35239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35240
35241 * math/gen-libm-test.pl (special_functions): Remove.
35242 (parse_args): Don't handle TEST_extra. Handle functions with no
35243 return value.
35244 * math/libm-test.inc (struct test_sincos_data): Replace with
35245 struct test_fFF_11_data.
35246 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35247 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35248 (sincos_test_data): Change element type to struct
35249 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35250 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35251 RUN_TEST_LOOP_sincos.
35252 * math/README.libm-test: Don't mention special handling of
35253 individual functions.
35254 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35255 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35256 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35258 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35260
35261 * math/gen-libm-test.pl (get_variable): Remove function.
35262 (parse_args): Don't show pointer parameters to call in test
35263 names. Use "extra output N" in test names for extra outputs
35264 rather than naming variables.
35265
35266 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35267
35268 [BZ #15488]
35269 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35270 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35271 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35272 double tests.
35273 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35274 disable.
35275 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35276 check_long_double.
35277
35278 * math/gen-libm-test.pl (@tests): Remove variable.
35279 ($count): Likewise.
35280 (new_test): Remove function.
35281 (show_exceptions): New function.
35282 (special_functions): Use show_exceptions instead of new_test.
35283 (parse_args): Likewise.
35284 (generate_testfile): Pass only function name in generated call to
35285 print_max_error or print_complex_max_error.
35286 (get_ulps): Do not handle complex tests specially.
35287 (output_test): Rename to ...
35288 (get_all_ulps_for_test): ... this. Return a string rather than
35289 printing to a file. Require ulps to be present.
35290 (output_ulps): Generate arrays rather than #defines.
35291 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35292 (struct ulp_data): New type.
35293 (BUILD_COMPLEX_ULP): Remove macro.
35294 (compare_ulp_data): New function.
35295 (find_ulps): Likewise.
35296 (find_test_ulps): Likewise.
35297 (find_function_ulps): Likewise.
35298 (find_complex_function_ulps): Likewise.
35299 (print_max_error): Determine allowed ulps using
35300 find_function_ulps.
35301 (print_complex_max_error): Determine allowed ulps using
35302 find_complex_function_ulps.
35303 (check_float_internal): Determine max ulps using find_test_ulps.
35304 (check_float): Do not take max_ulp parameter. Update call to
35305 check_float_internal.
35306 (check_complex): Likewise.
35307 (check_int): Do not take max_ulp parameter.
35308 (check_long): Likewise.
35309 (check_bool): Likewise.
35310 (check_longlong): Likewise.
35311 (struct test_f_f_data): Remove max_ulp field.
35312 (struct test_ff_f_data): Likewise.
35313 (struct test_ff_f_data_nexttoward): Likewise.
35314 (struct test_fi_f_data): Likewise.
35315 (struct test_fl_f_data): Likewise.
35316 (struct test_if_f_data): Likewise.
35317 (struct test_fff_f_data): Likewise.
35318 (struct test_c_f_data): Likewise.
35319 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35320 (struct test_fF_f1_data): Likewise.
35321 (struct test_ffI_f1_data): Likewise.
35322 (struct test_c_c_data): Remove max_ulp field.
35323 (struct test_cc_c_data): Likewise.
35324 (struct test_f_i_data): Likewise.
35325 (struct test_ff_i_data): Likewise.
35326 (struct test_f_l_data): Likewise.
35327 (struct test_f_L_data): Likewise.
35328 (struct test_sincos_data): Likewise.
35329 (RUN_TEST_f_f): Do not handle ulps.
35330 (RUN_TEST_LOOP_f_f): Likewise.
35331 (RUN_TEST_2_f): Likewise.
35332 (RUN_TEST_LOOP_2_f): Likewise.
35333 (RUN_TEST_fff_f): Likewise.
35334 (RUN_TEST_LOOP_fff_f): Likewise.
35335 (RUN_TEST_c_f): Likewise.
35336 (RUN_TEST_LOOP_c_f): Likewise.
35337 (RUN_TEST_f_f1): Likewise.
35338 (RUN_TEST_LOOP_f_f1): Likewise.
35339 (RUN_TEST_fF_f1): Likewise.
35340 (RUN_TEST_LOOP_fF_f1): Likewise.
35341 (RUN_TEST_fI_f1): Likewise.
35342 (RUN_TEST_LOOP_fI_f1): Likewise.
35343 (RUN_TEST_ffI_f1): Likewise.
35344 (RUN_TEST_LOOP_ffI_f1): Likewise.
35345 (RUN_TEST_c_c): Likewise.
35346 (RUN_TEST_LOOP_c_c): Likewise.
35347 (RUN_TEST_cc_c): Likewise.
35348 (RUN_TEST_LOOP_cc_c): Likewise.
35349 (RUN_TEST_f_i): Likewise.
35350 (RUN_TEST_LOOP_f_i): Likewise.
35351 (RUN_TEST_f_i_tg): Likewise.
35352 (RUN_TEST_LOOP_f_i_tg): Likewise.
35353 (RUN_TEST_ff_i_tg): Likewise.
35354 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35355 (RUN_TEST_f_b): Likewise.
35356 (RUN_TEST_LOOP_f_b): Likewise.
35357 (RUN_TEST_f_b_tg): Likewise.
35358 (RUN_TEST_LOOP_f_b_tg): Likewise.
35359 (RUN_TEST_f_l): Likewise.
35360 (RUN_TEST_LOOP_f_l): Likewise.
35361 (RUN_TEST_f_L): Likewise.
35362 (RUN_TEST_LOOP_f_L): Likewise.
35363 (RUN_TEST_sincos): Likewise.
35364 (RUN_TEST_LOOP_sincos): Likewise.
35365
35366 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35367
35368 [BZ #15480]
35369 [BZ #15485]
35370 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35371 main case of finite arguments, set rounding mode to FE_TONEAREST
35372 and discard exceptions.
35373 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35374 exceptions.
35375 (remainder_tonearest_test_data): New variable.
35376 (remainder_test_tonearest): New function.
35377 (remainder_towardzero_test_data): New variable.
35378 (remainder_test_towardzero): New function.
35379 (remainder_downward_test_data): New variable.
35380 (remainder_test_downward): New function.
35381 (remainder_upward_test_data): New variable.
35382 (remainder_test_upward): New function.
35383 (main): Call the new test functions.
35384
35385 * math/libm-test.inc (struct test_f_f1_data): Remove field
35386 extra_init.
35387 (struct test_fF_f1_data): Likewise.
35388 (struct test_ffI_f1_data): Likewise.
35389 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35390 based on value of EXTRA_EXPECTED.
35391 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35392 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35393 EXTRA_VAR based on value of EXTRA_EXPECTED.
35394 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35395 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35396 EXTRA_VAR based on value of EXTRA_EXPECTED.
35397 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35398 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35399 EXTRA_VAR based on value of EXTRA_EXPECTED.
35400 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35401 * math/gen-libm-test.pl (parse_args): Don't output initializers
35402 for extra output values.
35403
35404 * math/libm-test.inc (check_int): Expect result to be exactly
35405 equal to expected value and do not handle ulps.
35406 (check_long): Likewise.
35407 (check_longlong): Likewise.
35408
35409 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35410 exceptions.
35411 (cimag_test_data): Likewise.
35412 (conj_test_data): Likewise.
35413 (copysign_test_data): Likewise.
35414 (cproj_test_data): Likewise.
35415 (creal_test_data): Likewise.
35416 (fabs_test_data): Likewise.
35417 (fdim_test_data): Likewise.
35418 (finite_test_data): Likewise.
35419 (floor_test_data): Likewise.
35420 (fmax_test_data): Likewise.
35421 (fmin_test_data): Likewise.
35422 (fmod_test_data): Likewise.
35423 (fpclassify_test_data): Likewise.
35424 (frexp_test_data): Likewise.
35425 (ilogb_test_data): Likewise.
35426 (isfinite_test_data): Likewise.
35427 (isgreater_test_data): Likewise.
35428 (isgreaterequal_test_data): Likewise.
35429 (isinf_test_data): Likewise.
35430 (isless_test_data): Likewise.
35431 (islessequal_test_data): Likewise.
35432 (islessgreater_test_data): Likewise.
35433 (isnan_test_data): Likewise.
35434 (isnormal_test_data): Likewise.
35435 (issignaling_test_data): Likewise.
35436 (isunordered_test_data): Likewise.
35437 (ldexp_test_data): Likewise.
35438 (lrint_test_data): Likewise.
35439 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35440 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35441 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35442 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35443 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35444 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35445 test input.
35446 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35447 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35448 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35449 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35450 that test input.
35451 (lrint_downward_test_data): Test for "inexact" exceptions.
35452 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35453 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35454 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35455 test input.
35456 (lrint_upward_test_data): Test for "inexact" exceptions.
35457 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35458 test input.
35459 (llrint_test_data): Test for "inexact" exceptions.
35460 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35461 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35462 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35463 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35464 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35465 (llrint_downward_test_data): Test for "inexact" exceptions.
35466 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35467 (llrint_upward_test_data): Test for "inexact" exceptions.
35468 (logb_test_data): Likewise.
35469 (logb_downward_test_data): Likewise.
35470 (nextafter_test_data): Likewise.
35471 (nexttoward_test_data): Likewise.
35472 (remainder_test_data): Likewise.
35473 (remquo_test_data): Likewise.
35474 (scalbn_test_data): Likewise.
35475 (scalbln_test_data): Likewise.
35476 (signbit_test_data): Likewise.
35477 (sqrt_test_data): Likewise.
35478 (significand_test_data): Likewise.
35479
35480 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35481
35482 [BZ #15424]
35483 * benchtests/bench-modf.c (struct args): Mark arg0 as
35484 volatile.
35485 * scripts/bench.pl: Mark members of struct args as volatile.
35486
35487 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35488
35489 [BZ # 15497]
35490 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35491 negative infinity on POWER6 or lower.
35492 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35493
35494 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35495
35496 [BZ #15442]
35497 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35498 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35499 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35500 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35501 (_FP_SETQNAN): New macro.
35502 (_FP_SETQNAN_SEMIRAW): Likewise.
35503 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35504 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35505 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35506 (FP_EXTEND): Use _FP_FRAC_SNANP.
35507 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35508 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35509 into account.
35510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35511 New macro.
35512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35513 Likewise.
35514
35515 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35516
35517 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35518 with DIVIDE_BY_ZERO_EXCEPTION.
35519 (gamma_test_data): Likewise.
35520 (lgamma_test_data): Likewise.
35521 (log_test_data): Likewise.
35522 (log10_test_data): Likewise.
35523 (log2_test_data): Likewise.
35524 (tgamma_test_data): Likewise.
35525
35526 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35527 (acos_test_tonearest): Likewise.
35528 (acos_test_towardzero): Likewise.
35529 (acos_test_downward): Likewise.
35530 (acos_test_upward): Likewise.
35531 (acosh_test): Likewise.
35532 (asin_test): Likewise.
35533 (asin_test_tonearest): Likewise.
35534 (asin_test_towardzero): Likewise.
35535 (asin_test_downward): Likewise.
35536 (asin_test_upward): Likewise.
35537 (asinh_test): Likewise.
35538 (atan_test): Likewise.
35539 (atanh_test): Likewise.
35540 (atan2_test): Likewise.
35541 (cabs_test): Likewise.
35542 (cacos_test): Likewise.
35543 (cacosh_test): Likewise.
35544 (casin_test): Likewise.
35545 (casinh_test): Likewise.
35546 (catan_test): Likewise.
35547 (catanh_test): Likewise.
35548 (cbrt_test): Likewise.
35549 (ccos_test): Likewise.
35550 (ccosh_test): Likewise.
35551 (cexp_test): Likewise.
35552 (clog_test): Likewise.
35553 (clog10_test): Likewise.
35554 (cos_test): Likewise.
35555 (cos_test_tonearest): Likewise.
35556 (cos_test_towardzero): Likewise.
35557 (cos_test_downward): Likewise.
35558 (cos_test_upward): Likewise.
35559 (cosh_test): Likewise.
35560 (cosh_test_tonearest): Likewise.
35561 (cosh_test_towardzero): Likewise.
35562 (cosh_test_downward): Likewise.
35563 (cosh_test_upward): Likewise.
35564 (cpow_test): Likewise.
35565 (csin_test): Likewise.
35566 (csinh_test): Likewise.
35567 (csqrt_test): Likewise.
35568 (ctan_test): Likewise.
35569 (ctan_test_tonearest): Likewise.
35570 (ctan_test_towardzero): Likewise.
35571 (ctan_test_downward): Likewise.
35572 (ctan_test_upward): Likewise.
35573 (ctanh_test): Likewise.
35574 (ctanh_test_tonearest): Likewise.
35575 (ctanh_test_towardzero): Likewise.
35576 (ctanh_test_downward): Likewise.
35577 (ctanh_test_upward): Likewise.
35578 (erf_test): Likewise.
35579 (erfc_test): Likewise.
35580 (exp_test): Likewise.
35581 (exp_test_tonearest): Likewise.
35582 (exp_test_towardzero): Likewise.
35583 (exp_test_downward): Likewise.
35584 (exp_test_upward): Likewise.
35585 (exp10_test): Likewise.
35586 (exp2_test): Likewise.
35587 (expm1_test): Likewise.
35588 (fmod_test): Likewise.
35589 (gamma_test): Likewise.
35590 (hypot_test): Likewise.
35591 (j0_test): Likewise.
35592 (j1_test): Likewise.
35593 (jn_test): Likewise.
35594 (lgamma_test): Likewise.
35595 (log_test): Likewise.
35596 (log10_test): Likewise.
35597 (log1p_test): Likewise.
35598 (log2_test): Likewise.
35599 (logb_test_downward): Likewise.
35600 (pow_test): Likewise.
35601 (pow_test_tonearest): Likewise.
35602 (pow_test_towardzero): Likewise.
35603 (pow_test_downward): Likewise.
35604 (pow_test_upward): Likewise.
35605 (remainder_test): Likewise.
35606 (remquo_test): Likewise.
35607 (sin_test): Likewise.
35608 (sin_test_tonearest): Likewise.
35609 (sin_test_towardzero): Likewise.
35610 (sin_test_downward): Likewise.
35611 (sin_test_upward): Likewise.
35612 (sincos_test): Likewise.
35613 (sinh_test): Likewise.
35614 (sinh_test_tonearest): Likewise.
35615 (sinh_test_towardzero): Likewise.
35616 (sinh_test_downward): Likewise.
35617 (sinh_test_upward): Likewise.
35618 (sqrt_test): Likewise.
35619 (tan_test): Likewise.
35620 (tan_test_tonearest): Likewise.
35621 (tan_test_towardzero): Likewise.
35622 (tan_test_downward): Likewise.
35623 (tan_test_upward): Likewise.
35624 (tanh_test): Likewise.
35625 (tgamma_test): Likewise.
35626 (y0_test): Likewise.
35627 (y1_test): Likewise.
35628 (yn_test): Likewise.
35629
35630 * math/gen-libm-test.pl (adjust_arg): Remove function.
35631 (special_function): Remove argument $in_func. Only handle
35632 generating output for tables of tests, not inside functions.
35633 (parse_args): Likewise.
35634 (generate_testfile): Remove variable $in_func. Update call to
35635 parse_args.
35636 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35637 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35638 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35639 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35640 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35641 (MAX_VALUE_INIT): Rename macro to max_value.
35642 (MIN_VALUE_INIT): Rename macro to min_value.
35643 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35644 (plus_zero): Remove variable.
35645 (minus_zero): Likewise.
35646 (plus_infty): Likewise.
35647 (minus_infty): Likewise.
35648 (qnan_value): Likewise.
35649 (max_value): Likewise.
35650 (min_value): Likewise.
35651 (min_subnorm_value): Likewise.
35652
35653 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35654
35655 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35656 uint64_t or uint32_t usage.
35657 * crypt/sha256-block.c: Likewise.
35658 * crypt/sha256-crypt.c: Likewise.
35659 * crypt/sha256.c: Likewise.
35660 * crypt/sha512-block.c: Likewise.
35661 * crypt/sha512-crypt.c: Likewise.
35662 * crypt/sha512.c: Likewise.
35663 * debug/backtrace-tst.c: Likewise.
35664 * debug/pcprofiledump.c: Likewise.
35665 * elf/cache.c: Likewise.
35666 * elf/dl-cache.c: Likewise.
35667 * elf/dl-misc.c: Likewise.
35668 * elf/dl-profile.c: Likewise.
35669 * elf/dl-support.c: Likewise.
35670 * elf/ldconfig.c: Likewise.
35671 * elf/sprof.c: Likewise.
35672 * iconv/dummy-repertoire.c: Likewise.
35673 * iconv/iconv_charmap.c: Likewise.
35674 * iconv/skeleton.c: Likewise.
35675 * iconvdata/8bit-generic.c: Likewise.
35676 * iconvdata/cp737.h: Likewise.
35677 * iconvdata/cp775.h: Likewise.
35678 * iconvdata/ibm1008.h: Likewise.
35679 * iconvdata/ibm1025.h: Likewise.
35680 * iconvdata/ibm1046.h: Likewise.
35681 * iconvdata/ibm1097.h: Likewise.
35682 * iconvdata/ibm1112.h: Likewise.
35683 * iconvdata/ibm1122.h: Likewise.
35684 * iconvdata/ibm1123.h: Likewise.
35685 * iconvdata/ibm1124.h: Likewise.
35686 * iconvdata/ibm1129.h: Likewise.
35687 * iconvdata/ibm1130.h: Likewise.
35688 * iconvdata/ibm1132.h: Likewise.
35689 * iconvdata/ibm1133.h: Likewise.
35690 * iconvdata/ibm1137.h: Likewise.
35691 * iconvdata/ibm1140.h: Likewise.
35692 * iconvdata/ibm1141.h: Likewise.
35693 * iconvdata/ibm1142.h: Likewise.
35694 * iconvdata/ibm1143.h: Likewise.
35695 * iconvdata/ibm1144.h: Likewise.
35696 * iconvdata/ibm1145.h: Likewise.
35697 * iconvdata/ibm1146.h: Likewise.
35698 * iconvdata/ibm1147.h: Likewise.
35699 * iconvdata/ibm1148.h: Likewise.
35700 * iconvdata/ibm1149.h: Likewise.
35701 * iconvdata/ibm1153.h: Likewise.
35702 * iconvdata/ibm1154.h: Likewise.
35703 * iconvdata/ibm1155.h: Likewise.
35704 * iconvdata/ibm1156.h: Likewise.
35705 * iconvdata/ibm1157.h: Likewise.
35706 * iconvdata/ibm1158.h: Likewise.
35707 * iconvdata/ibm1160.h: Likewise.
35708 * iconvdata/ibm1161.h: Likewise.
35709 * iconvdata/ibm1162.h: Likewise.
35710 * iconvdata/ibm1163.h: Likewise.
35711 * iconvdata/ibm1164.h: Likewise.
35712 * iconvdata/ibm1166.h: Likewise.
35713 * iconvdata/ibm1167.h: Likewise.
35714 * iconvdata/ibm12712.h: Likewise.
35715 * iconvdata/ibm1390.h: Likewise.
35716 * iconvdata/ibm1399.h: Likewise.
35717 * iconvdata/ibm16804.h: Likewise.
35718 * iconvdata/ibm4517.h: Likewise.
35719 * iconvdata/ibm4899.h: Likewise.
35720 * iconvdata/ibm4909.h: Likewise.
35721 * iconvdata/ibm4971.h: Likewise.
35722 * iconvdata/ibm5347.h: Likewise.
35723 * iconvdata/ibm803.h: Likewise.
35724 * iconvdata/ibm856.h: Likewise.
35725 * iconvdata/ibm901.h: Likewise.
35726 * iconvdata/ibm902.h: Likewise.
35727 * iconvdata/ibm9030.h: Likewise.
35728 * iconvdata/ibm9066.h: Likewise.
35729 * iconvdata/ibm921.h: Likewise.
35730 * iconvdata/ibm922.h: Likewise.
35731 * iconvdata/ibm9448.h: Likewise.
35732 * iconvdata/isiri-3342.h: Likewise.
35733 * iconvdata/jis0201.h: Likewise.
35734 * include/link.h: Likewise.
35735 * include/netdb.h: Likewise.
35736 * inet/check_native.c: Likewise.
35737 * inet/check_pf.c: Likewise.
35738 * inet/getipv4sourcefilter.c: Likewise.
35739 * inet/getnameinfo.c: Likewise.
35740 * inet/getsourcefilter.c: Likewise.
35741 * inet/htonl.c: Likewise.
35742 * inet/setipv4sourcefilter.c: Likewise.
35743 * inet/setsourcefilter.c: Likewise.
35744 * inet/test-inet6_opt.c: Likewise.
35745 * inet/tst-network.c: Likewise.
35746 * locale/C-collate.c: Likewise.
35747 * locale/C-ctype.c: Likewise.
35748 * locale/C-time.c: Likewise.
35749 * locale/C-translit.h: Likewise.
35750 * locale/loadarchive.c: Likewise.
35751 * locale/programs/3level.h: Likewise.
35752 * locale/programs/charmap.c: Likewise.
35753 * locale/programs/charmap.h: Likewise.
35754 * locale/programs/ld-address.c: Likewise.
35755 * locale/programs/ld-collate.c: Likewise.
35756 * locale/programs/ld-ctype.c: Likewise.
35757 * locale/programs/ld-identification.c: Likewise.
35758 * locale/programs/ld-measurement.c: Likewise.
35759 * locale/programs/ld-messages.c: Likewise.
35760 * locale/programs/ld-monetary.c: Likewise.
35761 * locale/programs/ld-name.c: Likewise.
35762 * locale/programs/ld-numeric.c: Likewise.
35763 * locale/programs/ld-paper.c: Likewise.
35764 * locale/programs/ld-telephone.c: Likewise.
35765 * locale/programs/ld-time.c: Likewise.
35766 * locale/programs/linereader.c: Likewise.
35767 * locale/programs/locale.c: Likewise.
35768 * locale/programs/locarchive.c: Likewise.
35769 * locale/programs/locfile.h: Likewise.
35770 * locale/programs/repertoire.c: Likewise.
35771 * locale/programs/simple-hash.c: Likewise.
35772 * locale/programs/simple-hash.h: Likewise.
35773 * malloc/memusage.c: Likewise.
35774 * malloc/memusagestat.c: Likewise.
35775 * nis/nis_defaults.c: Likewise.
35776 * nis/nis_hash.c: Likewise.
35777 * nis/nis_print.c: Likewise.
35778 * nis/nis_xdr.c: Likewise.
35779 * nscd/connections.c: Likewise.
35780 * nscd/hstcache.c: Likewise.
35781 * nscd/nscd_gethst_r.c: Likewise.
35782 * nscd/nscd_getserv_r.c: Likewise.
35783 * nscd/nscd_helper.c: Likewise.
35784 * nscd/servicescache.c: Likewise.
35785 * nss/makedb.c: Likewise.
35786 * nss/nss_db/db-XXX.c: Likewise.
35787 * nss/nss_db/db-initgroups.c: Likewise.
35788 * nss/nss_db/db-netgrp.c: Likewise.
35789 * nss/nss_files/files-network.c: Likewise.
35790 * nss/nss_files/files-parse.c: Likewise.
35791 * posix/bug-regex5.c: Likewise.
35792 * posix/fnmatch_loop.c: Likewise.
35793 * posix/regcomp.c: Likewise.
35794 * posix/regexec.c: Likewise.
35795 * posix/tst-rfc3484-2.c: Likewise.
35796 * posix/tst-rfc3484-3.c: Likewise.
35797 * posix/tst-rfc3484.c: Likewise.
35798 * resolv/nss_dns/dns-canon.c: Likewise.
35799 * resolv/nss_dns/dns-network.c: Likewise.
35800 * resolv/res_init.c: Likewise.
35801 * resolv/res_mkquery.c: Likewise.
35802 * resolv/tst-aton.c: Likewise.
35803 * stdlib/cxa_atexit.c: Likewise.
35804 * stdlib/cxa_finalize.c: Likewise.
35805 * stdlib/gen-fpioconst.c: Likewise.
35806 * stdlib/strtol_l.c: Likewise.
35807 * string/tst-endian.c: Likewise.
35808 * sunrpc/auth_des.c: Likewise.
35809 * sunrpc/clnt_udp.c: Likewise.
35810 * sunrpc/rtime.c: Likewise.
35811 * sunrpc/svcauth_des.c: Likewise.
35812 * sunrpc/xdr.c: Likewise.
35813 * sunrpc/xdr_intXX_t.c: Likewise.
35814 * sunrpc/xdr_rec.c: Likewise.
35815 * sysdeps/generic/ldconfig.h: Likewise.
35816 * sysdeps/generic/ldsodefs.h: Likewise.
35817 * sysdeps/generic/memusage.h: Likewise.
35818 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35820 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35821 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35823 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35824 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35826 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35828 * sysdeps/posix/getaddrinfo.c: Likewise.
35829 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35830 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35831 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35832 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35833 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35834 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35835 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35836 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35837 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35838 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35839 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35841 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35842 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35843 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35844 * sysdeps/x86_64/dl-tls.h: Likewise.
35845 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35846 * time/alt_digit.c: Likewise.
35847 * time/era.c: Likewise.
35848 * wcsmbs/tst-c16c32-1.c: Likewise.
35849
35850 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35851
35852 * math/libm-test.inc (struct test_sincos_data): New type.
35853 (RUN_TEST_LOOP_sincos): New macro.
35854 (sincos_test_data): New variable.
35855 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35856
35857 2013-05-16 Richard Henderson <rth@redhat.com>
35858
35859 * math/atest-exp2.c (LIMB64): New macro.
35860 (CONSTSZ): New macro.
35861 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35862 (hexdig): Move ...
35863 (print_mpn_fp): ... to function scope.
35864 (read_mpn_hex): Remove.
35865 (get_log2): Remove.
35866 (exp2_mpn): Use mp_log2.
35867 (main): Use mp_exp1.
35868
35869 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35870
35871 * math/libm-test.inc: Remove comment about not testing "inexact"
35872 exceptions.
35873 (INEXACT_EXCEPTION): New macro.
35874 (NO_INEXACT_EXCEPTION): Likewise.
35875 (INVALID_EXCEPTION_OK): Update value.
35876 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35877 (OVERFLOW_EXCEPTION_OK): Likewise.
35878 (UNDERFLOW_EXCEPTION_OK): Likewise.
35879 (IGNORE_ZERO_INF_SIGN): Likewise.
35880 (ERRNO_UNCHANGED): Likewise.
35881 (ERRNO_EDOM): Likewise.
35882 (ERRNO_ERANGE): Likewise.
35883 (test_exceptions): Handle testing "inexact" exceptions.
35884 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35885 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35886 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35887 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35888 INEXACT_EXCEPTION.
35889 (rint_towardzero_test_data): Likewise.
35890 (rint_downward_test_data): Likewise.
35891 (rint_upward_test_data): Likewise.
35892
35893 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35894 with OVERFLOW_EXCEPTION.
35895 (exp10_test_data): Likewise.
35896 (exp2_test_data): Likewise.
35897 (expm1_test_data): Likewise.
35898 (lgamma_test_data): Likewise.
35899 (pow_test_data): Likewise.
35900 (tgamma_test_data): Likewise.
35901 (yn_test_data): Remove duplicate test of overflow.
35902
35903 * math/libm-test.inc (struct test_cc_c_data): New type.
35904 (RUN_TEST_LOOP_cc_c): New macro.
35905 (cpow_test_data): New variable.
35906 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35907
35908 * math/libm-test.inc (struct test_f_L_data): New type.
35909 (RUN_TEST_LOOP_f_L): New macro.
35910 (llrint_test_data): New variable.
35911 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35912 (llrint_tonearest_test_data): New variable.
35913 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35914 (llrint_towardzero_test_data): New variable.
35915 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35916 (llrint_downward_test_data): New variable.
35917 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35918 (llrint_upward_test_data): New variable.
35919 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35920 (llround_test_data): New variable.
35921 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35922
35923 2013-05-13 Peter Collingbourne <pcc@google.com>
35924
35925 * math/atest-exp2.c (get_log2): Remove const attribute.
35926
35927 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35928
35929 * math/libm-test.inc (struct test_f_l_data): New type.
35930 (RUN_TEST_LOOP_f_l): New macro.
35931 (lrint_test_data): New variable.
35932 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35933 (lrint_tonearest_test_data): New variable.
35934 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35935 (lrint_towardzero_test_data): New variable.
35936 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35937 (lrint_downward_test_data): New variable.
35938 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35939 (lrint_upward_test_data): New variable.
35940 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35941 (lround_test_data): New variable.
35942 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35943
35944 2013-05-15 Peter Collingbourne <pcc@google.com>
35945
35946 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35947 (EXTRACT_WORDS64) Use where appropriate.
35948 (INSERT_WORDS64) Likewise.
35949
35950 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35951 constraints with x constraints.
35952 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35953
35954 * malloc/obstack.c (_obstack_compat): Add initializer.
35955
35956 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
35957
35958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35959 si_trapno and add si_addr_lsb to _sifields.sigfault.
35960 (si_trapno): Remove macro.
35961 (si_addr_lsb): Define new macro.
35962 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35963
35964 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35965
35966 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35967 instead of TEST_f_l.
35968 (llrint_test_tonearest): Likewise.
35969 (llrint_test_towardzero): Likewise.
35970 (llrint_test_downward): Likewise.
35971 (llrint_test_upward): Likewise.
35972 (llround_test): Likewise.
35973
35974 * math/libm-test.inc (struct test_f_i_data): Add comment.
35975 (RUN_TEST_LOOP_f_b): New macro.
35976 (RUN_TEST_LOOP_f_b_tg): Likewise.
35977 (finite_test_data): New variable.
35978 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35979 (isfinite_test_data): New variable.
35980 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35981 (isinf_test_data): New variable.
35982 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35983 (isnan_test_data): New variable.
35984 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35985 (isnormal_test_data): New variable.
35986 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35987 (issignaling_test_data): New variable.
35988 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35989 (signbit_test_data): New variable.
35990 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35991
35992 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35993 with INVALID_EXCEPTION.
35994 (acosh_test_data): Likewise.
35995 (asin_test_data): Likewise.
35996 (atanh_test_data): Likewise.
35997 (fmod_test_data): Likewise.
35998 (log_test_data): Likewise.
35999 (log10_test_data): Likewise.
36000 (log2_test_data): Likewise.
36001 (pow_test_data): Likewise.
36002 (sqrt_test_data): Likewise.
36003 (y0_test_data): Likewise.
36004 (y1_test_data): Likewise.
36005 (yn_test_data): Likewise.
36006
36007 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36008 function contents.
36009
36010 * math/libm-test.inc (struct test_ff_i_data): New type.
36011 (RUN_TEST_LOOP_ff_i_tg): New macro.
36012 (isgreater_test_data): New variable.
36013 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36014 (isgreaterequal_test_data): New variable.
36015 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36016 (isless_test_data): New variable.
36017 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36018 (islessequal_test_data): New variable.
36019 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36020 (islessgreater_test_data): New variable.
36021 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36022 (isunordered_test_data): New variable.
36023 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36024
36025 2013-05-14 David S. Miller <davem@davemloft.net>
36026
36027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36028
36029 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36030
36031 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36032
36033 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36034 extra_test to int.
36035 (struct test_f_i_data): Change type of max_ulp to int.
36036
36037 * math/libm-test.inc (test_ffI_f1_data): New type.
36038 (RUN_TEST_LOOP_ffI_f1): New macro.
36039 (remquo_test_data): New variable.
36040 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36041
36042 * setjmp/tst-setjmp-fp.c: New file.
36043 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36044 (link-libm): New variable.
36045 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36046
36047 * math/libm-test.inc (struct test_f_i_data): New type.
36048 (RUN_TEST_LOOP_f_i): New macro.
36049 (RUN_TEST_LOOP_f_i_tg): Likewise.
36050 (fpclassify_test_data): New variable.
36051 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36052 (ilogb_test_data): New variable.
36053 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36054
36055 * math/libm-test.inc (scalbln_test): Correct function name in END
36056 call.
36057
36058 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36059 (RUN_TEST_LOOP_fI_f1): New macro.
36060 (frexp_test_data): New variable.
36061 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36062
36063 * math/libm-test.inc (struct test_fF_f1_data): New type.
36064 (RUN_TEST_LOOP_fF_f1): New macro.
36065 (modf_test_data): New variable.
36066 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36067
36068 * math/libm-test.inc (struct test_f_f1_data): New type.
36069 (RUN_TEST_LOOP_f_f1): New macro.
36070 (gamma_test_data): New variable.
36071 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36072 (lgamma_test_data): New variable.
36073 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36074
36075 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36076
36077 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36078 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36079 (main): Comment "tls" pseudo-hwcap.
36080
36081 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36082
36083 * math/libm-test.inc (struct test_fl_f_data): New type.
36084 (RUN_TEST_LOOP_fl_f): New variable.
36085 (scalbln_test_data): New variable.
36086 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36087
36088 * math/libm-test.inc (struct test_fi_f_data): New type.
36089 (RUN_TEST_LOOP_fi_f): New macro.
36090 (ldexp_test_data): New variable.
36091 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36092 (scalbn_test_data): New variable.
36093 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36094
36095 * math/libm-test.inc (struct test_c_f_data): New type.
36096 (RUN_TEST_LOOP_c_f): New macro.
36097 (cabs_test_data): New variable.
36098 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36099 (carg_test_data): New variable.
36100 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36101 (cimag_test_data): New variable.
36102 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36103 (creal_test_data): New variable.
36104 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36105
36106 * math/libm-test.inc (struct test_if_f_data): New type.
36107 (RUN_TEST_LOOP_if_f): New macro.
36108 (jn_test_data): New variable.
36109 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36110 (yn_test_data): New variable.
36111 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36112
36113 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36114
36115 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36116
36117 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36118 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36119
36120 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36121
36122 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36123 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36124 (bench-deps): Add bench-timing.h.
36125 * benchtests-bench-skeleton.c: Include bench-timing.h.
36126 (main): Use TIMING_* macros instead of clock_gettime.
36127 * benchtests/bench-timing.h: New file.
36128
36129 [BZ #14582]
36130 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36131 Renamed from _LIB_VERSION.
36132 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36133
36134 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36135
36136 * math/libm-test.inc (struct test_fff_f_data): New type.
36137 (RUN_TEST_LOOP_fff_f): New macro.
36138 (fma_test_data): New variable.
36139 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36140 (fma_towardzero_test_data): New variable.
36141 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36142 (fma_downward_test_data): New variable.
36143 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36144 (fma_upward_test_data): New variable.
36145 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36146
36147 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36148 (struct test_c_c_data): New type.
36149 (RUN_TEST_LOOP_c_c): New macro.
36150 (cacos_test_data): New variable.
36151 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36152 (cacosh_test_data): New variable.
36153 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36154 (casin_test_data): New variable.
36155 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36156 (casinh_test_data): New variable.
36157 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36158 (catan_test_data): New variable.
36159 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36160 (catanh_test_data): New variable.
36161 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36162 (ccos_test_data): New variable.
36163 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36164 (ccosh_test_data): New variable.
36165 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36166 (cexp_test_data): New variable.
36167 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36168 (clog_test_data): New variable.
36169 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36170 (clog10_test_data): New variable.
36171 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36172 (conj_test_data): New variable.
36173 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36174 (cproj_test_data): New variable.
36175 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36176 (csin_test_data): New variable.
36177 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36178 (csinh_test_data): New variable.
36179 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36180 (csqrt_test_data): New variable.
36181 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36182 (ctan_test_data): New variable.
36183 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36184 (ctan_tonearest_test_data): New variable.
36185 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36186 (ctan_towardzero_test_data): New variable.
36187 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36188 (ctan_downward_test_data): New variable.
36189 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36190 (ctan_upward_test_data): New variable.
36191 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36192 (ctanh_test_data): New variable.
36193 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36194 (ctanh_tonearest_test_data): New variable.
36195 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36196 (ctanh_towardzero_test_data): New variable.
36197 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36198 (ctanh_downward_test_data): New variable.
36199 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36200 (ctanh_upward_test_data): New variable.
36201 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36202 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36203 of BUILD_COMPLEX.
36204
36205 * math/libm-test.inc (struct test_ff_f_data): New type.
36206 (struct test_ff_f_data_nexttoward): Likewise.
36207 (RUN_TEST_LOOP_2_f): New macro.
36208 (RUN_TEST_LOOP_ff_f): Likewise.
36209 (atan2_test_data): New variable.
36210 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36211 (copysign_test_data): New variable.
36212 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36213 (fdim_test_data): New variable.
36214 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36215 (fmax_test_data): New variable.
36216 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36217 (fmin_test_data): New variable.
36218 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36219 (fmod_test_data): New variable.
36220 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36221 (hypot_test_data): New variable.
36222 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36223 (nextafter_test_data): New variable.
36224 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36225 (nexttoward_test_data): New variable.
36226 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36227 (pow_test_data): New variable.
36228 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36229 (pow_tonearest_test_data): New variable.
36230 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36231 (pow_towardzero_test_data): New variable.
36232 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36233 (pow_downward_test_data): New variable.
36234 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36235 (pow_upward_test_data): New variable.
36236 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36237 (remainder_test_data): New variable.
36238 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36239 (scalb_test_data): New variable.
36240 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36241 * sysdeps/i386/fpu/libm-test-ulps: Update.
36242
36243 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36244
36245 * math/libm-test.inc (fma_test): Use max_value instead of local
36246 variable fltmax.
36247 (nextafter_test): Likewise.
36248
36249 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36250 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36251 (acos_downward_test_data): New variable.
36252 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36253 (acos_upward_test_data): New variable.
36254 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36255 (acosh_test_data): New variable.
36256 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36257 (asin_test_data): New variable.
36258 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36259 (asin_tonearest_test_data): New variable.
36260 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36261 (asin_towardzero_test_data): New variable.
36262 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36263 (asin_downward_test_data): New variable.
36264 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36265 (asin_upward_test_data): New variable.
36266 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36267 (asinh_test_data): New variable.
36268 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36269 (atan_test_data): New variable.
36270 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36271 (atanh_test_data): New variable.
36272 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36273 (cbrt_test_data): New variable.
36274 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36275 (ceil_test_data): New variable.
36276 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36277 (cos_test_data): New variable.
36278 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36279 (cos_tonearest_test_data): New variable.
36280 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36281 (cos_towardzero_test_data): New variable.
36282 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36283 (cos_downward_test_data): New variable.
36284 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36285 (cos_upward_test_data): New variable.
36286 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36287 (cosh_test_data): New variable.
36288 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36289 (cosh_tonearest_test_data): New variable.
36290 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36291 (cosh_towardzero_test_data): New variable.
36292 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36293 (cosh_downward_test_data): New variable.
36294 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36295 (cosh_upward_test_data): New variable.
36296 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36297 (erf_test_data): New variable.
36298 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36299 (erfc_test_data): New variable.
36300 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36301 (exp_test_data): New variable.
36302 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36303 (exp_tonearest_test_data): New variable.
36304 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36305 (exp_towardzero_test_data): New variable.
36306 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36307 (exp_downward_test_data): New variable.
36308 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36309 (exp_upward_test_data): New variable.
36310 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36311 (exp10_test_data): New variable.
36312 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36313 (exp2_test_data): New variable.
36314 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36315 (expm1_test_data): New variable.
36316 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36317 (fabs_test_data): New variable.
36318 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36319 (floor_test_data): New variable.
36320 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36321 (j0_test_data): New variable.
36322 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36323 (j1_test_data): New variable.
36324 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36325 (log_test_data): New variable.
36326 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36327 (log10_test_data): New variable.
36328 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36329 (log1p_test_data): New variable.
36330 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36331 (log2_test_data): New variable.
36332 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36333 (logb_test_data): New variable.
36334 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36335 (logb_downward_test_data): New variable.
36336 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36337 (nearbyint_test_data): New variable.
36338 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36339 (rint_test_data): New variable.
36340 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36341 (rint_tonearest_test_data): New variable.
36342 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36343 (rint_towardzero_test_data): New variable.
36344 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36345 (rint_downward_test_data): New variable.
36346 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36347 (rint_upward_test_data): New variable.
36348 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36349 (round_test_data): New variable.
36350 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36351 (sin_test_data): New variable.
36352 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36353 (sin_tonearest_test_data): New variable.
36354 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36355 (sin_towardzero_test_data): New variable.
36356 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36357 (sin_downward_test_data): New variable.
36358 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36359 (sin_upward_test_data): New variable.
36360 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36361 (sinh_test_data): New variable.
36362 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36363 (sinh_tonearest_test_data): New variable.
36364 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36365 (sinh_towardzero_test_data): New variable.
36366 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36367 (sinh_downward_test_data): New variable.
36368 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36369 (sinh_upward_test_data): New variable.
36370 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36371 (sqrt_test_data): New variable.
36372 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36373 (tan_test_data): New variable.
36374 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36375 (tan_tonearest_test_data): New variable.
36376 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36377 (tan_towardzero_test_data): New variable.
36378 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36379 (tan_downward_test_data): New variable.
36380 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36381 (tan_upward_test_data): New variable.
36382 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36383 (tanh_test_data): New variable.
36384 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36385 (tgamma_test_data): New variable.
36386 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36387 (trunc_test_data): New variable.
36388 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36389 (y0_test_data): New variable.
36390 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36391 (y1_test_data): New variable.
36392 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36393 (significand_test_data): New variable.
36394 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36395
36396 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36397
36398 [BZ #12387]
36399 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36400
36401 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36402
36403 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36404
36405 2013-05-10 Andreas Jaeger <aj@suse.de>
36406
36407 [BZ #15448]
36408 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36409 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36410
36411 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36412
36413 * math/gen-libm-test.pl (adjust_arg): New function.
36414 (special_functions): Handle generating output in both functions
36415 and arrays.
36416 (parse_args): Likewise.
36417 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36418 $in_func argument to parse_args.
36419 * math/libm-test.inc (struct test_f_f_data): New type.
36420 (IF_ROUND_INIT_): New macro.
36421 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36422 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36423 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36424 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36425 (ROUND_RESTORE_): Likewise.
36426 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36427 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36428 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36429 (ROUND_RESTORE_FE_UPWARD): Likewise.
36430 (RUN_TEST_LOOP_f_f): New macro.
36431 (acos_test_data): New variable.
36432 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36433 (acos_tonearest_test_data): New variable.
36434 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36435
36436 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36437
36438 * benchtests/bench-skeleton.c (startup): Fix coding style.
36439
36440 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36441
36442 [BZ #6809]
36443 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36444 negative infinity argument.
36445 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36446 negative infinity argument.
36447 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36448 negative infinity argument.
36449 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36450 domain errors.
36451
36452 2013-05-10 Florian Weimer <fweimer@redhat.com>
36453
36454 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36455 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36456 * iconv/iconv_prog.c (main): Likewise.
36457 * locale/programs/charmap-dir.c (charmap_readdir)
36458 (fopen_uncompressed): Likewise.
36459 * locale/programs/locfile.c (siblings_uncached)
36460 (write_locale_data): Use lstat64 instead of lstat.
36461 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36462 stat.
36463
36464 2013-05-10 Andreas Jaeger <aj@suse.de>
36465
36466 [BZ #15395]
36467 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36468 localization.
36469 Include <locale.h>.
36470
36471 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36472
36473 * elf/dl-close.c (_dl_close_worker): Add comments.
36474
36475 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36476
36477 [BZ #15359]
36478 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36479 high part of pi/2.
36480 (__ieee754_rem_pio2l): Update comments.
36481
36482 [BZ #15429]
36483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36484 high part of pi/2.
36485 (__ieee754_rem_pio2l): Update comments.
36486
36487 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36488 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36489
36490 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36491 M_PI_4l.
36492
36493 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36494 (M_PI_34_LOG10El): Likewise.
36495 (M_PI2_LOG10El): Likewise.
36496 (M_PI4_LOG10El): Likewise.
36497 (M_PI_LOG10El): Likewise.
36498
36499 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36500
36501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36502
36503 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36504
36505 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36506 (MINUS_ZERO_INIT): Likewise.
36507 (PLUS_INFTY_INIT): Likewise.
36508 (MINUS_INFTY_INIT): Likewise.
36509 (QNAN_VALUE_INIT): Likewise.
36510 (MAX_VALUE_INIT): Likewise.
36511 (MIN_VALUE_INIT): Likewise.
36512 (MIN_SUBNORM_VALUE_INIT): Likewise.
36513 (plus_zero): Initialize with PLUS_ZERO_INIT.
36514 (minus_zero): Initialize with MINUS_ZERO_INIT.
36515 (plus_infty): Initialize with PLUS_INFTY_INIT.
36516 (minus_infty): Initialize with MINUS_INFTY_INIT.
36517 (qnan_value): Initialize with QNAN_VALUE_INIT.
36518 (max_value): Initialize with MAX_VALUE_INIT.
36519 (min_value): Initialize with MIN_VALUE_INIT.
36520 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36521
36522 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36523 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36524 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36525 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36526
36527 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36528 (RUN_TEST_2_f): Likewise.
36529 (RUN_TEST_ff_f): Likewise.
36530 (RUN_TEST_fi_f): Likewise.
36531 (RUN_TEST_fl_f): Likewise.
36532 (RUN_TEST_fff_f): Likewise.
36533 (RUN_TEST_c_f): Likewise.
36534 (RUN_TEST_f_f1): Likewise.
36535 (RUN_TEST_fF_f1): Likewise.
36536 (RUN_TEST_fI_f1): Likewise.
36537 (RUN_TEST_ffI_f1): Likewise.
36538 (RUN_TEST_c_c): Likewise.
36539 (RUN_TEST_cc_c): Likewise.
36540 (RUN_TEST_f_i): Likewise.
36541 (RUN_TEST_f_i_tg): Likewise.
36542 (RUN_TEST_ff_i_tg): Likewise.
36543 (RUN_TEST_f_b): Likewise.
36544 (RUN_TEST_f_b_tg): Likewise.
36545 (RUN_TEST_f_l): Likewise.
36546 (RUN_TEST_f_L): Likewise.
36547 (RUN_TEST_sincos): Likewise.
36548 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36549 whether to show exceptions. Do not include ");\n" in return
36550 value.
36551 (special_functions): Output call to RUN_TEST_sincos instead of
36552 check_float calls. Update calls to new_test.
36553 (parse_args): Output call to single RUN_TEST_* macro instead of
36554 check_* calls and other assignments. Update calls to new_test.
36555
36556 [BZ #2546]
36557 [BZ #2560]
36558 [BZ #5159]
36559 [BZ #15426]
36560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36561 input to result for tgamma overflow.
36562 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36563 (gamma_coeff): New variable.
36564 (NCOEFF): New macro.
36565 (gamma_positive): New function.
36566 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36567 underflow here. Use gamma_positive instead of exp (lgamma) for
36568 other arguments.
36569 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36570 (gamma_coeff): New variable.
36571 (NCOEFF): New macro.
36572 (gammaf_positive): New function.
36573 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36574 underflow here. Use gamma_positive instead of exp (lgamma) for
36575 other arguments.
36576 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36577 (gamma_coeff): New variable.
36578 (NCOEFF): New macro.
36579 (gammal_positive): New function.
36580 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36581 underflow here. Use gamma_positive instead of exp (lgamma) for
36582 other arguments.
36583 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36584 (gamma_coeff): New variable.
36585 (NCOEFF): New macro.
36586 (gammal_positive): New function.
36587 (__ieee754_gammal_r): Handle positive infinity, overflow and
36588 underflow here. Handle NaN the same as positive infinity. Remove
36589 check x < 0xffffffff for negative integers. Use gamma_positive
36590 instead of exp (lgamma) for other arguments.
36591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36592 (gamma_coeff): New variable.
36593 (NCOEFF): New macro.
36594 (gammal_positive): New function.
36595 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36596 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36597 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36598 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36599 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36600 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36601 * sysdeps/generic/math_private.h (__gamma_productf): New
36602 prototype.
36603 (__gamma_product): Likewise.
36604 (__gamma_productl): Likewise.
36605 * math/Makefile (libm-calls): Add gamma_product.
36606 * math/libm-test.inc (tgamma_test): Add more tests.
36607 * sysdeps/i386/fpu/libm-test-ulps: Update.
36608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609
36610 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36611
36612 * benchtests/bench-skeleton.c (main): Preheat CPU.
36613
36614 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36615
36616 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36617
36618 2013-05-07 Roland McGrath <roland@hack.frob.com>
36619
36620 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36621 and _dl_skip_args_internal.
36622
36623 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36624
36625 * manual/message.texi (Message Translation): Talk about users.
36626 Message to key mapping impacts design.
36627
36628 2013-05-06 Roland McGrath <roland@hack.frob.com>
36629
36630 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36631
36632 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36633
36634 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36635 * sysdeps/wordsize-64/glob64.c: ... here.
36636
36637 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36638 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36639 New macros.
36640
36641 * debug/getlogin_r_chk.c: Moved to ...
36642 * login/getlogin_r_chk.c: ... here.
36643 * debug/Makefile (routines): Move getlogin_r_chk to ...
36644 * login/Makefile (routines): ... here.
36645 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36646 * login/Versions (libc: GLIBC_2.4): ... here.
36647
36648 * io/poll.c (__poll): Renamed from poll.
36649 Add libc_hidden_def.
36650 (poll): Define as weak alias.
36651
36652 * debug/ptsname_r_chk.c: Moved to ...
36653 * login/ptsname_r_chk.c: ... here.
36654 * debug/Makefile (routines): Move ptsname_r_chk to ...
36655 * login/Makefile (routines): ... here.
36656 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36657 * login/Versions (libc: GLIBC_2.4): ... here.
36658
36659 * posix/getlogin.c: Moved to ...
36660 * login/getlogin.c: ... here.
36661 * posix/getlogin_r.c: Moved to ...
36662 * login/getlogin_r.c: ... here.
36663 * posix/getlogin_r.c: Moved to ...
36664 * login/getlogin_r.c: ... here.
36665 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36666 * login/Makefile (routines): ... here.
36667 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36668 * login/Versions (libc: GLIBC_2.0): ... here.
36669
36670 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36671 (setrlimit): Define as weak alias.
36672
36673 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36674 Call __ names for open, ftruncate, and close.
36675 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36676 (truncate): Define as weak alias.
36677
36678 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36679
36680 * math/gen-libm-test.pl (parse_args): Initialize x before each
36681 test of frexp, modf and remquo.
36682
36683 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36684 test signgam value.
36685
36686 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36687
36688 [BZ #15418]
36689 [BZ #15419]
36690 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36691 internal tests.
36692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36693
36694 2013-05-06 Roland McGrath <roland@hack.frob.com>
36695
36696 * elf/dl-writev.h: New file.
36697 * elf/dl-misc.c: Include it.
36698 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36699 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36700
36701 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36702
36703 * math/libm-test.inc (noXFails): Remove variable.
36704 (noXPasses): Likewise.
36705 (BUILD_COMPLEX_INT): Remove macro.
36706 (print_screen): Remove xfail argument.
36707 (print_screen_max_error): Likewise.
36708 (update_stats): Likewise.
36709 (print_max_error): Likewise. Update calls to other affected
36710 functions.
36711 (print_complex_max_error): Likewise.
36712 (test_single_exception): Update calls to print_screen.
36713 (test_single_errno): Likewise.
36714 (check_float_internal): Remove xfail argument. Update calls to
36715 other affected functions.
36716 (check_float): Likewise.
36717 (check_complex): Likewise.
36718 (check_int): Likewise.
36719 (check_long): Likewise.
36720 (check_bool): Likewise.
36721 (check_longlong): Likewise.
36722 (main): Don't print noXFails and noXPasses.
36723 * math/gen-libm-test.pl (top level): Don't mention expected
36724 failure handling in comment.
36725 (new_test): Don't handle expected failures.
36726 (parse_args): Don't mention expected failure handling in comment.
36727 (generate_testfile): Don't handle expected failures.
36728 (parse_ulps): Likewise.
36729 (print_ulps_file): Likewise.
36730 (get_failure): Remove function.
36731 (output_test): Don't handle expected failures.
36732 * make/README.libm-test: Don't mention expected failure handling.
36733
36734 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36735 (minus_zero): Likewise.
36736 (plus_infty): Likewise.
36737 (minus_infty): Likewise.
36738 (qnan_value): Likewise.
36739 (max_value): Likewise.
36740 (min_value): Likewise.
36741 (min_subnorm_value): Likewise.
36742 (initialize): Do not initialize those variables dynamically.
36743
36744 2013-05-03 Roland McGrath <roland@hack.frob.com>
36745
36746 * io/open.c (__open_2): Moved to ...
36747 * io/open_2.c: ... this new file.
36748 * io/open64.c (__open64_2): Moved to ...
36749 * io/open64_2.c: ... this new file.
36750 * io/openat.c (__openat_2): Moved to ...
36751 * io/openat_2.c: ... this new file.
36752 * io/openat64.c (__openat64_2): Moved to ...
36753 * io/openat64_2.c: ... this new file.
36754 * io/Makefile (routines): Add them.
36755 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36756 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36757 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36758 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36759 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36760 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36761 (__openat64): Add hidden_ver.
36762 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36763 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36764
36765 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36766 Separately conditionalize setting of GLRO(dl_sysinfo) so
36767 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36768 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36769
36770 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36771
36772 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36774 definition.
36775 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36776 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36777 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36778 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36779 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36780
36781 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36782
36783 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36784 test signgam value.
36785
36786 * math/libm-test.inc (hypot_test): Do not use
36787 IGNORE_ZERO_INF_SIGN.
36788
36789 2013-05-03 Andreas Jaeger <aj@suse.de>
36790
36791 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36792 Linux 3.9.
36793 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36794 (PF_MAX): Adjust for VSOCK change.
36795
36796 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36797
36798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36799
36800 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36801
36802 [BZ #15264]
36803 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36804 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36805 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36806
36807 2013-05-02 David S. Miller <davem@davemloft.net>
36808
36809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36810
36811 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36812
36813 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36814
36815 2013-05-01 Roland McGrath <roland@hack.frob.com>
36816
36817 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36818
36819 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36820
36821 [BZ #14952]
36822 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36823 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36824 Use __attribute__ ((__gnu_inline__)).
36825 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36826 Don't use __attribute__ ((__gnu_inline__)).
36827
36828 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36829
36830 [BZ #15423]
36831 * math/s_catan.c (__catan): Handle small real or imaginary part of
36832 input specially to avoid spurious underflow.
36833 * math/s_catanf.c (__catanf): Likewise.
36834 * math/s_catanh.c (__catanh): Likewise.
36835 * math/s_catanhf.c (__catanhf): Likewise.
36836 * math/s_catanhl.c (__catanhl): Likewise.
36837 * math/s_catanl.c (__catanl): Likewise.
36838 * math/libm-test.inc (catan_test): Add more tests.
36839 (catanh_test): Likewise.
36840 * sysdeps/i386/fpu/libm-test-ulps: Update.
36841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36842
36843 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36844
36845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36846
36847 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36848
36849 [BZ #15416]
36850 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36851 accurately for denominator in atan2.
36852 * math/s_catanf.c (__catanf): Likewise.
36853 * math/s_catanh.c (__catanh): Likewise.
36854 * math/s_catanhf.c (__catanhf): Likewise.
36855 * math/s_catanhl.c (__catanhl): Likewise.
36856 * math/s_catanl.c (__catanl): Likewise.
36857 * math/libm-test.inc (catan_test): Add more tests.
36858 (catanh_test): Likewise.
36859 * sysdeps/i386/fpu/libm-test-ulps: Update.
36860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36861
36862 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36863
36864 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36865
36866 * benchtests/Makefile (bench): Remove slow benchmarks.
36867 * benchtests/atan-inputs: Add slow benchmark inputs.
36868 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36869 (BENCH_FUNC): Accept variant offset.
36870 (VARIANT): Define.
36871 * benchtests/bench-skeleton.c (main): Run benchmark for each
36872 variant.
36873 * benchtests/cos-inputs: Add slow benchmark inputs.
36874 * benchtests/exp-inputs: Likewise.
36875 * benchtests/pow-inputs: Likewise.
36876 * benchtests/sin-inputs: Likewise.
36877 * benchtests/slowatan-inputs: Remove.
36878 * benchtests/slowatan.c: Remove.
36879 * benchtests/slowcos-inputs: Remove.
36880 * benchtests/slowcos.c: Remove.
36881 * benchtests/slowexp-inputs: Remove.
36882 * benchtests/slowexp.c: Remove.
36883 * benchtests/slowpow-inputs: Remove.
36884 * benchtests/slowpow.c: Remove.
36885 * benchtests/slowsin-inputs: Remove.
36886 * benchtests/slowsin.c: Remove.
36887 * benchtests/slowtan-inputs: Remove.
36888 * benchtests/slowtan.c: Remove.
36889 * benchtests/tan-inputs: Add slow benchmark inputs.
36890 * scripts/bench.pl: Parse comments and directives.
36891
36892 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36893 in CPPFLAGS.
36894 ($(objpfx)bench-%.c): Remove *-ITER.
36895 * benchtests/bench-modf.c: Remove definition of ITER.
36896 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36897 (main): Loop for DURATION seconds instead of fixed number of
36898 iterations.
36899 * scripts/bench.pl: Don't expect iterations in parameters.
36900
36901 2013-04-29 Roland McGrath <roland@hack.frob.com>
36902
36903 * io/fchdir.c (__fchdir): Renamed from fchdir.
36904 (fchdir): Define as weak alias.
36905
36906 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36907
36908 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36909 (ERRNO_EDOM): Likewise.
36910 (ERRNO_ERANGE): Likewise.
36911 (noErrnoTests): New variable.
36912 (init_max_error): Set errno to 0.
36913 (test_single_errno): New function.
36914 (test_errno): Likewise.
36915 (check_float_internal): Call test_errno. Set errno to 0.
36916 (check_complex): Refer to errno tests in comment.
36917 (check_int): Call test_errno. Set errno to 0.
36918 (check_long): Likewise.
36919 (check_bool): Likewise.
36920 (check_longlong): Likewise.
36921 (cos_test): Use ERRNO_* flags for errno tests instead of
36922 check_int.
36923 (expm1_test): Likewise.
36924 (fmod_test): Likewise.
36925 (ilogb_test): Likewise.
36926 (lgamma_test): Likewise.
36927 (pow_test): Likewise.
36928 (remainder_test): Likewise.
36929 (sin_test): Likewise.
36930 (tan_test): Likewise.
36931 (yn_test): Likewise.
36932 (initialize): Set errno to 0.
36933 (main): Print number of errno tests.
36934 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36935
36936 2013-04-29 Andreas Jaeger <aj@suse.de>
36937
36938 [BZ #15084]
36939 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36940 and RES_USEVC.
36941
36942 [BZ #15085]
36943 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36944 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36945 unimplemented.
36946
36947 [BZ #15380]
36948 * stdlib/random.c (__initstate): Return NULL if
36949 __initstate fails.
36950
36951 [BZ #15086]
36952 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36953 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36954 RES_SNGLKUPREOP.
36955
36956 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36957
36958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36959
36960 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36961
36962 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36963 of individual tests.
36964 (casin_test): Likewise.
36965 (casinh_test): Likewise.
36966
36967 2013-04-27 Joseph Myers <joseph@codesourcery.com>
36968
36969 [BZ #15409]
36970 * math/s_catan.c (__catan): Handle arguments with large real or
36971 imaginary part separately without squaring.
36972 * math/s_catanf.c (__catanf): Likewise.
36973 * math/s_catanh.c (__catanh): Likewise.
36974 * math/s_catanhf.c (__catanhf): Likewise.
36975 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36976 and redefine.
36977 (__catanhl): Handle arguments with large real or imaginary part
36978 separately without squaring.
36979 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36980 and redefine.
36981 (__catanl): Handle arguments with large real or imaginary part
36982 separately without squaring.
36983 * math/libm-test.inc (catan_test): Add more tests.
36984 (catanh_test): Likewise.
36985 * sysdeps/i386/fpu/libm-test-ulps: Update.
36986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36987
36988 2013-04-27 Andreas Jaeger <aj@suse.de>
36989
36990 [BZ #15007]
36991 * stdlib/stdlib.h: Update guards for qecvt.
36992 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36993 <stdlib.h>.
36994
36995 2013-04-27 Allan McRae <allan@archlinux.org>
36996
36997 * sysdeps/i386/fpu/libm-test-ulps: Update.
36998
36999 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37000
37001 [BZ #15406]
37002 * math/s_catan.c: Include <float.h>.
37003 (__catan): Ensure underflow exception occurs for underflowed
37004 result.
37005 * math/s_catanf.c: Include <float.h>.
37006 (__catanf): Ensure underflow exception occurs for underflowed
37007 result.
37008 * math/s_catanh.c: Include <float.h>.
37009 (__catanh): Ensure underflow exception occurs for underflowed
37010 result.
37011 * math/s_catanhf.c: Include <float.h>.
37012 (__catanhf): Ensure underflow exception occurs for underflowed
37013 result.
37014 * math/s_catanhl.c: Include <float.h>.
37015 (__catanhl): Ensure underflow exception occurs for underflowed
37016 result.
37017 * math/s_catanl.c: Include <float.h>.
37018 (__catanl): Ensure underflow exception occurs for underflowed
37019 result.
37020 * math/libm-test.inc (catan_test): Add more tests.
37021 (catanh_test): Likewise.
37022
37023 [BZ #15405]
37024 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37025 underflowed result.
37026 * math/s_ccoshf.c (__ccoshf): Likewise.
37027 * math/s_ccoshl.c (__ccoshl): Likewise.
37028 * math/s_csin.c (__csin): Likewise.
37029 * math/s_csinf.c (__csinf): Likewise.
37030 * math/s_csinh.c (__csinh): Likewise.
37031 * math/s_csinhf.c (__csinhf): Likewise.
37032 * math/s_csinhl.c (__csinhl): Likewise.
37033 * math/s_csinl.c (__csinl): Likewise.
37034 * math/libm-test.inc (ccos_test): Add more tests.
37035 (ccosh_test): Likewise.
37036 (csin_test): Likewise.
37037 (csinh_test): Likewise.
37038
37039 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37040
37041 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37042 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37043 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37044 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37045 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37046 powerpc/power5+/fpu folders.
37047 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37048
37049
37050 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37051
37052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37053
37054 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37055
37056 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37057 additions to variable.
37058 [$(config-machine) = x86_64] (modules-names): Likewise.
37059 ($(objpfx)tst-audit3): Remove dependency.
37060 ($(objpfx)tst-audit3.out): Likewise.
37061 ($(objpfx)tst-audit4): Likewise.
37062 ($(objpfx)tst-audit4.out): Likewise.
37063 ($(objpfx)tst-audit5): Likewise.
37064 ($(objpfx)tst-audit5.out): Likewise.
37065 ($(objpfx)tst-audit6): Likewise.
37066 ($(objpfx)tst-audit6.out): Likewise.
37067 ($(objpfx)tst-audit7): Likewise.
37068 ($(objpfx)tst-audit7.out): Likewise.
37069 (tst-audit3-ENV): Remove variable.
37070 (tst-audit4-ENV): Likewise.
37071 (tst-audit5-ENV): Likewise.
37072 (tst-audit6-ENV): Likewise.
37073 (tst-audit7-ENV): Likewise.
37074 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37075 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37076 addition to variable.
37077 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37078 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37079 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37080 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37081 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37082 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37083 tst-audit3, tst-audit4 and tst-audit5.
37084 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37085 tst-audit6 and tst-audit7.
37086 [$(subdir) = elf] (modules-names): Add audit modules for those
37087 tests.
37088 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37089 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37090 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37091 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37092 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37093 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37094 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37095 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37096 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37097 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37098 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37099 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37100 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37101 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37102 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37103 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37104 Likewise.
37105 [$(subdir) = elf && $(config-cflags-avx) = yes]
37106 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37107 [$(subdir) = elf && $(config-cflags-avx) = yes]
37108 (CFLAGS-tst-auditmod4a.c): Likewise.
37109 [$(subdir) = elf && $(config-cflags-avx) = yes]
37110 (CFLAGS-tst-auditmod4b.c): Likewise.
37111 [$(subdir) = elf && $(config-cflags-avx) = yes]
37112 (CFLAGS-tst-auditmod6b.c): Likewise.
37113 [$(subdir) = elf && $(config-cflags-avx) = yes]
37114 (CFLAGS-tst-auditmod6c.c): Likewise.
37115 [$(subdir) = elf && $(config-cflags-avx) = yes]
37116 (CFLAGS-tst-auditmod7b.c): Likewise.
37117 * elf/tst-audit3.c: Move to ...
37118 * sysdeps/x86_64/tst-audit3.c: ... here.
37119 * elf/tst-audit4.c: Move to ...
37120 * sysdeps/x86_64/tst-audit4.c: ... here.
37121 * elf/tst-audit5.c: Move to ...
37122 * sysdeps/x86_64/tst-audit5.c: ... here.
37123 * elf/tst-audit6.c: Move to ...
37124 * sysdeps/x86_64/tst-audit6.c: ... here.
37125 * elf/tst-audit7.c: Move to ...
37126 * sysdeps/x86_64/tst-audit7.c: ... here.
37127 * elf/tst-auditmod3a.c: Move to ...
37128 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37129 * elf/tst-auditmod3b.c: Move to ...
37130 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37131 * elf/tst-auditmod4a.c: Move to ...
37132 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37133 * elf/tst-auditmod4b.c: Move to ...
37134 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37135 * elf/tst-auditmod5a.c: Move to ...
37136 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37137 * elf/tst-auditmod5b.c: Move to ...
37138 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37139 * elf/tst-auditmod6a.c: Move to ...
37140 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37141 * elf/tst-auditmod6b.c: Move to ...
37142 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37143 * elf/tst-auditmod6c.c: Move to ...
37144 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37145 * elf/tst-auditmod7a.c: Move to ...
37146 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37147 * elf/tst-auditmod7b.c: Move to ...
37148 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37149
37150 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37151
37152 [BZ #15366]
37153 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37154 define unconditionally.
37155 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37156 define unconditionally.
37157 (INT8_C, INT16_C, etc.): Likewise.
37158
37159 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37160
37161 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37162 __ehdr_start with hidden visibility.
37163
37164 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37165
37166 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37167
37168 * math/libm-test.inc (cos_test): Use accurate hex constants.
37169 (sincost_test): Likewise.
37170
37171 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37172
37173 * math/libm-test.inc (catan_test): Add more tests.
37174 (catanh_test): Likewise.
37175
37176 * math/s_catanf.c (__catanf): Use suffixed floating-point
37177 constants.
37178 * math/s_catanhf.c (__catanhf): Likewise.
37179 * math/s_catanhl.c (__catanhl): Likewise.
37180 * math/s_catanl.c (__catanl): Likewise.
37181
37182 [BZ #15394]
37183 * math/s_catan.c (__catan): Calculate imaginary part of result
37184 with log1p not log unless computing log of number close to 0.
37185 * math/s_catanf.c (__catanf): Likewise.
37186 * math/s_catanl.c (__catanl): Likewise.
37187 * math/s_catanh.c (__catanh): Calculate real part of result with
37188 log1p not log unless computing log of number close to 0.
37189 * math/s_catanhf.c (__catanhf): Likewise.
37190 * math/s_catanhl.c (__catanhl): Likewise.
37191 * math/libm-test.inc (catan_test): Add more tests.
37192 (catanh_test): Likewise.
37193 * sysdeps/i386/fpu/libm-test-ulps: Update.
37194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37195
37196 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37197
37198 * benchtests/Makefile: Mention files in which fast and slow
37199 paths of math functions are implemented.
37200
37201 2013-04-23 Roland McGrath <roland@hack.frob.com>
37202
37203 * sysdeps/posix/timespec_get.c: New file.
37204
37205 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37206
37207 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37208 POWER.
37209 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37210 for POWER.
37211 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37212 powerpc/power5/fpu folders.
37213 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37214 * benchtests/Makefile: Add modf testcase.
37215 * benchtests/bench-modf.c: New file: Benchmark test for mo
37216
37217 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37218
37219 [BZ #14888]
37220 * time/Makefile (tests): Add tst-strptime-whitespace.
37221 * time/strptime_l.c (get_number): Use ISSPACE.
37222 (__strptime_internal): Likewise.
37223 * time/tst-strptime-whitespace.c: New test case.
37224
37225 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37226
37227 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37228 member.
37229 (_nss_files_init): Set it here.
37230
37231 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37232
37233 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37234 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37235 unsigned.
37236
37237 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37238
37239 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37240
37241 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37242
37243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37244 size just once.
37245
37246 2013-04-21 David S. Miller <davem@davemloft.net>
37247
37248 * po/ru.po: Update Russion translation from translation project.
37249
37250 2013-04-17 Adam Conrad <adconrad@0c3.net>
37251
37252 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37253 and setfsgid.
37254
37255 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37256
37257 * configure.in: Remove i386 configure warning. Remove i386 case.
37258 * configure: Regenerate.
37259 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37260 Add example to error message.
37261 * sysdeps/i386/configure: Regenerate.
37262
37263 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37264
37265 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37266 slowtan.
37267 * benchtests/cos-inputs: New file.
37268 * benchtests/slowcos-inputs: New file.
37269 * benchtests/slowcos.c: New file.
37270 * benchtests/slowtan-inputs: New file.
37271 * benchtests/slowtan.c: New file.
37272 * benchtests/tan-inputs: New file.
37273
37274 2013-04-16 Roland McGrath <roland@hack.frob.com>
37275
37276 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37277 considered kosher.
37278
37279 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37280
37281 * benchtests/Makefile: Include cppflags-iterator.mk to add
37282 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37283
37284 * Makefile.in (bench-clean): New target.
37285 * benchtests/Makefile (bench-clean): Likewise.
37286
37287 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37288
37289 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37290
37291 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37292
37293 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37294
37295 2013-04-15 Andreas Schwab <schwab@suse.de>
37296
37297 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37299 * nscd/pwdcache.c (cache_addpw): Likewise.
37300 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37301 more than recsize.
37302
37303 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37304
37305 * benchtests/Makefile (bench): Write all output to
37306 bench-out.tmp together.
37307
37308 2013-04-15 Andreas Schwab <schwab@suse.de>
37309
37310 * nscd/nscd.c (main): Don't fork again after closing files.
37311
37312 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37313
37314 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37315
37316 * benchtests/Rules (bench-deps): Collect dependencies into a
37317 single variable. Add Makefile to dependencies.
37318 ($(objpfx)bench-%.c): Depend on bench-deps.
37319
37320 2013-04-12 Roland McGrath <roland@hack.frob.com>
37321 Xavier Roche <roche+kml2@exalead.com>
37322
37323 [BZ #15361]
37324 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37325 just that it's a file descriptor.
37326 * manual/llio.texi (Synchronizing AIO Operations): Update description
37327 for EBADF error from aio_fsync.
37328
37329 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37330
37331 * Rules (bench): Move target definition...
37332 * benchtests/Makefile: ... here.
37333
37334 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37335
37336 * math/libm-test.inc (cos_test): Fix PI/2 test.
37337 (sincos_test): Likewise.
37338 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37339 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37340
37341 2013-04-11 Andreas Schwab <schwab@suse.de>
37342
37343 [BZ #13988]
37344 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37345 accept exponent character only when digits were seen.
37346 * stdio-common/Makefile (tests): Add bug26.
37347 * stdio-common/bug26.c: New file.
37348
37349 [BZ #14293]
37350 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37351 non-freeable.
37352
37353 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37354
37355 * Makeconfig (rtld-prefix): Define built linker prefix.
37356 * Rules (run-bench): Use it.
37357 * math/Makefile (run-regen-ulps): Likewise.
37358
37359 * Rules (bench): Remove eval.
37360
37361 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37362 Roland McGrath <roland@hack.frob.com>
37363 Ondrej Bilka <neleai@seznam.cz>
37364
37365 [BZ #15346]
37366 * time/getdate.c: Include ctype.h and alloca.h.
37367 (__getdate_r): Trim leading and trailing spaces of input.
37368 * time/tst-getdate.c (tests): Add tests with leading and
37369 trailing spaces.
37370
37371 2013-04-08 Roland McGrath <roland@hack.frob.com>
37372
37373 [BZ #14280]
37374 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37375 when computing value.
37376
37377 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37378
37379 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37380 Use testrun.sh to run libm tests.
37381
37382 [BZ #15309]
37383 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37384
37385 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37386
37387 [BZ #15264]
37388 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37389
37390 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37391
37392 * Makefile.in (regen-ulps): New target.
37393 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37394 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37395 [ifneq (no,$(PERL)] (regen-ulps): New target.
37396 [ifeq (no,$(PERL)] (regen-ulps): New target.
37397 * math/libm-test.inc (ulps_file_name): Define.
37398 (output_dir): New variable.
37399 (options): Add "output-dir" option.
37400 (parse_opt): Handle 'o' case.
37401 (main): If output_dir is non-NULL use it as a prefix
37402 otherwise use "".
37403 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37404
37405 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37406
37407 [BZ #10060, #10062]
37408 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37409 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37410 fail configure if __sync_val_compare_and_swap is not inlined.
37411 * sysdeps/i386/configure: Regenerate.
37412 * configure.in: Build for i686 when configured for i386.
37413 * configure: Regenerate.
37414 * README: Remove i386 reference.
37415
37416 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37417
37418 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37419 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37420
37421 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37422
37423 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37424 (lmsnanval): New variables.
37425 (F): Add conversion tests.
37426 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37427 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37428
37429 * stdio-common/tstdiomisc.c (F): Properly collect individual
37430 tests' results.
37431
37432 [BZ #14686, #15336]
37433 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37434 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37435 Instead, use input NaN values or generate a qNaN by arithmetic
37436 operation. Also fix bugs to comply with the standard.
37437 * math/libm-test.inc (remainder_test): Add more tests.
37438
37439 [BZ #15335, #15342]
37440 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37442 input NaN values or generate a qNaN by arithmetic operation.
37443
37444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37445 unreachable code.
37446
37447 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37448 definitions.
37449
37450 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37451
37452 [BZ #14478]
37453 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37454 underflowed result.
37455 * math/s_cexpf.c (__cexpf): Likewise.
37456 * math/s_cexpl.c (__cexpl): Likewise.
37457 * math/libm-test.inc (cexp_test): Add more tests.
37458
37459 2013-04-03 Andreas Schwab <schwab@suse.de>
37460
37461 [BZ #15330]
37462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37463 order arrays from heap if bigger than alloca cutoff.
37464
37465 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37466
37467 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37468 (SNAN_TESTS_double): Refer to GCC PR56831.
37469 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37470 GCC PR56828.
37471
37472 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37473
37474 * Rules (bench): Move bench.out after the run is complete.
37475
37476 * Rules (bench): Echo currently running benchmark.
37477
37478 * benchtests/Makefile (bench): Add atan and slowatan.
37479 * benchtests/atan-inputs: New file.
37480 * benchtests/slowatan-inputs: New file.
37481 * benchtests/slowatan.c: New file.
37482
37483 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37484 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37485 its value.
37486
37487 [BZ #15305]
37488 * sysdeps/unix/sysv/linux/kernel-features.h
37489 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37490 __ASSUME_XFS_RESTRICTED_CHOWN.
37491 * sysdeps/unix/sysv/linux/pathconf.c
37492 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37493 Save and restore errno.
37494
37495 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37496
37497 [BZ #15327]
37498 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37499 arguments using __kernel_casinh.
37500 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37501 arguments using __kernel_casinhf.
37502 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37503 arguments using __kernel_casinhl.
37504 * math/libm-test.inc (cacosh_test): Add more tests.
37505 * sysdeps/i386/fpu/libm-test-ulps: Update.
37506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37507
37508 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37509
37510 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37512
37513 * bench/Makefile (bench): Add sin and slowsin.
37514 * benchtests/sin-inputs: New file.
37515 * benchtests/slowsin-inputs: New file.
37516 * benchtests/slowsin.c: New file.
37517
37518 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37519 (bench): Add slowexp and slowpow.
37520 (exp-ITER): Increase iterations.
37521 (pow-ITER): Likewise.
37522 * benchtests/exp-inputs: Change input.
37523 * benchtests/pow-inputs: Likewise.
37524 * benchtests/slowexp-inputs: New file.
37525 * benchtests/slowexp.c: New file.
37526 * benchtests/slowpow-inputs: New file.
37527 * benchtests/slowpow.c: New file.
37528
37529 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37530
37531 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37532 instructions.
37533 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37534 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37535 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37536 * benchtests/Makefile: Add rint benchtest.
37537 * benchtests/rint-inputs: Input for rint benchtest.
37538
37539 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37540
37541 * Versions.def (libm): Add GLIBC_2.18.
37542 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37543 hidden libm prototypes.
37544 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37545 * math/Makefile (libm-calls): Add s_issignaling.
37546 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37547 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37548 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37549 declaration.
37550 * math/math.h [__USE_GNU] (issignaling): New macro.
37551 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37552 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37554 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37555 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37556 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37557 * manual/arith.texi (issignaling): New section.
37558 * manual/libm-err-tab.pl (@all_functions): Update comment.
37559 * math/gen-libm-test.pl (parse_args): Apply special handling for
37560 issignaling.
37561 * math/libm-test.inc (print_float, issignaling_test): New
37562 functions.
37563 (check_float_internal): Add issignaling checks.
37564 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37565 default definition.
37566 * sysdeps/powerpc/math-tests.h: New file.
37567 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37568 tests.
37569 * math/test-snan.c (TEST_FUNC): Likewise.
37570
37571 2013-03-30 David S. Miller <davem@davemloft.net>
37572
37573 * po/de.po: Update from translation team.
37574
37575 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37576
37577 [BZ #10357]
37578 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37579 imaginary part less than 1.0 and real part less than 0.5
37580 specially.
37581 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37582 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37583 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37584 (cacos_test): Add more tests.
37585 (casin_test): Likewise.
37586 (casinh_test): Likewise.
37587 * sysdeps/i386/fpu/libm-test-ulps: Update.
37588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589
37590 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37591
37592 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37593 ONE with its value.
37594
37595 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37596 (__pow_mp): Replace ONE and MONE with their values.
37597 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37599 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37600 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37601 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37603
37604 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37605
37606 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37607 (__pow_mp): Replace ZERO and MZERO with their values.
37608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37610 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37612 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37613 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37614 (__sqr): Likewise.
37615
37616 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37617
37618 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37619
37620 2013-03-28 Roland McGrath <roland@hack.frob.com>
37621
37622 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37623 Declare with __attribute__ ((weak)).
37624 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37625 Call __call_tls_dtors only if it's not NULL.
37626
37627 2013-03-28 Roland McGrath <roland@hack.frob.com>
37628
37629 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37630 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37631 magic __ehdr_start linker symbol if it's defined.
37632 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37633 them up here if it was already done.
37634
37635 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37636 (_dl_aux_init): Use const in cast when setting it.
37637 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37638 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37639 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37640
37641 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37642 Declare them here.
37643 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37644 * csu/libc-tls.c: Nor here.
37645 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37646
37647 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37648 (__libc_message): Never call vsyslog.
37649
37650 2013-03-28 Alan Modra <amodra@gmail.com>
37651
37652 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37653 Define as empty.
37654 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37655 Likewise.
37656
37657 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37658
37659 [BZ #15214]
37660 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37661 underflow.
37662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37663
37664 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37665
37666 [BZ #15304]
37667 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37668 Don't add gid passed as argument.
37669
37670 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37671
37672 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37673
37674 [BZ #15307]
37675 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37676 imaginary part between 1.0 and 1.5 and real part less than 0.5
37677 specially.
37678 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37679 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37680 * math/libm-test.inc (cacos_test): Add more tests.
37681 (casin_test): Likewise.
37682 (casinh_test): Likewise.
37683 * sysdeps/i386/fpu/libm-test-ulps: Update.
37684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37685
37686 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37687
37688 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37689 constants.
37690 (norm): Likewise.
37691 (denorm): Likewise.
37692 (__dbl_mp): Likewise.
37693 (add_magnitudes): Likewise.
37694 (sub_magnitudes): Likewise.
37695 (__add): Likewise.
37696 (__sub): Likewise.
37697 (__mul): Likewise.
37698 (__sqr): Likewise.
37699 (__inv): Likewise.
37700 (__dvd): Likewise.
37701
37702 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37703 commented code.
37704 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37705 (__dubcos): Likewise.
37706 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37707 (__ieee754_acos): Likewise.
37708 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37709 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37710 (__exp1): Likewise.
37711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37713 (log1): Likewise.
37714 (my_log2): Likewise.
37715 (checkint): Likewise.
37716 * sysdeps/ieee754/dbl-64/e_remainder.c
37717 (__ieee754_remainder): Likewise.
37718 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37719 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37720 (bsloww): Likewise.
37721 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37722
37723 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37724 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37725 MANTISSA_STORE_T to store computations on mantissa. Use
37726 macros for rounding and division.
37727 (denorm): Likewise.
37728 (__dbl_mp): Likewise.
37729 (add_magnitudes): Likewise.
37730 (sub_magnitudes): Likewise.
37731 (__mul): Likewise.
37732 (__sqr): Likewise.
37733 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37734 powers of two in terms of TWOPOW macro.
37735 (mp_no): Make type of mantissa as MANTISSA_T.
37736 [!RADIXI]: Define RADIXI.
37737 [!TWO52]: Define TWO52.
37738 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37739
37740 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37741
37742 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37743 llroundl symbol when building for PPC32.
37744
37745 2013-03-24 Mark H Weaver <mhw@netris.org>
37746
37747 * manual/arith.texi (Normalization Functions): Fix prototypes for
37748 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37749
37750 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37751
37752 [BZ #13889]
37753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37754 high value to check if expl overflow.
37755 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37756 to check for underflow and overflow.
37757 * math/libm-test.inc: Add exp test.
37758
37759 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37760
37761 [BZ #11120]
37762 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37763 with NOT_IN_libc.
37764
37765 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37766
37767 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37768 symbol.
37769
37770 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37771
37772 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37773 wrap blocks consisting of several statements.
37774
37775 * sysdeps/generic/math-tests.h: New file.
37776 * sysdeps/i386/fpu/math-tests.h: Likewise.
37777 * math/test-snan.c: Include it.
37778 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37779
37780 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37781
37782 [BZ #15285]
37783 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37784 (__ieee754_j0l): Do not improve calculations using cos of twice
37785 input for inputs above LDBL_MAX / 2.0L.
37786 (__ieee754_y0l): Likewise.
37787 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37788 (__ieee754_j1l): Do not improve calculations using cos of twice
37789 input for inputs above LDBL_MAX / 2.0L.
37790 (__ieee754_y1l): Likewise.
37791 * math/libm-test.inc (j0_test): Add another test.
37792 (j1_test): Likewise.
37793 (y0_test): Likewise.
37794 (y1_test): Likewise.
37795 * sysdeps/i386/fpu/libm-test-ulps: Update.
37796
37797 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37798
37799 * Rules ($(objpfx)bench-%.c): Include code from a C source
37800 file.
37801
37802 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37803
37804 [BZ #15287]
37805 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37806 imaginary part 1.0 and real part less than 0.5 specially.
37807 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37808 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37809 * math/libm-test.inc (cacos_test): Add more tests.
37810 (casin_test): Likewise.
37811 (casinh_test): Likewise.
37812 * sysdeps/i386/fpu/libm-test-ulps: Update.
37813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37814
37815 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37816
37817 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37818 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37819
37820 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37821
37822 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37823 * config.make.in (config-cflags-sse4): Remove variable.
37824 (config-cflags-avx): Likewise.
37825 (config-cflags-sse2avx): Likewise.
37826 (config-cflags-novzeroupper): Likewise.
37827 (config-asflags-i686): Likewise.
37828 (have-mfma4): Likewise.
37829 (have-as-vis3): Likewise.
37830 (MIG): Likewise.
37831 * configure.in (MIG): Do not AC_SUBST.
37832 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37833 (libc_cv_cc_sse4): Do not AC_SUBST.
37834 (libc_cv_cc_avx): Likewise.
37835 (libc_cv_cc_sse2avx): Likewise.
37836 (libc_cv_cc_novzeroupper): Likewise.
37837 (libc_cv_cc_fma4): Likewise.
37838 (libc_cv_as_i686): Likewise.
37839 (libc_cv_sparc_as_vis3): Likewise.
37840 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37841 LIBC_CONFIG_VAR.
37842 (config-asflags-i686): Likewise.
37843 (config-cflags-avx): Likewise.
37844 (config-cflags-sse2avx): Likewise.
37845 (have-mfma4): Likewise.
37846 (config-cflags-novzeroupper): Likewise.
37847 * sysdeps/mach/configure.in (MIG): Likewise.
37848 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37849 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37850 LIBC_CONFIG_VAR.
37851 (config-cflags-avx): Likewise.
37852 (config-cflags-sse2avx): Likewise.
37853 (have-mfma4): Likewise.
37854 (config-cflags-novzeroupper): Likewise.
37855 * configure: Regenerated.
37856 * sysdeps/i386/configure: Likewise.
37857 * sysdeps/mach/configure: Likewise.
37858 * sysdeps/sparc/configure: Likewise.
37859 * sysdeps/x86_64/configure: Likewise.
37860
37861 2013-03-20 Roland McGrath <roland@hack.frob.com>
37862
37863 [BZ #14812]
37864 * locale/programs/localedef.c (options): Put N_ translation marker
37865 on argument names, not just descriptions.
37866
37867 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37868
37869 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37870
37871 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37872
37873 [BZ #14176]
37874 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37875
37876 2013-03-19 Roland McGrath <roland@hack.frob.com>
37877
37878 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37879 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37880 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37881 [!BEFORE_ABORT] (before_abort): New function.
37882 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37883 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37884 (writev_for_fatal): New function.
37885 (WRITEV_FOR_FATAL): New macro; call that.
37886 (backtrace_and_maps): New function.
37887 (BEFORE_ABORT): New macro; call that.
37888 (struct str_list): Type removed.
37889 (__libc_message, __libc_fatal): Functions removed.
37890 Include <sysdeps/posix/libc_fatal.c> instead.
37891
37892 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37893
37894 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37895 constants.
37896 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37897 double constants.
37898
37899 2013-03-19 Andreas Schwab <schwab@suse.de>
37900
37901 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37902 * sysdeps/gnu/configure: Regenerate.
37903
37904 * configure.in: Substitute libc_cv_rtlddir.
37905 * configure: Regenerate.
37906 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37907 * Makeconfig (rtlddir, inst_rtlddir): New variables.
37908 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37909 * elf/Makefile (install-others, CFLAGS-interp.c)
37910 (ldso_install, common-ldd-rewrite): Likewise.
37911 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37912 $(inst_slibdir)/$(rtld-installed-name).
37913 * scripts/rellns-sh: Add -p option.
37914 * Makerules (make-shlib-link): Use rellns-sh to get relative name
37915 for source.
37916
37917 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37918
37919 * manual/nptl.texi: Renamed to ...
37920 * manual/threads.texi: ... this.
37921 * manual/Makefile (chapters): Update.
37922
37923 2013-03-18 Roland McGrath <roland@hack.frob.com>
37924
37925 [BZ #14812]
37926 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37927 on argument names, not just descriptions.
37928 * malloc/memusagestat.c (options): Likewise.
37929 * nss/getent.c (options): Likewise.
37930
37931 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
37932
37933 [BZ #14812]
37934 * iconv/iconv_prog.c (options): Put N_ translation marker
37935 on argument names, not just descriptions.
37936 * iconv/iconvconfig.c (options): Likewise.
37937
37938 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
37939
37940 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37941 implementation which is faster on all x86_64 architectures.
37942 Tested on AMD, Intel Nehalem, SNB, IVB.
37943 * sysdeps/x86_64/strnlen.S: Likewise.
37944
37945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37946 Remove all multiarch strlen and strnlen versions.
37947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37948 Remove strlen and strnlen related parts.
37949
37950 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37951 Inline strlen part.
37952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37953
37954 * sysdeps/x86_64/multiarch/strlen.S: Remove.
37955 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37956 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37957 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37958 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37960
37961 2013-03-17 Carlos O'Donell <carlos@redhat.com>
37962
37963 * manual/memory.texi (Malloc Tunable Parameters):
37964 Sort parameters alphabetically. Add comments for missing entries.
37965
37966 2013-03-17 David S. Miller <davem@davemloft.net>
37967
37968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37969
37970 2013-03-16 Joseph Myers <joseph@codesourcery.com>
37971
37972 [BZ #15283]
37973 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37974 for arguments at most half maximum finite value.
37975 * math/libm-test.inc (j0_test): Add more tests.
37976 (j1_test): Likewise.
37977 (y0_test): Likewise.
37978 (y1_test): Likewise.
37979 * sysdeps/i386/fpu/libm-test-ulps: Update.
37980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37981
37982 [BZ #14155]
37983 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37984 1 / x and functions P and Q for arguments above 0x1p256L.
37985 (__ieee754_y0l): Likewise.
37986 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37987 (__ieee754_y1l): Likewise.
37988 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37989 (j1_test): Likewise.
37990 (y0_test): Likewise.
37991 (y1_test): Likewise.
37992
37993 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
37994
37995 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37996 variable.
37997
37998 2013-03-15 Roland McGrath <roland@hack.frob.com>
37999
38000 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38001 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38002 zero since it's initialized to EXEC_PAGESIZE.
38003
38004 * sysdeps/unix/sysv/linux/ldsodefs.h
38005 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38006 * sysdeps/generic/ldsodefs.h: ... here.
38007
38008 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38009
38010 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38011
38012 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38013 math/test-snan.c.
38014 * math/test-snan.c: Renamed from
38015 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38016 * math/Makefile (tests): Add test-snan.
38017 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38018 test-powerpc-snan.
38019
38020 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38021 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38022 functions.
38023 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38024 __builtin_nan family of functions.
38025 * math/libm-test.inc (initialize): Initialize qnan_value with
38026 __builtin_nan family of functions.
38027 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38028 Remove variables.
38029 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38030 Remove functions.
38031 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38032 storage class. Initialize qNaN_var and sNaN_var with
38033 __builtin_nan and __builtin_nans families of functions,
38034 respectively.
38035
38036 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38037 (sqrt_test): Remove duplicate test with qNaN input.
38038 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38039 (round_test, signbit_test, significand_test): Note missing +/-Inf
38040 as well as qNaN tests.
38041
38042 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38043 qNaN_var. Fix a few strings, too.
38044 * math/libm-test.inc (nan_value): Rename to qnan_value.
38045 * math/gen-libm-test.pl (%beautify): Adjust to that.
38046 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38047 * math/test-misc.c (main): Likewise.
38048 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38049 to __qnan_bytes, and __qnan_union, respectively.
38050 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38051 Likewise.
38052 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38053 and lqnanval, respectively.
38054 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38055 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38056 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38057 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38058
38059 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38060 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38061 doubles.
38062
38063 * math/test-misc.c (main): Fix copy'n'pastos.
38064 * misc/tst-efgcvt.c (special): Likewise.
38065
38066 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38067 Remove declarations.
38068
38069 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38070
38071 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38072 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38073 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38074 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38075
38076 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38077
38078 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38079 macro to return vdso values correctly in IFUNC implementations.
38080 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38081 Optimization by using IFUNC.
38082
38083 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38084 Richard Henderson <rth@redhat.com>
38085 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38086
38087 * Makefile.in (bench): New target.
38088 * NEWS: Mention the benchmark framework.
38089 * Rules (bench): Likewise.
38090 (binaries-bench): Generate binaries for functions to
38091 benchmark.
38092 * benchtests/Makefile: New makefile for benchmark tests.
38093 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38094 programs.
38095 * benchtests/exp-inputs: New input file for EXP function.
38096 * benchtests/pow-inputs: New input file for POW function.
38097 * scripts/bench.pl: New script to generate source files for
38098 benchmark programs.
38099
38100 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38101
38102 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38103 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38104 computations on mantissa. Use macros for rounding and
38105 division.
38106 (denorm): Likewise.
38107 (__dbl_mp): Likewise.
38108 (add_magnitudes): Likewise.
38109 (sub_magnitudes): Likewise.
38110 (__mul): Likewise.
38111 (__sqr): Likewise.
38112 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38113 powers of two in terms of TWOPOW macro.
38114 (mp_no): Make type of mantissa as MANTISSA_T.
38115 [!RADIXI]: Define RADIXI.
38116 [!TWO52]: Define TWO52.
38117 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38118
38119 * manual/nptl.texi (cindex): Modify threads to pthreads.
38120
38121 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38122
38123 * sysdeps/x86_64/preconfigure: Regenerated.
38124
38125 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38126
38127 [BZ #14155]
38128 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38129 0x1p28 and above.
38130 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38131 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38132 0x1p28 and above.
38133 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38134 * math/libm-test.inc (j0_test): Do not allow one spurious
38135 underflow exception.
38136 (y1_test): Likewise.
38137
38138 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38139
38140 * manual/Makefile (chapters): Add nptl.
38141 * manual/debug.texi (Debugging Support): Add link to Threads
38142 chapter.
38143 * manual/nptl.texi: New file.
38144
38145 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38146
38147 2013-03-14 Petr Baudis <pasky@ucw.cz>
38148
38149 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38150 for non-NULL pointer before the memory validity test. Pointed
38151 out by Holger Brunck <holger.brunck@keymile.com>.
38152
38153 2013-03-13 Andreas Schwab <schwab@suse.de>
38154
38155 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38156 instead of .os.
38157
38158 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38159
38160 * timezone/zic.c: Update from tzcode 2013b.
38161
38162 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38163
38164 * manual/install.texi (Configuring and compiling):
38165 Mention i686 and i586.
38166 * INSTALL: Regenerate.
38167
38168 2013-03-12 Roland McGrath <roland@hack.frob.com>
38169
38170 * sysdeps/init_array/elf-init.c: New file.
38171 * csu/elf-init.c
38172 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38173 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38174
38175 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38176 __gmon_start__ as global, but as static with a .preinit_array pointer.
38177 * sysdeps/init_array/gmon-start.c: New file. Use that.
38178 * sysdeps/init_array/crti.S: New file, empty except for comments.
38179 * sysdeps/init_array/crtn.S: Likewise.
38180
38181 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38182
38183 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38184 definining bcopy.
38185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38186 Remove Prefer_SSE_for_memop.
38187 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38188 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38189 HAS_PREFER_SSE_FOR_MEMOP.
38190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38191 memset-x86-64.
38192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38193 Remove bzero, memset ifunc support.
38194 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38195 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38196 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38197 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38198
38199 2013-03-11 Andreas Schwab <schwab@suse.de>
38200
38201 [BZ #15234]
38202 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38203 by SHLIB_COMPAT.
38204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38205 (GLIBC_2.16): Remove pthread_atfork.
38206
38207 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38208
38209 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38210 (ptestcases.h): Likewise.
38211
38212 2013-03-08 Roland McGrath <roland@hack.frob.com>
38213
38214 * Makeconfig ($(common-objpfx)config.status): Depend on
38215 sysdeps/*/preconfigure{,.in} too.
38216
38217 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38218
38219 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38220 (__free_hook): Use void * instead of __malloc_ptr_t.
38221 (__malloc_hook): Likewise.
38222 (__realloc_hook): Likewise.
38223 (__memalign_hook): Likewise.
38224 (__after_morecore_hook): Likewise.
38225 * malloc/arena.c (save_malloc_hook): Likewise.
38226 (save_free_hook): Likewise.
38227 * malloc/hooks.c (malloc_hook_ini): Likewise.
38228 (realloc_hook_ini): Likewise.
38229 (memalign_hook_ini): Likewise.
38230 * malloc/malloc.c (malloc_hook_ini): Likewise.
38231 (realloc_hook_ini): Likewise.
38232 (memalign_hook_ini): Likewise.
38233 (__free_hook): Likewise.
38234 (__malloc_hook): Likewise.
38235 (__realloc_hook): Likewise.
38236 (__memalign_hook): Likewise.
38237 (__libc_malloc): Likewise.
38238 (__libc_free): Likewise.
38239 (__libc_realloc): Likewise.
38240 (__libc_memalign): Likewise.
38241 (__libc_valloc): Likewise.
38242 (__libc_pvalloc): Likewise.
38243 (__libc_calloc): Likewise.
38244 (__posix_memalign): Likewise.
38245 * malloc/morecore.c (__sbrk): Likewise.
38246 (__default_morecore): Likewise.
38247
38248 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38249
38250 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38251 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38252 __malloc_ptrdiff_t.
38253
38254 * malloc/malloc.h (__malloc_size_t): Remove macro.
38255 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38256 __malloc_size_t.
38257 (old_memalign_hook): Likewise.
38258 (old_realloc_hook): Likewise.
38259 (struct hdr): Likewise.
38260 (flood): Likewise.
38261 (mallochook): Likewise.
38262 (memalignhook): Likewise.
38263 (reallochook): Likewise.
38264 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38265 (tr_old_realloc_hook): Likewise.
38266 (tr_old_memalign_hook): Likewise.
38267 (tr_mallochook): Likewise.
38268 (tr_reallochook): Likewise.
38269 (tr_memalignhook): Likewise.
38270
38271 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38272
38273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38274 default_ldbl_pack and using as default implementation.
38275 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38276 implementation.
38277 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38278 redundant definition.
38279 (ldbl_insert_mantissa): Likewise.
38280 (ldbl_canonicalize): Likewise.
38281 (ldbl_nearbyint): Likewise.
38282 (ldbl_pack): Rename to ldbl_pack_ppc.
38283 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38284 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38285 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38286
38287 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38288
38289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38290 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38291 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38292 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38294 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38295 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38296 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38297
38298 2013-03-07 Andreas Jaeger <aj@suse.de>
38299
38300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38301 bits/mman-linux.h.
38302
38303 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38304
38305 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38306 Include mpa.h and declare __MPEXP.
38307 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38309 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38310 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38312 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38314
38315 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38316 (__slowpow): Use long double EXPL and LOGL functions to
38317 compute POW.
38318 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38319 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38321 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38322 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38323 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38324
38325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38326 intermediate variable to calculate exponent.
38327 (__sqr): Likewise.
38328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38329 Likewise.
38330 (__sqr): Likewise.
38331
38332 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38333 [!NO__SQR]: Define __sqr.
38334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38335 and NO__SQR. Remove all code except __mul and __sqr. Include
38336 sysdeps/ieee754/dbl-64/mpa.c.
38337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38338
38339 [BZ #12723]
38340 * posix/Makefile (tests): Add tst-pathconf.
38341 * posix/tst-pathconf.c: New test case.
38342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38343 _PC_PIPE_BUF.
38344 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38345
38346 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38347
38348 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38349
38350 2013-03-06 Andreas Jaeger <aj@suse.de>
38351
38352 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38353 definition via __MAP_ANONYMOUS.
38354
38355 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38356 it's not part of Linux headers.
38357
38358 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38359 (MAP_HUGE_MASK): Define.
38360
38361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38362 Define.
38363 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38365 Define.
38366 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38367 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38368 Define.
38369 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38370 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38371 Define.
38372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38373
38374 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38375 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38376 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38377 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38378 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38379 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38380
38381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38382 Handle f2fs.
38383
38384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38385 Handle f2fs and efivarfs.
38386
38387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38388 f2fs.
38389
38390 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38391 (EFIVARFS_MAGIC): Add.
38392 (F2FS_LINK_MAX): Add.
38393
38394 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38395
38396 * stdio-common/vfprintf.c: Replace __builtin_expect with
38397 __glibc_unlikely.
38398
38399 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38400
38401 [BZ #13550]
38402 * sysdeps/generic/bp-sym.h: Remove file.
38403 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38404 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38405 <bp-sym.h> and <bp-asm.h>.
38406 (__longjmp): Don't use BP_SYM.
38407 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38408 and <bp-asm.h>.
38409 (memcpy): Don't use BP_SYM.
38410 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38411 <bp-sym.h> and <bp-asm.h>.
38412 (memcpy): Don't use BP_SYM.
38413 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38414 <bp-asm.h>.
38415 (memcpy): Don't use BP_SYM.
38416 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38417 <bp-asm.h>.
38418 (memset): Don't use BP_SYM.
38419 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38420 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38421 (__bzero): Don't use BP_SYM.
38422 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38423 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38424 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38425 <bp-sym.h> and <bp-asm.h>.
38426 (memcmp): Don't use BP_SYM. Remove comment about bounded
38427 pointers.
38428 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38429 <bp-sym.h> and <bp-asm.h>.
38430 (memcpy): Don't use BP_SYM.
38431 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38432 <bp-sym.h> and <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/strncmp.S: Don't include
38440 <bp-sym.h> and <bp-asm.h>.
38441 (strncmp): Don't use BP_SYM. Remove comment about bounded
38442 pointers.
38443 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38444 <bp-sym.h> and <bp-asm.h>.
38445 (memcpy): Don't use BP_SYM.
38446 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
38455 <bp-sym.h> and <bp-asm.h>.
38456 (__memchr): Don't use BP_SYM.
38457 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38458 <bp-sym.h> and <bp-asm.h>.
38459 (memcmp): Don't use BP_SYM. Remove comment about bounded
38460 pointers.
38461 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38462 <bp-sym.h> and <bp-asm.h>.
38463 (memcpy): Don't use BP_SYM.
38464 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38465 <bp-sym.h> and <bp-asm.h>.
38466 (__mempcpy): Don't use BP_SYM.
38467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38468 <bp-sym.h> and <bp-asm.h>.
38469 (__memrchr): Don't use BP_SYM.
38470 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38471 <bp-sym.h> and <bp-asm.h>.
38472 (memset): Don't use BP_SYM.
38473 (__bzero): Likewise.
38474 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38475 <bp-sym.h> and <bp-asm.h>.
38476 (__rawmemchr): Don't use BP_SYM.
38477 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38478 <bp-sym.h> and <bp-asm.h>.
38479 (__STRCMP): Don't use BP_SYM.
38480 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38481 <bp-sym.h> and <bp-asm.h>.
38482 (strchr): Don't use BP_SYM.
38483 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38484 <bp-sym.h> and <bp-asm.h>.
38485 (__strchrnul): Don't use BP_SYM.
38486 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38487 <bp-sym.h> and <bp-asm.h>.
38488 (strlen): Don't use BP_SYM.
38489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38490 <bp-sym.h> and <bp-asm.h>.
38491 (strncmp): Don't use BP_SYM. Remove comment about bounded
38492 pointers.
38493 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38494 <bp-sym.h> and <bp-asm.h>.
38495 (__strnlen): Don't use BP_SYM.
38496 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38497 <bp-sym.h> and <bp-asm.h>.
38498 (__GI__setjmp): Don't use BP_SYM.
38499 (_setjmp): Likewise.
38500 (__sigsetjmp): Likewise.
38501 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38502 (L(start_addresses)): Don't use BP_SYM.
38503 (_start): Likewise.
38504 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38505 <bp-asm.h>.
38506 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38507 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38508 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38509 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38510 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38511 <bp-asm.h>.
38512 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38513 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38514 about bounded pointers.
38515 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38516 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38517 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38518 <bp-asm.h>.
38519 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38520 about bounded pointers. Remove GKM FIXME comments.
38521 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38522 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38523 <bp-asm.h>.
38524 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38525 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38526 Remove GKM FIXME comments.
38527 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38528 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38529 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38530 <bp-asm.h>.
38531 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38532 about bounded pointers. Remove GKM FIXME comment.
38533 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38534 and <bp-asm.h>.
38535 (strncmp): Don't use BP_SYM. Remove comment about bounded
38536 pointers.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38538 <bp-sym.h> and <bp-asm.h>.
38539 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38541 <bp-sym.h> and <bp-asm.h>.
38542 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38543 comment.
38544
38545 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38546
38547 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38548 call free(NULL).
38549
38550 2013-03-05 David S. Miller <davem@davemloft.net>
38551
38552 * po/es.po: Update from translation team.
38553
38554 2013-03-05 Andreas Jaeger <aj@suse.de>
38555
38556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38557 <bits/mman-linux.h>.
38558 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38559 is fine.
38560 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38561 <bits/mman-linux.h> to end of file.
38562 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38563 is fine.
38564 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38565 <bits/mman-linux.h> to end of file.
38566 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38567 is fine.
38568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38569 <bits/mman-linux.h> to end of file.
38570
38571 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38572 (MCL_CURRENT, MCL_FUTURE): Define here.
38573
38574 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38575
38576 [BZ #15232]
38577 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38578 attribute_hidden.
38579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38580
38581 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38582
38583 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38584 fourth parameter needed for rt_sigprocmask syscall.
38585 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38586 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38587 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38588 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38589 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38590 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38591
38592 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38593
38594 [BZ #13550]
38595 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38596 comment about bounded pointers.
38597 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38598 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38599
38600 2013-03-04 Andreas Jaeger <aj@suse.de>
38601
38602 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38603 common definitions.
38604
38605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38606 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38607 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38611
38612 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38613
38614 [BZ #15055]
38615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38616 __ieee754_sqrl instead of __sqrl.
38617
38618 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38619
38620 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38621 * sysdeps/powerpc/fpu_control.h: ... here.
38622 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38623 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38624 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38625 * sysdeps/powerpc/bits/mathinline.h: ... here.
38626
38627 2013-03-01 Roland McGrath <roland@hack.frob.com>
38628
38629 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38630 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38631 to just [NEED_DL_SYSINFO_DSO].
38632 * elf/dl-support.c: Likewise.
38633 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38634 * elf/rtld.c (dl_main): Likewise.
38635 * elf/setup-vdso.h (setup_vdso): Likewise.
38636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38637 * sysdeps/unix/sysv/linux/dl-sysdep.c
38638 (_dl_discover_osversion): Likewise.
38639
38640 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38641
38642 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38643 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38644
38645 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38646
38647 * NEWS: Mention libm performance improvements and non-x86 PI
38648 futex support.
38649
38650 * csu/libc-start.c (__pthread_initialize_minimal): Change
38651 function arguments.
38652 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38653
38654 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38655
38656 [BZ #13550]
38657 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38658 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38659 <bp-sym.h> and <bp-asm.h>.
38660 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38661 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38662 and <bp-asm.h>.
38663 (memcpy): Don't use BP_SYM.
38664 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38665 <bp-asm.h>.
38666 (__mpn_add_n): Don't use BP_SYM.
38667 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38668 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38669 and <bp-asm.h>.
38670 (__mpn_addmul_1): Don't use BP_SYM.
38671 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38672 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38673 <bp-sym.h>.
38674 (_setjmp): Don't use BP_SYM.
38675 (__novmx_setjmp): Likewise.
38676 (__GI__setjmp): Likewise.
38677 (__vmx_setjmp): Likewise.
38678 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38679 <bp-sym.h>.
38680 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38681 (__bzero): Don't use BP_SYM.
38682 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38683 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38684 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38685 <bp-sym.h> and <bp-asm.h>.
38686 (memcpy): Don't use BP_SYM.
38687 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38688 <bp-sym.h> and <bp-asm.h>.
38689 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38690 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38691 <bp-sym.h> and <bp-asm.h>.
38692 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38693 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38694 <bp-asm.h>.
38695 (__mpn_lshift): Don't use BP_SYM.
38696 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38697 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38698 <bp-asm.h>.
38699 (memset): Don't use BP_SYM.
38700 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38701 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38702 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38703 <bp-asm.h>.
38704 (__mpn_mul_1): Don't use BP_SYM.
38705 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38706 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38707 <bp-sym.h> and <bp-asm.h>.
38708 (memcmp): Don't use BP_SYM.
38709 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38710 <bp-sym.h> and <bp-asm.h>.
38711 (memcpy): Don't use BP_SYM.
38712 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38713 <bp-sym.h> and <bp-asm.h>.
38714 (memset): Don't use BP_SYM.
38715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38716 <bp-sym.h> and <bp-asm.h>.
38717 (strncmp): Don't use BP_SYM.
38718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38719 <bp-sym.h> and <bp-asm.h>.
38720 (memcpy): Don't use BP_SYM.
38721 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38722 <bp-sym.h> and <bp-asm.h>.
38723 (memset): Don't use BP_SYM.
38724 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38725 <bp-sym.h> and <bp-asm.h>.
38726 (__memchr): Don't use BP_SYM.
38727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38728 <bp-sym.h> and <bp-asm.h>.
38729 (memcmp): Don't use BP_SYM.
38730 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38731 <bp-sym.h> and <bp-asm.h>.
38732 (memcpy): Don't use BP_SYM.
38733 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38734 <bp-sym.h> and <bp-asm.h>.
38735 (__mempcpy): Don't use BP_SYM.
38736 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38737 <bp-sym.h> and <bp-asm.h>.
38738 (__memrchr): Don't use BP_SYM.
38739 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38740 <bp-sym.h> and <bp-asm.h>.
38741 (memset): Don't use BP_SYM.
38742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38743 <bp-sym.h> and <bp-asm.h>.
38744 (__rawmemchr): Don't use BP_SYM.
38745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38746 <bp-sym.h> and <bp-asm.h>.
38747 (__STRCMP): Don't use BP_SYM.
38748 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38749 <bp-sym.h> and <bp-asm.h>.
38750 (strchr): Don't use BP_SYM.
38751 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38752 <bp-sym.h> and <bp-asm.h>.
38753 (__strchrnul): Don't use BP_SYM.
38754 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38755 <bp-sym.h> and <bp-asm.h>.
38756 (strlen): Don't use BP_SYM.
38757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38758 <bp-sym.h> and <bp-asm.h>.
38759 (strncmp): Don't use BP_SYM.
38760 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38761 <bp-sym.h> and <bp-asm.h>.
38762 (__strnlen): Don't use BP_SYM.
38763 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38764 <bp-asm.h>.
38765 (__mpn_rshift): Don't use BP_SYM.
38766 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38768 <bp-sym.h> and <bp-asm.h>.
38769 (__sigsetjmp): Don't use BP_SYM.
38770 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38771 (L(start_addresses)): Don't use BP_SYM.
38772 (_start): Likewise.
38773 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38774 <bp-asm.h>.
38775 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38776 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38777 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38778 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38779 <bp-asm.h>.
38780 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38781 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38782 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38783 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38784 <bp-asm.h>.
38785 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38786 comments.
38787 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38788 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38789 <bp-asm.h>.
38790 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38791 FIXME comments.
38792 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38793 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38794 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38795 <bp-asm.h>.
38796 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38797 comment.
38798 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38799 and <bp-asm.h>.
38800 (strncmp): Don't use BP_SYM,
38801 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38802 <bp-asm.h>.
38803 (__mpn_sub_n): Don't use BP_SYM.
38804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38805 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38806 and <bp-asm.h>.
38807 (__mpn_submul_1): Don't use BP_SYM.
38808 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38810 <bp-sym.h> and <bp-asm.h>.
38811 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38813 <bp-sym.h> and <bp-asm.h>.
38814 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38815 comment.
38816
38817 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38818
38819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38820 Use ZK to minimize writes to Z.
38821 (sub_magnitudes): Simplify code a bit.
38822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38823 Use ZK to minimize writes to Z.
38824 (sub_magnitudes): Simplify code a bit.
38825
38826 2013-02-27 Roland McGrath <roland@hack.frob.com>
38827
38828 * csu/gmon-start.c: Add special exception to license text.
38829
38830 2013-02-27 Richard Henderson <rth@redhat.com>
38831
38832 * scripts/config.guess: Update from config.git.
38833 * scripts/config.sub: Likewise.
38834
38835 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38836
38837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38838
38839 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38840
38841 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38842
38843 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38844
38845 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38846
38847 2013-02-26 Roland McGrath <roland@hack.frob.com>
38848
38849 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38850 [$(build-shared = yes].
38851
38852 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38853
38854 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38855 (__mul): Reduce iterations for calculating mantissa.
38856
38857 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38858 MPTWO.
38859 (__mpranred): Likewise.
38860
38861 [BZ #15160]
38862 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38863 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38864
38865 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38866
38867 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38868 Define __attribute__.
38869
38870 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38871
38872 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38873 unused.
38874 * posix/regex_internal.h (__attribute): Remove.
38875 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38876 (re_string_context_at): Likewise.
38877 (bitset_not): Use __attribute__ and mark function as possibly
38878 unused.
38879 (bitset_merge): Likewise.
38880 (bitset_mask): Likewise.
38881 (re_string_char_size_at): Likewise.
38882 (re_string_wchar_at): Likewise.
38883 (re_string_elem_size_at): Likewise.
38884
38885 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38886
38887 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38888 code.
38889 (cc32): Likewise.
38890
38891 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38892 (__acr): Likewise.
38893 (__cpy): Likewise.
38894 (norm): Likewise.
38895 (denorm): Likewise.
38896 (__dbl_mp): Likewise.
38897 (add_magnitudes): Likewise.
38898 (sub_magnitudes): Likewise.
38899 (__mul): Likewise.
38900 (__inv): Likewise.
38901
38902 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38903 style.
38904
38905 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38906 style.
38907
38908 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38909 code.
38910
38911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38912 up changes with default code.
38913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38914 Likewise.
38915
38916 2013-02-24 Allan McRae <allan@archlinux.org>
38917
38918 * manual/socket.texi (The Internet Namespace): Order menu items
38919 to match that in the file.
38920
38921 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38922 node listing of the info page menu.
38923
38924 2013-02-21 Joseph Myers <joseph@codesourcery.com>
38925
38926 [BZ #13550]
38927 * sysdeps/i386/bp-asm.h: Remove file.
38928 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38929 (PARMS): Do not use macros from bp-asm.h.
38930 (S1): Likewise.
38931 (S2): Likewise.
38932 (SIZE): Likewise.
38933 (__mpn_add_n): Do not use BP_SYM
38934 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38935 "bp-asm.h".
38936 (PARMS): Do not use macros from bp-asm.h.
38937 (S1): Likewise.
38938 (SIZE): Likewise.
38939 (__mpn_addmul_1): Do not use BP_SYM
38940 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38941 "bp-asm.h".
38942 (PARMS): Do not use macros from bp-asm.h.
38943 (SIGMSK): Likewise.
38944 (_setjmp): Likewise. Do not use BP_SYM.
38945 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38946 "bp-asm.h".
38947 (PARMS): Do not use macros from bp-asm.h.
38948 (SIGMSK): Likewise.
38949 (setjmp): Likewise. Do not use BP_SYM.
38950 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38951 "bp-asm.h".
38952 (PARMS): Do not use macros from bp-asm.h.
38953 (__frexp): Do not use BP_SYM.
38954 (frexp): Likewise.
38955 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38956 "bp-asm.h".
38957 (PARMS): Do not use macros from bp-asm.h.
38958 (__frexpf): Do not use BP_SYM.
38959 (frexpf): Likewise.
38960 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38961 "bp-asm.h".
38962 (PARMS): Do not use macros from bp-asm.h.
38963 (__frexpl): Do not use BP_SYM.
38964 (frexpl): Likewise.
38965 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38966 "bp-asm.h".
38967 (PARMS): Do not use macros from bp-asm.h.
38968 (__remquo): Do not use BP_SYM.
38969 (remquo): Likewise.
38970 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38971 "bp-asm.h".
38972 (PARMS): Do not use macros from bp-asm.h.
38973 (__remquof): Do not use BP_SYM.
38974 (remquof): Likewise.
38975 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38976 "bp-asm.h".
38977 (PARMS): Do not use macros from bp-asm.h.
38978 (__remquol): Do not use BP_SYM.
38979 (remquol): Likewise.
38980 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38981 "bp-asm.h".
38982 (PARMS): Do not use macros from bp-asm.h.
38983 (DEST): Likewise.
38984 (SRC): Likewise.
38985 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
38986 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38987 "bp-asm.h".
38988 (PARMS): Do not use macros from bp-asm.h.
38989 (strlen): Do not use BP_SYM.
38990 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38991 "bp-asm.h".
38992 (PARMS): Do not use macros from bp-asm.h.
38993 (S1): Likewise.
38994 (S2): Likewise.
38995 (SIZE): Likewise.
38996 (__mpn_add_n): Do not use BP_SYM.
38997 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38998 "bp-asm.h".
38999 (PARMS): Do not use macros from bp-asm.h.
39000 (S1): Likewise.
39001 (SIZE): Likewise.
39002 (__mpn_addmul_1): Do not use BP_SYM.
39003 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39004 weak_alias.
39005 (bzero): Likewise.
39006 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39007 "bp-asm.h".
39008 (PARMS): Do not use macros from bp-asm.h.
39009 (S): Likewise.
39010 (SIZE): Likewise.
39011 (__mpn_lshift): Do not use BP_SYM.
39012 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39013 "bp-asm.h".
39014 (PARMS): Do not use macros from bp-asm.h.
39015 (DEST): Likewise.
39016 (SRC): Likewise.
39017 (LEN): Likewise.
39018 (memcpy): Likewise. Do not use BP_SYM.
39019 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39020 libc_hidden_def and weak_alias.
39021 (mempcpy): Do not use BP_SYM in weak_alias.
39022 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39023 "bp-asm.h".
39024 (PARMS): Do not use macros from bp-asm.h.
39025 (DEST): Likewise.
39026 (LEN): Likewise.
39027 [!BZERO_P] (CHR): Likewise.
39028 (memset): Likewise. Do not use BP_SYM.
39029 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39030 "bp-asm.h".
39031 (PARMS): Do not use macros from bp-asm.h.
39032 (S1): Likewise.
39033 (SIZE): Likewise.
39034 (__mpn_mul_1): Do not use BP_SYM.
39035 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39036 "bp-asm.h".
39037 (PARMS): Do not use macros from bp-asm.h.
39038 (S): Likewise.
39039 (SIZE): Likewise.
39040 (__mpn_rshift): Do not use BP_SYM.
39041 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39042 "bp-asm.h".
39043 (PARMS): Do not use macros from bp-asm.h.
39044 (STR): Likewise.
39045 (CHR): Likewise.
39046 (strchr): Likewise. Do not use BP_SYM.
39047 (index): Do not use BP_SYM in weak_alias.
39048 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39049 "bp-asm.h".
39050 (PARMS): Do not use macros from bp-asm.h.
39051 (DEST): Likewise.
39052 (SRC): Likewise.
39053 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39054 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39055 "bp-asm.h".
39056 (PARMS): Do not use macros from bp-asm.h.
39057 (strlen): Do not use BP_SYM.
39058 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39059 "bp-asm.h".
39060 (PARMS): Do not use macros from bp-asm.h.
39061 (S1): Likewise.
39062 (S2): Likewise.
39063 (SIZE): Likewise.
39064 (__mpn_sub_n): Do not use BP_SYM.
39065 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39066 "bp-asm.h".
39067 (PARMS): Do not use macros from bp-asm.h.
39068 (S1): Likewise.
39069 (SIZE): Likewise.
39070 (__mpn_submul_1): Do not use BP_SYM.
39071 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39072 "bp-asm.h".
39073 (PARMS): Do not use macros from bp-asm.h.
39074 (S1): Likewise.
39075 (S2): Likewise.
39076 (SIZE): Likewise.
39077 (__mpn_add_n): Do not use BP_SYM.
39078 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39079 weak_alias.
39080 (bzero): Likewise.
39081 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39082 "bp-asm.h".
39083 (PARMS): Do not use macros from bp-asm.h.
39084 (BLK2): Likewise.
39085 (LEN): Likewise.
39086 (memcmp): Do not use BP_SYM.
39087 (bcmp): Do not use BP_SYM in weak_alias.
39088 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39089 "bp-asm.h".
39090 (PARMS): Do not use macros from bp-asm.h.
39091 (DEST): Likewise.
39092 (SRC): Likewise.
39093 (LEN): Likewise.
39094 (memcpy): Likewise. Do not use BP_SYM.
39095 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39096 "bp-asm.h".
39097 (PARMS): Do not use macros from bp-asm.h.
39098 (DEST): Likewise.
39099 (SRC): Likewise.
39100 (LEN): Likewise.
39101 (memmove): Likewise. Do not use BP_SYM.
39102 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39103 "bp-asm.h".
39104 (PARMS): Do not use macros from bp-asm.h.
39105 (DEST): Likewise.
39106 (SRC): Likewise.
39107 (LEN): Likewise.
39108 (__mempcpy): Likewise. Do not use BP_SYM.
39109 (mempcpy): Do not use BP_SYM in weak_alias.
39110 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
39115 [!BZERO_P] (CHR): Likewise.
39116 (memset): Likewise. Do not use BP_SYM.
39117 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39118 "bp-asm.h".
39119 (PARMS): Do not use macros from bp-asm.h.
39120 (STR2): Likewise.
39121 (strcmp): Do not use BP_SYM.
39122 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39123 "bp-asm.h".
39124 (PARMS): Do not use macros from bp-asm.h.
39125 (STR): Likewise.
39126 (DELIM): Likewise.
39127 [USE_AS_STRTOK_R] (SAVE): Likewise.
39128 (FUNCTION): Likewise. Do not use BP_SYM.
39129 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39130 aliases.
39131 (strtok_r): Likewise.
39132 (__GI___strtok_r): Likewise.
39133 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39134 (PARMS): Do not use macros from bp-asm.h.
39135 (S): Likewise.
39136 (SIZE): Likewise.
39137 (__mpn_lshift): Do not use BP_SYM.
39138 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39139 (PARMS): Do not use macros from bp-asm.h.
39140 (STR): Likewise.
39141 (CHR): Likewise.
39142 (__memchr): Do not use BP_SYM.
39143 (memchr): Do not use BP_SYM in weak_alias.
39144 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39145 (PARMS): Do not use macros from bp-asm.h.
39146 (BLK2): Likewise.
39147 (LEN): Likewise.
39148 (memcmp): Do not use BP_SYM.
39149 (bcmp): Do not use BP_SYM in weak_alias.
39150 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39151 (PARMS): Do not use macros from bp-asm.h.
39152 (S1): Likewise.
39153 (SIZE): Likewise.
39154 (__mpn_mul_1): Do not use BP_SYM.
39155 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39156 "bp-asm.h".
39157 (PARMS): Do not use macros from bp-asm.h.
39158 (STR): Likewise.
39159 (CHR): Likewise.
39160 (__rawmemchr): Do not use BP_SYM.
39161 (rawmemchr): Do not use BP_SYM in weak_alias.
39162 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39163 (PARMS): Do not use macros from bp-asm.h.
39164 (S): Likewise.
39165 (SIZE): Likewise.
39166 (__mpn_rshift): Do not use BP_SYM.
39167 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39168 (PARMS): Do not use macros from bp-asm.h.
39169 (SIGMSK): Likewise.
39170 (__sigsetjmp): Likewise. Do not use BP_SYM.
39171 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39172 (_start): Do not use BP_SYM.
39173 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39174 (PARMS): Do not use macros from bp-asm.h.
39175 (DEST): Likewise.
39176 (SRC): Likewise.
39177 (__stpcpy): Likewise. Do not use BP_SYM.
39178 (stpcpy): Do not use BP_SYM in weak_alias.
39179 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39180 "bp-asm.h".
39181 (PARMS): Do not use macros from bp-asm.h.
39182 (DEST): Likewise.
39183 (SRC): Likewise.
39184 (LEN): Likewise.
39185 (__stpncpy): Likewise. Do not use BP_SYM.
39186 (stpncpy): Do not use BP_SYM in weak_alias.
39187 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39188 (PARMS): Do not use macros from bp-asm.h.
39189 (STR): Likewise.
39190 (CHR): Likewise.
39191 (strchr): Likewise. Do not use BP_SYM.
39192 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39193 "bp-asm.h".
39194 (PARMS): Do not use macros from bp-asm.h.
39195 (STR): Likewise.
39196 (CHR): Likewise.
39197 (__strchrnul): Likewise. Do not use BP_SYM.
39198 (strchrnul): Do not use BP_SYM in weak_alias.
39199 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39200 "bp-asm.h".
39201 (PARMS): Do not use macros from bp-asm.h.
39202 (STOP): Likewise.
39203 (strcspn): Do not use BP_SYM.
39204 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39205 "bp-asm.h".
39206 (PARMS): Do not use macros from bp-asm.h.
39207 (STR): Likewise.
39208 (STOP): Likewise.
39209 (strpbrk): Likewise. Do not use BP_SYM.
39210 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39211 "bp-asm.h".
39212 (PARMS): Do not use macros from bp-asm.h.
39213 (STR): Likewise.
39214 (CHR): Likewise.
39215 (strrchr): Likewise. Do not use BP_SYM.
39216 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39217 (PARMS): Do not use macros from bp-asm.h.
39218 (SKIP): Likewise.
39219 (strspn): Do not use BP_SYM.
39220 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39221 (PARMS): Do not use macros from bp-asm.h.
39222 (STR): Likewise.
39223 (DELIM): Likewise.
39224 (SAVE): Likewise.
39225 (FUNCTION): Likewise. Do not use BP_SYM.
39226 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39227 aliases.
39228 (strtok_r): Likewise.
39229 (__GI___strtok_r): Likewise.
39230 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39231 (PARMS): Do not use macros from bp-asm.h.
39232 (S1): Likewise.
39233 (S2): Likewise.
39234 (SIZE): Likewise.
39235 (__mpn_sub_n): Do not use BP_SYM.
39236 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39237 "bp-asm.h".
39238 (PARMS): Do not use macros from bp-asm.h.
39239 (S1): Likewise.
39240 (SIZE): Likewise.
39241 (__mpn_submul_1): Do not use BP_SYM.
39242 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39243 <bp-sym.h>.
39244 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39245 and <bp-asm.h>.
39246 (PARMS): Do not use macros from bp-asm.h.
39247 (FLAGS): Likewise.
39248 (PTID): Likewise.
39249 (TLS): Likewise.
39250 (CTID): Likewise.
39251 (__clone): Do not use BP_SYM.
39252 (clone): Do not use BP_SYM in weak_alias.
39253 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39254 and <bp-asm.h>.
39255 (PARMS): Do not use macros from bp-asm.h.
39256 (LEN): Likewise.
39257 (__mmap64): Do not use BP_SYM.
39258 (mmap64): Do not use BP_SYM in weak_alias.
39259 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39260 <bp-sym.h> and <bp-asm.h>.
39261 (PARMS): Do not use macros from bp-asm.h.
39262 (__posix_fadvise64_l64): Do not use BP_SYM.
39263 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39264 (PARMS): Do not use macros from bp-asm.h.
39265 (NSOPS): Likewise.
39266 (semtimedop): Do not use BP_SYM.
39267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39268 and <bp-asm.h>.
39269
39270 2013-02-21 Allan McRae <allan@archlinux.org>
39271
39272 * manual/message.texi (Charset conversion in gettext):
39273 Move @end statement to beginning of line.
39274
39275 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39276
39277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39278 static.
39279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39280 Likewise.
39281
39282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39283 (denorm): Likewise.
39284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39286
39287 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39288
39289 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39290 tail-call to the resolved function if pltexit isn't needed.
39291
39292 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39293
39294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39295 or Y being zero as being unlikely.
39296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39297 Likewise.
39298
39299 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39300
39301 * manual/nss.texi (System Databases and Name Service Switch):
39302 Remove frobnicate @pxref.
39303
39304 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39305
39306 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39307 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39308
39309 2013-02-20 Petr Machata <pmachata@redhat.com>
39310
39311 * elf/elf.h (R_ARM_TARGET1): New macro.
39312 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39313 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39314 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39315 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39316 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39317 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39318 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39319 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39320 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39321 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39322 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39323 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39324 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39325 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39326 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39327 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39328 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39329 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39330 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39331 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39332 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39333 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39334 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39335 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39336 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39337 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39338 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39339 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39340 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39341 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39342 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39343 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39344 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39345 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39346 (R_ARM_THM_GOT_BREL12): Likewise.
39347 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39348 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39349 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39350 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39351 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39352 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39353 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39354 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39355 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39356
39357 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39358
39359 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39360 __attribute_used__ to __attribute__ ((unused)).
39361
39362 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39363
39364 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39365 powerpc mpa.c.
39366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39367 comment formatting.
39368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39369
39370 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39371
39372 [BZ #13550]
39373 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39374 Remove macro.
39375 (ENTER): Remove both macro definitions.
39376 (LEAVE): Likewise.
39377 (CHECK_BOUNDS_LOW): Likewise.
39378 (CHECK_BOUNDS_HIGH): Likewise.
39379 (CHECK_BOUNDS_BOTH): Likewise.
39380 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39381 (RETURN_BOUNDED_POINTER): Likewise.
39382 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39383 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39384 (POP_ERRNO_LOCATION_RETURN): Likewise.
39385 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39386 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39387 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39388 macros.
39389 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39390 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39391 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39392 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39393 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39394 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39395 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39396 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39397 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39398 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39399 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39400 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39401 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39402 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39403 removed macros.
39404 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39405 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39406 macros.
39407 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39408 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39409 * sysdeps/i386/i586/memset.S (memset): Likewise.
39410 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39411 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39412 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39413 macros.
39414 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39415 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39416 Change uses of L(2) to L(out).
39417 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39418 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39419 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39420 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39421 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39422 removed macros.
39423 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39424 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39425 macros.
39426 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39427 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39428 (RETURN): Do not use macro LEAVE.
39429 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39430 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39431 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39432 * sysdeps/i386/i686/memset.S (memset): Likewise.
39433 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39434 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39435 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39436 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39437 Likewise.
39438 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39439 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39440 L(1_2) and L(1_3) into L(1).
39441 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39442 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39443 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39444 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39445 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39446 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39447 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39448 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39449 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39450 macros.
39451 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39452 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39453 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39454 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39455 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39456 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39457 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39458 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39459 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39460 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39461 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39462 * sysdeps/i386/strspn.S (strspn): Likewise.
39463 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39464 conditional code.
39465 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39466 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39467 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39468 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39469 L(1_3) into L(1_1).
39470 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39471 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39472 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39473 macros.
39474 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39475
39476 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39477
39478 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39479 macro.
39480
39481 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39482
39483 * math/atest-exp.c (exp_mpn): Remove ROUND.
39484 * math/atest-exp2.c (exp_mpn): Likewise.
39485 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39486
39487 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39488 * stdlib/tst-tls-atexit-lib.c: Likewise.
39489 * stdlib/tst-tls-atexit.c: Likewise.
39490
39491 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39492
39493 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39494 and __attribute_alloc_size__.
39495
39496 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39497
39498 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39499 __attribute_alloc_size__.
39500 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39501 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39502
39503 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39504
39505 * include/programs/xmalloc.h: New file.
39506 * catgets/gencat.c: Include it.
39507 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39508 * elf/pldd.c: Likewise.
39509 * iconv/iconv_charmap.c: Likewise.
39510 * iconv/iconvconfig.c: Likewise.
39511 * iconv/strtab.c: Likewise.
39512 * locale/programs/locale.c: Likewise.
39513 * locale/programs/localedef.h: Likewise.
39514 * locale/programs/simple-hash.c: Likewise.
39515 * nscd/nscd.h: Likewise.
39516 * nss/makedb.c: Likewise.
39517 * sysdeps/generic/ldconfig.h: Likewise.
39518
39519 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39520
39521 * Versions.def: Add GLIBC_2.18.
39522 * include/link.h (struct link_map): New member l_tls_dtor_count.
39523 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39524 (__call_tls_dtors): Likewise.
39525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39526 __cxa_thread_atexit_impl.
39527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39528 Likewise.
39529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39530 Likewise.
39531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39532 Likewise.
39533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39534 Likewise.
39535 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39537 Likewise.
39538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39539 Likewise.
39540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39542 Likewise.
39543 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39544 (tests): Add test case tst-tls-atexit.
39545 (modules-names): Add shared library for tst-tls-atexit.
39546 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39547 (GLIBC_PRIVATE): Add __call_tls_dtors.
39548 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39549 for libstdc++.
39550 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39551 * stdlib/tst-tls-atexit.c: New test case.
39552 * stdlib/tst-tls-atexit-lib.c: New test case.
39553
39554 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39555
39556 * elf/Versions (ld): Add _dl_find_dso_for_object.
39557 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39558 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39559 (dl_open_worker): Use _dl_find_dso_for_object.
39560 * elf/dl-sym.c (do_sym): Likewise.
39561 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39562
39563 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39564
39565 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39566 Syntactic changes only.
39567 (_dl_runtime_profile): Do a tail-call to the resolved function.
39568
39569 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39570
39571 [BZ #13550]
39572 * sysdeps/x86_64/bp-asm.h: Remove file.
39573 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39574 <bp-sym.h> and <bp-asm.h>.
39575 (__clone): Do not use BP_SYM.
39576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39577 <bp-sym.h> and <bp-asm.h>.
39578 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39579 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39580 "bp-asm.h".
39581 (_setjmp): Do not use BP_SYM.
39582 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39583 "bp-asm.h".
39584 (setjmp): Do not use BP_SYM.
39585 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39586 libc_hidden_def.
39587 (mempcpy): Do not use BP_SYM in weak_alias.
39588 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39589 "bp-asm.h".
39590 (strchr): Do not use BP_SYM.
39591 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39592 "bp-asm.h".
39593 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39594 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39595 (_start): Do not use BP_SYM.
39596 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39597 "bp-asm.h".
39598 (strcat): Do not use BP_SYM.
39599 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39600 "bp-asm.h".
39601 (STRCMP): Do not use BP_SYM.
39602 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39603 "bp-asm.h".
39604 (STRCPY): Do not use BP_SYM.
39605 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39606 "bp-asm.h".
39607 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39608 "bp-asm.h".
39609 (FUNCTION): Do not use BP_SYM.
39610 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39611 weak_alias.
39612 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39613
39614 2013-02-17 Andreas Jaeger <aj@suse.de>
39615
39616 * time/Versions: Sort entries.
39617 * string/Versions: Likewise.
39618 * resolv/Versions: Likewise.
39619 * posix/Versions: Likewise.
39620 * iconv/Versions: Likewise.
39621 * elf/Versions: Likewise.
39622 * wcsmbs/Versions: Likewise.
39623
39624 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39625
39626 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39627 loop termination condition.
39628
39629 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39630 variable to calculate EZ.
39631 (__sqr): Likewise.
39632
39633 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39634 the lower precision input.
39635
39636 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39637
39638 [BZ #13550]
39639 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39640 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39641 (run-via-rtld-prefix): Do not handle %-bp tests.
39642 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39643 (all-object-suffixes): Remove .ob.
39644 (bppfx): Remove variable.
39645 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39646 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39647 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39648 [$(build-bounded) = yes] (libtype.ob): Likewise.
39649 * Makerules (elide-routines.ob): Remove variable.
39650 (do-tests-clean): Do not handle *-bp.out.
39651 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39652 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39653 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39654 (tests): Do not include $(tests-bp.out).
39655 (xtests): Do not include $(xtests-bp.out).
39656 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39657 [$(build-bounded) = yes] ($(addprefix
39658 $(objpfx),$(binaries-bounded))): Remove rule.
39659 ($(objpfx)%-bp.out): Remove rule.
39660 * config.make.in (build-bounded): Remove variable.
39661 * crypt/Makefile [$(build-bounded) = yes]
39662 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39663 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39664 append to variable.
39665 [$(build-bounded) = yes] (install-lib): Likewise.
39666 [$(build-bounded) = yes] (generated): Likewise.
39667 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39668 Remove rule.
39669 * intl/Makefile [$(build-bounded) = yes]
39670 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39671 * math/Makefile [$(build-bounded) = yes]
39672 ($(tests:%=$(objpfx)%-bp): Likewise.
39673 * misc/Makefile [$(build-bounded) = yes]
39674 ($(objpfx)tst-tsearch-bp): Likewise.
39675 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39676 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39677 Remove dependency.
39678 * string/Makefile (o-objects.ob): Remove variable.
39679 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39680 (CFLAGS-.ob): Remove variable.
39681 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39682 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39683 both definitions of variable.
39684 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39685 (ASFLAGS-.ob): Remove variable.
39686
39687 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39688
39689 [BZ #13550]
39690 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39691 Remove __BOUNDED_POINTERS__ from condition.
39692 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39693 * string/bits/string2.h [!__NO_STRING_INLINES &&
39694 !__BOUNDED_POINTERS__]: Likewise.
39695 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39696 Likewise.
39697 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39698 Remove conditional code.
39699 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39700 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39701 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39702 condition.
39703
39704 [BZ #13550]
39705 * csu/libc-start.c: Do not include <bp-sym.h>.
39706 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39707 * elf/dl-open.c: Do not include <bp-sym.h>.
39708 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39709 * math/fegetenv.c: Do not include <bp-sym.h>.
39710 (fegetenv): Do not use BP_SYM in versioned symbols.
39711 * nptl/sysdeps/pthread/bits/libc-lockP.h
39712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39713 <bp-sym.h>.
39714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39715 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39717 (__pthread_mutex_destroy): Likewise.
39718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39719 (__pthread_mutex_lock): Likewise.
39720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39721 (__pthread_mutex_trylock): Likewise.
39722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39723 (__pthread_mutex_unlock): Likewise.
39724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39725 (__pthread_mutexattr_init): Likewise.
39726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39727 (__pthread_mutexattr_destroy): Likewise.
39728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39729 (__pthread_mutexattr_settype): Likewise.
39730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39731 (__pthread_rwlock_init): Likewise.
39732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39733 (__pthread_rwlock_destroy): Likewise.
39734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39735 (__pthread_rwlock_rdlock): Likewise.
39736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39737 (__pthread_rwlock_tryrdlock): Likewise.
39738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39739 (__pthread_rwlock_wrlock): Likewise.
39740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39741 (__pthread_rwlock_trywrlock): Likewise.
39742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39743 (__pthread_rwlock_unlock): Likewise.
39744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39745 (__pthread_key_create): Likewise.
39746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39747 (__pthread_setspecific): Likewise.
39748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39749 (__pthread_getspecific): Likewise.
39750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39751 Likewise.
39752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39753 (_pthread_cleanup_push_defer): Likewise.
39754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39755 (_pthread_cleanup_pop_restore): Likewise.
39756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39757 (pthread_setcancelstate): Likewise.
39758 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39759 <bp-sym.h>.
39760 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39761 (memchr): Do not use BP_SYM in weak_alias.
39762 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39763 (fegetenv): Do not use BP_SYM in versioned symbols.
39764 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39765 (fesetenv): Do not use BP_SYM in versioned symbols.
39766 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39767 (feupdateenv): Do not use BP_SYM in versioned symbols.
39768 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39769 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39770 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39771 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39772 (open64): Do not use BP_SYM in weak_alias.
39773 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39774 (fegetenv): Do not use BP_SYM in versioned symbols.
39775 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39776 (fesetenv): Do not use BP_SYM in versioned symbols.
39777 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39778 (feupdateenv): Do not use BP_SYM in versioned symbols.
39779 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39780 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39781 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39782 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39783 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39784 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39785 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39786 <bp-sym.h>.
39787 (__libc_start_main): Do not use BP_SYM.
39788
39789 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39790
39791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39792 redundant return line.
39793 (norm): Likewise.
39794 (denorm): Likewise.
39795 (dbl_mp): Likewise.
39796 (sub_magnitudes): Likewise.
39797 (__add): Likewise.
39798 (__sub): Likewise.
39799 (__mul): Likewise.
39800 (__inv): Likewise.
39801 (__dvd): Likewise.
39802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39803 (norm): Likewise.
39804 (denorm): Likewise.
39805 (dbl_mp): Likewise.
39806 (sub_magnitudes): Likewise.
39807 (__add): Likewise.
39808 (__sub): Likewise.
39809 (__mul): Likewise.
39810 (__inv): Likewise.
39811 (__dvd): Likewise.
39812
39813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39814 instead of __mul.
39815 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39816 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39817 (cc32): Likewise.
39818
39819 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39820 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39822 of __mul for squares.
39823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39824 function
39825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39826 Likewise.
39827 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39828 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39829
39830 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39831
39832 [BZ #13550]
39833 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39834 code.
39835 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39836 prototype or function definition. Rename ubp_* variables and
39837 parameters. Remove argv definitions conditional on
39838 [__BOUNDED_POINTERS__].
39839 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39840 * elf/dl-runtime.c (_dl_fixup): Likewise.
39841 * include/set-hooks.h (RUN_HOOK): Likewise.
39842 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39843 definition.
39844 * string/strcpy.c (strcpy): Do not use __unbounded.
39845 * sysdeps/generic/frame.h (struct layout): Likewise.
39846 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39847 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39848 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39849 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39850 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39851 (__backtrace): Likewise.
39852 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39853 use __ptrvalue.
39854 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39855 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39856 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39857 Likewise.
39858 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39859 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39860 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39861 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39862 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39863 Do not use __unbounded.
39864 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39865 Rename __unboundedrlimits parameter to rlimits in prototype.
39866 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39867 Do not use __unbounded.
39868 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39869 not use __ptrvalue.
39870 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39871 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39872 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39873 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39874 __ptrvalue or __unbounded.
39875 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39876 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39877 use __unbounded.
39878 (__new_msgctl): Do not use __ptrvalue.
39879 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39880 __unbounded.
39881 (__libc_msgrcv): Do not use __ptrvalue.
39882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39883 startup_info): Do not use __unbounded.
39884 (__libc_start_main): Likewise. Rename ubp_* variables and
39885 parameters. Remove argv definitions conditional on
39886 [__BOUNDED_POINTERS__].
39887 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39888 __ptrvalue.
39889 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39890 use __unbounded.
39891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39892 or __ptrvalue.
39893 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39894 use __unbounded.
39895 (__new_shmctl): Do not use __ptrvalue.
39896 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39897 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39898 Likewise.
39899 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39901 (__libc_sigaction): Likewise.
39902 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39903 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39904 Likewise.
39905 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39906
39907 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
39908
39909 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39910
39911 * string/mempcpy.c: Implement by calling memcpy.
39912
39913 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39914
39915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39916
39917 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39918 evaluation.
39919
39920 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39921 values in the mantissa.
39922
39923 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39924 minimize writes to Z.
39925 (sub_magnitudes): Simplify code a bit.
39926
39927 2013-02-12 Roland McGrath <roland@hack.frob.com>
39928
39929 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39930 from the message. The linker prefixes all warnings with that already.
39931
39932 2013-02-12 Andreas Schwab <schwab@suse.de>
39933
39934 [BZ #15078]
39935 * posix/regexec.c (extend_buffers): Add parameter min_len.
39936 (check_matching): Pass minimum needed length.
39937 (clean_state_log_if_needed): Likewise.
39938 (get_subexp): Likewise.
39939 * posix/Makefile (tests): Add bug-regex34.
39940 (bug-regex34-ENV): Define.
39941 * posix/bug-regex34.c: New file.
39942
39943 [BZ #11561]
39944 * posix/regcomp.c (parse_bracket_exp): When looking up collating
39945 elements compare against the byte sequence of it, not its name.
39946 * posix/Makefile (tests): Add bug-regex35.
39947 (bug-regex35-ENV): Define.
39948 * posix/bug-regex35.c: New file.
39949
39950 2013-02-11 Tom de Vries <tom@codesourcery.com>
39951
39952 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
39953 comment.
39954 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39955 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39956 (CHECK_EOL): Add undef.
39957
39958 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
39959
39960 * bits/stdlib-bsearch.h: New file.
39961 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39962 * stdlib/stdlib.h: Likewise.
39963
39964 2013-02-11 Roland McGrath <roland@hack.frob.com>
39965
39966 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39967 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39968 declaration.
39969 * manual/search.texi (Array Search Function): Add missing const in
39970 lfind prototype.
39971 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39972 declaration to use rlim_t.
39973 (Basic Scheduling Functions): Remove erroneous const from
39974 sched_getparam prototype. Remove erroneous * from
39975 sched_get_priority_max and sched_get_priority_min prototypes.
39976 (Resource Usage): Fix summary @comment on vtimes to refer to
39977 sys/vtimes.h rather than vtimes.h.
39978 Add missing *s in vtimes prototype.
39979 (Limits on Resources): Fix ulimit prototype to return long int.
39980 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39981 prototypes to use long int rather than double.
39982 (BSD Random): Fix initstate and setstate to use char *, not void *.
39983 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39984 prototype to make second argument 'struct aiocb64 *const[]'.
39985 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39986 (Status of AIO Operations): Remove erroneous const in aio_return and
39987 aio_return64 prototypes.
39988 (Synchronizing I/O): Fix sync prototype to return void.
39989 * manual/startup.texi (Suboptions): Remove an erroneous const in
39990 getsubopt prototype.
39991 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39992 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39993 use size_t rather than int.
39994 (Scanning All Users): Likewise for getpwent_r.
39995 (Setting Groups): Add missing const to setgroups prototype.
39996 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39997 * manual/socket.texi (Host Names): Fix gethostbyaddr and
39998 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39999 'const void *' rather than 'const char *'.
40000 (Host Address Functions): Likewise for inet_ntop.
40001 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40002 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40003 ssize_t for return value.
40004 (Sending Data): Likewise for send, sendto, sendmsg.
40005 (Socket Option Functions): Add a missing const in setsockopt prototype.
40006 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40007 use wchar_t for the argument.
40008 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40009 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40010 take no arguments.
40011 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40012 double/float/long double for second argument.
40013 Fix return types of significand, significandf, significandl.
40014 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40015 argument in fchmod prototype.
40016 (File Owner): Use uid_t and gid_t in fchown prototype.
40017 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40018 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40019 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40020 use 'const struct dirent **' as argument types to CMP function pointer
40021 argument.
40022 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40023 (File Times): Fix summary magic @comment for struct utimbuf and utime
40024 to refer to utime.h, not time.h.
40025 * manual/string.texi (Argz Functions): Add missing const in
40026 argz_extract and argz_next prototypes.
40027 (Finding Tokens in a String): Likewise for basename.
40028 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40029 (Copying and Concatenation): Fix typo in wmemmove prototype.
40030 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40031 (Signal Stack): Remove erroneous const in sigstack prototype.
40032 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40033 prototype.
40034 (Simple Calendar Time): Likewise for stime.
40035 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40036 prototype.
40037 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40038 say sys/sysctl.h instead.
40039 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40040 and vsyslog prototypes.
40041
40042 2013-02-11 Tom de Vries <tom@codesourcery.com>
40043
40044 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40045 Remove.
40046
40047 2013-02-11 Roland McGrath <roland@hack.frob.com>
40048
40049 * misc/sys/mman.h: Fix typo in mremap comment.
40050
40051 2013-02-08 Roland McGrath <roland@hack.frob.com>
40052
40053 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40054 the '\0' terminator.
40055
40056 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40057
40058 [BZ #13550]
40059 * debug/segfault.c: Don't include <bp-checks.h>.
40060 * sysdeps/generic/bp-checks.h: Remove file.
40061 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40062 (__GETDENTS): Don't use CHECK_N.
40063 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40064 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40065 (__getgroups): Don't use CHECK_N.
40066 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40067 (setgroups): Don't use CHECK_N.
40068 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40069 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40070 (__libc_msgrcv): Don't use CHECK_N.
40071 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40072 (__libc_msgsnd): Don't use CHECK_N.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40074 <bp-checks.h>.
40075 (__libc_pread): Don't use CHECK_N.
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40077 include <bp-checks.h>.
40078 (__libc_pread64): Don't use CHECK_N.
40079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40080 include <bp-checks.h>.
40081 (__libc_pwrite): Don't use CHECK_N.
40082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40083 include <bp-checks.h>.
40084 (__libc_pwrite64): Don't use CHECK_N.
40085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40086 <bp-checks.h>.
40087 (__libc_pread): Don't use CHECK_N.
40088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40089 include <bp-checks.h>.
40090 (__libc_pread64): Don't use CHECK_N.
40091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40092 include <bp-checks.h>.
40093 (__libc_pwrite): Don't use CHECK_N.
40094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40095 include <bp-checks.h>.
40096 (__libc_pwrite64): Don't use CHECK_N.
40097 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40098 (do_pread): Don't use CHECK_N.
40099 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40100 (do_pread64): Don't use CHECK_N.
40101 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40102 (do_pwrite): Don't use CHECK_N.
40103 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40104 (do_pwrite64): Don't use CHECK_N.
40105 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40106 (__libc_readv): Don't use CHECK_N.
40107 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40108 (semop): Don't use CHECK_N.
40109 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40110 <bp-checks.h>.
40111 (semtimedop): Don't use CHECK_N.
40112 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40113 (__libc_pread): Don't use CHECK_N.
40114 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40115 <bp-checks.h>.
40116 (__libc_pread64): Don't use CHECK_N.
40117 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40118 <bp-checks.h>.
40119 (__libc_pwrite): Don't use CHECK_N.
40120 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40121 <bp-checks.h>.
40122 (__libc_pwrite64): Don't use CHECK_N.
40123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40124 <bp-checks.h>.
40125 (__libc_msgrcv): Don't use CHECK_N.
40126 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40127 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40128 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40129 (__libc_writev): Don't use CHECK_N.
40130
40131 2013-02-08 Roland McGrath <roland@hack.frob.com>
40132
40133 * string/strcpy.c: Removed unused variable.
40134
40135 * Makeconfig (+sysdep-includes): Define with := rather than =.
40136 Use an existing include/ subdir of each sysdeps dir before it.
40137
40138 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40139
40140 * nscd/connection.c (register_traced_file): Comment function.
40141 [HAVE_INOTIFY] (union __inev): Define.
40142 [HAVE_INOTIFY] (inotify_check_files): New function.
40143 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40144 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40145 clear_db_cache.
40146 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40147
40148 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40149
40150 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40151 loaded if not already and that a failure is permanent.
40152
40153 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40154
40155 [BZ #15006]
40156 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40157 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40158
40159 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40160
40161 [BZ #13550]
40162 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40163 (CHECK_1_NULL_OK): Likewise.
40164 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40165 (__fxstat): Do not use CHECK_1.
40166 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40167 <bp-checks.h>.
40168 (___fxstat64): Do not use CHECK_1.
40169 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40170 <bp-checks.h>.
40171 (__fxstatat): Do not use CHECK_1.
40172 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40173 <bp-checks.h>.
40174 (__fxstatat64): Do not use CHECK_1.
40175 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40176 <bp-checks.h>.
40177 (__fxstat): Do not use CHECK_1.
40178 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40179 <bp-checks.h>.
40180 (__fxstatat): Do not use CHECK_1.
40181 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40182 <bp-checks.h>.
40183 (__getresgid): Do not use CHECK_1.
40184 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40185 <bp-checks.h>.
40186 (__getresuid): Do not use CHECK_1.
40187 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40188 <bp-checks.h>.
40189 (__lxstat): Do not use CHECK_1.
40190 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40191 <bp-checks.h>.
40192 (__old_msgctl): Do not use CHECK_1.
40193 (__new_msgctl): Likewise.
40194 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40195 <bp-checks.h>.
40196 (__new_setrlimit): Do not use CHECK_1.
40197 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40198 <bp-checks.h>.
40199 (__old_shmctl): Do not use CHECK_1.
40200 (__new_shmctl): Likewise.
40201 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40202 <bp-checks.h>.
40203 (__xstat): Do not use CHECK_1.
40204 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40205 (__lxstat): Do not use CHECK_1.
40206 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40207 <bp-checks.h>.
40208 (___lxstat64): Do not use CHECK_1.
40209 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40210 (__old_msgctl): Do not use CHECK_1.
40211 (__new_msgctl): Likewise.
40212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40213 <bp-checks.h>.
40214 (__gettimeofday): Do not use CHECK_1.
40215 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40216 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40217 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40218 <bp-checks.h>.
40219 (__gettimeofday): Do not use CHECK_1.
40220 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40221 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40222 (__new_shmctl): Do not use CHECK_1.
40223 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40224 <bp-checks.h>.
40225 (do_sigtimedwait): Do not use CHECK_1.
40226 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40227 <bp-checks.h>.
40228 (do_sigwaitinfo): Do not use CHECK_1.
40229 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40230 <bp-checks.h>.
40231 (msgctl): Do not use CHECK_1.
40232 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40233 <bp-checks.h>.
40234 (shmctl): Do not use CHECK_1.
40235 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40236 (ustat): Do not use CHECK_1.
40237 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40238 <bp-checks.h>.
40239 (__fxstat): Do not use CHECK_1.
40240 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40241 <bp-checks.h>.
40242 (__fxstatat): Do not use CHECK_1.
40243 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40244 <bp-checks.h>.
40245 (__lxstat): Do not use CHECK_1.
40246 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40247 <bp-checks.h>.
40248 (__xstat): Do not use CHECK_1.
40249 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40250 (__xstat): Do not use CHECK_1.
40251 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40252 (___xstat64): Do not use CHECK_1.
40253
40254 [BZ #13550]
40255 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40256 definitions.
40257 (CHECK_BOUNDS_HIGH): Likewise.
40258 * string/strcpy.c: Do not include <bp-checks.h>.
40259 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40260
40261 2013-02-07 Roland McGrath <roland@hack.frob.com>
40262
40263 * nscd/nscd-client.h (__nscd_drop_map_ref):
40264 Add __attribute__ ((unused)).
40265 * nis/nss-nisplus.h (niserr2nss): Likewise.
40266
40267 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40268 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40269
40270 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40271 Remove inline keyword.
40272 * include/rounding-mode.h (round_away): Likewise.
40273 * libio/wfileops.c (adjust_wide_data): Likewise.
40274 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40275 (__m128i_strloadu_tolower): Likewise.
40276 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40277 (__m128i_strloadu_tolower): Likewise.
40278 * time/mktime.c (ydhms_diff): Likewise.
40279 * locale/elem-hash.h (elem_hash): Likewise.
40280 * locale/setlocale.c (setdata): Likewise.
40281 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40282 (re_string_wchar_at): Likewise.
40283 (bitset_not, bitset_merge, bitset_mask): Likewise.
40284 [!(__GNUC__ > 3)] (inline): Remove macro.
40285 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40286 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40287 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40288 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40289 * string/memcmp.c (memcmp_bytes): Likewise.
40290 * locale/programs/locarchive.c (compute_hashval): Likewise.
40291 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40292 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40293 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40294 * nss/getent.c (print_rpc, print_protocols): Likewise.
40295 (print_passwd, print_group, print_aliases): Likewise.
40296 * nis/nss-nisplus.h (niserr2nss): Likewise.
40297 * nscd/connections.c (restart_p): Likewise.
40298 Change return type to bool.
40299
40300 2013-02-05 Roland McGrath <roland@hack.frob.com>
40301
40302 * Makeconfig (all-Depend-files): Add existing
40303 $(sorted-subdirs:=/Depend) files.
40304 (all-subdirs): Remove nss.
40305 * sysdeps/unix/inet/Subdirs: Add it here instead.
40306 * hesiod/Depend: New file.
40307
40308 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40309 instead of calling alloca.
40310
40311 * io/lseek.c (__lseek): Rename to __libc_lseek.
40312 Define __lseek as an alias.
40313
40314 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40315
40316 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40317
40318 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40319 else clause and remove check for non-standard endianness.
40320
40321 2013-02-04 David S. Miller <davem@davemloft.net>
40322
40323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40324
40325 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40326
40327 [BZ #13550]
40328 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40329 (__ubp_memchr): Remove prototype.
40330 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40331 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40332 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40333 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40334 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40335 Remove alias.
40336 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40337 (__ubp_memchr): Likewise.
40338 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40339 (__ubp_memchr): Likewise.
40340 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40341 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40342 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40343 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40344 CHECK_STRING.
40345 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40346 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40347 (__getcwd): Do not use CHECK_STRING.
40348 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40349 <bp-checks.h>.
40350 (__real_chown): Do not use CHECK_STRING.
40351 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40352 <bp-checks.h>.
40353 (fchownat): Do not use CHECK_STRING.
40354 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40355 CHECK_STRING.
40356 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40357 <bp-checks.h>.
40358 (__lchown): Do not use CHECK_STRING.
40359 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40360 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40361 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40362 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40364 include <bp-checks.h>.
40365 (truncate64): Do not use CHECK_STRING.
40366 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40367 <bp-checks.h>.
40368 (__real_chown): Do not use CHECK_STRING.
40369 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40370 <bp-checks.h>.
40371 (__lchown): Do not use CHECK_STRING.
40372 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40373 <bp-checks.h>.
40374 (__chown): Do not use CHECK_STRING.
40375 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40376 <bp-checks.h>.
40377 (truncate64): Do not use CHECK_STRING.
40378 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40379 Likewise.
40380 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40381 (__xmknod): Do not use CHECK_STRING.
40382 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40383 <bp-checks.h>.
40384 (__xmknodat): Do not use CHECK_STRING.
40385 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40386 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40387
40388 2013-02-04 Andreas Schwab <schwab@suse.de>
40389
40390 [BZ #14142]
40391 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40392 * include/netdb.h: Likewise for h_errno.
40393 * elf/tst-stackguard1.c: Include <tls.h>.
40394
40395 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40396
40397 * elf/link.h (struct link_map): Extend the l_addr comment.
40398 * include/link.h (struct link_map): Likewise.
40399
40400 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40401
40402 [BZ #13550]
40403 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40404 (BOUNDED_1): Remove macro.
40405 * debug/backtrace.c: Don't include <bp-checks.h>.
40406 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40407 (__backtrace): Likewise.
40408 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40409 <bp-checks.h>.
40410 (__backtrace): Don't use BOUNDED_1.
40411 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40412 <bp-checks.h>.
40413 (__backtrace): Don't use BOUNDED_1.
40414 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40415 (__backtrace): Don't use BOUNDED_1.
40416 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40417 (shmat): Don't use BOUNDED_N.
40418
40419 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40420
40421 [BZ #13550]
40422 * sysdeps/generic/bp-start.h: Remove file.
40423 * csu/libc-start.c: Don't include <bp-start.h>.
40424 (LIBC_START_MAIN): Set up __environ directly instead of using
40425 INIT_ARGV_and_ENVIRON.
40426 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40427 <bp-start.h>.
40428
40429 [BZ #13550]
40430 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40431 definitions.
40432 (CHECK_FCNTL): Likewise.
40433 (CHECK_N_PAGES): Likewise.
40434
40435 [BZ #13550]
40436 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40437 definitions.
40438 (CHECK_SIGSET_NULL_OK): Likewise.
40439 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40440 <bp-checks.h>.
40441 (sigpending): Don't use CHECK_SIGSET.
40442 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40443 <bp-checks.h>.
40444 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40445 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40446 <bp-checks.h>.
40447 (do_sigsuspend): Don't use CHECK_SIGSET.
40448 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40449 use CHECK_SIGSET.
40450 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40451 (do_sigwait): Don't use CHECK_SIGSET.
40452 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40453 use CHECK_SIGSET.
40454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40455 include <bp-checks.h>.
40456 (sigpending): Don't use CHECK_SIGSET.
40457 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40458 include <bp-checks.h>.
40459 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40460 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40461 <bp-checks.h>.
40462 (sigpending): Don't use CHECK_SIGSET.
40463 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40464 <bp-checks.h>.
40465 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40466
40467 [BZ #13550]
40468 * sysdeps/generic/bp-semctl.h: Remove file.
40469 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40470 <bp-checks.h> and <bp-semctl.h>.
40471 (__old_semctl): Don't use CHECK_SEMCTL.
40472 (__new_semctl): Likewise.
40473 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40474 and <bp-semctl.h>.
40475 (__old_semctl): Don't use CHECK_SEMCTL.
40476 (__new_semctl): Likewise.
40477 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40478 <bp-checks.h> and <bp-semctl.h>.
40479 (__old_semctl): Don't use CHECK_SEMCTL.
40480 (__new_semctl): Likewise.
40481 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40482 <bp-checks.h> and <bp-semctl.h>.
40483 (semctl): Don't use CHECK_SEMCTL.
40484
40485 [BZ #13550]
40486 * Makerules (elide-bp-thunks): Remove variable.
40487 (elide-routines.oS): Don't use $(elide-bp-thunks).
40488 (elide-routines.os): Likewise.
40489 (elide-routines.o): Likewise.
40490 (elide-routines.op): Likewise.
40491 (elide-routines.og): Likewise.
40492 (objects): Don't use $(bp-thunks).
40493 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40494 include.
40495 (common-generated): Do not add s-proto-bp.d.
40496 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40497 (int): Likewise.
40498 (typ): Likewise.
40499 Do not generate makefile rules for bounded-pointer thunks.
40500 * sysdeps/generic/bp-thunks.h: Remove file.
40501 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40502 * sysdeps/unix/s-proto-bp.S: Likewise.
40503
40504 [BZ #15062]
40505 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40506 parts of result separately when argument is not close to line from
40507 -i to i and one part of argument is small.
40508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40510 * math/libm-test.inc (cacos_test): Add more tests.
40511 (casin_test): Likewise.
40512 (casinh_test): Likewise.
40513 * sysdeps/i386/fpu/libm-test-ulps: Update.
40514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40515
40516 2013-01-31 David S. Miller <davem@davemloft.net>
40517
40518 * po/de.po: Update from translation team.
40519
40520 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40521
40522 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40523
40524 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40525
40526 * configure.in (_AC_PROG_CC_C89): New definition.
40527 * configure: Regenerate.
40528
40529 * configure.in (AC_PROG_CPP): New definition.
40530 * configure: Regenerate.
40531
40532 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40533
40534 * debug/tst-backtrace.h: New file.
40535 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40536 (ret): Remove variable.
40537 (x): Likewise.
40538 (FAIL): Remove macro.
40539 (NO_INLINE): Likewise.
40540 (fn1): Use match function instead of strstr.
40541 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40542 (ret): Remove variable.
40543 (x): Likewise.
40544 (FAIL): Remove macro.
40545 (NO_INLINE): Likewise.
40546 (fn): Use match function instead of strstr.
40547 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40548 (ret): Remove variable.
40549 (x): Likewise.
40550 (FAIL): Remove macro.
40551 (NO_INLINE): Likewise.
40552 (handle_signal): Use match function instead of strstr.
40553 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40554 (ret): Remove variable.
40555 (x): Likewise.
40556 (FAIL): Remove macro.
40557 (NO_INLINE): Likewise.
40558 (handle_signal): Use match function instead of strstr.
40559
40560 2013-01-23 Roland McGrath <roland@hack.frob.com>
40561
40562 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40563
40564 2013-01-23 David S. Miller <davem@davemloft.net>
40565
40566 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40567 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40568 argument of CAS if possible.
40569 * sysdeps/sparc/sparc64/bits/atomic.h
40570 (__arch_compare_and_exchange_val_32_acq): Likewise.
40571 (__arch_compare_and_exchange_val_64_acq): Likewise.
40572
40573 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40574
40575 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40576 * sysdeps/posix/ulimit.c: ... this.
40577 Include <limits.h>.
40578 * sysdeps/unix/bsd/ulimit.c: Remove file.
40579
40580 2013-01-23 Adam Conrad <adconrad@0c3.net>
40581
40582 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40583 (LDFLAGS-tst-array5): Likewise.
40584
40585 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40586
40587 [BZ #15036]
40588 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40589 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40590 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40591 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40592
40593 2013-01-21 David S. Miller <davem@davemloft.net>
40594
40595 * sysdeps/sparc/backtrace.c: New file.
40596 * sysdeps/sparc/sparc32/backtrace.h: New file.
40597 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40598 * sysdeps/sparc/sparc64/backtrace.h: New file.
40599 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40600 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40601 -funwind-tables.
40602
40603 2013-01-21 Andreas Schwab <schwab@suse.de>
40604
40605 [BZ #15020]
40606 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40607 closed its stdout.
40608
40609 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40610
40611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40612 "mpa2.h".
40613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40614
40615 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40616 Mark Mitchell <mark@codesourcery.com>
40617 Tom de Vries <tom@codesourcery.com>
40618 Paul Pluzhnikov <ppluzhnikov@google.com>
40619
40620 * debug/tst-backtrace2.c: New file.
40621 * debug/tst-backtrace3.c: Likewise.
40622 * debug/tst-backtrace4.c: Likewise.
40623 * debug/tst-backtrace5.c: Likewise.
40624 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40625 (CFLAGS-tst-backtrace3.c): Likewise.
40626 (CFLAGS-tst-backtrace4.c): Likewise.
40627 (CFLAGS-tst-backtrace5.c): Likewise.
40628 (LDFLAGS-tst-backtrace2): Likewise.
40629 (LDFLAGS-tst-backtrace3): Likewise.
40630 (LDFLAGS-tst-backtrace4): Likewise.
40631 (LDFLAGS-tst-backtrace5): Likewise.
40632 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40633 tst-backtrace4 and tst-backtrace5.
40634
40635 2013-01-18 Anton Blanchard <anton@samba.org>
40636 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40637
40638 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40639 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40640 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40641 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40643 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40644 "+r" and remove output regs list as redundant. Add explicit inline
40645 asm to specify register of return val to work around compiler codegen
40646 bug. Remove (int) cast on return value. Add return type parameter to
40647 use in macro so that this macro does not truncate return value for
40648 64-bit values.
40649 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40650 pass to INTERNAL_VSYSCALL_NCS.
40651 (INLINE_VSYSCALL): Add 'long int' as return type to
40652 INTERNAL_VSYSCALL_NCS macro invocation.
40653 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40654 INTERNAL_VSYSCALL_NCS macro invocation.
40655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40656
40657 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40658
40659 [BZ #14496]
40660 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40661 Fix application of SIMD FP exception mask.
40662
40663 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40664 mp_no from a power of two.
40665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40666 __mpexp_twomm1. Use __pow_mp.
40667
40668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40669 multiplication.
40670
40671 2013-01-17 David S. Miller <davem@davemloft.net>
40672
40673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40674
40675 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40676
40677 [BZ #15023]
40678 * include/complex.h: Condition contents on [!_COMPLEX_H].
40679 (__kernel_casinhf): New prototype.
40680 (__kernel_casinh): Likewise.
40681 (__kernel_casinhl): Likewise.
40682 * math/Makefile (libm_calls): Add k_casinh.
40683 * math/k_casinh.c: New file.
40684 * math/k_casinhf.c: Likewise.
40685 * math/k_casinhl.c: Likewise.
40686 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40687 finite nonzero arguments.
40688 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40689 finite nonzero arguments.
40690 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40691 finite nonzero arguments.
40692 * math/s_casinh.c: Do not include <float.h>.
40693 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40694 * math/s_casinhf.c: Do not include <float.h>.
40695 (__casinhf): Move code for finite nonzero arguments to
40696 k_casinhf.c.
40697 * math/s_casinhl.c: Do not include <float.h>.
40698 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40699 redefine.
40700 (__casinhl): Move code for finite nonzero arguments to
40701 k_casinhl.c.
40702 * math/libm-test.inc (cacos_test): Add more tests.
40703 * sysdeps/i386/fpu/libm-test-ulps: Update.
40704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40705
40706 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40707
40708 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40709 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40710 [!HAVE_MREMAP]: Remove [defined linux] case.
40711 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40712
40713 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40714
40715 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40716
40717 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40718
40719 * elf/elf.h (R_386_SIZE32): New relocation.
40720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40721 R_386_SIZE32.
40722 (elf_machine_rela): Likewise.
40723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40724 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40725
40726 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40727
40728 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40729 (FP_FAST_FMA): Do not define.
40730 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40731 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40732 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40733 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40734 !_SOFT_FLOAT]: Likewise.
40735 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40737 value.
40738 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40739 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40740 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40741 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40742 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40743 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40744 file.
40745
40746 2013-01-16 Andreas Schwab <schwab@suse.de>
40747
40748 [BZ #14327]
40749 * include/stdlib.h (__mktemp): Add declaration.
40750 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40751 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40752
40753 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40754
40755 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40756 definitions.
40757 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40758 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40759 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40760 definitions here.
40761 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40762 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40763 definitions.
40764 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40765 and ONE.
40766 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40767 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40768 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40769 definitions.
40770 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40771 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40772 definitions.
40773 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40774
40775 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40776
40777 2013-01-15 David S. Miller <davem@davemloft.net>
40778
40779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40780 trunc{,f} to libm-sysdep_routes.
40781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40783 file.
40784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40786 file.
40787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40788 file.
40789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40791 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40792 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40793 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40794 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40795 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40796 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40797
40798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40799 nearbyint{,f} to libm-sysdep_routes.
40800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40802 New file.
40803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40804 file.
40805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40806 New file.
40807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40808 file.
40809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40812 file.
40813 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40814 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40815 file.
40816 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40817 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40818 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40819
40820 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40821 libc_feholdexcept and libc_fesetenv.
40822
40823 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40824
40825 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40826
40827 2013-01-14 David S. Miller <davem@davemloft.net>
40828
40829 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40830 (SPARC_ASM_VIS2_IFUNC): Likewise.
40831 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40833 use of 'siam' instruction.
40834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40835 Likewise.
40836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40837 Likewise.
40838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40839 Likewise.
40840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40845 file.
40846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40847 file.
40848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40849 file.
40850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40851 file.
40852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40857 new VIS2 routines.
40858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40861 Likewise.
40862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40867 routines to libm-sysdep_routines.
40868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40869
40870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40871 fdim/fdimf to libm-sysdep_routines.
40872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40873 file.
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40876 file.
40877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40880 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40881 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40882 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40883 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40884
40885 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40886
40887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40888 to optimize copies.
40889
40890 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40893
40894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40895 local variable MPTWO.
40896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40897 Likewise.
40898
40899 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40900
40901 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40902 GLOB_NOESCAPE.
40903
40904 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40905
40906 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40907
40908 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40909
40910 * manual/pattern.texi (glob_t): Document gl_flags.
40911 (glob64_t): Likewise.
40912
40913 2013-01-11 David S. Miller <davem@davemloft.net>
40914
40915 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40916 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40917 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
40918 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40919 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40920 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40921 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40922 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40923 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40924 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40925 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40926 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40927 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40928
40929 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40930 sparc V9 rather than using V8 code.
40931 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40932 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40933
40934 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40935 Move to...
40936 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40937 Here.
40938
40939 2013-01-11 Roland McGrath <roland@hack.frob.com>
40940
40941 [BZ #14941]
40942 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40943 not in the main loop.
40944 * configure: Regenerated.
40945
40946 2013-01-11 Joseph Myers <joseph@codesourcery.com>
40947
40948 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40949 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40950 to just #else.
40951 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
40952 [!__GLIBC_HAVE_LONG_LONG] case.
40953 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40954 condition to just #else.
40955 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40956 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40957 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40958 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40959 unconditional.
40960 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40961 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40962 #elif condition to just #else.
40963 * sysdeps/unix/sysv/linux/sys/sysmacros.h
40964 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40965 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40966 #elif condition to just #else.
40967
40968 2013-01-11 Steve Ellcey <sellcey@mips.com>
40969
40970 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40971 (EF_MIPS_ARCH_64): Fix value.
40972 (EF_MIPS_ARCH_32R2): New.
40973 (EF_MIPS_ARCH_64R2): New.
40974
40975 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
40976
40977 * Makeconfig (+link-pie-before-libc): New.
40978 (+link-pie-after-libc): Likewise.
40979 (+link-pie-tests): Likewise.
40980 (+link-pie): Rewritten.
40981 (link-before-libc): Remove $(config-LDFLAGS).
40982 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40983 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40984 (config-LDFLAGS): Renamed to ...
40985 (rtld-LDFLAGS): This.
40986 (rtld-tests-LDFLAGS): New macro.
40987 (link-libc-rpath-link): Likewise.
40988 (link-libc-tests-rpath-link): Likewise.
40989 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40990 (link-libc): Prepand $(link-libc-rpath-link).
40991 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40992 (test-program-prefix): New macro.
40993 (test-via-rtld-prefix): Likewise.
40994 (test-program-cmd): Likewise.
40995 (host-test-program-cmd): Likewise.
40996 * Makefile ($(common-objpfx)testrun.sh): Replace
40997 $(run-program-prefix) with $(test-program-prefix).
40998 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40999 $(rtld-LDFLAGS).
41000 ($(common-objpfx)shlib.lds): Likewise.
41001 (build-module-helper): Likewise.
41002 ($(common-objpfx)format.lds): Likewise.
41003 * Rules (binaries-pie-tests): New.
41004 (binaries-pie-notests): Likewise.
41005 (binaries-pie): Rewritten.
41006 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41007 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41008 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41009 (make-test-out): Replace $(host-built-program-cmd) with
41010 $(host-test-program-cmd).
41011 * config.make.in (build-hardcoded-path-in-tests): New variable.
41012 * configure.in (--enable-hardcoded-path-in-tests): New configure
41013 option.
41014 (hardcoded_path_in_tests): New AC_SUBST.
41015 * configure: Regenerated.
41016 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41017 $(built-program-cmd) with $(test-program-cmd).
41018 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41019 (test_program_cmd): This.
41020 * elf/Makefile ($(objpfx)order.out): Run test with
41021 $(test-program-prefix).
41022 ($(objpfx)order2.out): Likewise.
41023 ($(objpfx)tst-initorder.out): Likewise.
41024 ($(objpfx)tst-initorder2.out): Likewise.
41025 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41026 $(test-program-cmd).
41027 ($(objpfx)tst-array1-static.out): Likewise.
41028 ($(objpfx)tst-array2.out): Likewise.
41029 ($(objpfx)tst-array3.out): Likewise.
41030 ($(objpfx)tst-array4.out): Likewise.
41031 ($(objpfx)tst-array5.out): Likewise.
41032 ($(objpfx)tst-array5-static.out): Likewise.
41033 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41034 $(test-program-cmd).
41035 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41036 $(run-program-prefix) with $(test-program-prefix).
41037 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41038 (test_program_prefix): This.
41039 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41040 $(run-program-prefix) with $(test-program-prefix).
41041 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41042 (test_program_prefix): This.
41043 * iconvdata/tst-tables.sh: Likewise.
41044 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41045 $(run-program-prefix) with $(test-program-prefix).
41046 ($(objpfx)tst-translit.out): Likewise.
41047 ($(objpfx)tst-gettext2.out): Likewise.
41048 ($(objpfx)tst-gettext4.out): Likewise.
41049 ($(objpfx)tst-gettext6.out): Likewise.
41050 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41051 (test_program_prefix): This.
41052 * intl/tst-gettext2.sh: Likewise.
41053 * intl/tst-gettext4.sh Likewise.
41054 * intl/tst-gettext6.sh: Likewise.
41055 * intl/tst-translit.sh: Likewise.
41056 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41057 with $(test-program-cmd).
41058 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41059 $(run-program-prefix) with $(test-program-prefix).
41060 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41061 (test_program_prefix): This.
41062 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41063 $(run-program-prefix) with $(test-program-prefix).
41064 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41065 (test_program_prefix): This.
41066 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41067 * posix/Makefile ($(objpfx)globtest.out): Replace
41068 $(run-via-rtld-prefix) and $(test-wrapper) with
41069 $(test-program-prefix) and $(test-via-rtld-prefix).
41070 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41071 $(test-program-prefix).
41072 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41073 $(host-test-program-cmd).
41074 (tst-spawn-ARGS): Likewise.
41075 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41076 $(test-program-prefix).
41077 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41078 (test_via_rtld_prefix): This.
41079 (test_wrapper): Renamed to ...
41080 (test_program_prefix): This.
41081 (run_program_prefix): Replaced by test_program_prefix.
41082 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41083 (test_program_prefix): This.
41084 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41085 with $(host-test-program-cmd).
41086 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41087 $(run-program-prefix) with $(test-program-prefix).
41088 ($(objpfx)tst-printf.out): Likewise.
41089 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41090 $(test-program-cmd).
41091 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41092 (test_program_prefix): This.
41093 * stdio-common/tst-unbputc.sh: Likewise.
41094 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41095 $(run-program-prefix) with $(test-program-prefix).
41096 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41097 (test_program_prefix): This.
41098 * string/Makefile ($(objpfx)tst-svc.out): Replace
41099 $(built-program-cmd) with $(test-program-cmd).
41100
41101 2013-01-11 Andreas Jaeger <aj@suse.de>
41102
41103 [BZ #15003]
41104 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41105 value. Sync with Linux 3.7.
41106
41107 2013-01-10 David S. Miller <davem@davemloft.net>
41108
41109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41110 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41111 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41112
41113 2013-01-10 Roland McGrath <roland@hack.frob.com>
41114
41115 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41116 never set.
41117 * configure: Regenerated.
41118
41119 2013-01-10 David S. Miller <davem@davemloft.net>
41120
41121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41122 sparc V9 rather than using V8 code.
41123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41125
41126 2013-01-10 Roland McGrath <roland@hack.frob.com>
41127
41128 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41129 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41130 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41131 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41132 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41133 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41134 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41135 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41136 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41137 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41138 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41139 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41140 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41141 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41142 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41143 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41144 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41145 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41146 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41147 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41148 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41149 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41150 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41151 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41152 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41153 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41154 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41155
41156 2013-01-10 David S. Miller <davem@davemloft.net>
41157
41158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41159
41160 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41161
41162 * posix/Makefile (tests-static): New variable.
41163 (tests): Add $(tests-static).
41164 (tst-exec-static-ARGS): New variable.
41165 (tst-spawn-static-ARGS): Likewise.
41166 * posix/tst-exec-static.c: New file.
41167 * posix/tst-spawn-static.c: Likewise.
41168 * posix/tst-exec.c: Support run directly.
41169 * posix/tst-spawn.c: Likewise.
41170
41171 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41172
41173 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41174 long.
41175 * math/bits/mathcalls.h (llrint): Likewise.
41176 (llround): Likewise.
41177 * stdlib/stdlib.h (struct drand48_data): Likewise.
41178 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41179 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41180 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41181 Likewise.
41182 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41183 Likewise.
41184 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41185 (elf_greg_t): Likewise.
41186 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41187 (__jmp_buf): Likewise.
41188 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41189 definitions.
41190 (llrint): Likewise, for all definitions.
41191 (llrintl): Likewise.
41192
41193 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41194 Remove [__GNUC__] condition.
41195 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41196 condition to just [__USE_ISOC99].
41197 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41198
41199 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41200
41201 [BZ #14200]
41202 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41203 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41204 defined.
41205 (_POSIX_V6_ILP32_OFF32): Likewise.
41206 (_XBS5_ILP32_OFF32): Likewise.
41207 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41208 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41209
41210 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41211
41212 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41213
41214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41215 doubles __mpexp_twomm1. Adjust usage.
41216 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41217 Remove.
41218
41219 2013-01-10 Andreas Schwab <schwab@suse.de>
41220
41221 [BZ #14964]
41222 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41223 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41224
41225 2013-01-09 David S. Miller <davem@davemloft.net>
41226
41227 [BZ #15003]
41228 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41229 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41230 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41231 (TCP_FASTOPEN): Define.
41232 (tcp_repair_opt): New structure.
41233 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41234 enum values.
41235 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41236 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41237 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41238 (tcp_cookie_transactions): New structure.
41239
41240 2013-01-09 Anton Blanchard <anton@samba.org>
41241
41242 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41243 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41244 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41245 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41246
41247 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41248
41249 * include/features.h (__USE_ANSI): Remove.
41250
41251 2013-01-09 Roland McGrath <roland@hack.frob.com>
41252
41253 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41254
41255 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41256
41257 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41258
41259 * sysdeps/s390/fpu/libm-test-ulps: Update.
41260
41261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41262
41263 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41264 (__acr): Likewise.
41265 (__cpy): Likewise.
41266 (norm): Likewise.
41267 (denorm): Likewise.
41268 (__mp_dbl): Likewise.
41269 (__dbl_mp): Likewise.
41270 (add_magnitudes): Likewise.
41271 (sub_magnitudes): Likewise.
41272 (__add): Likewise.
41273 (__sub): Likewise.
41274 (__mul): Likewise.
41275 (__inv): Likewise.
41276 (__dvd): Likewise.
41277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41278 (__acr): Likewise.
41279 (__cpy): Likewise.
41280 (norm): Likewise.
41281 (denorm): Likewise.
41282 (__mp_dbl): Likewise.
41283 (__dbl_mp): Likewise.
41284 (add_magnitudes): Likewise.
41285 (sub_magnitudes): Likewise.
41286 (__add): Likewise.
41287 (__sub): Likewise.
41288 (__mul): Likewise.
41289 (__inv): Likewise.
41290 (__dvd): Likewise.
41291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41292 (__acr): Likewise.
41293 (__cpy): Likewise.
41294 (norm): Likewise.
41295 (denorm): Likewise.
41296 (__mp_dbl): Likewise.
41297 (__dbl_mp): Likewise.
41298 (add_magnitudes): Likewise.
41299 (sub_magnitudes): Likewise.
41300 (__add): Likewise.
41301 (__sub): Likewise.
41302 (__mul): Likewise.
41303 (__inv): Likewise.
41304 (__dvd): Likewise.
41305
41306 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41307
41308 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41309 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41310 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41311 2 && __USE_EXTERN_INLINES]: Likewise.
41312
41313 2013-01-08 Andreas Jaeger <aj@suse.de>
41314
41315 [BZ# 14985]
41316 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41317 Remove.
41318 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41319 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41320
41321 2013-01-07 Anton Blanchard <anton@samba.org>
41322
41323 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41324 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41325 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41326 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41327 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41328 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41329 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41330 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41333 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41335 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41337 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41338 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41340 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41342 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41344 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41346 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41347 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41348 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41349 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41350 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41351 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41352 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41353 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41357 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41360 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41361 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41363 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41365 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41366
41367 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41368
41369 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41370 (__MALLOC_PMT): Likewise.
41371 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41372 [__GNUC__], only on [_LIBC].
41373 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41374 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41375 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41376 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41377 forward declaration.
41378 (realloc_hook_ini): Likewise.
41379 (memalign_hook_ini): Likewise.
41380 (__libc_memalign): Do not use __MALLOC_PMT in variable
41381 declaration.
41382 (__libc_valloc): Likewise.
41383 (__libc_pvalloc): Likewise.
41384 (__libc_calloc): Likewise.
41385 (__posix_memalign): Likewise.
41386
41387 [BZ #14996]
41388 * math/s_casinh.c: Include <float.h>.
41389 (__casinh): Do not do computation with squaring and square root
41390 for large arguments.
41391 * math/s_casinhf.c: Include <float.h>.
41392 (__casinhf): Do not do computation with squaring and square root
41393 for large arguments.
41394 * math/s_casinhl.c: Include <float.h>.
41395 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41396 (__casinhl): Do not do computation with squaring and square root
41397 for large arguments.
41398 * math/libm-test.inc (casin_test): Add more tests.
41399 (casinh_test): Likewise.
41400 * sysdeps/i386/fpu/libm-test-ulps: Update.
41401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41402
41403 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41404
41405 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41406 (__x86_64_raw_data_cache_size): Likewise.
41407 (__x86_64_data_cache_size_half): Likewise.
41408 (__x86_64_raw_data_cache_size_half): Likewise.
41409 (__x86_64_shared_cache_size): Likewise.
41410 (__x86_64_raw_shared_cache_size): Likewise.
41411 (__x86_64_shared_cache_size_half): Likewise.
41412 (__x86_64_raw_shared_cache_size_half): Likewise.
41413 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41414 to ...
41415 (__x86_data_cache_size): This.
41416 (__x86_64_raw_data_cache_size): Renamed to ...
41417 (__x86_raw_data_cache_size): This.
41418 (__x86_64_data_cache_size_half): Renamed to ...
41419 (__x86_data_cache_size_half): This.
41420 (__x86_64_raw_data_cache_size_half): Renamed to ...
41421 (__x86_raw_data_cache_size_half): This.
41422 (__x86_64_shared_cache_size): Renamed to ...
41423 (__x86_shared_cache_size): This.
41424 (__x86_64_raw_shared_cache_size): Renamed to ...
41425 (__x86_raw_shared_cache_size): This.
41426 (__x86_64_shared_cache_size_half): Renamed to ...
41427 (__x86_shared_cache_size_half): This.
41428 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41429 (__x86_raw_shared_cache_size_half): This.
41430 * sysdeps/x86_64/memcpy.S: Updated.
41431 * sysdeps/x86_64/memset.S: Likewise.
41432 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41433 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41435
41436 2013-01-04 David S. Miller <davem@davemloft.net>
41437
41438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41439
41440 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41441
41442 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41443 1 to avoid redefinition warning.
41444 (__USE_GNU): Don't define.
41445 (init_signaling_nan): Protoize.
41446
41447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41448
41449 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41450
41451 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41453 (__cpymn): Likewise.
41454 (norm): Remove commented code.
41455 (denorm): Likewise.
41456 (__mp_dbl): Likewise.
41457 (__inv): Likewise.
41458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41459 (__cpymn): Likewise.
41460 (norm): Remove commented code.
41461 (denorm): Likewise.
41462 (__mp_dbl): Likewise.
41463 (__inv): Likewise.
41464
41465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41466 mp_no value for 1.0 and 2.0.
41467 (norm): Use RADIXI instead of radixi.d.
41468 (denorm): Likewise.
41469 (__mul): Use 0.0 instead of zero.d.
41470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41471 mp_no value for 1.0 and 2.0.
41472 (norm): Use RADIXI instead of radixi.d.
41473 (denorm): Likewise.
41474 (__mul): Use 0.0 instead of zero.d.
41475
41476 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41477
41478 [BZ #14994]
41479 * math/s_casinh.c (__casinh): Reduce finite argument to first
41480 quadrant then set signs of results at the end.
41481 * math/s_casinhf.c (__casinhf): Likewise.
41482 * math/s_casinhl.c (__casinhl): Likewise.
41483 * math/libm-test.inc (casin_test): Add more tests.
41484 (casinh_test): Likewise.
41485 * sysdeps/i386/fpu/libm-test-ulps: Update.
41486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41487
41488 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41489
41490 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41491
41492 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41493
41494 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41495 declarations.
41496 (denorm): Likewise.
41497 (__mp_dbl): Likewise.
41498 (__inv): Likewise.
41499
41500 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41501 and adjust the header comment.
41502
41503 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41504 variable name from declaration.
41505
41506 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41507
41508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41509 Initialize COMMON_CPUID_INDEX_7 element.
41510 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41511 (CPUID_RTM): Likewise.
41512 (HAS_RTM): Likewise.
41513 (COMMON_CPUID_INDEX_7): New enum.
41514
41515 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41516
41517 [BZ #14981]
41518 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41519 size is zero, record memory as freed.
41520
41521 2013-01-03 Andreas Jaeger <aj@suse.de>
41522
41523 * po/ia.po: Add new Interlingua translation.
41524
41525 2012-01-03 Allan McRae <allan@archlinux.org>
41526
41527 * locale/programs/localedef.c: Fix description of '--posix' flag.
41528
41529 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41530
41531 * NEWS: Update dates in second copyright notice.
41532 * README: Update copyright dates in example.
41533 * manual/libc.texinfo: Update copyright dates.
41534 * scripts/test-installation.pl: Update copyright date in --version
41535 output.
41536
41537 * hurd/ctty-input.c: Fix copyright notice formatting.
41538 * hurd/ctty-output.c: Likewise.
41539 * hurd/dtable.c: Likewise.
41540 * hurd/hurd-raise.c: Likewise.
41541 * hurd/hurdprio.c: Likewise.
41542 * hurd/msgportdemux.c: Likewise.
41543 * misc/sys/file.h: Likewise.
41544 * misc/sys/ioctl.h: Likewise.
41545 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41546 * sysdeps/mach/hurd/chdir.c: Likewise.
41547 * sysdeps/mach/hurd/fchdir.c: Likewise.
41548 * sysdeps/mach/hurd/rename.c: Likewise.
41549 * sysdeps/mach/hurd/rmdir.c: Likewise.
41550 * sysdeps/mach/hurd/seekdir.c: Likewise.
41551 * sysdeps/mach/hurd/setsid.c: Likewise.
41552 * sysdeps/posix/wait3.c: Likewise.
41553
41554 * All files with FSF copyright notices: Update copyright dates
41555 using scripts/update-copyrights.
41556 * intl/plural.c: Regenerated.
41557 * locale/programs/charmap-kw.h: Likewise.
41558 * locale/programs/locfile-kw.h: Likewise.
41559
41560 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41561
41562 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41563 four values.
41564
41565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41566 calculation loop and add branch prediction.
41567
41568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41569 check access beyond bounds of m1np.
41570
41571 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41572 MPTWO.
41573 (__inv): Remove local variable MPTWO to use the global
41574 constant.
41575 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41577 variable MPTWO.
41578 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41579 MP3HALFS static const.
41580
41581 2013-01-01 David S. Miller <davem@davemloft.net>
41582
41583 * po/ca.po: Update from translation team.
41584
41585 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41586
41587 * scripts/update-copyrights: New file.
41588 * Makeconfig: Reformat copyright notice.
41589 * ctype/ctype.h: Likewise.
41590 * debug/swprintf_chk.c: Likewise.
41591 * elf/dl-cache.c: Likewise.
41592 * elf/dl-debug.c: Likewise.
41593 * elf/dl-object.c: Likewise.
41594 * grp/initgroups.c: Likewise.
41595 * hurd/Makefile: Likewise.
41596 * hurd/hurd/signal.h: Likewise.
41597 * hurd/hurdfault.c: Likewise.
41598 * hurd/hurdioctl.c: Likewise.
41599 * hurd/hurdlookup.c: Likewise.
41600 * hurd/intr-msg.c: Likewise.
41601 * iconv/gconv_open.c: Likewise.
41602 * libio/swprintf.c: Likewise.
41603 * locale/lc-ctype.c: Likewise.
41604 * locale/nl_langinfo.c: Likewise.
41605 * mach/Machrules: Likewise.
41606 * mach/Makefile: Likewise.
41607 * malloc/obstack.h: Likewise.
41608 * manual/Makefile: Likewise.
41609 * manual/tsort.awk: Likewise.
41610 * misc/bits/stab.def: Likewise.
41611 * nis/nis_print_group_entry.c: Likewise.
41612 * nis/nis_table.c: Likewise.
41613 * nis/nss_compat/compat-pwd.c: Likewise.
41614 * nis/nss_compat/compat-spwd.c: Likewise.
41615 * po/Makefile: Likewise.
41616 * posix/fnmatch.c: Likewise.
41617 * posix/regex.h: Likewise.
41618 * resolv/Makefile: Likewise.
41619 * resolv/nss_dns/dns-network.c: Likewise.
41620 * resolv/res_hconf.c: Likewise.
41621 * scripts/gen-sorted.awk: Likewise.
41622 * soft-fp/soft-fp.h: Likewise.
41623 * stdio-common/printf.h: Likewise.
41624 * stdlib/monetary.h: Likewise.
41625 * stdlib/random.c: Likewise.
41626 * stdlib/random_r.c: Likewise.
41627 * sysdeps/generic/Makefile: Likewise.
41628 * sysdeps/gnu/Makefile: Likewise.
41629 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41631 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41633 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41639 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41640 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41641 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41657 * sysdeps/mach/hurd/errnos.awk: Likewise.
41658 * sysdeps/mach/hurd/fork.c: Likewise.
41659 * sysdeps/mach/hurd/getcwd.c: Likewise.
41660 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41661 * sysdeps/mach/hurd/mmap.c: Likewise.
41662 * sysdeps/mach/hurd/utimes.c: Likewise.
41663 * sysdeps/mach/hurd/xmknod.c: Likewise.
41664 * sysdeps/posix/profil.c: Likewise.
41665 * sysdeps/posix/readdir_r.c: Likewise.
41666 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41667 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41668 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41669 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41671 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41672 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41673 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41675 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41676 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41677 * sysdeps/pthread/lio_listio.c: Likewise.
41678 * sysdeps/sparc/dl-procinfo.h: Likewise.
41679 * sysdeps/unix/i386/sysdep.S: Likewise.
41680 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41681 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41682 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41683 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41685 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41686 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41687 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41688 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41689 * sysdeps/wordsize-32/divdi3.c: Likewise.
41690 * time/sys/time.h: Likewise.
41691 * wcsmbs/Makefile: Likewise.
41692
41693 2013-01-01 David S. Miller <davem@davemloft.net>
41694
41695 * po/fr.po: Update from translation team.
41696
41697 * catgets/gencat.c: Update copyright year.
41698 * csu/version.c: Likewise.
41699 * debug/catchsegv.sh: Likewise.
41700 * debug/pcprofiledump.c: Likewise.
41701 * debug/xtrace.sh: Likewise.
41702 * elf/ldconfig.c: Likewise.
41703 * elf/ldd.bash.in: Likewise.
41704 * elf/pldd.c: Likewise.
41705 * elf/sotruss.ksh: Likewise.
41706 * elf/sprof.c: Likewise.
41707 * iconv/iconv_prog.c: Likewise.
41708 * iconv/iconvconfig.c: Likewise.
41709 * locale/programs/locale.c: Likewise.
41710 * locale/programs/localedef.c: Likewise.
41711 * login/programs/pt_chown.c: Likewise.
41712 * malloc/memusage.sh: Likewise.
41713 * malloc/memusagestat.c: Likewise.
41714 * malloc/mtrace.pl: Likewise.
41715 * nscd/nscd.c: Likewise.
41716 * nss/getent.c: Likewise.
41717 * nss/makedb.c: Likewise.
41718 * posix/getconf.c: Likewise.
41719
41720 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41721
41722 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41723 numbers.
41724
41725 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41726
41727 * math/bits/mathcalls.h (modf): Use __nonnull.
41728
41729 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41730
41731 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41732 (split): Use macro CN instead of the bare value.
41733 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41734 could be used.
41735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41736 instead of the bare value.
41737 (power1): Likewise.
41738
41739 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41740
41741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41742 __ATAN_TWOM.
41743 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41744
41745 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41746 their values.
41747 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41748 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41749 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41750 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41751
41752 2012-12-28 Andreas Jaeger <aj@suse.de>
41753
41754 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41755 values are from Linux 3.7.
41756
41757 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41758 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41759
41760 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41761
41762 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41763 TRUE case.
41764
41765 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41766 (norm): Likewise.
41767 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41768 variables with preprocessor constants.
41769 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41772
41773 2012-12-27 Bruno Haible <bruno@clisp.org>
41774
41775 [BZ #14317]
41776 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41777 only if needed.
41778
41779 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41780
41781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41782 and use variable directly.
41783 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41784
41785 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41786 MPONE.
41787 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41789 variable MPONE.
41790 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41792 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41793 include directive. Remove local variable MPONE.
41794 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41795 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41796 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41797
41798 2012-12-25 David S. Miller <davem@davemloft.net>
41799
41800 * version.h (RELEASE): Set to "development".
41801 (VERSION): Set to "2.17.90".
41802 * NEWS: Add 2.18 section.
41803
41804 2012-12-21 David S. Miller <davem@davemloft.net>
41805
41806 * po/hr.po: Update from translation team.
41807
41808 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41809
41810 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41811
41812 2012-12-19 Steve Ellcey <sellcey@mips.com>
41813
41814 * NEWS: Mention new memcpy for MIPS.
41815
41816 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41817
41818 * manual/contrib.texi (Contributors): Spelling correction.
41819
41820 2012-12-15 David S. Miller <davem@davemloft.net>
41821
41822 * po/ru.po: Update from translation team.
41823
41824 2012-12-13 David S. Miller <davem@davemloft.net>
41825
41826 * NEWS: Mention IFUNC testsuite enhancements.
41827
41828 * po/pl.po: Update from translation team.
41829 * po/bg.po: Likewise.
41830
41831 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41832 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41833
41834 2012-12-11 David S. Miller <davem@davemloft.net>
41835
41836 * po/sv.po: Update from translation team.
41837
41838 * po/vi.po: Update from translation team.
41839
41840 * po/cs.po: Update from translation team.
41841
41842 * po/de.po: Update from translation team.
41843 * po/eo.po: Likewise.
41844 * po/nl.po: Likewise.
41845
41846 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41847
41848 [BZ #14246]
41849 * manual/argp.texi (Argp Helper Functions): Move node to follow
41850 Argp Parsing State.
41851
41852 [BZ #14872]
41853 * manual/conf.texi (Limits on File System Capacity): Mention if
41854 terminating null is included in the max size.
41855
41856 2012-12-10 Andreas Jaeger <aj@suse.de>
41857
41858 * po/cs.po: Update from translation team.
41859
41860 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41861
41862 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41863 void pointer and cast to uintptr_t.
41864 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41865 path.
41866 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41867 * sysdeps/s390/s390-64/memset.S: Likewise.
41868
41869 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41870
41871 [BZ #14833]
41872 * menual/message.texi (Message Translation): Fix typos.
41873 (Helper programs for gettext): Likewise.
41874
41875 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41876
41877 [BZ #14898]
41878 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41879 Change to -1.
41880
41881 2012-12-07 David S. Miller <davem@davemloft.net>
41882
41883 * po/libc.pot: Update.
41884
41885 2012-12-07 Richard Henderson <rth@redhat.com>
41886
41887 [BZ #10114]
41888 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41889 normal/normal case to before the switch.
41890 (_FP_DIV): Likewise.
41891
41892 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41893 Mike Frysinger <vapier@gentoo.org>
41894
41895 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41896 check for __NR_fadvise64_64.
41897
41898 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41899
41900 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41901 0, not just to plain "0" as a statement.
41902 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41903 with cw.
41904
41905 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41906
41907 * NEWS: Use sourceware.org in Bugzilla URL.
41908
41909 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41910
41911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41912 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41913
41914 * stdio-common/tst-put-error.c (do_test): Add newline to the
41915 padded test to ensure flush.
41916
41917 2012-12-05 Jeff Law <law@redhat.com>
41918
41919 * sunrpc/etc.rpc (fedfs_admin): Add entry.
41920
41921 2012-12-05 Joseph Myers <joseph@codesourcery.com>
41922
41923 * README: Don't refer to ports add-on as distributed separately.
41924 Mention AArch64 in list of systems supported in the ports add-on.
41925
41926 * LICENSES: Add more non-FSF copyright and license notices.
41927
41928 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41929 ((unused)).
41930
41931 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41932
41933 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41934 10000 as width of padded output.
41935
41936 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41937
41938 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41939
41940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41941 variable LX with __attribute__ ((unused)).
41942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41943 Likewise.
41944 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41946 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41947 with __attribute__ ((unused)).
41948
41949 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
41950
41951 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41952
41953 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41954
41955 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41956 (CFLAGS-nldbl-acos.c): New variable.
41957 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41958 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41959 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41960 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41961 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41962 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41963 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41964 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41965 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41966 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41967 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41968 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41969 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41970 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41971 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41972 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41973 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41974 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41975 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41976 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41977 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41978 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41979 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41980 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41981 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41982 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41983 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41984 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41985 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41986 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41987 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41988 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41989 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41990 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41991 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41992 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41993 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41994 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41995 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41996 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41997 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41998 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41999 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42000 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42001 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42002 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42003 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42004 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42005 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42006 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42007 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42008 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42009 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42010 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42011 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42012 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42013 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42014 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42015 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42016 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42017 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42018 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42019 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42020 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42021 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42022 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42023 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42024 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42025 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42026 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42027 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42028 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42029 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42030 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42031 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42032 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42033 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42034 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42035 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42036 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42037 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42038 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42039 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42040 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42041 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42042 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42043 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42044 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42045 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42046 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42047 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42048 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42049 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42050 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42051 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42052 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42053 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42054
42055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42056 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42057
42058 [BZ #14914]
42059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42060 whole low double instead of just low 47 bits when splitting values
42061 into two parts.
42062
42063 2012-12-03 Allan McRae <allan@archlinux.org>
42064
42065 * manual/stdio.texi (Predefined Printf Handlers): Remove
42066 @hsep and @vsep usage.
42067
42068 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42069
42070 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42071 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42072
42073 2012-12-03 Jeff Law <law@redhat.com>
42074
42075 * time/sys/time.h (settimeofday): Do not mark TV argument
42076 as __nonnull.
42077
42078 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42079
42080 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42081 when currently writing and seek to current position when not.
42082 * libio/Makefile (tests): Remove bug-fclose1.
42083 * libio/bug-fclose1.c: Delete.
42084
42085 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42086
42087 * manual/arith.texi (feenableexcept): Fix typo.
42088 (fedisableexcept): Likewise.
42089
42090 2012-11-30 Roland McGrath <roland@hack.frob.com>
42091
42092 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42093 second, differently-typed declaration, rather than a cast.
42094
42095 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42096
42097 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42098 * include/rpc/svc.h: ... here.
42099
42100 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42101
42102 [BZ #13013]
42103 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42104 depending n and resplen2 to catch cases where answer
42105 equals answerp2.
42106
42107 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42108
42109 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42110 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42111
42112 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42113
42114 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42115
42116 2012-11-29 Roland McGrath <roland@hack.frob.com>
42117
42118 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42119
42120 2012-11-28 Jeff Law <law@redhat.com>
42121
42122 [BZ #13761]
42123 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42124 dataset_temporary. Track alloca usage into alloca_used.
42125 If dataset is large allocate and release it via malloc/free.
42126
42127 2012-06-04 Florian Weimer <fweimer@redhat.com>
42128
42129 [BZ #14197]
42130 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42131
42132 2012-11-28 David S. Miller <davem@davemloft.net>
42133
42134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42135
42136 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42137
42138 [BZ #14803]
42139 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42140 of pi/2 rounded to nearest to 64 bits.
42141 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42142 nearest to 64 bits.
42143 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42144 bits.
42145
42146 2012-11-28 Jeff Law <law@redhat.com>
42147 Martin Osvald <mosvald@redhat.com>
42148
42149 [BZ #14889]
42150 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42151 * sunrpc/svc.c: Include time.h.
42152 (__svc_accept_failed): New function.
42153 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42154 any reason other than EINTR, call __svc_accept_failed.
42155 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42156 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42157
42158 2012-11-28 Andreas Schwab <schwab@suse.de>
42159
42160 * scripts/abilist.awk: Also handle indirect functions in .opd
42161 section.
42162
42163 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42164
42165 [BZ #13881]
42166 * sysdeps/x86/fpu/powl_helper.c: New file.
42167 * sysdeps/x86/fpu/Makefile: Likewise.
42168 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42169 (p3): New object.
42170 (__ieee754_powl): Use __powl_helper for finite arguments except
42171 integer exponents below 8.
42172 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42173 (p3): New object.
42174 (__ieee754_powl): Use __powl_helper for finite arguments except
42175 integer exponents below 8.
42176 * math/libm-test.inc (pow_test): Add more tests and enable some
42177 previously disabled tests.
42178 * sysdeps/i386/fpu/libm-test-ulps: Update.
42179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42180
42181 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42182 Carlos O'Donell <carlos_odonell@mentor.com>
42183
42184 * nss/makedb.c (is_prime): Assert that input is odd and greater
42185 than 4. Note that fact in a comment too.
42186 (next_prime): Add 4 to input.
42187
42188 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42189
42190 [BZ #11741]
42191 * libio/Makefile (tests): Add test case tst-fwrite-error.
42192 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42193 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42194 * libio/tst-fwrite-error.c: New test case.
42195
42196 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42197
42198 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42199 before casting to void *.
42200 * include/libc-internal.h (__pointer_type): New macro.
42201 (__integer_if_pointer_type_sub): Likewise.
42202 (__integer_if_pointer_type): Likewise.
42203 (cast_to_integer): Likewise.
42204 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42205 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42206 before casting to atomic64_t.
42207 (atomic_exchange_acq): Likewise.
42208 (__arch_exchange_and_add_body): Likewise.
42209 (__arch_add_body): Likewise.
42210 (atomic_add_negative): Likewise.
42211 (atomic_add_zero): Likewise.
42212
42213 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42214
42215 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42216 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42217 (add_fdes): Likewise.
42218 (linear_search_fdes): Likewise.
42219 (binary_search_unencoded_fdes): Likewise.
42220
42221 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42222
42223 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42224
42225 2012-11-24 Adam Conrad <adconrad@0c3.net>
42226
42227 * configure.in: Autodetect C++ header directories.
42228 * configure: Regenerated.
42229
42230 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42231
42232 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42233
42234 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42235
42236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42237
42238 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42239
42240 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42241 LDBL_MANT_DIG == 106]: Disable some tests.
42242 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42243 Likewise.
42244 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42245 Likewise.
42246
42247 [BZ #14871]
42248 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42249 input for small inputs. Return +/- pi/2 for large inputs.
42250 * math/libm-test.inc (atan_test): Add more tests.
42251
42252 * sysdeps/generic/unwind-dw2-fde-glibc.c
42253 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42254 __attribute__ ((unused)).
42255
42256 [BZ #14645]
42257 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42258 x * y if x and y are nonzero and z is zero.
42259
42260 [BZ #14811]
42261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42262 nonzero exponents with absolute value below 0x1p-117 to +/-
42263 0x1p-117.
42264
42265 [BZ #14869]
42266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42267 up arguments below 2**-450, not just those below 2**-500.
42268 * math/libm-test.inc (hypot_test): Add another test.
42269
42270 [BZ #14868]
42271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42272 Return a+b for ratio over 2**120, not 2**60.
42273 * math/libm-test.inc (hypot_test): Add another test.
42274
42275 * math/libm-test.inc (clog_test): Use
42276 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42277 (clog10_test): Likewise.
42278
42279 [BZ #6778]
42280 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42281
42282 2012-11-22 Andreas Schwab <schwab@suse.de>
42283
42284 * sysdeps/i386/fpu/libm-test-ulps: Update.
42285
42286 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42287
42288 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42289 printf output with newline.
42290
42291 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 [BZ #14865]
42294 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42295 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42296 -z nodlopen, -z initfirst and -z execstack support.
42297 * configure: Regenerated.
42298
42299 * elf/elf.h (DF_1_NODIRECT): New macro.
42300 (DF_1_IGNMULDEF): Likewise.
42301 (DF_1_NOKSYMS): Likewise.
42302 (DF_1_NOHDR): Likewise.
42303 (DF_1_EDITED): Likewise.
42304 (DF_1_NORELOC): Likewise.
42305 (DF_1_SYMINTPOSE): Likewise.
42306 (DF_1_GLOBAUDIT): Likewise.
42307 (DF_1_SINGLETON): Likewise.
42308 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42309 DT_1_SUPPORTED_MASK bits.
42310 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42311
42312 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42313
42314 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42315
42316 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42317
42318 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42319 macro.
42320
42321 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42322 (sendmmsg): Move declarations...
42323 * socket/sys/socket.h: ... here.
42324 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42325 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42326 include it from...
42327 * socket/recvmmsg.c: ... this new file.
42328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42329 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42330 definition of __sendmmsg hidden.
42331 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42332 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42333 Move ENOSYS stub into and include it from...
42334 * socket/sendmmsg.c: ... this new file.
42335 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42336 (sysdep_routines): Move recvmmsg and sendmmsg...
42337 * socket/Makefile (routines): ... here.
42338 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42339 (GLIBC_PRIVATE): Add __sendmmsg.
42340 * include/sys/socket.h (__sendmmsg): Add declarations.
42341 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42342 sendmmsg.
42343
42344 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42345
42346 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42347 variable I1 with __attribute__ ((unused)).
42348 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42349
42350 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42351
42352 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42353 DUMMY variables with __attribute__ ((unused)).
42354
42355 * bits/byteswap.h: Include <bits/types.h>.
42356 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42357
42358 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42359
42360 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42361 string_t. Do not manually set errno.
42362 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42363 length with __strnlen. Make sure to both set errno and return it on
42364 failure.
42365
42366 2012-11-19 David S. Miller <davem@davemloft.net>
42367
42368 With help from Joseph Myers.
42369 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42370 very large arguments properly.
42371 * math/libm-test.inc (atan_test): New tests.
42372 (atan2_test): New tests.
42373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42375
42376 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42377
42378 [BZ #14856]
42379 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42380 Define to 3.
42381
42382 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42383 [POSIX] (EADDRNOTAVAIL): Likewise.
42384 [POSIX] (EAFNOSUPPORT): Likewise.
42385 [POSIX] (EALREADY): Likewise.
42386 [POSIX] (ECONNABORTED): Likewise.
42387 [POSIX] (ECONNREFUSED): Likewise.
42388 [POSIX] (ECONNRESET): Likewise.
42389 [POSIX] (EDESTADDRREQ): Likewise.
42390 [POSIX] (EDQUOT): Likewise.
42391 [POSIX] (EHOSTUNREACH): Likewise.
42392 [POSIX] (EIDRM): Likewise.
42393 [POSIX] (EISCONN): Likewise.
42394 [POSIX] (ELOOP): Likewise.
42395 [POSIX] (EMULTIHOP): Likewise.
42396 [POSIX] (ENETDOWN): Likewise.
42397 [POSIX] (ENETUNREACH): Likewise.
42398 [POSIX] (ENOBUFS): Likewise.
42399 [POSIX] (ENODATA): Likewise.
42400 [POSIX] (ENOLINK): Likewise.
42401 [POSIX] (ENOMSG): Likewise.
42402 [POSIX] (ENOPROTOOPT): Likewise.
42403 [POSIX] (ENOSR): Likewise.
42404 [POSIX] (ENOSTR): Likewise.
42405 [POSIX] (ENOTCONN): Likewise.
42406 [POSIX] (ENOTSOCK): Likewise.
42407 [POSIX] (EOPNOTSUPP): Likewise.
42408 [POSIX] (EOVERFLOW): Likewise.
42409 [POSIX] (EPROTO): Likewise.
42410 [POSIX] (EPROTONOSUPPORT): Likewise.
42411 [POSIX] (EPROTOTYPE): Likewise.
42412 [POSIX] (ESTALE): Likewise.
42413 [POSIX] (ETIME): Likewise.
42414 [POSIX] (ETXTBSY): Likewise.
42415 [POSIX] (EWOULDBLOCK): Likewise.
42416 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42417 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42418 [POSIX] (SEEK_CUR): Likewise.
42419 [POSIX] (SEEK_END): Likewise.
42420 [POSIX || UNIX98] (mode_t): Do not require.
42421 [POSIX] (off_t): Likewise.
42422 [POSIX] (pid_t): Likewise.
42423 [POSIX] (sys/stat.h): Do not allow header.
42424 [POSIX] (unistd.h): Likewise.
42425 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42426 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42427 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42428 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42429 require.
42430 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42431 sigevent): Specify elements.
42432 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42433 entry.
42434 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42435 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42436
42437 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42438 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42439 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42440 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42441 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42442 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42443 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42444 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42445 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42446 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42447 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42448 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42449 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42450 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42451 Likewise.
42452 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42453 Likewise.
42454 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42455 Likewise.
42456 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42457 Likewise.
42458 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42459 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42460 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42461 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42462 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42463 Specify lower bound on value.
42464 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42465 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42466 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42467 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42468 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42469 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42470 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42471 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42472 value.
42473 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42474 as optional.
42475 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42476 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42477 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42478 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42479 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42480 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42481 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42482 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42483 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42484 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42485 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42486 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42487 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42488 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42489 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42490 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42491 entry.
42492 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42493 optional.
42494 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42495 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42496 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42497 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42498 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42499 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42500 Likewise.
42501 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42502 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42503 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42504 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42505 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42506 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42507 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42508 as optional.
42509 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42510 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42511 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42512 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42513 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42514 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42515 specify as optional.
42516 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42517 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42518 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42519 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42520 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42521 [XPG3] (NL_LANGMAX): Likewise.
42522 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42523 [POSIX || XPG3] (NL_NMAX): Likewise.
42524 [POSIX || XPG3] (NL_SETMAX): Likewise.
42525 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42526 [XPG3] (NZERO): Likewise.
42527 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42528 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42529 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42530 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42531 (REG_ERANGE): Expect.
42532 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42533 optional-constant.
42534 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42535 Use (void) in prototype.
42536 [POSIX] (*_t): Allow.
42537 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42538 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42539 (WRDE_BADVAL): Expect.
42540
42541 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42542 expect.
42543 [XPG3 || XPG4] (O_RSYNC): Likewise.
42544 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42545 Likewise.
42546 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42547 [XPG3 || XPG4] (sigqueue): Likewise.
42548 [XPG3 || XPG4] (sigtimedwait): Likewise.
42549 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42550 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42551 [XPG3 || XPG4] (vsnprintf): Likewise.
42552 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42553 Likewise.
42554 [XPG3 || XPG4] (blksize_t): Likewise.
42555 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42556 Likewise.
42557 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42558 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42559 [XPG3 || XPG4] (struct itimerspec): Likewise.
42560 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42561 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42562 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42563 [XPG3 || XPG4] (clockid_t): Likewise.
42564 [XPG3 || XPG4] (timer_t): Likewise.
42565 [XPG3 || XPG4] (clock_getres): Likewise.
42566 [XPG3 || XPG4] (clock_gettime): Likewise.
42567 [XPG3 || XPG4] (clock_settime): Likewise.
42568 [XPG3 || XPG4] (nanosleep): Likewise.
42569 [XPG3 || XPG4] (timer_create): Likewise.
42570 [XPG3 || XPG4] (timer_delete): Likewise.
42571 [XPG3 || XPG4] (timer_gettime): Likewise.
42572 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42573 [XPG3 || XPG4] (timer_settime): Likewise.
42574 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42575 [XPG3 || XPG4] (getlogin_r): Likewise.
42576 [XPG3 || XPG4] (pread): Likewise.
42577 [XPG3 || XPG4] (pthread_atfork): Likewise.
42578 [XPG3 || XPG4] (pwrite): Likewise.
42579
42580 [BZ #14835]
42581 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42582 <bits/siginfo.h>.
42583
42584 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42585
42586 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42587 finalizing MALLSTREAM.
42588
42589 * sysdeps/mach/hurd/syncfs.c: New file.
42590
42591 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42592
42593 [BZ #14719]
42594 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42595 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42596 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42597 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42598 (_nss_dns_gethostbyname4_r): Likewise.
42599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42600 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42601
42602 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42603
42604 [BZ #13763]
42605 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42606
42607 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42608
42609 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42610 * elf/cache.c (print_entry): Print ",AArch64" for
42611 FLAG_AARCH64_LIB64
42612
42613 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42614 * elf/cache.c (print_entry): Print ",hard-float" for
42615 FLAG_ARM_LIBHF.
42616
42617 2012-11-18 David S. Miller <davem@davemloft.net>
42618
42619 With help from Joseph Myers.
42620 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42621 cutoff to 2**-13.
42622 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42623 cutoff to 2**-25.
42624 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42625 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42626 small.
42627 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42628 * math/libm-test.inc (y0_test): New tests.
42629 (y1_test): New tests.
42630 * sysdeps/i386/fpu/libm-test-ulps: Update.
42631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42633
42634 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42635
42636 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42637 64-bit targets.
42638 * configure: Regenerated.
42639
42640 2012-11-17 David S. Miller <davem@davemloft.net>
42641
42642 [BZ #14811]
42643 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42644 nonzero exponents with absolute value below 0x1p-128 to +/-
42645 0x1p-128.
42646
42647 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42648
42649 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42650
42651 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42652
42653 * posix/getconf-speclist.c: New file.
42654 * posix/posix-envs.def: Likewise.
42655 * posix/confstr.c (START_ENV_GROUP): New macro.
42656 (END_ENV_GROUP): Likewise.
42657 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42658 (KNOWN_PRESENT_ENV_STRING): Likewise.
42659 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42660 (UNKNOWN_ENVIRONMENT): Likewise.
42661 (confstr): Include posix-envs.def instead of handling
42662 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42663 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42664 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42665 (END_ENV_GROUP): Likewise.
42666 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42667 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42668 (UNKNOWN_ENVIRONMENT): Likewise.
42669 (__sysconf): Include posix-envs.def instead of handling associated
42670 cases directly here.
42671 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42672 preprocessing getconf-speclist.c rather than running getconf or
42673 generating empty file.
42674
42675 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42676
42677 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42678
42679 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42680
42681 [BZ #14672]
42682 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42683
42684 2012-11-16 David S. Miller <davem@davemloft.net>
42685
42686 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42687 smaller than LDBL_EPSILON/2.0L, just return xm1.
42688
42689 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42690
42691 * elf/tst-array1.c (init): Set constructor priority to 1000.
42692 (fini): Set destructor priority to 1000.
42693 * elf/tst-array2dep.c: Likewise.
42694
42695 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42696
42697 [BZ #11741]
42698 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42699 (_IO_new_file_xsputn): Also return EOF if none of the input
42700 data was written when overflow failed.
42701 * libio/iopadn.c (_IO_padn): Likewise.
42702 * libio/iowpadn.c (_IO_wpadn): Likewise.
42703 * stdio-common/tst-put-error.c: Add copyright notice.
42704 (do_test): Add case for printing padded string.
42705 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42706 _IO_padn returned error.
42707 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42708 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42709 return EOF.
42710
42711 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42712
42713 * libio/libioP.h: Add comment note that the references to C++
42714 bits are now obsolete.
42715
42716 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42717
42718 * math/libm-test.inc (check_complex): Use asprintf.
42719
42720 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42721
42722 * debug/pcprofiledump.c (print_version): Update copyright year.
42723 * malloc/memusagestat.c (print_version): Likewise.
42724
42725 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42726
42727 [BZ #14831]
42728 * elf/Makefile (tests): Add tst-audit8.
42729 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42730 ($(objpfx)tst-audit8.out): New target.
42731 (tst-audit8-ENV): New variable.
42732 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42733 audit if l_reloc_result is NULL.
42734 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42735 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42736 * elf/tst-audit8.c: New file.
42737
42738 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42739
42740 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42741 * misc/Makefile (CFLAGS-select.c): Define.
42742 * posix/Makefile (CFLAGS-pause.c): Define.
42743
42744 2012-11-13 David S. Miller <davem@davemloft.net>
42745
42746 * crypt/Makefile: Move test targets after toplevel Rules
42747 inclusion. Grab any necessary sysdep routines when linking.
42748 * crypt/md5.c (md5_process_block): Remove define, we will always
42749 name it __md5_process_block.
42750 (md5_finish_ctx): Update md5_process_block call.
42751 (md5_stream): Likewise.
42752 (md5_process_bytes): Likewise.
42753 (md5_process_block): Rename to __md5_process_block and move to ...
42754 * crypt/md5-block.c: ... here.
42755 * crypt/sha256.c (sha256_process_block): Move to ...
42756 * crypt/sha256-block.c: ... here.
42757 * crypt/sha512.c (sha512_process_block): Move to ...
42758 * crypt/sha512-block.c: ... here.
42759 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42760 path.
42761 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42762 * sysdeps/sparc/sparc64/multiarch/Makefile
42763 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42764 crypt subdir.
42765 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42766 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42767 multiarch changes.
42768 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42769 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42770 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42771 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42772 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42773 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42774 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42775 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42776 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42777 file.
42778 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42779 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42780 file.
42781 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42782
42783 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42784
42785 * timezone/tzselect.ksh: Update from tzcode git revision
42786 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42787 * timezone/zdump.c: Likewise.
42788 * timezone/zic.c: Likewise.
42789 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42790 in TZVERSION setting, not $(PKGVERSION).
42791 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42792 REPORT_BUGS_TO settings.
42793
42794 [BZ #14838]
42795 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42796 macro.
42797
42798 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42799
42800 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42801 detection to immediately after _FP_ROUND().
42802 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42803 bits are 0.
42804
42805 2012-11-11 David S. Miller <davem@davemloft.net>
42806
42807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42808 inttypes.h
42809 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42810 __close rather than their public counterparts.
42811
42812 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42813
42814 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42815 file.
42816 [UNIX98] (sem_timedwait): Do not expect.
42817 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42818 [XPG4 || UNIX98] (sockatmark): Do not expect.
42819 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42820 (clock_getcpuclockid): Do not expect.
42821 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42822 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42823 Do not expect.
42824 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42825 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42826 [UNIX98] (vwscanf): Likewise.
42827 [UNIX98] (vswscanf): Likewise.
42828
42829 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42830
42831 * timezone/version.h: Remove file.
42832 * timezone/README: Do not refer to version.h.
42833 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42834 $(objpfx)version.h.
42835 ($(objpfx)zdump.o): Likewise.
42836 ($(objpfx)version.h): New target.
42837
42838 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42839 2012i.
42840 * timezone/README: Don't mention modification to tzselect.ksh.
42841 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42842 work on unmodified tzselect.ksh. Substitute version numbers in
42843 tzselect.ksh.
42844
42845 * Makefile (format-me): Remove.
42846 (INSTALL): Adjust indentation. Use commands directly instead of
42847 using $(format-me).
42848
42849 * aclocal.m4 (ACX_PKGVERSION): New macro.
42850 (ACX_BUGURL): Likewise.
42851 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42852 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42853 (REPORT_BUGS_TO): Likewise.
42854 * configure: Regenerated.
42855 * config.h.in (PKGVERSION): New macro.
42856 (REPORT_BUGS_TO): Likewise.
42857 * config.make.in (PKGVERSION): New variable.
42858 (PKGVERSION_TEXI): Likewise.
42859 (REPORT_BUGS_TO): Likewise.
42860 (REPORT_BUGS_TEXI): Likewise.
42861 * Makefile (format-me): Use -I$(common-objpfx)manual.
42862 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42863 ($(common-objpfx)manual/%): New target.
42864 (manual/%): Remove target.
42865 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42866 (print_version): Use PKGVERSION.
42867 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42868 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42869 and REPORT_BUGS_TO.
42870 ($(objpfx)xtrace): Likewise.
42871 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42872 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42873 (print_version): Use PKGVERSION.
42874 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42875 (do_version): Use PKGVERSION.
42876 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42877 REPORT_BUGS_TO.
42878 (common-ldd-rewrite): Likewise.
42879 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42880 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42881 (print_version): Use PKGVERSION.
42882 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42883 * elf/pldd.c (argp_program_bug_address): Remove variable.
42884 (more_help): New function.
42885 (argp): Use more_help.
42886 (print_version): Use PKGVERSION.
42887 * elf/sln.c (main): Use PKGVERSION.
42888 (usage): Use REPORT_BUGS_TO.
42889 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42890 (top level): Use PKGVERSION.
42891 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42892 (print_version): Use PKGVERSION.
42893 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42894 (print_version): Use PKGVERSION.
42895 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42896 (print_version): Use PKGVERSION.
42897 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42898 (print_version): Use PKGVERSION.
42899 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42900 (print_version): Use PKGVERSION.
42901 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42902 (print_version): Use PKGVERSION.
42903 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42904 and BUGURL.
42905 ($(objpfx)memusage): Likewise.
42906 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42907 (do_version): Use PKGVERSION.
42908 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42909 (print_version): Use PKGVERSION.
42910 * malloc/mtrace.pl ($PACKAGE): Remove variable.
42911 ($PKGVERSION): New variable.
42912 ($REPORT_BUGS_TO): Likewise.
42913 (usage): Use $REPORT_BUGS_TO.
42914 (top level): Use $PKGVERSION.
42915 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42916 ($(objpfx)pkgvers.texi): New rule.
42917 ($(objpfx)stamp-pkgvers): Likewise.
42918 * manual/install.texi: Include pkgvers.texi.
42919 (--with-pkgversion): Document new configure option.
42920 (--with-bugurl): Likewise.
42921 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42922 than necessarily for this particular distribution. Use
42923 REPORT_BUGS_TO for where to report bugs.
42924 * INSTALL: Regenerated.
42925 * manual/libc.texinfo: Include pkgvers.texi.
42926 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42927 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42928 (print_version): Use PKGVERSION.
42929 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42930 (print_version): Use PKGVERSION.
42931 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42932 (print_version): Use PKGVERSION.
42933 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42934 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42935 macro.
42936 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42937 (print_version): Use PKGVERSION.
42938 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42939 (print_version): Use PKGVERSION.
42940 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42941 and PKGVERSION.
42942
42943 * timezone/checktab.awk: Update from tzcode 2012i.
42944 * timezone/ialloc.c: Likewise.
42945 * timezone/private.h: Likewise.
42946 * timezone/scheck.c: Likewise.
42947 * timezone/tzfile.h: Likewise.
42948 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42949 (TZVERSION): Hardcode tzcode version number.
42950 * timezone/zdump.c: Update from tzcode 2012i.
42951 * timezone/zic.c: Likewise.
42952 * timezone/version.h: New file.
42953 * timezone/README: Describe version.h. Update upstream location.
42954
42955 [BZ #14824]
42956 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42957 (mktemp): Enable declaration.
42958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42962 Likewise.
42963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42964 Likewise.
42965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42966 Likewise.
42967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42968 Likewise.
42969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42970 Likewise.
42971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42972 Likewise.
42973
42974 [BZ #14821]
42975 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42976 offset in buffer as u_int32_t not u_long. Consistently use memcpy
42977 for copies of such integer values.
42978 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42979 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42980
42981 2012-11-09 Andreas Jaeger <aj@suse.de>
42982
42983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42984 definitions and declarations that are provided by
42985 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42986
42987 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42988
42989 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42990 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42991 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42992 definition.
42993
42994 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42995
42996 * elf/elf.h: Update comment before AArch64 relocations.
42997
42998 2012-11-07 David S. Miller <davem@davemloft.net>
42999
43000 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43001 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43002 (__start_context): Declare.
43003 (__makecontext_ret): Delete.
43004 (__makecontext): Hook up __start_context instead of
43005 __makecontext_ret.
43006 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43007 (sysdep_routines): Add __start_context when in stdlib.
43008
43009 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43010
43011 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43012 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43013 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43014 hardcoded "nm".
43015 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43016 (READELF): New variable. Use it instead of hardcoded "readelf".
43017
43018 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43019
43020 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43021 * sysdeps/x86/Makefile: Here.
43022 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43023 * sysdeps/x86/tst-xmmymm.sh: This.
43024
43025 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43026
43027 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43028 expectations.
43029 [UNIX98] (pthread_barrier_t): Do not expect.
43030 [UNIX98] (pthread_barrierattr_t): Likewise.
43031 [UNIX98] (pthread_spinlock_t): Likewise.
43032 [UNIX98] (pthread_barrier_destroy): Likewise.
43033 [UNIX98] (pthread_barrier_init): Likewise.
43034 [UNIX98] (pthread_barrier_wait): Likewise.
43035 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43036 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43037 [UNIX98] (pthread_barrierattr_init): Likewise.
43038 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43039 [UNIX98] (pthread_getcpuclockid): Likewise.
43040 [UNIX98] (pthread_mutex_timedlock): Likewise.
43041 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43042 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43043 [UNIX98] (pthread_sigmask): Likewise.
43044 [UNIX98] (pthread_spin_destroy): Likewise.
43045 [UNIX98] (pthread_spin_init): Likewise.
43046 [UNIX98] (pthread_spin_lock): Likewise.
43047 [UNIX98] (pthread_spin_trylock): Likewise.
43048 [UNIX98] (pthread_spin_unlock): Likewise.
43049 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43050 Do not expect.
43051 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43053 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43054 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43055 [XPG3 || XPG4] (pthread_key_t): Likewise.
43056 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43057 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43058 [XPG3 || XPG4] (pthread_once_t): Likewise.
43059 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43060 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43062 [XPG3 || XPG4] (pthread_t): Likewise.
43063
43064 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43065 not expect.
43066 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43067
43068 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43069 Change function return type to int.
43070
43071 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43072 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43073 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43074 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43075 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43076 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43077 [!POSIX] (posix_madvise): Likewise.
43078 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43079 && !UNIX98].
43080 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43081 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43082 (mode_t): Likewise.
43083 (posix_mem_offset): Likewise.
43084 (posix_typed_mem_get_info): Likewise.
43085 (posix_typed_mem_open): Likewise.
43086
43087 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43088 Change condition to [XOPEN2K8].
43089
43090 * conform/conformtest.pl: Preprocess allow-header data with -x c
43091 instead of from stdin.
43092 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43093 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43094 [C99-based standards] (cerfc): Likewise.
43095 [C99-based standards] (cexp2): Likewise.
43096 [C99-based standards] (cexpm1): Likewise.
43097 [C99-based standards] (clog10): Likewise.
43098 [C99-based standards] (clog1p): Likewise.
43099 [C99-based standards] (clog2): Likewise.
43100 [C99-based standards] (clgamma): Likewise.
43101 [C99-based standards] (ctgamma): Likewise.
43102 [C99-based standards] (cerff): Likewise.
43103 [C99-based standards] (cerfcf): Likewise.
43104 [C99-based standards] (cexp2f): Likewise.
43105 [C99-based standards] (cexpm1f): Likewise.
43106 [C99-based standards] (clog10f): Likewise.
43107 [C99-based standards] (clog1pf): Likewise.
43108 [C99-based standards] (clog2f): Likewise.
43109 [C99-based standards] (clgammaf): Likewise.
43110 [C99-based standards] (ctgammaf): Likewise.
43111 [C99-based standards] (cerfl): Likewise.
43112 [C99-based standards] (cerfcl): Likewise.
43113 [C99-based standards] (cexp2l): Likewise.
43114 [C99-based standards] (cexpm1l): Likewise.
43115 [C99-based standards] (clog10l): Likewise.
43116 [C99-based standards] (clog1pl): Likewise.
43117 [C99-based standards] (clog2l): Likewise.
43118 [C99-based standards] (clgammal): Likewise.
43119 [C99-based standards] (ctgammal): Likewise.
43120 * conform/data/inttypes.h-data [C99-based standards]: Include
43121 stdint.h-data. Remove all expectations for stdint.h contents.
43122 [C99-based standards] (PRI*): Do not allow.
43123 [C99-based standards] (SCN*): Likewise.
43124 [C99-based standards] (*_t): Likewise.
43125 [C99-based-standards] (PRId8): Expect macro.
43126 [C99-based-standards] (PRIi8): Likewise.
43127 [C99-based-standards] (PRIo8): Likewise.
43128 [C99-based-standards] (PRIu8): Likewise.
43129 [C99-based-standards] (PRIx8): Likewise.
43130 [C99-based-standards] (PRIX8): Likewise.
43131 [C99-based-standards] (SCNd8): Likewise.
43132 [C99-based-standards] (SCNi8): Likewise.
43133 [C99-based-standards] (SCNo8): Likewise.
43134 [C99-based-standards] (SCNu8): Likewise.
43135 [C99-based-standards] (SCNx8): Likewise.
43136 [C99-based-standards] (PRIdLEAST8): Likewise.
43137 [C99-based-standards] (PRIiLEAST8): Likewise.
43138 [C99-based-standards] (PRIoLEAST8): Likewise.
43139 [C99-based-standards] (PRIuLEAST8): Likewise.
43140 [C99-based-standards] (PRIxLEAST8): Likewise.
43141 [C99-based-standards] (PRIXLEAST8): Likewise.
43142 [C99-based-standards] (SCNdLEAST8): Likewise.
43143 [C99-based-standards] (SCNiLEAST8): Likewise.
43144 [C99-based-standards] (SCNoLEAST8): Likewise.
43145 [C99-based-standards] (SCNuLEAST8): Likewise.
43146 [C99-based-standards] (SCNxLEAST8): Likewise.
43147 [C99-based-standards] (PRIdFAST8): Likewise.
43148 [C99-based-standards] (PRIiFAST8): Likewise.
43149 [C99-based-standards] (PRIoFAST8): Likewise.
43150 [C99-based-standards] (PRIuFAST8): Likewise.
43151 [C99-based-standards] (PRIxFAST8): Likewise.
43152 [C99-based-standards] (PRIXFAST8): Likewise.
43153 [C99-based-standards] (SCNdFAST8): Likewise.
43154 [C99-based-standards] (SCNiFAST8): Likewise.
43155 [C99-based-standards] (SCNoFAST8): Likewise.
43156 [C99-based-standards] (SCNuFAST8): Likewise.
43157 [C99-based-standards] (SCNxFAST8): Likewise.
43158 [C99-based-standards] (PRId16): Likewise.
43159 [C99-based-standards] (PRIi16): Likewise.
43160 [C99-based-standards] (PRIo16): Likewise.
43161 [C99-based-standards] (PRIu16): Likewise.
43162 [C99-based-standards] (PRIx16): Likewise.
43163 [C99-based-standards] (PRIX16): Likewise.
43164 [C99-based-standards] (SCNd16): Likewise.
43165 [C99-based-standards] (SCNi16): Likewise.
43166 [C99-based-standards] (SCNo16): Likewise.
43167 [C99-based-standards] (SCNu16): Likewise.
43168 [C99-based-standards] (SCNx16): Likewise.
43169 [C99-based-standards] (PRIdLEAST16): Likewise.
43170 [C99-based-standards] (PRIiLEAST16): Likewise.
43171 [C99-based-standards] (PRIoLEAST16): Likewise.
43172 [C99-based-standards] (PRIuLEAST16): Likewise.
43173 [C99-based-standards] (PRIxLEAST16): Likewise.
43174 [C99-based-standards] (PRIXLEAST16): Likewise.
43175 [C99-based-standards] (SCNdLEAST16): Likewise.
43176 [C99-based-standards] (SCNiLEAST16): Likewise.
43177 [C99-based-standards] (SCNoLEAST16): Likewise.
43178 [C99-based-standards] (SCNuLEAST16): Likewise.
43179 [C99-based-standards] (SCNxLEAST16): Likewise.
43180 [C99-based-standards] (PRIdFAST16): Likewise.
43181 [C99-based-standards] (PRIiFAST16): Likewise.
43182 [C99-based-standards] (PRIoFAST16): Likewise.
43183 [C99-based-standards] (PRIuFAST16): Likewise.
43184 [C99-based-standards] (PRIxFAST16): Likewise.
43185 [C99-based-standards] (PRIXFAST16): Likewise.
43186 [C99-based-standards] (SCNdFAST16): Likewise.
43187 [C99-based-standards] (SCNiFAST16): Likewise.
43188 [C99-based-standards] (SCNoFAST16): Likewise.
43189 [C99-based-standards] (SCNuFAST16): Likewise.
43190 [C99-based-standards] (SCNxFAST16): Likewise.
43191 [C99-based-standards] (PRId32): Likewise.
43192 [C99-based-standards] (PRIi32): Likewise.
43193 [C99-based-standards] (PRIo32): Likewise.
43194 [C99-based-standards] (PRIu32): Likewise.
43195 [C99-based-standards] (PRIx32): Likewise.
43196 [C99-based-standards] (PRIX32): Likewise.
43197 [C99-based-standards] (SCNd32): Likewise.
43198 [C99-based-standards] (SCNi32): Likewise.
43199 [C99-based-standards] (SCNo32): Likewise.
43200 [C99-based-standards] (SCNu32): Likewise.
43201 [C99-based-standards] (SCNx32): Likewise.
43202 [C99-based-standards] (PRIdLEAST32): Likewise.
43203 [C99-based-standards] (PRIiLEAST32): Likewise.
43204 [C99-based-standards] (PRIoLEAST32): Likewise.
43205 [C99-based-standards] (PRIuLEAST32): Likewise.
43206 [C99-based-standards] (PRIxLEAST32): Likewise.
43207 [C99-based-standards] (PRIXLEAST32): Likewise.
43208 [C99-based-standards] (SCNdLEAST32): Likewise.
43209 [C99-based-standards] (SCNiLEAST32): Likewise.
43210 [C99-based-standards] (SCNoLEAST32): Likewise.
43211 [C99-based-standards] (SCNuLEAST32): Likewise.
43212 [C99-based-standards] (SCNxLEAST32): Likewise.
43213 [C99-based-standards] (PRIdFAST32): Likewise.
43214 [C99-based-standards] (PRIiFAST32): Likewise.
43215 [C99-based-standards] (PRIoFAST32): Likewise.
43216 [C99-based-standards] (PRIuFAST32): Likewise.
43217 [C99-based-standards] (PRIxFAST32): Likewise.
43218 [C99-based-standards] (PRIXFAST32): Likewise.
43219 [C99-based-standards] (SCNdFAST32): Likewise.
43220 [C99-based-standards] (SCNiFAST32): Likewise.
43221 [C99-based-standards] (SCNoFAST32): Likewise.
43222 [C99-based-standards] (SCNuFAST32): Likewise.
43223 [C99-based-standards] (SCNxFAST32): Likewise.
43224 [C99-based-standards] (PRId64): Likewise.
43225 [C99-based-standards] (PRIi64): Likewise.
43226 [C99-based-standards] (PRIo64): Likewise.
43227 [C99-based-standards] (PRIu64): Likewise.
43228 [C99-based-standards] (PRIx64): Likewise.
43229 [C99-based-standards] (PRIX64): Likewise.
43230 [C99-based-standards] (SCNd64): Likewise.
43231 [C99-based-standards] (SCNi64): Likewise.
43232 [C99-based-standards] (SCNo64): Likewise.
43233 [C99-based-standards] (SCNu64): Likewise.
43234 [C99-based-standards] (SCNx64): Likewise.
43235 [C99-based-standards] (PRIdLEAST64): Likewise.
43236 [C99-based-standards] (PRIiLEAST64): Likewise.
43237 [C99-based-standards] (PRIoLEAST64): Likewise.
43238 [C99-based-standards] (PRIuLEAST64): Likewise.
43239 [C99-based-standards] (PRIxLEAST64): Likewise.
43240 [C99-based-standards] (PRIXLEAST64): Likewise.
43241 [C99-based-standards] (SCNdLEAST64): Likewise.
43242 [C99-based-standards] (SCNiLEAST64): Likewise.
43243 [C99-based-standards] (SCNoLEAST64): Likewise.
43244 [C99-based-standards] (SCNuLEAST64): Likewise.
43245 [C99-based-standards] (SCNxLEAST64): Likewise.
43246 [C99-based-standards] (PRIdFAST64): Likewise.
43247 [C99-based-standards] (PRIiFAST64): Likewise.
43248 [C99-based-standards] (PRIoFAST64): Likewise.
43249 [C99-based-standards] (PRIuFAST64): Likewise.
43250 [C99-based-standards] (PRIxFAST64): Likewise.
43251 [C99-based-standards] (PRIXFAST64): Likewise.
43252 [C99-based-standards] (SCNdFAST64): Likewise.
43253 [C99-based-standards] (SCNiFAST64): Likewise.
43254 [C99-based-standards] (SCNoFAST64): Likewise.
43255 [C99-based-standards] (SCNuFAST64): Likewise.
43256 [C99-based-standards] (SCNxFAST64): Likewise.
43257 [C99-based-standards] (PRIdMAX): Likewise.
43258 [C99-based-standards] (PRIiMAX): Likewise.
43259 [C99-based-standards] (PRIoMAX): Likewise.
43260 [C99-based-standards] (PRIuMAX): Likewise.
43261 [C99-based-standards] (PRIxMAX): Likewise.
43262 [C99-based-standards] (PRIXMAX): Likewise.
43263 [C99-based-standards] (SCNdMAX): Likewise.
43264 [C99-based-standards] (SCNiMAX): Likewise.
43265 [C99-based-standards] (SCNoMAX): Likewise.
43266 [C99-based-standards] (SCNuMAX): Likewise.
43267 [C99-based-standards] (SCNxMAX): Likewise.
43268 [C99-based-standards] (PRIdPTR): Likewise.
43269 [C99-based-standards] (PRIiPTR): Likewise.
43270 [C99-based-standards] (PRIoPTR): Likewise.
43271 [C99-based-standards] (PRIuPTR): Likewise.
43272 [C99-based-standards] (PRIxPTR): Likewise.
43273 [C99-based-standards] (PRIXPTR): Likewise.
43274 [C99-based-standards] (SCNdPTR): Likewise.
43275 [C99-based-standards] (SCNiPTR): Likewise.
43276 [C99-based-standards] (SCNoPTR): Likewise.
43277 [C99-based-standards] (SCNuPTR): Likewise.
43278 [C99-based-standards] (SCNxPTR): Likewise.
43279 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43280 allow.
43281 * conform/data/stdint.h-data: Update comments to clarify
43282 requirements.
43283 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43284 type.
43285 [C99-based standards] (INT8_MAX): Likewise.
43286 [C99-based standards] (INT16_MIN): Likewise.
43287 [C99-based standards] (INT16_MAX): Likewise.
43288 [C99-based standards] (INT32_MIN): Likewise.
43289 [C99-based standards] (INT32_MAX): Likewise.
43290 [C99-based standards] (INT64_MIN): Likewise.
43291 [C99-based standards] (INT64_MAX): Likewise.
43292 [C99-based standards] (UINT8_MAX): Likewise.
43293 [C99-based standards] (UINT16_MAX): Likewise.
43294 [C99-based standards] (UINT32_MAX): Likewise.
43295 [C99-based standards] (UINT64_MAX): Likewise.
43296 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43297 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43298 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43299 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43300 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43301 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43302 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43303 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43304 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43305 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43306 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43307 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43308 [C99-based standards] (INT_FAST8_MIN): Likewise.
43309 [C99-based standards] (INT_FAST8_MAX): Likewise.
43310 [C99-based standards] (INT_FAST16_MIN): Likewise.
43311 [C99-based standards] (INT_FAST16_MAX): Likewise.
43312 [C99-based standards] (INT_FAST32_MIN): Likewise.
43313 [C99-based standards] (INT_FAST32_MAX): Likewise.
43314 [C99-based standards] (INT_FAST64_MIN): Likewise.
43315 [C99-based standards] (INT_FAST64_MAX): Likewise.
43316 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43317 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43318 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43319 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43320 [C99-based standards] (INTPTR_MIN): Likewise.
43321 [C99-based standards] (INTPTR_MAX): Likewise.
43322 [C99-based standards] (UINTPTR_MAX): Likewise.
43323 [C99-based standards] (INTMAX_MIN): Likewise.
43324 [C99-based standards] (INTMAX_MAX): Likewise.
43325 [C99-based standards] (UINTMAX_MAX): Likewise.
43326 [C99-based standards] (PTRDIFF_MIN): Likewise.
43327 [C99-based standards] (PTRDIFF_MAX): Likewise.
43328 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43329 [C99-based standards] (SIZE_MAX): Likewise.
43330 [C99-based standards] (WCHAR_MAX): Likewise.
43331 [C99-based standards] (WINT_MAX): Likewise.
43332 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43333 constraint on value.
43334 [C99-based standards] (WCHAR_MIN): Likewise.
43335 [C99-based standards] (WINT_MIN): Likewise.
43336 [C99-based standards] (*_t): Allow.
43337 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43338 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43339 Include math.h-data and complex.h-data. Remove all expectations
43340 of math.h and complex.h contents.
43341 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43342 at end of line.
43343 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43344 (struct tm): Expect tag.
43345 [C99-based-standards] (wcstof): Expect function.
43346 [C99-based-standards] (wcstold): Likewise.
43347 [C99-based-standards] (wcstoll): Likewise.
43348 [C99-based-standards] (wcstoull): Likewise.
43349 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43350 macro-int-constant. Specify type.
43351 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43352 constraint on value.
43353 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43354 Specify type.
43355 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43356 Specify value.
43357 [ISO C standards]: Do not allow headers.
43358 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43359 wcs[abcdefghijklmnopqrstuvwxyz]*.
43360 [ISO C standards] (*_t): Do not allow.
43361 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43362 Expect function.
43363 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43364 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43365 Specify type.
43366 [ISO C standards]: Do not allow headers.
43367 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43368 is[abcdefghijklmnopqrstuvwxyz]*.
43369 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43370 to[abcdefghijklmnopqrstuvwxyz]*.
43371 [ISO C standards] (*_t): Do not allow.
43372 * conform/data/stdalign.h-data: New file.
43373 * conform/data/stdbool.h-data: Likewise.
43374 * conform/data/stdnoreturn.h-data: Likewise.
43375
43376 2012-11-07 Roland McGrath <roland@hack.frob.com>
43377
43378 [BZ #14815]
43379 * manual/filesys.texi (Directory Entries): Typo fix.
43380 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43381
43382 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43383
43384 * elf/elf.h (EM_AARCH64): New macro.
43385 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43386 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43387 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43388 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43389 (R_AARCH64_TLSDESC): Likewise.
43390 (NT_ARM_TLS): Likewise.
43391 (NT_ARM_HW_BREAK): Likewise.
43392 (NT_ARM_HW_WATCH): Likewise.
43393
43394 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43395
43396 [BZ #14811]
43397 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43398 (__ieee754_powl): Saturate nonzero exponents with absolute value
43399 below 0x1p-79 to +/- 0x1p-79.
43400 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43401 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43402 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43403 nonzero exponents with absolute value below 0x1p-32 to +/-
43404 0x1p-32.
43405 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43406 (__ieee754_powl): Saturate nonzero exponents with absolute value
43407 below 0x1p-79 to +/- 0x1p-79.
43408 * math/libm-test.inc (pow_test): Add more tests.
43409
43410 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43411
43412 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43413 _dl_s390_cap_flags with kernel. Increase string length.
43414 (_dl_s390_platforms): Add z196 and zEC12.
43415
43416 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43417
43418 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43419 Change XOPEN21K to XOPEN2K.
43420
43421 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43422
43423 * string/memmove.c: Use memcpy when possible.
43424
43425 2012-11-06 Andreas Jaeger <aj@suse.de>
43426
43427 * po/eo.po: Update from translation team.
43428
43429 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43430
43431 [BZ #14793]
43432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43433 exponent and small x and y exponents, scale x or y up. Increase
43434 by 2 the exponent used in scaling up.
43435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43437 * math/libm-test.inc (fma_test): Add more tests.
43438 (fma_test_towardzero): Likewise.
43439 (fma_test_downward): Likewise.
43440 (fma_test_upward): Likewise.
43441
43442 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43443
43444 [BZ #14805]
43445 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43446 fenv_t *.
43447
43448 [BZ #14801]
43449 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43450 namespace for names of struct fields.
43451 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43452 fenv_t fields.
43453 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43454 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43455
43456 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43457
43458 [BZ #3665]
43459 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43460
43461 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43462
43463 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43464 PTR_DEMANGLE.
43465
43466 [BZ #5246]
43467 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43468 PTR_DEMANGLE.
43469
43470 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43471
43472 [BZ #14797]
43473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43474 definitely overflow as x * y not x * y + z.
43475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43477 * math/libm-test.inc (fma_test): Add more tests.
43478 (fma_test_towardzero): Likewise.
43479 (fma_test_downward): Likewise.
43480 (fma_test_upward): Likewise.
43481
43482 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43483
43484 [BZ #157]
43485
43486 * include/stub-tag.h: Remove file.
43487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43488 '#include' of it.
43489 * manual/maint.texi (Porting): Don't reference it.
43490 * Makerules ($(objpfx)stubs): Likewise.
43491 * dirent/closedir.c: Don't include <stub-tag.h>.
43492 * dirent/dirfd.c: Likewise.
43493 * dirent/fdopendir.c: Likewise.
43494 * dirent/getdents.c: Likewise.
43495 * dirent/getdents64.c: Likewise.
43496 * dirent/opendir.c: Likewise.
43497 * dirent/readdir.c: Likewise.
43498 * dirent/readdir64.c: Likewise.
43499 * dirent/readdir64_r.c: Likewise.
43500 * dirent/readdir_r.c: Likewise.
43501 * dirent/rewinddir.c: Likewise.
43502 * dirent/seekdir.c: Likewise.
43503 * dirent/telldir.c: Likewise.
43504 * gmon/profil.c: Likewise.
43505 * grp/setgroups.c: Likewise.
43506 * inet/if_index.c: Likewise.
43507 * io/access.c: Likewise.
43508 * io/chdir.c: Likewise.
43509 * io/chmod.c: Likewise.
43510 * io/chown.c: Likewise.
43511 * io/close.c: Likewise.
43512 * io/dup.c: Likewise.
43513 * io/dup2.c: Likewise.
43514 * io/dup3.c: Likewise.
43515 * io/euidaccess.c: Likewise.
43516 * io/faccessat.c: Likewise.
43517 * io/fchdir.c: Likewise.
43518 * io/fchmod.c: Likewise.
43519 * io/fchmodat.c: Likewise.
43520 * io/fchown.c: Likewise.
43521 * io/fchownat.c: Likewise.
43522 * io/fcntl.c: Likewise.
43523 * io/flock.c: Likewise.
43524 * io/fstatfs.c: Likewise.
43525 * io/fstatfs64.c: Likewise.
43526 * io/fstatvfs.c: Likewise.
43527 * io/fstatvfs64.c: Likewise.
43528 * io/futimens.c: Likewise.
43529 * io/fxstat.c: Likewise.
43530 * io/fxstat64.c: Likewise.
43531 * io/fxstatat.c: Likewise.
43532 * io/fxstatat64.c: Likewise.
43533 * io/getcwd.c: Likewise.
43534 * io/isatty.c: Likewise.
43535 * io/lchmod.c: Likewise.
43536 * io/lchown.c: Likewise.
43537 * io/link.c: Likewise.
43538 * io/linkat.c: Likewise.
43539 * io/lseek.c: Likewise.
43540 * io/lseek64.c: Likewise.
43541 * io/lxstat64.c: Likewise.
43542 * io/mkdir.c: Likewise.
43543 * io/mkdirat.c: Likewise.
43544 * io/mkfifo.c: Likewise.
43545 * io/mkfifoat.c: Likewise.
43546 * io/open.c: Likewise.
43547 * io/open64.c: Likewise.
43548 * io/openat.c: Likewise.
43549 * io/openat64.c: Likewise.
43550 * io/pipe.c: Likewise.
43551 * io/pipe2.c: Likewise.
43552 * io/poll.c: Likewise.
43553 * io/posix_fadvise.c: Likewise.
43554 * io/posix_fadvise64.c: Likewise.
43555 * io/posix_fallocate.c: Likewise.
43556 * io/posix_fallocate64.c: Likewise.
43557 * io/read.c: Likewise.
43558 * io/readlink.c: Likewise.
43559 * io/readlinkat.c: Likewise.
43560 * io/rmdir.c: Likewise.
43561 * io/sendfile.c: Likewise.
43562 * io/sendfile64.c: Likewise.
43563 * io/statfs.c: Likewise.
43564 * io/statfs64.c: Likewise.
43565 * io/statvfs.c: Likewise.
43566 * io/statvfs64.c: Likewise.
43567 * io/symlink.c: Likewise.
43568 * io/symlinkat.c: Likewise.
43569 * io/ttyname.c: Likewise.
43570 * io/ttyname_r.c: Likewise.
43571 * io/umask.c: Likewise.
43572 * io/unlink.c: Likewise.
43573 * io/unlinkat.c: Likewise.
43574 * io/utime.c: Likewise.
43575 * io/utimensat.c: Likewise.
43576 * io/write.c: Likewise.
43577 * io/xmknod.c: Likewise.
43578 * io/xmknodat.c: Likewise.
43579 * io/xstat.c: Likewise.
43580 * io/xstat64.c: Likewise.
43581 * login/getpt.c: Likewise.
43582 * login/grantpt.c: Likewise.
43583 * login/unlockpt.c: Likewise.
43584 * math/e_acoshl.c: Likewise.
43585 * math/e_acosl.c: Likewise.
43586 * math/e_asinl.c: Likewise.
43587 * math/e_atan2l.c: Likewise.
43588 * math/e_atanhl.c: Likewise.
43589 * math/e_coshl.c: Likewise.
43590 * math/e_expl.c: Likewise.
43591 * math/e_fmodl.c: Likewise.
43592 * math/e_gammal_r.c: Likewise.
43593 * math/e_hypotl.c: Likewise.
43594 * math/e_j0l.c: Likewise.
43595 * math/e_j1l.c: Likewise.
43596 * math/e_jnl.c: Likewise.
43597 * math/e_lgammal_r.c: Likewise.
43598 * math/e_log10l.c: Likewise.
43599 * math/e_log2l.c: Likewise.
43600 * math/e_logl.c: Likewise.
43601 * math/e_powl.c: Likewise.
43602 * math/e_rem_pio2l.c: Likewise.
43603 * math/e_sinhl.c: Likewise.
43604 * math/e_sqrtl.c: Likewise.
43605 * math/fclrexcpt.c: Likewise.
43606 * math/fedisblxcpt.c: Likewise.
43607 * math/feenablxcpt.c: Likewise.
43608 * math/fegetenv.c: Likewise.
43609 * math/fegetexcept.c: Likewise.
43610 * math/fegetround.c: Likewise.
43611 * math/feholdexcpt.c: Likewise.
43612 * math/fesetenv.c: Likewise.
43613 * math/fesetround.c: Likewise.
43614 * math/feupdateenv.c: Likewise.
43615 * math/fgetexcptflg.c: Likewise.
43616 * math/fraiseexcpt.c: Likewise.
43617 * math/fsetexcptflg.c: Likewise.
43618 * math/ftestexcept.c: Likewise.
43619 * math/k_cosl.c: Likewise.
43620 * math/k_rem_pio2l.c: Likewise.
43621 * math/k_sinl.c: Likewise.
43622 * math/k_tanl.c: Likewise.
43623 * math/s_asinhl.c: Likewise.
43624 * math/s_atanl.c: Likewise.
43625 * math/s_cbrtl.c: Likewise.
43626 * math/s_erfl.c: Likewise.
43627 * math/s_expm1l.c: Likewise.
43628 * math/s_log1pl.c: Likewise.
43629 * math/s_tanhl.c: Likewise.
43630 * misc/acct.c: Likewise.
43631 * misc/brk.c: Likewise.
43632 * misc/chflags.c: Likewise.
43633 * misc/chroot.c: Likewise.
43634 * misc/fchflags.c: Likewise.
43635 * misc/fgetxattr.c: Likewise.
43636 * misc/flistxattr.c: Likewise.
43637 * misc/fremovexattr.c: Likewise.
43638 * misc/fsetxattr.c: Likewise.
43639 * misc/fsync.c: Likewise.
43640 * misc/ftruncate.c: Likewise.
43641 * misc/futimes.c: Likewise.
43642 * misc/futimesat.c: Likewise.
43643 * misc/getdomain.c: Likewise.
43644 * misc/getdtsz.c: Likewise.
43645 * misc/gethostid.c: Likewise.
43646 * misc/gethostname.c: Likewise.
43647 * misc/getloadavg.c: Likewise.
43648 * misc/getpagesize.c: Likewise.
43649 * misc/getsysstats.c: Likewise.
43650 * misc/getxattr.c: Likewise.
43651 * misc/gtty.c: Likewise.
43652 * misc/ioctl.c: Likewise.
43653 * misc/lgetxattr.c: Likewise.
43654 * misc/listxattr.c: Likewise.
43655 * misc/llistxattr.c: Likewise.
43656 * misc/lremovexattr.c: Likewise.
43657 * misc/lsetxattr.c: Likewise.
43658 * misc/lutimes.c: Likewise.
43659 * misc/madvise.c: Likewise.
43660 * misc/mincore.c: Likewise.
43661 * misc/mlock.c: Likewise.
43662 * misc/mlockall.c: Likewise.
43663 * misc/mmap.c: Likewise.
43664 * misc/mprotect.c: Likewise.
43665 * misc/msync.c: Likewise.
43666 * misc/munlock.c: Likewise.
43667 * misc/munlockall.c: Likewise.
43668 * misc/munmap.c: Likewise.
43669 * misc/preadv.c: Likewise.
43670 * misc/preadv64.c: Likewise.
43671 * misc/ptrace.c: Likewise.
43672 * misc/pwritev.c: Likewise.
43673 * misc/pwritev64.c: Likewise.
43674 * misc/readv.c: Likewise.
43675 * misc/reboot.c: Likewise.
43676 * misc/remap_file_pages.c: Likewise.
43677 * misc/removexattr.c: Likewise.
43678 * misc/revoke.c: Likewise.
43679 * misc/select.c: Likewise.
43680 * misc/setdomain.c: Likewise.
43681 * misc/setegid.c: Likewise.
43682 * misc/seteuid.c: Likewise.
43683 * misc/sethostid.c: Likewise.
43684 * misc/sethostname.c: Likewise.
43685 * misc/setregid.c: Likewise.
43686 * misc/setreuid.c: Likewise.
43687 * misc/setxattr.c: Likewise.
43688 * misc/sstk.c: Likewise.
43689 * misc/stty.c: Likewise.
43690 * misc/swapoff.c: Likewise.
43691 * misc/swapon.c: Likewise.
43692 * misc/sync.c: Likewise.
43693 * misc/syncfs.c: Likewise.
43694 * misc/syscall.c: Likewise.
43695 * misc/truncate.c: Likewise.
43696 * misc/ualarm.c: Likewise.
43697 * misc/usleep.c: Likewise.
43698 * misc/ustat.c: Likewise.
43699 * misc/utimes.c: Likewise.
43700 * misc/vhangup.c: Likewise.
43701 * misc/writev.c: Likewise.
43702 * posix/_exit.c: Likewise.
43703 * posix/alarm.c: Likewise.
43704 * posix/execve.c: Likewise.
43705 * posix/fexecve.c: Likewise.
43706 * posix/fork.c: Likewise.
43707 * posix/fpathconf.c: Likewise.
43708 * posix/getaddrinfo.c: Likewise.
43709 * posix/getegid.c: Likewise.
43710 * posix/geteuid.c: Likewise.
43711 * posix/getgid.c: Likewise.
43712 * posix/getgroups.c: Likewise.
43713 * posix/getlogin.c: Likewise.
43714 * posix/getlogin_r.c: Likewise.
43715 * posix/getpgid.c: Likewise.
43716 * posix/getpid.c: Likewise.
43717 * posix/getppid.c: Likewise.
43718 * posix/getresgid.c: Likewise.
43719 * posix/getresuid.c: Likewise.
43720 * posix/getsid.c: Likewise.
43721 * posix/getuid.c: Likewise.
43722 * posix/glob64.c: Likewise.
43723 * posix/nanosleep.c: Likewise.
43724 * posix/pathconf.c: Likewise.
43725 * posix/pause.c: Likewise.
43726 * posix/posix_madvise.c: Likewise.
43727 * posix/pread.c: Likewise.
43728 * posix/pread64.c: Likewise.
43729 * posix/pwrite.c: Likewise.
43730 * posix/pwrite64.c: Likewise.
43731 * posix/sched_getaffinity.c: Likewise.
43732 * posix/sched_getp.c: Likewise.
43733 * posix/sched_gets.c: Likewise.
43734 * posix/sched_primax.c: Likewise.
43735 * posix/sched_primin.c: Likewise.
43736 * posix/sched_rr_gi.c: Likewise.
43737 * posix/sched_setaffinity.c: Likewise.
43738 * posix/sched_setp.c: Likewise.
43739 * posix/sched_sets.c: Likewise.
43740 * posix/sched_yield.c: Likewise.
43741 * posix/setgid.c: Likewise.
43742 * posix/setlogin.c: Likewise.
43743 * posix/setpgid.c: Likewise.
43744 * posix/setresgid.c: Likewise.
43745 * posix/setresuid.c: Likewise.
43746 * posix/setsid.c: Likewise.
43747 * posix/setuid.c: Likewise.
43748 * posix/sleep.c: Likewise.
43749 * posix/spawni.c: Likewise.
43750 * posix/sysconf.c: Likewise.
43751 * posix/times.c: Likewise.
43752 * posix/wait.c: Likewise.
43753 * posix/wait3.c: Likewise.
43754 * posix/wait4.c: Likewise.
43755 * posix/waitpid.c: Likewise.
43756 * resolv/gai_sigqueue.c: Likewise.
43757 * resource/getpriority.c: Likewise.
43758 * resource/getrlimit.c: Likewise.
43759 * resource/getrusage.c: Likewise.
43760 * resource/nice.c: Likewise.
43761 * resource/setpriority.c: Likewise.
43762 * resource/setrlimit.c: Likewise.
43763 * resource/ulimit.c: Likewise.
43764 * rt/aio_cancel.c: Likewise.
43765 * rt/aio_fsync.c: Likewise.
43766 * rt/aio_read.c: Likewise.
43767 * rt/aio_sigqueue.c: Likewise.
43768 * rt/aio_suspend.c: Likewise.
43769 * rt/aio_write.c: Likewise.
43770 * rt/clock_getres.c: Likewise.
43771 * rt/clock_gettime.c: Likewise.
43772 * rt/clock_nanosleep.c: Likewise.
43773 * rt/clock_settime.c: Likewise.
43774 * rt/lio_listio.c: Likewise.
43775 * rt/mq_close.c: Likewise.
43776 * rt/mq_getattr.c: Likewise.
43777 * rt/mq_notify.c: Likewise.
43778 * rt/mq_open.c: Likewise.
43779 * rt/mq_receive.c: Likewise.
43780 * rt/mq_send.c: Likewise.
43781 * rt/mq_setattr.c: Likewise.
43782 * rt/mq_timedreceive.c: Likewise.
43783 * rt/mq_timedsend.c: Likewise.
43784 * rt/mq_unlink.c: Likewise.
43785 * rt/shm_open.c: Likewise.
43786 * rt/shm_unlink.c: Likewise.
43787 * rt/timer_create.c: Likewise.
43788 * rt/timer_delete.c: Likewise.
43789 * rt/timer_getoverr.c: Likewise.
43790 * rt/timer_gettime.c: Likewise.
43791 * rt/timer_settime.c: Likewise.
43792 * setjmp/__longjmp.c: Likewise.
43793 * setjmp/setjmp.c: Likewise.
43794 * signal/kill.c: Likewise.
43795 * signal/killpg.c: Likewise.
43796 * signal/raise.c: Likewise.
43797 * signal/sigaction.c: Likewise.
43798 * signal/sigaltstack.c: Likewise.
43799 * signal/sigblock.c: Likewise.
43800 * signal/sigignore.c: Likewise.
43801 * signal/sigintr.c: Likewise.
43802 * signal/signal.c: Likewise.
43803 * signal/sigpause.c: Likewise.
43804 * signal/sigpending.c: Likewise.
43805 * signal/sigqueue.c: Likewise.
43806 * signal/sigreturn.c: Likewise.
43807 * signal/sigset.c: Likewise.
43808 * signal/sigsetmask.c: Likewise.
43809 * signal/sigstack.c: Likewise.
43810 * signal/sigsuspend.c: Likewise.
43811 * signal/sigtimedwait.c: Likewise.
43812 * signal/sigvec.c: Likewise.
43813 * signal/sigwait.c: Likewise.
43814 * signal/sigwaitinfo.c: Likewise.
43815 * signal/sysv_signal.c: Likewise.
43816 * socket/accept.c: Likewise.
43817 * socket/accept4.c: Likewise.
43818 * socket/bind.c: Likewise.
43819 * socket/connect.c: Likewise.
43820 * socket/getpeername.c: Likewise.
43821 * socket/getsockname.c: Likewise.
43822 * socket/getsockopt.c: Likewise.
43823 * socket/isfdtype.c: Likewise.
43824 * socket/listen.c: Likewise.
43825 * socket/recv.c: Likewise.
43826 * socket/recvfrom.c: Likewise.
43827 * socket/recvmsg.c: Likewise.
43828 * socket/send.c: Likewise.
43829 * socket/sendmsg.c: Likewise.
43830 * socket/sendto.c: Likewise.
43831 * socket/setsockopt.c: Likewise.
43832 * socket/shutdown.c: Likewise.
43833 * socket/sockatmark.c: Likewise.
43834 * socket/socket.c: Likewise.
43835 * socket/socketpair.c: Likewise.
43836 * stdio-common/ctermid.c: Likewise.
43837 * stdio-common/cuserid.c: Likewise.
43838 * stdio-common/remove.c: Likewise.
43839 * stdio-common/rename.c: Likewise.
43840 * stdio-common/renameat.c: Likewise.
43841 * stdio-common/tempname.c: Likewise.
43842 * stdlib/getcontext.c: Likewise.
43843 * stdlib/makecontext.c: Likewise.
43844 * stdlib/setcontext.c: Likewise.
43845 * stdlib/swapcontext.c: Likewise.
43846 * stdlib/system.c: Likewise.
43847 * streams/fattach.c: Likewise.
43848 * streams/fdetach.c: Likewise.
43849 * streams/getmsg.c: Likewise.
43850 * streams/getpmsg.c: Likewise.
43851 * streams/putmsg.c: Likewise.
43852 * streams/putpmsg.c: Likewise.
43853 * sysdeps/unix/bsd/getpt.c: Likewise.
43854 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43855 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43856 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43858 Likewise.
43859 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43860 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43861 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43862 * sysvipc/msgctl.c: Likewise.
43863 * sysvipc/msgget.c: Likewise.
43864 * sysvipc/msgrcv.c: Likewise.
43865 * sysvipc/msgsnd.c: Likewise.
43866 * sysvipc/semctl.c: Likewise.
43867 * sysvipc/semget.c: Likewise.
43868 * sysvipc/semop.c: Likewise.
43869 * sysvipc/semtimedop.c: Likewise.
43870 * sysvipc/shmat.c: Likewise.
43871 * sysvipc/shmctl.c: Likewise.
43872 * sysvipc/shmdt.c: Likewise.
43873 * sysvipc/shmget.c: Likewise.
43874 * termios/tcdrain.c: Likewise.
43875 * termios/tcflow.c: Likewise.
43876 * termios/tcflush.c: Likewise.
43877 * termios/tcgetattr.c: Likewise.
43878 * termios/tcgetpgrp.c: Likewise.
43879 * termios/tcsendbrk.c: Likewise.
43880 * termios/tcsetattr.c: Likewise.
43881 * termios/tcsetpgrp.c: Likewise.
43882 * time/adjtime.c: Likewise.
43883 * time/clock.c: Likewise.
43884 * time/getitimer.c: Likewise.
43885 * time/gettimeofday.c: Likewise.
43886 * time/setitimer.c: Likewise.
43887 * time/settimeofday.c: Likewise.
43888 * time/stime.c: Likewise.
43889 * time/time.c: Likewise.
43890
43891 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43892
43893 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43894 /usr/old/bin.
43895
43896 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43897 instead of spaces.
43898 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43899
43900 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43901
43902 [BZ #14796]
43903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43904 FE_TONEAREST before applying Dekker multiplication and Knuth
43905 addition. Clear inexact exceptions and check for exact zero
43906 results afterwards.
43907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43910 * math/libm-test.inc (fma_test): Add more tests.
43911 (fma_test_towardzero): Likewise.
43912 (fma_test_downward): Likewise.
43913 (fma_test_upward): Likewise.
43914 * sysdeps/generic/math_private.h (default_libc_fesetround): New
43915 function.
43916 (libc_fesetround): New macro.
43917 (libc_fesetroundf): Likewise.
43918 (libc_fesetroundl): Likewise.
43919 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43920 function.
43921 (libc_fesetround_387): Likewise.
43922 (libc_fesetroundf): New macro.
43923 (libc_fesetround): Likewise.
43924 (libc_fesetroundl): Likewise.
43925 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43926 function.
43927 (libc_fesetroundf): New macro.
43928 (libc_fesetround): Likewise.
43929 (libc_fesetroundl): Likewise.
43930 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43931 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43932 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43933 libm_hidden_ver.
43934 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43935 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43936 libm_hidden_def.
43937 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43938 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43939 libm_hidden_ver.
43940 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43941 libm_hidden_def.
43942
43943 [BZ #3439]
43944 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43945 integer constant usable in #if and use that to give value to enum
43946 constant.
43947 (FE_DIVBYZERO): Likewise.
43948 (FE_UNDERFLOW): Likewise.
43949 (FE_OVERFLOW): Likewise.
43950 (FE_INVALID): Likewise.
43951 (FE_INVALID_SNAN): Likewise.
43952 (FE_INVALID_ISI): Likewise.
43953 (FE_INVALID_IDI): Likewise.
43954 (FE_INVALID_ZDZ): Likewise.
43955 (FE_INVALID_IMZ): Likewise.
43956 (FE_INVALID_COMPARE): Likewise.
43957 (FE_INVALID_SOFTWARE): Likewise.
43958 (FE_INVALID_SQRT): Likewise.
43959 (FE_INVALID_INTEGER_CONVERSION): Likewise.
43960 (FE_TONEAREST): Likewise.
43961 (FE_TOWARDZERO): Likewise.
43962 (FE_UPWARD): Likewise.
43963 (FE_DOWNWARD): Likewise.
43964 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43965 (FE_DIVBYZERO): Likewise.
43966 (FE_OVERFLOW): Likewise.
43967 (FE_UNDERFLOW): Likewise.
43968 (FE_INEXACT): Likewise.
43969 (FE_TONEAREST): Likewise.
43970 (FE_DOWNWARD): Likewise.
43971 (FE_UPWARD): Likewise.
43972 (FE_TOWARDZERO): Likewise.
43973 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43974 (FE_UNDERFLOW): Likewise.
43975 (FE_OVERFLOW): Likewise.
43976 (FE_DIVBYZERO): Likewise.
43977 (FE_INVALID): Likewise.
43978 (FE_TONEAREST): Likewise.
43979 (FE_TOWARDZERO): Likewise.
43980 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43981 (FE_OVERFLOW): Likewise.
43982 (FE_UNDERFLOW): Likewise.
43983 (FE_DIVBYZERO): Likewise.
43984 (FE_INEXACT): Likewise.
43985 (FE_TONEAREST): Likewise.
43986 (FE_TOWARDZERO): Likewise.
43987 (FE_UPWARD): Likewise.
43988 (FE_DOWNWARD): Likewise.
43989 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43990 (FE_DIVBYZERO): Likewise.
43991 (FE_OVERFLOW): Likewise.
43992 (FE_UNDERFLOW): Likewise.
43993 (FE_INEXACT): Likewise.
43994 (FE_TONEAREST): Likewise.
43995 (FE_DOWNWARD): Likewise.
43996 (FE_UPWARD): Likewise.
43997 (FE_TOWARDZERO): Likewise.
43998
43999 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44000
44001 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44002
44003 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44004
44005 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44006 commands. Quote $PWD.
44007 (blacklist_exports): Don't use remove_newlines. Replace "declare
44008 -x" by "export".
44009 (remove_newlines): Remove.
44010
44011 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44012
44013 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44014 * stdlib/stdlib.h (atof): Moved to ...
44015 * include/bits/stdlib-float.h: Here. New file.
44016 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44017 * stdlib/bits/stdlib-float.h: New file.
44018 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44019 -mno-sse -mno-mmx.
44020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44021 <xmmintrin.h>.
44022
44023 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44024
44025 * conform/conformtest.pl (@headers): Add fenv.h.
44026 * conform/data/fenv.h-data: New file.
44027 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44028 include of <math/fenv.h>.
44029
44030 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44031 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44032 && !UNIX98]. Enables tests for XOPEN2K8.
44033 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44034 POSIX2008]: Likewise.
44035
44036 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44037 (struct rusage): Do not expect type or its members.
44038
44039 [BZ #3439]
44040 * math/math.h (FP_NAN): Define macro to integer constant usable in
44041 #if and use that to give value to enum constant.
44042 (FP_INFINITE): Likewise.
44043 (FP_ZERO): Likewise.
44044 (FP_SUBNORMAL): Likewise.
44045 (FP_NORMAL): Likewise.
44046
44047 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44048
44049 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44050 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44051 arguments.
44052
44053 2012-11-02 Roland McGrath <roland@hack.frob.com>
44054
44055 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44056 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44057 autoconf-time if not.
44058 * configure.in: Remove AC_PREREQ.
44059
44060 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44061
44062 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44063 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44064 of the internal implementation.
44065
44066 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44067
44068 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44069 except include of <misc/sys/syslog.h>.
44070
44071 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44072
44073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44074 function returns with a NULL context exit with zero.
44075
44076 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44077
44078 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44079
44080 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44081
44082 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44083 (run_program_cmd): This.
44084 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44085 (tst_langinfo): New variable. Use it.
44086
44087 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44088
44089 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44090 floating point opcodes.
44091
44092 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44093
44094 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44095 variable.
44096
44097 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44098
44099 * sysdeps/mach/hurd/powerpc: Remove directory.
44100 * sysdeps/mach/powerpc: Likewise.
44101
44102 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44103
44104 * scripts/check-local-headers.sh: Ignore c++ headers.
44105
44106 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44107
44108 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44109 __libc_cleanup_region_start argument.
44110
44111 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44112
44113 [BZ #14784]
44114 [BZ #14785]
44115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44116 x * y using scaling, not as x * y + z.
44117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44119 * math/libm-test.inc (fma_test): Add more tests.
44120 (fma_test_towardzero): Likewise.
44121 (fma_test_downward): Likewise.
44122 (fma_test_upward): Likewise.
44123
44124 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44125
44126 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44127
44128 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44129
44130 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44131 New variable.
44132
44133 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44134
44135 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44136
44137 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44138
44139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44140 Fix sort order.
44141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44142 Likewise.
44143
44144 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44145
44146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44147 Fix the order of the list for glibc 2.17.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44149 Likewise.
44150
44151 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44152
44153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44154
44155 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44156
44157 [BZ #14610]
44158 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44159 for low part of x being zero before using __atanl (y).
44160 * math/libm-test.inc (atan2_test): Add another test.
44161
44162 * manual/install.texi (Configuring and compiling): Document
44163 general use of test-wrapper and test-wrapper-env.
44164 * INSTALL: Regenerated.
44165
44166 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44167 (__fma): Do not extract and scale down low bits on after-rounding
44168 systems when result rounded to normal precision would have normal
44169 exponent.
44170 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44171 (__fmal): Do not extract and scale down low bits on after-rounding
44172 systems when result rounded to normal precision would have normal
44173 exponent.
44174 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44175 (__fmal): Do not extract and scale down low bits on after-rounding
44176 systems when result rounded to normal precision would have normal
44177 exponent.
44178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44179 macro.
44180 (fma_test): Add more tests.
44181 (fma_test_towardzero): Likewise.
44182 (fma_test_downward): Likewise.
44183 (fma_test_upward): Likewise.
44184
44185 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44186
44187 * sysdeps/i386/tininess.h: Renamed to ...
44188 * sysdeps/x86/tininess.h: This.
44189 * sysdeps/x86_64/tininess.h: Removed.
44190
44191 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44192
44193 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44194 input. Use $(build-program-cmd).
44195 ($(objpfx)tst-array1-static.out): Likewise.
44196 ($(objpfx)tst-array2.out): Likewise.
44197 ($(objpfx)tst-array3.out): Likewise.
44198 ($(objpfx)tst-array4.out): Likewise.
44199 ($(objpfx)tst-array5.out): Likewise.
44200 ($(objpfx)tst-array5-static.out): Likewise.
44201
44202 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44203
44204 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44205 if defined.
44206
44207 * nss/nsswitch.h (nss_interface_function): Provide new
44208 macro for use with NSS functions.
44209 * grp/initgroups.c: Use new macro.
44210 * nss/getXXbyYY.c: Likewise.
44211 * nss/getXXbyYY_r.c: Likewise.
44212 * nss/getXXent.c: Likewise.
44213 * nss/getXXent_r.c: Likewise.
44214 * sysdeps/posix/getaddrinfo.c: Likewise.
44215
44216 2012-10-30 Andreas Jaeger <aj@suse.de>
44217
44218 * po/ru.po: Update Russion translation from translation project.
44219
44220 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #14152]
44223 [BZ #14783]
44224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44225 result and shift together with sticky bit instead of replicating
44226 round-to-nearest rounding.
44227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44229 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44230 missing underflow exceptions.
44231 (fma_test_towardzero): Add more tests.
44232 (fma_test_downward): Likewise.
44233 (fma_test_upward): Likewise.
44234
44235 [BZ #14047]
44236 * sysdeps/generic/tininess.h: New file.
44237 * sysdeps/i386/tininess.h: Likewise.
44238 * sysdeps/sh/tininess.h: Likewise.
44239 * sysdeps/x86_64/tininess.h: Likewise.
44240 * stdlib/tst-strtod-underflow.c: Likewise.
44241 * stdlib/tst-tininess.c: Likewise.
44242 * stdlib/strtod_l.c: Include <tininess.h>.
44243 (round_and_return): Do not set errno for exact underflow cases.
44244 Force an underflow exception when setting errno for underflow.
44245 Determine underflow based on rounding to normal precision if
44246 TININESS_AFTER_ROUNDING.
44247 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44248 ERANGE for exact underflow cases.
44249 * stdlib/Makefile (tests): Add tst-tininess and
44250 tst-strtod-underflow.
44251 ($(objpfx)tst-tininess): Use $(link-libm).
44252 ($(objpfx)tst-strtod-underflow): Likewise.
44253
44254 2012-10-30 Andreas Jaeger <aj@suse.de>
44255
44256 [BZ#14767]
44257 * elf/Makefile (tests): Remove conditional for have-initfini-array
44258 since this is now always required and the variable does not exist
44259 anymore.
44260 (tests-static): Likewise.
44261 (modules-names): Likewise.
44262
44263 * po/eo.po: Add Esperanto translation from translation project.
44264
44265 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44266 merged with constructor/destructor.
44267 (init_array): Likewise.
44268 * elf/tst-array2dep.c (fini_array): Likewise.
44269 (init_array): Likewise.
44270
44271 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44272
44273 * manual/message.texi: Delete @cartouche tags.
44274
44275 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44276
44277 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44278 EOPNOTSUPP.
44279 * sysdeps/mach/hurd/fsync.c: Likewise.
44280
44281 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44282 [_POSIX_REALTIME_SIGNALS]: Change condition to
44283 [_POSIX_REALTIME_SIGNALS > 0].
44284
44285 2012-10-27 Andreas Jaeger <aj@suse.de>
44286
44287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44288 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44290 [__WORDSIZE != 64]: Likewise.
44291
44292 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44293
44294 * iconvdata/tst-table.sh: Remove ${SHELL}.
44295 * iconvdata/tst-tables.sh: Likewise.
44296
44297 2012-10-25 David S. Miller <davem@davemloft.net>
44298
44299 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44300 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44301 of strtoull.
44302
44303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44304 ifunc-impl-list.c
44305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44306 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44307 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44308 file.
44309
44310 2012-10-25 Roland McGrath <roland@hack.frob.com>
44311
44312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44313 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44314 __getdirentries.
44315
44316 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44317 Jim Blandy <jimb@codesourcery.com>
44318
44319 * scripts/cross-test-ssh.sh: New file.
44320 * manual/install.texi (Configuring and compiling): Document use of
44321 cross-test-ssh.sh.
44322 * INSTALL: Regenerated.
44323
44324 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44325
44326 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44327 EOPNOTSUPP.
44328
44329 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44330
44331 * Makeconfig (run-program-prefix): Fix comment.
44332
44333 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44334 Jim Blandy <jimb@codesourcery.com>
44335
44336 * Makeconfig (test-wrapper): New variable,
44337 (test-wrapper-env): Likewise.
44338 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44339 (run-built-tests): Define to yes.
44340 (run-program-prefix): Use $(test-wrapper).
44341 (built-program-cmd): Likewise.
44342 * Rules (make-test-out): Use $(test-wrapper-env) and
44343 $(host-built-program-cmd).
44344 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44345 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44346 tst-pathopt.sh.
44347 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44348 $(test-wrapper-env) to tst-rtld-load-self.sh.
44349 ($(objpfx)order2.out): Use $(test-wrapper).
44350 ($(objpfx)tst-initorder.out): Likewise.
44351 ($(objpfx)tst-initorder2.out): Likewise.
44352 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44353 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44354 (test_wrapper_env): New variable. Use it to run ld.so.
44355 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44356 Use it to run ld.so.
44357 (test_wrapper_env): Likewise.
44358 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44359 $(test-wrapper) to run-iconv-test.sh.
44360 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44361 (ICONV): Use $test_wrapper.
44362 * posix/Makefile ($(objpfx)globtest.out): Pass
44363 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44364 globtest.sh, not $(run-program-prefix).
44365 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44366 (test_wrapper): Likewise.
44367 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44368 set together with run_via_rtld_prefix.
44369 (run_program_prefix): Define in terms of test_wrapper and
44370 run_via_rtld_prefix.
44371
44372 2012-10-24 Roland McGrath <roland@hack.frob.com>
44373
44374 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44375 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44376 Targets removed.
44377
44378 [BZ #14743]
44379 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44380 Declare __clock_getres, __clock_gettime, __clock_settime,
44381 __clock_nanosleep, and __clock_getcpuclockid.
44382 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44383 Remove librt_hidden_def (clock_gettime).
44384 * sysdeps/unix/clock_gettime.c: Likewise.
44385 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44387 * rt/clock_getres.c: Define __clock_getres as an alias.
44388 * sysdeps/posix/clock_getres.c: Likewise.
44389 * rt/clock_settime.c: Define __clock_settime as an alias.
44390 * sysdeps/unix/clock_settime.c: Likewise.
44391 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44392 * sysdeps/unix/clock_nanosleep.c: Likewise.
44393 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44394 * rt/clock-compat.c: New file.
44395 * rt/Makefile (librt-routines): Add clock-compat and move
44396 $(clock-routines) to ...
44397 (routines): ... here, new variable.
44398 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44399 Don't add get_clockfreq here.
44400 * rt/Versions (libc: GLIBC_2.17): New version set.
44401 Add clock_* symbols here.
44402 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44404 (GLIBC_2.17): Add clock_* symbols.
44405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44409 Likewise.
44410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44411 Likewise.
44412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44416 * NEWS: Mention the move.
44417
44418 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44419 Use __open, __read, __close rather than their public counterparts.
44420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44421 (__get_clockfreq_via_cpuinfo): Likewise.
44422 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44423 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44424
44425 * config.h.in (HAVE_IFUNC): New #undef.
44426 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44427 was successful.
44428 * configure: Regenerated.
44429
44430 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44431
44432 * configure.in: Move READELF check to start of file.
44433 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44434 libc_cv_asm_gnu_indirect_function in the process.
44435 * configure: Regenerated.
44436
44437 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44438
44439 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44440 send the output to /dev/null.
44441 (libc_cv_cc_with_libunwind): Likewise.
44442 (libc_cv_as_noexecstack): Likewise.
44443 * configure: Regenerate.
44444
44445 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44446
44447 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44448
44449 * posix/globtest.sh (TMPDIR): Do not set.
44450 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44451 (testout): Likewise.
44452
44453 2012-10-24 Andreas Jaeger <aj@suse.de>
44454
44455 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44456 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44457 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44458 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44459 posix_fadvise64, posix_fallocate64.
44460
44461 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44462 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44463 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44464 Likewise.
44465 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44466 Likewise.
44467 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44468
44469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44470 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44471 <bits/fcntl-linux.h>.
44472 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44473
44474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44475 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44476 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44477 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44478 [__WORDSIZE != 64]: Likewise.
44479
44480 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44481
44482 * Makeconfig (run-built-tests): New variable.
44483 * Rules [$(cross-compiling) = yes]: Change condition to
44484 [$(run-built-tests) = no].
44485 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44486 to [$(run-built-tests) = yes].
44487 * elf/Makefile [$(cross-compiling) = no]: Likewise
44488 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44489 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44490 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44491 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44492 * io/Makefile [$(cross-compiling) = no]: Likewise.
44493 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44494 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44495 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44496 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44497 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44498 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44499 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44500 * string/Makefile [$(cross-compiling) = no]: Likewise.
44501
44502 * posix/Makefile ($(objpfx)globtest.out): Pass
44503 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44504 $(rtld-installed-name).
44505 * posix/globtest.sh (elf_objpfx): Remove variable.
44506 (rtld_installed_name): Likewise.
44507 (library_path): Likewise.
44508 (run_program_prefix): New variable. Use for running globtest
44509 binary.
44510
44511 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44512 Joseph Myers <joseph@codesourcery.com>
44513
44514 * Makeconfig (host-built-program-cmd): New variable.
44515 * elf/Makefile (tst-stackguard1-ARGS): Use
44516 $(host-built-program-cmd).
44517 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44518 (tst-spawn-ARGS): Likewise.
44519 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44520
44521 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44522 Jim Blandy <jimb@codesourcery.com>
44523
44524 * Makeconfig (run-via-rtld-prefix): New variable.
44525 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44526 (built-program-cmd): Likewise.
44527
44528 2012-10-22 Andreas Jaeger <aj@suse.de>
44529
44530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44531 __O_RSYNC if it exists, otherwise to O_SYNC.
44532
44533 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44534 Joseph Myers <joseph@codesourcery.com>
44535
44536 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44537 /dev/null.
44538 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44539 from /dev/null
44540 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44541 /dev/null.
44542
44543 2012-10-22 Andreas Jaeger <aj@suse.de>
44544
44545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44546 Define always.
44547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44548
44549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44550 bits/fcntl-linux.h.
44551
44552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44553 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44554
44555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44556 to __O_LARGEFILE.
44557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44558 to __O_LARGEFILE.
44559
44560 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44561 Joseph Myers <joseph@codesourcery.com>
44562
44563 * config.make.in (NM): New variable.
44564
44565 2012-10-21 Andreas Jaeger <aj@suse.de>
44566
44567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44568 definitions and declarations that are provided by
44569 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44570
44571 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44572
44573 [BZ #14683]
44574 * elf/Makefile (tests-static): Add tst-leaks1-static.
44575 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44576 ($(objpfx)tst-leaks1-static): New rule.
44577 ($(objpfx)tst-leaks1-static-mem): Likewise.
44578 (tst-leaks1-static-ENV): New macro.
44579 * elf/dl-open.c (dl_open_worker): Check the main application
44580 only if SHARED is defined.
44581 * elf/tst-leaks1-static.c: New file.
44582
44583 2012-10-20 Andreas Jaeger <aj@suse.de>
44584
44585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44586 generic values for Linux.
44587 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44588 and declarations that are provided by <bits/fcntl-linux.h> and
44589 include <bits/fcntl-linux.h>.
44590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44592
44593 2012-10-20 Roland McGrath <roland@hack.frob.com>
44594
44595 * io/fcntl.h: Move include of <bits/types.h> to the top and
44596 include it unconditionally.
44597
44598 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44599
44600 * wcsmbs/Makefile (tests-ifunc): New variable.
44601 (tests): Add $(tests-ifunc).
44602 * wcsmbs/test-wcschr-ifunc.c: New file.
44603 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44604 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44605 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44606 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44607 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44608
44609 * string/Makefile (tests-ifunc): New variable.
44610 (tests): Add $(tests-ifunc).
44611 * string/test-memccpy.c (TEST_NAME): New macro.
44612 * string/test-memchr.c (TEST_NAME): Likewise.
44613 * string/test-memcmp.c (TEST_NAME): Likewise.
44614 * string/test-memcpy.c (TEST_NAME): Likewise.
44615 * string/test-memmem.c (TEST_NAME): Likewise.
44616 * string/test-memmove.c (TEST_NAME): Likewise.
44617 * string/test-memset.c (TEST_NAME): Likewise.
44618 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44619 * string/test-stpcpy.c (TEST_NAME): Likewise.
44620 * string/test-stpncpy.c (TEST_NAME): Likewise.
44621 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44622 * string/test-strcasestr.c (TEST_NAME): Likewise.
44623 * string/test-strcat.c (TEST_NAME): Likewise.
44624 * string/test-strchr.c (TEST_NAME): Likewise.
44625 * string/test-strcmp.c(TEST_NAME): Likewise.
44626 * string/test-strcpy.c (TEST_NAME): Likewise.
44627 * string/test-strcspn.c (TEST_NAME): Likewise.
44628 * string/test-strlen.c (TEST_NAME): Likewise.
44629 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44630 * string/test-strncmp.c (TEST_NAME): Likewise.
44631 * string/test-strncpy.c (TEST_NAME): Likewise.
44632 * string/test-strnlen.c (TEST_NAME): Likewise.
44633 * string/test-strpbrk.c (TEST_NAME): Likewise.
44634 * string/test-strrchr.c (TEST_NAME): Likewise.
44635 * string/test-strspn.c (TEST_NAME): Likewise.
44636 * string/test-strstr.c (TEST_NAME): Likewise.
44637 * string/test-bcopy-ifunc.c: New file.
44638 * string/test-bzero-ifunc.c: Likewise.
44639 * string/test-memccpy-ifunc.c: Likewise.
44640 * string/test-memchr-ifunc.c: Likewise.
44641 * string/test-memcmp-ifunc.c: Likewise.
44642 * string/test-memcpy-ifunc.c: Likewise.
44643 * string/test-memmem-ifunc.c: Likewise.
44644 * string/test-memmove-ifunc.c: Likewise.
44645 * string/test-mempcpy-ifunc.c: Likewise.
44646 * string/test-memset-ifunc.c: Likewise.
44647 * string/test-rawmemchr-ifunc.c: Likewise.
44648 * string/test-stpcpy-ifunc.c: Likewise.
44649 * string/test-stpncpy-ifunc.c: Likewise.
44650 * string/test-strcasecmp-ifunc.c: Likewise.
44651 * string/test-strcasestr-ifunc.c: Likewise.
44652 * string/test-strcat-ifunc.c: Likewise.
44653 * string/test-strchr-ifunc.c: Likewise.
44654 * string/test-strchrnul-ifunc.c: Likewise.
44655 * string/test-strcmp-ifunc.c: Likewise.
44656 * string/test-strcpy-ifunc.c: Likewise.
44657 * string/test-strcspn-ifunc.c: Likewise.
44658 * string/test-strlen-ifunc.c: Likewise.
44659 * string/test-strncasecmp-ifunc.c: Likewise.
44660 * string/test-strncat-ifunc.c: Likewise.
44661 * string/test-strncmp-ifunc.c: Likewise.
44662 * string/test-strncpy-ifunc.c: Likewise.
44663 * string/test-strnlen-ifunc.c: Likewise.
44664 * string/test-strpbrk-ifunc.c: Likewise.
44665 * string/test-strrchr-ifunc.c: Likewise.
44666 * string/test-strspn-ifunc.c: Likewise.
44667 * string/test-strstr-ifunc.c: Likewise.
44668
44669 * debug/Makefile (tests-ifunc): New variable.
44670 (tests): Add $(tests-ifunc).
44671 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44672 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44673 * debug/test-stpcpy_chk-ifunc.c: New file.
44674 * debug/test-strcpy_chk-ifunc.c: Likewise.
44675
44676 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44677
44678 [BZ #13601]
44679 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44680 header is not read in.
44681
44682 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44683
44684 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44685 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44686 directly. Pass built executable to script as
44687 $(built-program-cmd).
44688 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44689 $testprogram without using LD_LIBRARY_PATH and $ldso.
44690
44691 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44692 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44693 $(rtld-installed-name).
44694 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44695 (rtld_installed_name): Likewise.
44696 (library_path): Likewise.
44697 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44698 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44699 $(run-program-prefix) to tst-tables.sh.
44700 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44701 it to run tst-table-from and tst-table-to.
44702 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44703 Pass it to tst-table.sh.
44704 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44705 $(run-program-prefix) to tst-gettext.sh.
44706 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44707 tst-translit.sh.
44708 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44709 tst-gettext2.sh.
44710 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44711 to run tst-gettext.
44712 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44713 to run tst-gettext2.
44714 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44715 to run tst-translit.
44716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44717 $(run-program-prefix) to tst-mtrace.sh.
44718 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44719 to run tst-mtrace.
44720 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44721 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44722 $(rtld-installed-name).
44723 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44724 (rtld_installed_name): Likewise.
44725 (run_program_prefix): New variable. Use it to run wordexp-test.
44726
44727 * Makeconfig (ARCH): Remove all definitions.
44728 (machine): Likewise.
44729 [ARCH]: Remove conditional code.
44730 [!objdir]: Give error.
44731 [!objdir] (objpfx): Remove.
44732 [!objdir] (common-objpfx): Likewise.
44733 [!objdir] (common-objdir): Likewise.
44734 * configure.in (config_makefile): Remove. Hardcode Makefile in
44735 AC_CONFIG_FILES call.
44736 * configure: Regenerated.
44737
44738 [BZ #13888]
44739 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44740 or TMPDIR.
44741 (testout): Likewise.
44742
44743 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44744 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44745 $(rtld-installed-name).
44746 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44747 (rtld_installed_name): Likwise.
44748 (runit): Remove function.
44749 (run_getconf): New variable, Use it for running getconf binary.
44750
44751 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44752
44753 [BZ #14716]
44754 * string/test-memmem.c (check_result): New function.
44755 (do_one_test): Use it.
44756 (check1): New function.
44757 (test_main): Use it.
44758
44759 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44760
44761 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44762
44763 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44764
44765 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44766 (_G_LSEEK64): Likewise.
44767 (_G_MMAP64): Likewise.
44768 (_G_FSTAT64): Likewise.
44769 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44770 (_G_LSEEK64): Likewise.
44771 (_G_MMAP64): Likewise.
44772 (_G_FSTAT64): Likewise.
44773 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44774 unconditional. Call __mmap64 directly.
44775 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44776 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44777 __lseek64 directly.
44778 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44779 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44780 __mmap64 directly.
44781 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44782 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44783 __lseek64 directly.
44784 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44785 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44786 __lseek64 directly.
44787 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44788 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44789 __lseek64 directly.
44790 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44791 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44792 __fxstat64 directly.
44793 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44794 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44795 unconditional.
44796 (freopen64) [!_G_OPEN64]: Remove conditional code.
44797 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44798 unconditional.
44799 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44800 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44801 unconditional.
44802 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44803 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44804 unconditional.
44805 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44806 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44807 unconditional.
44808 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44809 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44810 unconditional.
44811 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44812 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44813 unconditional.
44814 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44815 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44816 unconditional.
44817 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44818
44819 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44820
44821 [BZ #12140]
44822 * manual/memory.texi (Malloc Tunable Parameters): Add note
44823 about free list pointers overwriting some perturb bytes.
44824 Wording suggested by Roland McGrath.
44825
44826 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44827
44828 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44829 (lgamma_test): Likewise.
44830 (tgamma_test): Likewise.
44831
44832 2012-10-16 Florian Weimer <fweimer@redhat.com>
44833
44834 [BZ #14700]
44835 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44836 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44837
44838 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44839
44840 * NEWS: Mention BZ #14716.
44841 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44842 when removing AVAILABLE1_USES_J macro.
44843
44844 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44845
44846 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44847 (__bswap_64): __uint64_t for unsigned 64-bit int.
44848
44849 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44850
44851 * include/string.h (memmem): Declare libc hidden alias.
44852 * string/memmem.c (memmem): Define libc hidden alias.
44853 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44854 __read, __close instead of open, read, close.
44855
44856 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44857
44858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44859 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44860 global and hidden.
44861 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44862 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44863 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44864 Likewise.
44865 (__rawmemchr_sse2): Likewise.
44866 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44867 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44868 (__strchr_sse2): Likewise.
44869 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44870 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44871 (__strcasecmp_sse2): Likewise.
44872 (__strncasecmp_sse2): Likewise.
44873 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44874 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44875 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44876 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44877 (__strrchr_sse2): Likewise.
44878 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44879 ifunc-impl-list.c.
44880 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44881 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44882 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44883 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44884 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44885 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44886 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44887 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44888 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44889 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44890 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44891 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44892 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44893 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44894 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44895 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44896 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44897 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44898 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44899 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44900 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44901 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44902 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44903 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44904 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44905 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44906 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44907 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44908 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44909 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44910
44911 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44912 global and hidden.
44913 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44914 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44915 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44916 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44917 Likewise.
44918 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44919 Likewise.
44920 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44921 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44922 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44923 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44924 ifunc-impl-list.c.
44925 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44926 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44928 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44929 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44930 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44931 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44932 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44933 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44934 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44935 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44936 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44937 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44938 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44939 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44941 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44942 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44943 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44944 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44945 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44946 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44947 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44948 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44949 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44950 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44951 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44952 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44953 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44955 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44956 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44957 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44958 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44959 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44960 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44961 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44962 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44963 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44965 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44966
44967 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44968 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44969 * include/ifunc-impl-list.h: New file.
44970 * misc/ifunc-impl-list.c: Likewise.
44971 * misc/Makefile (routines): Add ifunc-impl-list.
44972 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44973 * string/test-string.h: Include <ifunc-impl-list.h>.
44974 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44975 TEST_NAME]: New variables.
44976 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44977 are defined.
44978 (test_init): Call __libc_ifunc_impl_list to initialize
44979 func_list if TEST_IFUNC and TEST_NAME are defined.
44980
44981 * string/Makefile (strop-tests): Add bcopy and bzero.
44982 * string/test-bcopy.c: New file.
44983 * string/test-bzero.c: Likewise.
44984 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44985 defined.
44986 * string/test-memset.c: Support bzero test if TEST_BZERO is
44987 defined.
44988 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44989 __libc_memmove.
44990 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44991 __libc_memset.
44992 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44993 of memset.
44994
44995 2012-10-10 Joseph Myers <joseph@codesourcery.com>
44996
44997 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44998 * configure: Regenerated.
44999
45000 * Makeconfig (+link-static-before-libc): Don't include
45001 $(link-static-libc).
45002
45003 * libio/libio.h (_IO_pos_t): Remove.
45004
45005 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45006
45007 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45008 McGrath.
45009
45010 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45011
45012 * crypt/crypt-entry.c: Include fips-private.h.
45013 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45014 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45015 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45016 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45017
45018 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45019
45020 * crypt/crypt-private.h: Include stdbool.h.
45021 (_ufc_setup_salt_r): Return bool.
45022 * crypt/crypt-entry.c: Include errno.h.
45023 (__crypt_r): Return NULL with EINVAL for bad salt.
45024 * crypt/crypt_util.c (bad_for_salt): New.
45025 (_ufc_setup_salt_r): Check that salt is long enough and within
45026 the specified alphabet.
45027 * crypt/badsalttest.c: New file.
45028 * crypt/Makefile (tests): Add it.
45029 ($(objpfx)badsalttest): New.
45030
45031 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45032
45033 * NEWS: Add entry for BZ #14602.
45034
45035 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45036
45037 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45038 type-generic.
45039 * math/libm-test.inc: Update comment listing what functions and
45040 macros are tested.
45041 (isgreater_test): New function.
45042 (isgreaterequal_test): Likewise.
45043 (isless_test): Likewise.
45044 (islessequal_test): Likewise.
45045 (islessgreater_test): Likewise.
45046 (isunordered_test): Likewise.
45047 (main): Call the new functions.
45048
45049 2012-10-09 Roland McGrath <roland@hack.frob.com>
45050
45051 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45052 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45053 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45054 * sysdeps/i386/configure: Regenerated.
45055 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45056 * sysdeps/mach/configure: Regenerated.
45057 * sysdeps/mach/hurd/configure: Regenerated.
45058 * sysdeps/powerpc/configure: Regenerated.
45059 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45060 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45061 * sysdeps/s390/s390-32/configure: Regenerated.
45062 * sysdeps/s390/s390-64/configure: Regenerated.
45063 * sysdeps/sh/configure: Regenerated.
45064 * sysdeps/sparc/configure: Regenerated.
45065 * sysdeps/unix/sysv/linux/configure: Regenerated.
45066 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45067 * sysdeps/x86_64/configure: Regenerated.
45068
45069 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45070 defined. Don't check if MAP is NULL.
45071
45072 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45073
45074 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45075 (_G_stat64): Likewise.
45076 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45077 (_G_stat64): Likewise.
45078 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45079 instead of struct _G_stat64.
45080 * libio/fileops.c (mmap_remap_check): Likewise.
45081 (decide_maybe_mmap): Likewise.
45082 (_IO_new_file_seekoff): Likewise.
45083 (_IO_file_stat): Likewise.
45084 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45085 _G_off64_t.
45086 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45087 instead of struct _G_stat64.
45088 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45089
45090 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45091
45092 [BZ #14602]
45093 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45094 Replace with ...
45095 (CHECK_EOL): New macro.
45096 (two_way_short_needle): Check beginning of haystack for EOL. Use
45097 CHECK_EOL.
45098 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45099 Replace with CHECK_EOL.
45100 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45101 Replace with CHECK_EOL.
45102
45103 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45104
45105 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45106 type-generic.
45107 * math/libm-test.inc: Update comment listing what functions and
45108 macros are tested.
45109 (finite_test): New function.
45110 (isinf_test): Likewise.
45111 (isnan_test): Likewise.
45112 (fpclassify_test): Test subnormal input.
45113 (isfinite_test): Likewise.
45114 (isnormal_test): Likewise.
45115 (main): Call the new functions.
45116
45117 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45118
45119 [BZ #14660]
45120 * Makerules (%.dynsym): Force C locale when running
45121 $(OBJDUMP) --dynamic-syms.
45122
45123 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45124
45125 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45126 <stdint.h>.
45127
45128 2012-10-06 David S. Miller <davem@davemloft.net>
45129
45130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45131 upper 32-bits of the length value in %o2 since we use branch-on-register
45132 tests which consider the entire 64-bit register.
45133
45134 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45135
45136 * string/test-strstr.c (check2): Add a test for page boundary.
45137
45138 2012-10-05 David S. Miller <davem@davemloft.net>
45139
45140 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45142 file.
45143 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45144 sysdep_routines.
45145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45146 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45147 and bzero when HWCAP_SPARC_CRYPTO is present.
45148
45149 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45150
45151 [BZ #14602]
45152 * string/test-strstr.c (check2): New function.
45153 (test_main): Call check2.
45154
45155 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45156 and bug-strchr1.
45157 * string/bug-strcasestr1.c (do_test): Moved to ...
45158 * string/test-strcasestr.c (check1): Here. New function.
45159 (do_one_test): Break out result checking code into ...
45160 (check_result): This. New function.
45161 (do_one_test): Call check_result.
45162 (test_main): Call check1.
45163 * string/bug-strchr1.c (do_test): Moved to ...
45164 * string/test-strchr.c (check1): Here. New function.
45165 (do_one_test): Break out result checking code into ...
45166 (check_result): This. New function.
45167 (do_one_test): Call check_result.
45168 (test_main): Call check1.
45169 * string/bug-strstr1.c (main): Moved to ...
45170 * string/test-strstr.c (check1): Here. New function.
45171 (do_one_test): Break out result checking code into ...
45172 (check_result): This. New function.
45173 (do_one_test): Call check_result.
45174 (test_main): Call check1.
45175 * string/bug-strcasestr1.c: Removed.
45176 * string/bug-strchr1.c: Likewise.
45177 * string/bug-strstr1.c: Likewise.
45178
45179 * elf/Makefile (dl-routines): Add hwcaps.
45180 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45181 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45182 (_dl_important_hwcaps): Moved to ...
45183 * elf/dl-hwcaps.c: Here. New file.
45184 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45185
45186 [BZ #14557]
45187 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45188 if IS_IN_rtld isn't defined.
45189
45190 * elf/dl-support.c (_dl_sysinfo_map): New.
45191 Include "get-dynamic-info.h" and "setup-vdso.h".
45192 (_dl_non_dynamic_init): Call setup_vdso.
45193 * elf/dynamic-link.h: Don't include <assert.h>.
45194 (elf_get_dynamic_info): Moved to ...
45195 * elf/get-dynamic-info.h: Here. New file.
45196 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45197 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45198 * elf/setup-vdso.h: Here. New file.
45199 * elf/rtld.c: Include "setup-vdso.h".
45200 (dl_main): Call setup_vdso.
45201
45202 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45203
45204 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45205 creal in comment listing functions tested. List finite, isinf,
45206 isnan, isless, islessequal, isgreater, isgreaterequal,
45207 islessgreater, isunordered, lgamma_r and pow10 as functions and
45208 macros not tested. Mention which functions not tested are aliases
45209 for other functions. Fix typo. Note that signs of NaNs are not
45210 tested.
45211
45212 * scripts/config.guess: Update from config.git.
45213 * scripts/config.sub: Likewise.
45214
45215 2012-10-04 Roland McGrath <roland@hack.frob.com>
45216
45217 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45218 * misc/madvise.c (madvise): Renamed to __madvise.
45219 Make madvise a weak alias.
45220 * include/sys/mman.h: Declare __madvise.
45221 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45222 * sysdeps/unix/syscalls.list
45223 (madvise): Make __madvise the strong name, and madvise a weak alias.
45224 * sysdeps/unix/sysv/linux/syscalls.list
45225 (madvise, mmap): Remove redundant entries.
45226 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45227 * malloc/malloc.c (mtrim): Likewise.
45228 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45229
45230 2012-10-03 Roland McGrath <roland@hack.frob.com>
45231
45232 * sysdeps/mach/hurd/dl-cache.c: File removed.
45233 * config.h.in (USE_LDCONFIG): New #undef.
45234 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45235 * configure: Regenerated.
45236 * elf/Makefile (dl-routines): Add dl-cache only under
45237 [$(use-ldconfig) = yes].
45238 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45239 cache on [USE_LDCONFIG].
45240 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45241 [USE_LDCONFIG].
45242 * elf/rtld.c (dl_main): Likewise.
45243
45244 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45245
45246 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45247 _SC_LEVEL4_CACHE_LINESIZE.
45248
45249 2012-10-03 Roland McGrath <roland@hack.frob.com>
45250
45251 * sysdeps/unix/bsd/confstr.h: File removed.
45252
45253 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45254
45255 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45256 sys/sdt-config.h.
45257
45258 2012-10-02 Roland McGrath <roland@hack.frob.com>
45259
45260 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45261 Make 'mapoff' field ElfW(Off) rather than off_t.
45262
45263 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45264
45265 * nscd/Makefile: Remove nscd-cflags and all its users.
45266 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45267 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45268
45269 [BZ #10631]
45270 * malloc.c (malloc_printerr): Clarify error message.
45271
45272 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45273
45274 [BZ #14648]
45275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45276 Set bit_FMA_Usable if FMA is supported.
45277 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45278 macro.
45279 (bit_FMA4_Usable): Updated.
45280 (index_FMA_Usable): New macro.
45281 (CPUID_FMA): Likewise
45282 (HAS_FMA): Defined with bit_FMA_Usable.
45283
45284 2012-10-01 Roland McGrath <roland@hack.frob.com>
45285
45286 * bits/types.h (__swblk_t): Type removed.
45287 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45288 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45290 (__SWBLK_T_TYPE): Likewise.
45291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45292 (__SWBLK_T_TYPE): Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45294 (__SWBLK_T_TYPE): Likewise.
45295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45296 (__SWBLK_T_TYPE): Likewise.
45297
45298 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45299 Honza Horak <hhorak@redhat.com>
45300
45301 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45302 (xdr_mapname): Use YPMAXMAP as maxsize.
45303 (xdr_peername): Use YPMAXPEER as maxsize.
45304 (xdr_keydat): Use YPAXRECORD as maxsize.
45305 (xdr_valdat): Use YPMAXRECORD as maxsize.
45306
45307 2012-10-01 Roland McGrath <roland@hack.frob.com>
45308
45309 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45310
45311 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45312 * csu/init-first.c: ... here.
45313 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45314 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45315 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45316 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45317 * sysdeps/i386/init-first.c: File removed.
45318 * sysdeps/sh/init-first.c: File removed.
45319
45320 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45321
45322 [BZ #14645]
45323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45324 if x * y might underflow to zero and z is zero.
45325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45327 * math/libm-test.inc (min_subnorm_value): New variable.
45328 (fma_test): Add more tests.
45329 (fma_test_towardzero): Likewise.
45330 (fma_test_downward): Likewise
45331 (fma_test_upward): Likewise.
45332 (initialize): Set min_subnorm_value.
45333
45334 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45335
45336 [BZ #14638]
45337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45338 0 + 0.
45339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45340 mode for addition resulting in exact zero.
45341 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45343 exact 0 + 0.
45344 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45346 * math/libm-test.inc (fma_test): Add more tests.
45347 (fma_test_towardzero): New function.
45348 (fma_test_downward): Likewise.
45349 (fma_test_upward): Likewise.
45350 (main): Call the new functions.
45351
45352 2012-09-28 David S. Miller <davem@davemloft.net>
45353
45354 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45355
45356 2012-09-28 Roland McGrath <roland@hack.frob.com>
45357
45358 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45359 instead of SIGALRM.
45360
45361 * sysdeps/gnu/_G_config.h: Moved to ...
45362 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45363 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45364 * sysdeps/generic/_G_config.h: ... here.
45365
45366 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45367
45368 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45369
45370 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45371 Conditionalize target on [libnss_test1.so-version].
45372
45373 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45374
45375 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45376 (elfobjdir): Move out of conditionals.
45377
45378 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45379 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45380 (__nss_lookup_function): Conditionalize label remove_from_tree on
45381 [!DO_STATIC_NSS || SHARED], matching its only use.
45382
45383 2012-09-28 David S. Miller <davem@davemloft.net>
45384
45385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45387 file.
45388 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45389 sysdep_routines.
45390 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45392 when HWCAP_SPARC_CRYPTO is present.
45393
45394 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45395
45396 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45397
45398 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45399
45400 [BZ #6530]
45401 * stdio-common/vfprintf.c (process_string_arg): Revert
45402 2000-07-22 change.
45403
45404 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45405
45406 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45407 for testcase.
45408 * stdio-common/tst-sprintf.c: Include <locale.h>
45409 (main): Test sprintf's handling of incomplete multibyte
45410 characters.
45411
45412 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45413
45414 * elf/dl-runtime.c (VERSYMIDX): Removed.
45415 * elf/dl-version.c (VERSYMIDX): Likewise.
45416 * elf/do-rel.h (VERSYMIDX): Likewise.
45417 (VALIDX): Likewise.
45418 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45419 * elf/rtld.c (VALIDX): Likewise.
45420 (ADDRIDX): Likewise.
45421 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45422 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45423 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45424 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45425 (VALIDX): Likewise.
45426 (ADDRIDX): Likewise.
45427
45428 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45429
45430 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45431
45432 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45433
45434 [BZ #11438]
45435 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45436 to global scope.
45437 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45438 addresses are in the same scope as 192.0.2/24.
45439 * posix/gai.conf: Document new scope table defaults.
45440
45441 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45442
45443 [BZ #5298]
45444 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45445 for ftell. Compute offsets from write pointers instead.
45446 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45447
45448 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45449
45450 [BZ #14543]
45451 * libio/Makefile (tests): New test case tst-fseek.
45452 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45453 combination works in wide mode.
45454 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45455 state when the external buffer state changes.
45456
45457 2012-09-27 David S. Miller <davem@davemloft.net>
45458
45459 [BZ #14376]
45460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45461 pass reloc->r_addend in as the 'high' argument to
45462 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45463
45464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45465
45466 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45467
45468 * rt/tst-aio2.c: Include <pthread.h>.
45469 * rt/tst-aio3.c: Likewise.
45470
45471 2012-09-27 Steve Ellcey <sellcey@mips.com>
45472
45473 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45474
45475 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45476
45477 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45478 contents on [SHARED].
45479
45480 2012-09-26 Marek Polacek <polacek@redhat.com>
45481
45482 [BZ #14530]
45483 [BZ #13741]
45484 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45485 for C++ and GCC <4.3 as well as for non GCC compilers.
45486
45487 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45488
45489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45490
45491 2012-09-25 Roland McGrath <roland@hack.frob.com>
45492
45493 * Makefile.in (all, install): Declare with .PHONY.
45494 Reported by Michael Hope <michael.hope@linaro.org>.
45495
45496 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45497
45498 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45499 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45500 system header.
45501 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45502 Likewise.
45503 (sydep_routines): Add the new and the internal functions.
45504 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45505 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45507 (GLIBC_2.17): Add the new function.
45508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45509 (GLIBC_2.17): Likewise.
45510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45511 (GLIBC_2.17): Likewise.
45512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45513 (GLIBC_2.17): Likewise.
45514 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45515
45516 2012-09-25 Alan Modra <amodra@gmail.com>
45517
45518 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45519 Add release barrier before setting once_control to say
45520 initialisation is done. Add hints on lwarx. Use macro in
45521 place of isync.
45522 (clear_once_control): Add release barrier.
45523
45524 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45525
45526 [BZ #13629]
45527 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45528 specially.
45529 * math/s_clog10.c (__clog10): Likewise.
45530 * math/s_clog10f.c (__clog10f): Likewise.
45531 * math/s_clog10l.c (__clog10l): Likewise.
45532 * math/s_clogf.c (__clogf): Likewise.
45533 * math/s_clogl.c (__clogl): Likewise.
45534 * math/Makefile (libm-calls): Add x2y2m1.
45535 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45536 (__x2y2m1): Likewise.
45537 (__x2y2m1l): Likewise.
45538 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45539 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45540 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45541 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45542 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45543 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45544 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45545 * sysdeps/i386/fpu/libm-test-ulps: Update.
45546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45547
45548 [BZ #14621]
45549 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45550 int as type of variable DEPTH.
45551 (glob): Use size_t instead of int as type of variables NEWCOUNT
45552 and OLD_PATHC.
45553
45554 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45555
45556 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45557 Add s_sincosf-sse2.
45558 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45559 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45560 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45561 macros for using routine as __sincosf_ia32.
45562 Use macro for function declaration and weak_alias.
45563 * sysdeps/i386/fpu/libm-test-ulps: Update.
45564
45565 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45567
45568 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45569 subnormal argument.
45570 * math/s_cexpf.c (__cexpf): Likewise.
45571 * math/s_csinf.c (__csinf): Likewise.
45572 * math/s_csinhf.c (__csinhf): Likewise.
45573 * math/s_ctanf.c (__ctanf): Likewise.
45574 * math/s_ctanhf.c (__ctanhf): Likewise.
45575 * math/s_ccosh.c (__ccoshf): Likewise.
45576 * math/s_cexp.c (__cexpl): Likewise.
45577 * math/s_csin.c (__csin): Likewise.
45578 * math/s_csinh.c (__csinh): Likewise.
45579 * math/s_ctan.c (__ctan): Likewise.
45580 * math/s_ctanh.c (ctanh): Likewise.
45581 * math/s_ccoshl.c (__ccoshl): Likewise.
45582 * math/s_cexpl.c (__cexpl): Likewise.
45583 * math/s_csinl.c (__csinl): Likewise.
45584 * math/s_csinhl.c (__csinhl): Likewise.
45585 * math/s_ctanl.c (__ctanl): Likewise.
45586 * math/s_ctanhl.c (__ctanhl): Likewise.
45587
45588 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45589
45590 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45591 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45592 (_IO_off_t): Define to __off_t, not _G_off_t.
45593 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45594 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45595 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45596 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45597 type of __dummy and __dummy2 fields.
45598 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45599 (_G_ssize_t): Likewise.
45600 (_G_off_t): Likewise.
45601 (_G_pid_t): Likewise.
45602 (_G_uid_t): Likewise.
45603 (_G_wchar_t): Likewise.
45604 (_G_wint_t): Likewise.
45605 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45606 (_G_ssize_t): Likewise.
45607 (_G_off_t): Likewise.
45608 (_G_pid_t): Likewise.
45609 (_G_uid_t): Likewise.
45610 (_G_wchar_t): Likewise.
45611 (_G_wint_t): Likewise.
45612 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45613 (_G_ssize_t): Likewise.
45614 (_G_off_t): Likewise.
45615 (_G_pid_t): Likewise.
45616 (_G_uid_t): Likewise.
45617 (_G_wchar_t): Likewise.
45618 (_G_wint_t): Likewise.
45619
45620 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45621
45622 * malloc/arena.c: Include malloc-sysdep.h.
45623 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45624 is sufficient to shrink the heap or an unmap is needed.
45625 * sysdeps/generic/malloc-sysdep.h: New file. Define
45626 new function check_may_shrink_heap.
45627 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45628 new function check_may_shrink_heap.
45629
45630 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45631
45632 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45633 comments.
45634
45635 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45636
45637 * catgets/test-gencat.sh: Add "set -e".
45638 * elf/tst-pathopt.sh: Likewise.
45639 * grp/tst_fgetgrent.sh: Likewise.
45640 * iconvdata/run-iconv-test.sh: Likewise.
45641 * intl/tst-gettext.sh: Likewise.
45642 * intl/tst-gettext2.sh: Likewise.
45643 * intl/tst-gettext4.sh: Likewise.
45644 * intl/tst-gettext6.sh: Likewise.
45645 * intl/tst-translit.sh: Likewise.
45646 * io/ftwtest-sh: Likewise.
45647 * libio/test-freopen.sh: Likewise.
45648 * malloc/tst-mtrace.sh: Likewise.
45649 * posix/globtest.sh: Likewise.
45650 * posix/tst-getconf.sh: Likewise.
45651 * posix/wordexp-tst.sh: Likewise.
45652 * stdio-common/tst-printf.sh: Likewise.
45653 * stdio-common/tst-unbputc.sh: Likewise.
45654 * stdlib/tst-fmtmsg.sh: Likewise.
45655 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45656 * catgets/Makefile: Do not specify -e option when running
45657 testsuite shell scripts.
45658 * elf/Makefile: Likewise.
45659 * grp/Makefile: Likewise.
45660 * iconvdata/Makefile: Likewise.
45661 * intl/Makefile: Likewise.
45662 * io/Makefile: Likewise.
45663 * libio/Makefile: Likewise.
45664 * malloc/Makefile: Likewise.
45665 * posix/Makefile: Likewise.
45666 * stdio-common/Makefile: Likewise.
45667 * stdlib/Makefile: Likewise.
45668 * sysdeps/x86_64/Makefile: Likewise.
45669
45670 * io/ftwtest-sh: Add copyright header.
45671 * posix/globtest.sh: Likewise.
45672 * posix/tst-getconf.sh: Likewise.
45673 * posix/wordexp-tst.sh: Likewise.
45674 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45675
45676 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45677
45678 [BZ #13679]
45679 * Makeconfig (+link): Defined as $(+link-static) if
45680 $(build-shared) isn't yes.
45681 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45682 isn't yes.
45683 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45684
45685 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45686
45687 [BZ #14562]
45688 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45689 new chunk size with MALLOC_ALIGN_MASK.
45690
45691 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45692
45693 [BZ #5044]
45694 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45695 <rounding-mode.h>.
45696 (__printf_fphex): Determine rounding using get_rounding_mode and
45697 round_away.
45698 * stdio-common/tst-printf-round.c (struct hex_test): New
45699 structure.
45700 (hex_tests): New variable.
45701 (test_hex_in_one_mode): New function.
45702 (do_test): Also run tests for hex float output.
45703
45704 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45705
45706 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45707 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45708 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45709 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45710 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45711 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45712 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45713 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45714
45715 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45716
45717 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45718 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45719 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45720 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45721
45722 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45723
45724 [BZ #14579]
45725 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45726 mode only.
45727 * elf/tst-rtld-load-self.sh: New test.
45728 * elf/Makefile: Run it.
45729
45730 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45731
45732 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45733 (tst-writev-ENV): Remove.
45734 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45735
45736 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45737
45738 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45739
45740 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45741
45742 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45743 unconditional.
45744 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45745 Likewise.
45746 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45747 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45748 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45749 Likewise.
45750
45751 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45752
45753 [BZ #14587]
45754 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45755 * config.make.in (have-cpp-asm-debuginfo): Removed.
45756 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45757 * configure: Regenerated.
45758
45759 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45760
45761 [BZ #5044]
45762 * stdio-common/printf_fp.c: Include <stdbool.h> and
45763 <rounding-mode.h>.
45764 (___printf_fp): Determine rounding using get_rounding_mode and
45765 round_away.
45766 * stdio-common/tst-printf-round.c: New file.
45767 * stdio-common/Makefile (tests): Add tst-printf-round.
45768 (link-libm): New variable.
45769 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45770
45771 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45772
45773 [BZ #14576]
45774 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45775 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45776 Likewise.
45777 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45778 Likewise.
45779
45780 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45781
45782 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45783 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45784 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45785 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45786
45787 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45788
45789 [BZ #14518]
45790 * include/rounding-mode.h: New file.
45791 * sysdeps/generic/get-rounding-mode.h: Likewise.
45792 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45793 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45794 (MAX_VALUE): New macro.
45795 (MIN_VALUE): Likewise.
45796 (overflow_value): New function.
45797 (underflow_value): Likewise.
45798 (round_and_return): Use overflow_value and underflow_value to
45799 determine return values in overflow and underflow cases. Use
45800 round_away to determine rounding depending on rounding mode.
45801 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45802 determine return values in overflow and underflow cases.
45803 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45804 (struct test_results): New structure.
45805 (struct test): Use struct test_results to store expected results
45806 for all rounding modes.
45807 (TEST): Include expected results for all rounding modes.
45808 (test_in_one_mode): New function.
45809 (do_test): Use test_in_one_mode to compute and check results.
45810 Check results for all rounding modes.
45811 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45812 $(link-libm).
45813
45814 2012-12-09 Allan McRae <allan@archlinux.org>
45815
45816 * sysdeps/i386/fpu/libm-test-ulps: Update
45817
45818 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45819
45820 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45821 (_G_int32_t): Likewise.
45822 (_G_uint16_t): Likewise.
45823 (_G_uint32_t): Likewise.
45824 (_G_HAVE_BOOL): Likewise.
45825 (_G_HAVE_ATEXIT): Likewise.
45826 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45827 (_G_HAVE_IO_FILE_OPEN): Likewise.
45828 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45829 (_G_int32_t): Likewise.
45830 (_G_uint16_t): Likewise.
45831 (_G_uint32_t): Likewise.
45832 (_G_HAVE_BOOL): Likewise.
45833 (_G_HAVE_ATEXIT): Likewise.
45834 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45835 (_G_HAVE_IO_FILE_OPEN): Likewise.
45836 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45837 (_G_int32_t): Likewise.
45838 (_G_uint16_t): Likewise.
45839 (_G_uint32_t): Likewise.
45840 (_G_HAVE_BOOL): Likewise.
45841 (_G_HAVE_ATEXIT): Likewise.
45842 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45843 (_G_HAVE_IO_FILE_OPEN): Likewise.
45844
45845 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45846
45847 * csu/libc-tls.c: Update copyright years.
45848
45849 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45850
45851 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45852 [!_G_USING_THUNKS]: Remove conditional code.
45853 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45854 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45855
45856 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45857 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45858 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45859 (_G_VTABLE_LABEL_PREFIX): Likewise.
45860 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45861 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45862 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45863 (_G_VTABLE_LABEL_PREFIX): Likewise.
45864 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45865 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45866 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45867 (_G_VTABLE_LABEL_PREFIX): Likewise.
45868 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45869
45870 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45871
45872 * libio/Makefile: Include ../Makeconfig before tests.
45873 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45874 only if $(build-shared) is yes.
45875
45876 * iconv/gconv_db.c: Update copyright years.
45877
45878 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45879
45880 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45881 unwind info if defined PIC. Fix special cases description.
45882 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45883
45884 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45885 DP_HI_MASK entry.
45886 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45887
45888 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45889
45890 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45891
45892 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45893 is NULL.
45894
45895 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45896 (LDLIBS-tst-chk4): This.
45897 (LDFLAGS-tst-chk5): Renamed to ...
45898 (LDLIBS-tst-chk5): This.
45899 (LDFLAGS-tst-chk6): Renamed to ...
45900 (LDLIBS-tst-chk6): This.
45901 (LDFLAGS-tst-lfschk4): Renamed to ...
45902 (LDLIBS-tst-lfschk4): This.
45903 (LDFLAGS-tst-lfschk5): Renamed to ...
45904 (LDLIBS-tst-lfschk5): This.
45905 (LDFLAGS-tst-lfschk6): Renamed to ...
45906 (LDLIBS-tst-lfschk6): This.
45907
45908 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45909 on $(common-objpfx)soversions.mk.
45910
45911 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45912
45913 [BZ #10014]
45914 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45915 example host name.
45916
45917 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45918
45919 * malloc/arena.c (arena_get_retry): New function that gets
45920 another arena for the caller to try its request on.
45921 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45922 current arena cannot fulfill the request.
45923 (__libc_memalign): Likewise.
45924 (__libc_memalign): Likewise.
45925 (__libc_pvalloc): Likewise.
45926 (__libc_calloc): Likewise.
45927
45928 2012-09-05 John Tobey <john.tobey@gmail.com>
45929
45930 [BZ #13542]
45931 * manual/arith.texi (Operations on Complex): Fix description
45932 of carg branch cut.
45933
45934 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45935
45936 [BZ #10014]
45937 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45938 host name.
45939
45940 [BZ #10038]
45941 * manual/memory.texi (Memory): Make order of menu items match
45942 order of sections.
45943
45944 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45945
45946 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45947 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
45948 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45949
45950 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45951
45952 * csu/libc-tls.c (static_dtv): Renamed to ...
45953 (_dl_static_dtv): This. Make it global.
45954 (_dl_initial_dtv): Removed.
45955 (__libc_setup_tls): Updated.
45956 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45957 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45958 DL_INITIAL_DTV.
45959
45960 2012-09-06 Petr Machata <pmachata@redhat.com>
45961
45962 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45963 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45964 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45965 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45966
45967 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45968
45969 [BZ #14545]
45970 * csu/libc-tls.c (_dl_initial_dtv): New variable.
45971 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45972 freeing dtv[-1].
45973
45974 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45975
45976 [BZ #14544]
45977 * Makeconfig (link-static-before-libc): Replace $(+prector)
45978 with $(+prectorT).
45979 (link-static-after-libc): Replace $(+postctor) with
45980 $(+postctorT).
45981 (link-bounded): Replace $(+prector)/$(+postctor) with
45982 $(+prectorT)/$(+postctorT).
45983 (+prectorT): New macro.
45984 (+postctorT): Likewise.
45985
45986 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45987
45988 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45989 (round_str): Handle values above the maximum for IBM long double
45990 as inexact.
45991 * stdlib/tst-strtod-round.c (tests): Regenerated.
45992
45993 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45994
45995 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45996 assembler flag.
45997 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45998 zarch_nohighgprs around the zarch optimized routines.
45999 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46000 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46001 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46002 for zarch.
46003
46004 2012-09-05 David S. Miller <davem@davemloft.net>
46005
46006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46007
46008 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46009 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46010 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46011 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46012 entries.
46013
46014 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46015
46016 * malloc/arena.c: Fold copyright years.
46017 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46018
46019 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46020
46021 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46022
46023 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46024
46025 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46026
46027 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46028
46029 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46030 change internal state upon failure.
46031
46032 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46033
46034 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46035 * malloc/memusage.c (mmap): Likewise.
46036 (mmap64, mremap): Likewise. Adjust name in comment.
46037
46038 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46039
46040 * libio/fileops.c: Fix typos in comments.
46041 * libio/oldfileops.c: Likewise.
46042 * libio/wfileops.c: Likewise.
46043
46044 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46045
46046 [BZ #1349]
46047 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46048 (tst-malloc-usable-ENV): Set environment for test case.
46049 * malloc/hooks.c (malloc_check_get_size): New function to get
46050 requested size.
46051 * malloc/malloc.c (musable): Use malloc_check_get_size.
46052 * malloc/tst-malloc-usable.c: New test case.
46053
46054 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46055
46056 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46057
46058 2012-09-05 Allan McRae <allan@archlinux.org>
46059
46060 [BZ #13966]
46061 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46062 determine header location.
46063 * configure: Regenerated.
46064
46065 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46066
46067 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46068 float format.
46069 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46070 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46071 format.
46072 (test): Regenerate.
46073
46074 2012-09-04 David S. Miller <davem@davemloft.net>
46075
46076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46078 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46079
46080 2012-09-04 Florian Weimer <fweimer@redhat.com>
46081
46082 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46083 failures.
46084
46085 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46086
46087 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46088
46089 [BZ #9914]
46090 * libio/iogetdelim.c: Include <limits.h>.
46091 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46092 + len + 1 would overflow.
46093
46094 2012-09-03 Andreas Jaeger <aj@suse.de>
46095
46096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46097 * sysdeps/i386/fpu/libm-test-ulps: Update.
46098
46099 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46100
46101 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46102 Add s_sinf-sse2, s_conf-sse2.
46103
46104 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46105 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46106 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46107 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46108
46109 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46110 for using routine as __sinf_ia32.
46111 Use macro for function declaration and weak_alias.
46112 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46113 for using routine as __cosf_ia32.
46114 Use macro for function declaration and weak_alias.
46115
46116 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46117 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46118
46119 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46120 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46122
46123 * math/libm-test.inc (cos_test): Add more test cases.
46124 (sin_test): Likewise.
46125 (sincos_test): Likewise.
46126
46127 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46128
46129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46130 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46131 hidden.
46132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46133
46134 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46135
46136 [BZ #14538]
46137 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46138 first element of the GOT.
46139 (elf_machine_load_address): Return the difference between
46140 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46141
46142 2012-09-01 Allan McRae <allan@archlinux.org>
46143
46144 [BZ #13412]
46145 * configure.in (AWK): Require gawk version 3.0 or later.
46146 * configure: Regenerated.
46147
46148 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46149
46150 * sysdeps/unix/sysv/linux/kernel-features.h
46151 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46153 [__NR_clock_getres]: Make code unconditional.
46154 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46155 (clock_getcpuclockid): Remove code left unreachable by removal of
46156 conditionals.
46157 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46158 code unconditional.
46159 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46160 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46161 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46162 Make code unconditional.
46163 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46165 * sysdeps/unix/sysv/linux/clock_settime.c
46166 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46167 conditional code.
46168 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46169 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46170
46171 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46172
46173 [BZ #14476]
46174 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46175 scripts/test-installation.pl.
46176
46177 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46178 and $ld_so_version if it is set.
46179
46180 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46181
46182 [BZ #14516]
46183 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46184 failure if reading from procfs failed.
46185 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46186
46187 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46188
46189 * sysdeps/unix/sysv/linux/kernel-features.h
46190 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46191 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46192 Remove conditional code.
46193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46194 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46195 Remove conditional code.
46196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46197 * sysdeps/unix/sysv/linux/i386/fxstat.c
46198 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46200 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46201 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46203 * sysdeps/unix/sysv/linux/i386/lxstat.c
46204 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46206 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46207 Remove conditional code.
46208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46209 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46210 Remove conditional code.
46211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46212 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46213 <kernel-features.h>.
46214 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46215 Remove.
46216 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46217 Remove conditional code.
46218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46219 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46220 Remove conditional.
46221
46222 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46223
46224 [BZ #5400]
46225 * NEWS: Add fixed bug number.
46226
46227 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46228
46229 [BZ #14519]
46230 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46231 underflowing exponent in case of negative sign.
46232 * stdlib/tst-strtod-round-data: Add more tests.
46233 * stdlib/tst-strtod-round.c (tests): Regenerated.
46234
46235 [BZ #3479]
46236 * stdlib/strtod_l.c (NDIG): Remove.
46237 (HEXNDIG): Likewise.
46238 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46239 smallest representable value.
46240 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46241 lie within an exact representation of 1/2 ulp of the result.
46242 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46243 unconditionally.
46244 (TENS_P9_IDX): Define unconditionally.
46245 (TENS_P9_SIZE): Likewise.
46246 (TENS_P10_IDX): Likewise.
46247 (TENS_P10_SIZE): Likewise.
46248 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46249 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46250 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46251 entries for 10^2^13 and 10^2^14.
46252 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46253 (TENS_P13_IDX): Define.
46254 (TENS_P13_SIZE): Likewise.
46255 (TENS_P14_IDX): Likewise.
46256 (TENS_P14_SIZE): Likewise.
46257 (_fpioconst_pow10): Change array size to
46258 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46259 unconditional.
46260 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46261 1024]: Add entries for 10^2^13 and 10^2^14.
46262 [LAST_POW10 > _LAST_POW10]: Remove #error.
46263 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46264 (_fpioconst_pow10): Change array size to
46265 FPIOCONST_POW10_ARRAY_SIZE.
46266 * stdlib/gen-fpioconst.c: New file.
46267 * stdlib/gen-tst-strtod-round.c: Likewise.
46268 * stdlib/tst-strtod-round-data: Likewise.
46269 * stdlib/tst-strtod-round.c: Likewise.
46270 * stdlib/Makefile (tests): Add tst-strtod-round.
46271
46272 [BZ #14459]
46273 * stdlib/strtod_l.c: Include <stdint.h>.
46274 (NDEBUG): Do not define.
46275 (round_and_return): Change EXPONENT parameter to type intmax_t.
46276 Rearrange calculations to avoid internal overflow possibilities.
46277 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46278 Rearrange calculations to avoid internal overflow possibilities.
46279 Assert that number fits inside MPNSIZE limbs.
46280 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46281 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46282 calculations and add assertions to avoid internal overflow
46283 possibilities. Add casts to avoid signed/unsigned operations.
46284 * stdlib/tst-strtod-overflow.c: New file.
46285 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46286
46287 2012-08-25 Marek Polacek <polacek@redhat.com>
46288
46289 * time/time.h: Fix some typos in comments.
46290
46291 2012-08-23 Roland McGrath <roland@hack.frob.com>
46292
46293 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46294 * posix/tst-rfc3484-2.c: Likewise.
46295 * posix/tst-rfc3484-3.c: Likewise.
46296
46297 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46298
46299 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46300 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46301
46302 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46303
46304 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46305 #include of fxstatat64.c.
46306
46307 2012-08-22 Roland McGrath <roland@hack.frob.com>
46308
46309 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46310 * shadow/getspent_r.c: Likewise.
46311 * shadow/getspnam.c: Likewise.
46312 * shadow/getspnam_r.c: Likewise.
46313 * gshadow/getsgent.c: Likewise.
46314 * gshadow/getsgent_r.c: Likewise.
46315 * gshadow/getsgnam.c: Likewise.
46316 * gshadow/getsgnam_r.c: Likewise.
46317 * inet/getnetbyad.c: Likewise.
46318 * inet/getnetbyad_r.c: Likewise.
46319 * inet/getnetbynm.c: Likewise.
46320 * inet/getnetbynm_r.c: Likewise.
46321 * inet/getnetent.c: Likewise.
46322 * inet/getnetent_r.c: Likewise.
46323 * inet/getproto.c: Likewise.
46324 * inet/getproto_r.c: Likewise.
46325 * inet/getprtent.c: Likewise.
46326 * inet/getprtent_r.c: Likewise.
46327 * inet/getprtname.c: Likewise.
46328 * inet/getprtname_r.c: Likewise.
46329 * inet/getrpcbyname.c: Likewise.
46330 * inet/getrpcbyname_r.c: Likewise.
46331 * inet/getrpcbynumber.c: Likewise.
46332 * inet/getrpcbynumber_r.c: Likewise.
46333 * inet/getrpcent.c: Likewise.
46334 * inet/getrpcent_r.c: Likewise.
46335 * inet/getaliasent.c: Likewise.
46336 * inet/getaliasent_r.c: Likewise.
46337 * inet/getaliasname.c: Likewise.
46338 * inet/getaliasname_r.c: Likewise.
46339 * nscd/getgrgid_r.c: Likewise.
46340 * nscd/getgrnam_r.c: Likewise.
46341 * nscd/gethstbyad_r.c: Likewise.
46342 * nscd/gethstbynm3_r.c: Likewise.
46343 * nscd/getpwnam_r.c: Likewise.
46344 * nscd/getpwuid_r.c: Likewise.
46345 * nscd/getsrvbynm_r.c: Likewise.
46346 * nscd/getsrvbypt_r.c: Likewise.
46347 * nscd/gai.c: Likewise.
46348
46349 * configure.in (build_nscd): New substituted variable, set
46350 by --disable-build-nscd and defaults to $use_nscd.
46351 * configure: Regenerated.
46352 * config.make.in (build-nscd): New substituted variable.
46353 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46354 Change conditional to require [$(build-nscd) = yes] as well.
46355 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46356
46357 [BZ# 13696]
46358 * configure.in (use_nscd): New substituted variable, set by
46359 --disable-nscd. If enabled, define USE_NSCD.
46360 * configure: Regenerated.
46361 * config.h.in: Add USE_NSCD.
46362 * config.make.in (use-nscd): New substituted variable.
46363 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46364 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46365 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46366 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46367 (CFLAGS-getgrnam_r.c): Likewise.
46368 (CFLAGS-initgroups.c): Likewise.
46369 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46370 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46371 Variables removed.
46372 * inet/getnetgrent_r.c
46373 (nscd_setnetgrent): New function, broken out of ...
46374 (setnetgrent): ... here. Call it.
46375 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46376 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46377 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46378 * nscd/Makefile (routines, aux): Move definitions after include of
46379 Makeconfig. Conditionalize on [$(use-nscd) != no].
46380 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46381 Conditionalize on [USE_NSCD].
46382 (is_nscd, nscd_init_cb): Likewise.
46383 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46384 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46385 * nss/nss_db/db-init.c: Likewise.
46386 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46387 [USE_NSCD].
46388 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46389 (make_request): Use it.
46390 (cache_valid_p): New function.
46391 (__check_pf): Use it.
46392 * NEWS: Add item for --disable-nscd.
46393
46394 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46395
46396 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46397 to support sed >= 4.2.1-20-ga9bf076.
46398 * configure: Regenerated.
46399
46400 2012-08-22 Roland McGrath <roland@hack.frob.com>
46401
46402 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46403 Conditionalize whole body on [IREL].
46404
46405 2012-08-22 Jeff Law <law@redhat.com>
46406
46407 [BZ #14505]
46408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46409 if the family is PF_UNSPEC.
46410
46411 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46412
46413 * Makerules (lib-version): Rename from V.
46414 (install-lib-nosubdir): Change V to lib-version.
46415
46416 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46417
46418 [BZ #14252]
46419 * powerpc32/power6/wcschr.c: New file.
46420 * powerpc32/power6/wcscpy.c: New file.
46421 * powerpc32/power6/wcsrchr.c: New file.
46422 * powerpc64/power6/wcschr.c: New file.
46423 * powerpc64/power6/wcscpy.c: New file.
46424 * powerpc64/power6/wcsrchr.c: New file.
46425
46426 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46427
46428 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46429 (two_way_short_needle): Use it.
46430 * string/strstr.c (AVAILABLE1_USES_J): Define.
46431 * string/strcasestr.c: Likewise.
46432
46433 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46434 array references.
46435 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46436
46437 [BZ #11607]
46438 * NEWS: Add an entry.
46439 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46440 define their defaults.
46441 (two_way_short_needle): Detect end-of-string on-the-fly.
46442 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46443 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46444 * string/bug-strcasestr1.c: New test.
46445 * string/Makefile: Run it.
46446
46447 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46448
46449 [BZ #11607]
46450 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46451 the first character.
46452
46453 2012-08-21 Roland McGrath <roland@hack.frob.com>
46454
46455 * csu/elf-init.c (__libc_csu_irel): Function removed.
46456 * csu/libc-start.c (apply_irel): New function.
46457 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46458
46459 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46460
46461 * sysdeps/unix/sysv/linux/kernel-features.h
46462 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46463 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46464 <kernel-features.h>.
46465 [__NR_fadvise64_64]: Make code unconditional.
46466 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46467 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46468 !__NR_fadvise64_64)]: Likewise.
46469 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46470 !__NR_fadvise64_64))]: Likewise.
46471 [__NR_fadvise64]: Make code unconditional.
46472 [!__NR_fadvise64]: Remove conditional code.
46473 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46474 <kernel-features.h>.
46475 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46476 unconditional.
46477 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46478 conditional code.
46479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46480 not include <kernel-features.h>.
46481 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46482 unconditional.
46483 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46484 conditional code.
46485 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46486 include <kernel-features.h>.
46487 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46488 unconditional.
46489 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46490 conditional code.
46491
46492 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46493
46494 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46495 slight instruction rearrangements per scrollpipe analysis.
46496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46497
46498 2012-08-20 Roland McGrath <roland@hack.frob.com>
46499
46500 * manual/syslog.texi (syslog; vsyslog, closelog):
46501 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46502 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46503
46504 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46505 DSOCAPS to match condition on defining it.
46506
46507 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46508
46509 * sysdeps/unix/sysv/linux/kernel-features.h
46510 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46512 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46513 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46515 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46516 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46518 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46519 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46520
46521 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46522 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46523
46524 * sysdeps/unix/sysv/linux/kernel-features.h
46525 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46526 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46527 unconditional.
46528 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46529 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46530 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46531 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46532 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46533 Make code unconditional.
46534 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46535 (__mmap64) [!__NR_mmap2]: Likewise.
46536 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46537 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46538 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46539 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46540 [__NR_mmap2]: Make code unconditional.
46541 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46542 (__mmap64) [!__NR_mmap2]: Likewise.
46543
46544 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46545
46546 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46547
46548 2012-08-18 Andreas Jaeger <aj@suse.de>
46549
46550 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46551
46552 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46553
46554 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46555 * include/unistd.h (__have_sock_cloexec): Likewise.
46556 (__have_pipe2): Likewise.
46557 (__have_dup3): Likewise.
46558
46559 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46560
46561 [BZ #9685]
46562 * include/unistd.h (__have_pipe2): Change define into an extern int.
46563 (__have_dup3): Likewise.
46564 * socket/have_sock_cloexec.c: Include fcntl.h.
46565 (__have_pipe2): New variable.
46566 (__have_dup3): Likewise.
46567
46568 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46569
46570 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46571
46572 2012-08-17 Marek Polacek <polacek@redhat.com>
46573
46574 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46575 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46576
46577 2012-08-17 Roland McGrath <roland@hack.frob.com>
46578
46579 * configure.in: Add AC_SUBST for sysheaders.
46580 * configure: Regenerated.
46581 * config.make.in (sysheaders): New substituted variable.
46582
46583 * sysdeps/unix/mkfifo.c: Moved ...
46584 * sysdeps/posix/mkfifo.c: ... here.
46585 * sysdeps/unix/mkfifoat.c: Moved ...
46586 * sysdeps/posix/mkfifoat.c: ... here.
46587
46588 * sysdeps/unix/utime.c: Moved ...
46589 * sysdeps/posix/utime.c: ... here.
46590
46591 * sysdeps/unix/time.c: Moved ...
46592 * sysdeps/posix/time.c: ... here.
46593 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46594 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46595
46596 * sysdeps/unix/nice.c: Moved ...
46597 * sysdeps/posix/nice.c: ... here.
46598
46599 * sysdeps/unix/alarm.c: Moved ...
46600 * sysdeps/posix/alarm.c: ... here.
46601
46602 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46603
46604 2012-08-17 Jeff Law <law@redhat.com>
46605
46606 * intl/Makefile (codeset_mo): New variable.
46607 ($(codeset_mo)): New target.
46608 (tst-codeset.out): Depend on that. Remove explicit rule.
46609 (tst-gettext3.out, tst-gettext5.out): Likewise.
46610 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46611 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46612 * intl/tst-codeset.sh: Remove.
46613 * intl/tst-gettext3.sh: Likewise.
46614 * intl/tst-gettext5.sh: Likewise.
46615
46616 2012-08-17 Roland McGrath <roland@hack.frob.com>
46617
46618 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46619 * sysdeps/unix/syscalls.list: ... here.
46620
46621 * sysdeps/posix/getaddrinfo.c
46622 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46623 (gaiconf_init, gaiconf_reload): Use them.
46624 [!_STATBUF_ST_NSEC]
46625 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46626 Define using time_t rather than struct timespec.
46627
46628 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46629 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46630 Macros removed.
46631 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46632 [!NO_THREADS].
46633 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46634 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46635 Likewise.
46636
46637 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46638 __libc_cleanup_push argument.
46639
46640 * bits/param.h: New file.
46641 * misc/sys/param.h: New file.
46642 * include/sys/param.h: New file.
46643 * misc/Makefile (headers): Add bits/param.h.
46644 * sysdeps/generic/sys/param.h: File removed.
46645 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46646 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46647 * sysdeps/mach/hurd/bits/param.h: New file.
46648 * sysdeps/mach/hurd/sys/param.h: File removed.
46649
46650 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46651 last change.
46652
46653 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46654 [_IO_MTSAFE_IO].
46655 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46656 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46657 New macros.
46658
46659 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46660 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46661 rather than -D_IO_MTSAFE_IO conditionally.
46662 * stdio-common/Makefile (CPPFLAGS): Likewise.
46663 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46664 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46665 Use $(libio-mtsafe).
46666 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46667 of -D_IO_MTSAFE_IO.
46668 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46669 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46670 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46671 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46672 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46673 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46674 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46675 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46676 (CFLAGS-fread_u_chk.c): Likewise.
46677 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46678 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46679 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46680 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46681 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46682 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46683 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46684 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46685 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46686
46687 * libio/Makefile: Test [$(libc-reentrant) = yes]
46688 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46689
46690 * Makeconfig
46691 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46692 * sysdeps/pthread/configure: File removed.
46693 * sysdeps/pthread/Makeconfig: New file.
46694 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46695 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46696
46697 2012-08-16 Gary Benson <gbenson@redhat.com>
46698
46699 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46700 unmapping the first object in a namespace.
46701
46702 2012-08-16 Roland McGrath <roland@hack.frob.com>
46703
46704 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46705 (__internal_setnetgrent): ... this. Add internal_function to
46706 definition. Add libc_hidden_def.
46707 (setnetgrent): Update caller.
46708 (internal_endnetgrent): Renamed to ...
46709 (__internal_endnetgrent): ... this. Add internal_function to
46710 definition. Add libc_hidden_def.
46711 (endnetgrent): Update caller.
46712 (internal_getnetgrent_r): Renamed to ...
46713 (__internal_getnetgrent_r): ... this. Add internal_function to
46714 definition. Add libc_hidden_def.
46715 (__getnetgrent_r): Update caller.
46716 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46717
46718 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46719
46720 * stdlib/longlong.h: Update from GCC.
46721
46722 2012-08-16 Roland McGrath <roland@hack.frob.com>
46723
46724 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46725 on _QL, which is set by umul_ppmm but never used.
46726 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46727 variables, which are set by GMP macros but never used.
46728 * stdio-common/_itowa.c (_itowa): Likewise.
46729 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46730 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46731
46732 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46733
46734 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46735 struct La_sh_regs is not constant.
46736 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46737 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46738 and struct La_sparc64_regs are not constant.
46739
46740 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46741
46742 * sysdeps/unix/sysv/linux/kernel-features.h
46743 (__ASSUME_POSIX_TIMERS): Remove.
46744 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46746 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46747 Make code unconditional.
46748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46749 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46750 Make code unconditional.
46751 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46752 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46753 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46754 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46755 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46756 Make code unconditional.
46757 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46758 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46759 (__libc_missing_posix_timers): Remove.
46760
46761 2012-08-15 Roland McGrath <roland@hack.frob.com>
46762
46763 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46764 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46765
46766 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46767
46768 * elf/dl-sym.c: Include <stdlib.h>.
46769
46770 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46771 constants, which avoids warnings in 32-bit builds.
46772
46773 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46774 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46775
46776 * misc/lseek.c: File moved to ...
46777 * io/lseek.c: ... here.
46778
46779 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46780
46781 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46782 shifting LEN more than 31 bits at once.
46783
46784 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46785
46786 [BZ #14195]
46787 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46788 segmentation fault for a case of two empty input strings.
46789 * string/test-strncasecmp.c (check1): Renamed to...
46790 (bz12205): ...this.
46791 (bz14195): Add new testcase for two empty input strings and N > 0.
46792 (test_main): Call new testcase, adapt for renamed function.
46793
46794 2012-08-15 Andreas Jaeger <aj@suse.de>
46795
46796 [BZ #14090]
46797 * crypt/md5test2.c: New test, based on test supplied by Serge
46798 Belyshev <belyshev@depni.sinp.msu.ru>.
46799 * crypt/Makefile (xtests): Add md5test-giant..
46800 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46801
46802 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46803
46804 [BZ #14090]
46805 * crypt/md5.c (md5_process_block): Don't assume the buffer
46806 length is less than 2**32.
46807 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46808 length is less than 2**64.
46809
46810 2012-08-15 Roland McGrath <roland@hack.frob.com>
46811
46812 * string/str-two-way.h: Include <sys/param.h>.
46813 (MAX): Macro removed.
46814
46815 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46816 Move #define and #undef of memmove to just before and after
46817 including <string.h>.
46818
46819 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46820 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46821 and after including <string.h>. Move declarations of
46822 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46823 to before #include "string/memmove.c".
46824
46825 * include/dirent.h: Declare __getdirentries.
46826
46827 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46828 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46829
46830 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46831
46832 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46833 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46834 * sysdeps/i386/configure: Regenerated.
46835 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46836 STABS_CURRENT_FILE, and STABS_FUN.
46837 (END): Remove call to STABS_FUN_END.
46838 (STABS_CURRENT_FILE1): Delete.
46839 (STABS_CURRENT_FILE): Likewise.
46840 (STABS_FUN): Likewise.
46841 (STABS_FUN_END): Likewise.
46842 (STABS_FUN2): Likewise.
46843 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46844 * sysdeps/x86_64/configure: Regenerated.
46845
46846 2012-08-14 Roland McGrath <roland@hack.frob.com>
46847
46848 * elf/dl-open.c: Include <atomic.h>.
46849 * elf/dl-lookup.c: Likewise.
46850
46851 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46852
46853 * sysdeps/unix/sysv/linux/kernel-features.h
46854 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46855 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46856 unconditionally.
46857 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46858 unconditionally.
46859 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46860 condition on __ASSUME_CLONE_THREAD_FLAGS.
46861
46862 2012-08-14 Andreas Jaeger <aj@suse.de>
46863
46864 * sysdeps/i386/fpu/libm-test-ulps: Update.
46865
46866 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46867
46868 * include/atomic.h (atomic_exchange_and_add): Split into ...
46869 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46870 New atomic macros.
46871
46872 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46873
46874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46875
46876 2012-08-13 Jeff Law <law@redhat.com>
46877
46878 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46879 null byte in the output string.
46880
46881 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46882
46883 * sysdeps/unix/sysv/linux/kernel-features.h
46884 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46885 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46886 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46888 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46889 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46890 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46891
46892 2012-08-09 Jeff Law <law@redhat.com>
46893
46894 [BZ #13939]
46895 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46896 When avoid_arena is set, don't retry in the that arena. Pick the
46897 next one, whatever it might be.
46898 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46899 (arena_lock): Pass in new parameter to arena_get2.
46900 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46901 arena_get2.
46902 (__libc_malloc): Unify retrying after main arena failure with
46903 __libc_memalign version.
46904 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46905
46906 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46907
46908 [BZ #14166]
46909 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46910 to __redirect_strstr.
46911 (__strstr_sse42): Use typeof __redirect_strstr.
46912 (__strstr_ia32): Likewise.
46913 (__libc_strstr): New prototype.
46914 (strstr): Renamed to ...
46915 (__libc_strstr): This.
46916 (strstr): New strong alias of __libc_strstr.
46917 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46918 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46919 __redirect_time.
46920 Include <time.h>.
46921 (__libc_time): New prototype.
46922 (time_ifunc): Replace time with __libc_time.
46923 (time): New strong alias and hidden definition of __libc_time.
46924 (__GI_time): Remove strong alias.
46925 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46926 Include <stddef.h>.
46927 (memmove): Redefined to __redirect_memmove.
46928 (__memmove_sse2): Use typeof __redirect_memmove.
46929 (__memmove_ssse3): Likewise.
46930 (__memmove_ssse3_back): Likewise.
46931 (__libc_memmove): New prototype.
46932 (memmove): Renamed to ...
46933 (__libc_memmove): This.
46934 (memmove): New strong alias of __libc_memmove.
46935
46936 2012-08-08 Mark Salter <msalter@redhat.com>
46937
46938 * elf/elf.h
46939 (R_MN10300_TLS_GD): Define.
46940 (R_MN10300_TLS_LD): Likewise.
46941 (R_MN10300_TLS_LDO): Likewise.
46942 (R_MN10300_TLS_GOTIE): Likewise.
46943 (R_MN10300_TLS_IE): Likewise.
46944 (R_MN10300_TLS_LE): Likewise.
46945 (R_MN10300_TLS_DTPMOD): Likewise.
46946 (R_MN10300_TLS_DTPOFF): Likewise.
46947 (R_MN10300_TLS_TPOFF): Likewise.
46948 (R_MN10300_SYM_DIFF): Likewise.
46949 (R_MN10300_ALIGN): Likewise.
46950 (R_MN10300_NUM): Update.
46951
46952 2012-08-08 Joseph Myers <joseph@codesourcery.com>
46953
46954 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46955 Remove.
46956
46957 2012-08-08 Roland McGrath <roland@hack.frob.com>
46958
46959 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46960
46961 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46962 sysdeps/unix -> sysdeps/posix move.
46963 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46964
46965 2012-08-07 Allan McRae <allan@archlinux.org>
46966
46967 [BZ #14303]
46968 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46969 (SUNOS_CPP): Likewise.
46970 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46971 not found.
46972 (open_input): Call CPP using execvp.
46973
46974 2012-08-07 Joseph Myers <joseph@codesourcery.com>
46975
46976 * sysdeps/unix/sysv/linux/kernel-features.h
46977 (__ASSUME_PROT_GROWSUPDOWN): Remove.
46978 (__ASSUME_NO_CLONE_DETACHED): Likewise.
46979 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46980 (__ASSUME_WAITID_SYSCALL): Likewise.
46981 * sysdeps/unix/sysv/linux/dl-execstack.c
46982 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46983 code unconditional.
46984 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46985 conditional code.
46986 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46987 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46988 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46989 code.
46990 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46991 unconditional.
46992 [__ASSUME_WAITID_SYSCALL]: Likewise.
46993 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46994
46995 2012-08-07 Roland McGrath <roland@hack.frob.com>
46996
46997 * sysdeps/unix/closedir.c: Renamed to ...
46998 * sysdeps/posix/closedir.c: ... here.
46999 * sysdeps/unix/dirfd.c: Renamed to ...
47000 * sysdeps/posix/dirfd.c: ... here.
47001 * sysdeps/unix/dirstream.h: Renamed to ...
47002 * sysdeps/posix/dirstream.h: ... here.
47003 * sysdeps/unix/fdopendir.c: Renamed to ...
47004 * sysdeps/posix/fdopendir.c: ... here.
47005 * sysdeps/unix/opendir.c: Renamed to ...
47006 * sysdeps/posix/opendir.c: ... here.
47007 * sysdeps/unix/readdir.c: Renamed to ...
47008 * sysdeps/posix/readdir.c: ... here.
47009 * sysdeps/unix/readdir_r.c: Renamed to ...
47010 * sysdeps/posix/readdir_r.c: ... here.
47011 * sysdeps/unix/rewinddir.c: Renamed to ...
47012 * sysdeps/posix/rewinddir.c: ... here.
47013 * sysdeps/unix/seekdir.c: Renamed to ...
47014 * sysdeps/posix/seekdir.c: ... here.
47015 * sysdeps/unix/telldir.c: Renamed to ...
47016 * sysdeps/posix/telldir.c: ... here.
47017 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47018 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47019 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47020 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47021
47022 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47023 * bits/fcntl.h: ... here.
47024
47025 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47026 not 0.
47027 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47028 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47029 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47030 (struct flock): Move l_start, l_len to the beginning.
47031 Use __pid_t for l_pid.
47032 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47033 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47034 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47035 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47036 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47037 [__USE_LARGEFILE64] (struct flock64): New type.
47038 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47039
47040 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47041 * bits/dirent.h: ... here.
47042
47043 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47044 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47045
47046 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47047
47048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47049 Change from 2.6.0 to 2.6.16.
47050 * sysdeps/unix/sysv/linux/configure: Regenerated.
47051 * sysdeps/unix/sysv/linux/kernel-features.h
47052 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47053 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47054 version.
47055 (__ASSUME_UTIMES): Likewise.
47056 (__ASSUME_CLONE_STOPPED): Remove.
47057 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47058 architectures, not kernel version.
47059 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47060 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47061 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47062 (__ASSUME_WAITID_SYSCALL): Likewise.
47063 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47064 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47065 * README: State 2.6.16 as minimum Linux kernel version. Do not
47066 refer to older versions.
47067
47068 2012-08-06 Roland McGrath <roland@hack.frob.com>
47069
47070 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47071 Define alphasort64 as an alias.
47072 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47073 Define versionsort64 as an alias.
47074 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47075 Define scandir64 as an alias.
47076 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47077 Define scandirat64 as an alias.
47078 * dirent/alphasort64.c (alphasort64):
47079 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47080 * dirent/versionsort64.c: Likewise.
47081 * dirent/scandir64.c: Likewise.
47082 * dirent/scandirat64.c: Likewise.
47083 * sysdeps/wordsize-64/alphasort.c: File removed.
47084 * sysdeps/wordsize-64/alphasort64.c: File removed.
47085 * sysdeps/wordsize-64/scandir.c: File removed.
47086 * sysdeps/wordsize-64/scandir64.c: File removed.
47087 * sysdeps/wordsize-64/scandirat.c: File removed.
47088 * sysdeps/wordsize-64/scandirat64.c: File removed.
47089 * sysdeps/wordsize-64/versionsort.c: File removed.
47090 * sysdeps/wordsize-64/versionsort64.c: File removed.
47091 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47093 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47094 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47095 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47096 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47097 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47098 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47099
47100 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47102 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47104 [defined __arch64__ || defined __sparcv9]
47105 (__INO_T_MATCHES_INO64_T): New macro.
47106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47107 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47108 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47109 * sysdeps/unix/sysv/linux/bits/dirent.h
47110 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47111 (_DIRENT_MATCHES_DIRENT64): New macro.
47112
47113 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47114 Define lockf64 as an alias.
47115 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47116 Define fseeko64 as an alias.
47117 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47118 Define ftello64 as an alias.
47119 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47120 Define _IO_fgetpos64 and fgetpos64 as aliases.
47121 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47122 Define _IO_fsetpos64 and fsetpos64 as aliases.
47123 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47124 Conditionalize body on this.
47125 * libio/fseeko64.c: Likewise.
47126 * libio/ftello64.c: Likewise.
47127 * libio/iofgetpos64.c: Likewise.
47128 * libio/iofsetpos64.c: Likewise.
47129 * sysdeps/wordsize-64/lockf.c: File removed.
47130 * sysdeps/wordsize-64/lockf64.c: File removed.
47131 * sysdeps/wordsize-64/fseeko.c: File removed.
47132 * sysdeps/wordsize-64/fseeko64.c: File removed.
47133 * sysdeps/wordsize-64/ftello.c: File removed.
47134 * sysdeps/wordsize-64/ftello64.c: File removed.
47135 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47136 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47137 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47138 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47139 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47140 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47141 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47142 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47143 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47144 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47145 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47147 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47148 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47149
47150 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47152 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47154 [defined __arch64__ || defined __sparcv9]
47155 (__OFF_T_MATCHES_OFF64_T): New macro.
47156 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47157 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47159 (__OFF_T_MATCHES_OFF64_T): New macro.
47160
47161 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47162
47163 * stdlib/secure-getenv.c (__secure_getenv): Replace
47164 GLIBC_2_16 with GLIBC_2_17.
47165
47166 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47167
47168 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47169 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47170
47171 2012-08-03 David S. Miller <davem@davemloft.net>
47172
47173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47174
47175 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47176
47177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47178 Remove.
47179 (__ASSUME_CORRECT_SI_PID): Likewise.
47180 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47181 (__ASSUME_TMPFS_NAME): Likewise.
47182 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47183 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47184 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47185 (HAVE_AUX_SECURE): Make definition unconditional.
47186 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47187 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47188
47189 2012-08-03 Roland McGrath <roland@hack.frob.com>
47190
47191 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47192 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47193 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47194 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47195 __eloop_threshold instead of SYMLOOP_MAX.
47196
47197 * sysdeps/generic/eloop-threshold.h: New file.
47198 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47199 of MAXSYMLINKS.
47200 * elf/chroot_canon.c (chroot_canon): Likewise.
47201
47202 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47203
47204 [BZ #13717]
47205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47206 Change to 2.6.0 everywhere.
47207 * sysdeps/unix/sysv/linux/configure: Regenerated.
47208 * sysdeps/unix/sysv/linux/kernel-features.h
47209 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47210 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47211 kernel versions.
47212 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47213 (__ASSUME_FUTEX_REQUEUE): Remove.
47214 (__ASSUME_STATFS64): Define unconditionally.
47215 (__ASSUME_AT_SECURE): Likewise.
47216 (__ASSUME_CORRECT_SI_PID): Likewise.
47217 (__ASSUME_TGKILL): Define without depending on kernel version for
47218 i386.
47219 (__ASSUME_UTIMES): Likewise.
47220 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47221 kernel version.
47222 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47223 (__ASSUME_TMPFS_NAME): Likewise.
47224 * README: Update reference to Linux kernel versions.
47225
47226 2012-08-02 Marek Polacek <polacek@redhat.com>
47227
47228 [BZ# 14150]
47229 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47230 libc_cv_asm_type_prefix with %.
47231 * configure: Regenerated.
47232 * include/libc-symbols.h: Remove comment about
47233 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47234 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47235 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47236 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47237 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47238 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47239 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47240 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47241 * elf/tst-unique2mod1.c: Likewise.
47242 * elf/tst-unique1mod2.c: Likewise.
47243 * elf/tst-unique1mod1.c: Likewise.
47244 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47245 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47246 Replace ASM_TYPE_DIRECTIVE with .type.
47247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47248 * sysdeps/i386/sysdep.h: Likewise.
47249 * sysdeps/x86_64/sysdep.h: Likewise.
47250 * sysdeps/sh/sysdep.h: Likewise.
47251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47252 Do not define ASM_TYPE_DIRECTIVE.
47253 * sysdeps/powerpc/sysdep.h: Likewise.
47254 * sysdeps/powerpc/powerpc32/sysdep.h:
47255 Replace ASM_TYPE_DIRECTIVE with .type.
47256 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47257 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47258 * sysdeps/i386/fpu/e_powf.S: Likewise.
47259 * sysdeps/i386/fpu/e_expl.S: Likewise.
47260 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47261 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47262 * sysdeps/i386/fpu/e_pow.S: Likewise.
47263 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47264 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47265 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47266 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47267 * sysdeps/i386/fpu/e_log2.S: Likewise.
47268 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47269 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47270 * sysdeps/i386/fpu/e_powl.S: Likewise.
47271 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47272 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47273 * sysdeps/i386/fpu/e_logl.S: Likewise.
47274 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47275 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47276 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47277 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47278 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47279 * sysdeps/i386/fpu/e_log.S: Likewise.
47280 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47281 * sysdeps/i386/fpu/e_logf.S: Likewise.
47282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47283 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47284 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47285 * sysdeps/i386/fpu/e_log10.S: Likewise.
47286 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47287 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47288 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47289 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47291 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47292 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47293 * sysdeps/i386/i686/strtok.S: Likewise.
47294 * sysdeps/i386/i386-mcount.S: Likewise.
47295 * sysdeps/i386/strtok.S: Likewise.
47296 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47297 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47299 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47300 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47301 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47302 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47303 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47304 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47305 * sysdeps/x86_64/_mcount.S: Likewise.
47306 * sysdeps/x86_64/strtok.S: Likewise.
47307 * sysdeps/sh/_mcount.S: Likewise.
47308
47309 2012-08-01 Roland McGrath <roland@hack.frob.com>
47310
47311 * libio/iofopen.c: Include <fcntl.h>.
47312 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47313 (_IO_fopen64, fopen64): Define as aliases.
47314 * libio/iofopen64.c: Include <fcntl.h>.
47315 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47316 Conditionalize body on this.
47317 * sysdeps/wordsize-64/iofopen.c: File removed.
47318 * sysdeps/wordsize-64/iofopen64.c: File removed.
47319
47320 2012-08-01 Marek Polacek <polacek@redhat.com>
47321
47322 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47323 Use dlfcn directly instead of a variable.
47324 (binfmt-subdir): Do not define.
47325 (dlfcn): Likewise.
47326
47327 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47328
47329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47330 Remove all definitions.
47331 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47332 <kernel-features.h>.
47333 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47334 (miss_F_GETOWN_EX): Remove all definitions.
47335 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47336 macro definition.
47337 [!__ASSUME_FCNTL64]: Remove conditional code.
47338 [__ASSUME_FCNTL64]: Make code unconditional.
47339 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47340 <kernel-features.h>.
47341 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47342 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47343 (lockf64) [__NR_fcntl64]: Make code unconditional.
47344 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47345
47346 * sysdeps/unix/sysv/linux/kernel-features.h
47347 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47348 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47349 Make code unconditional.
47350 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47351 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47353 [__NR_vfork]: Make code unconditional.
47354 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47355 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47357 [__NR_vfork]: Make code unconditional.
47358 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47359 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47360
47361 2012-08-01 Roland McGrath <roland@hack.frob.com>
47362
47363 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47364 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47365
47366 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47367 Define mkstemp64 as an alias.
47368 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47369 Define mkstemps64 as an alias.
47370 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47371 Define mkostemp64 as an alias.
47372 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47373 Define mkostemps64 as an alias.
47374 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47375 Conditionalize body on this.
47376 * misc/mkostemp64.c: Likewise.
47377 * misc/mkostemps64.c: Likewise.
47378 * misc/mkstemps64.c: Likewise.
47379 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47380 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47381 * sysdeps/wordsize-64/mkostemp.c: File removed.
47382 * sysdeps/wordsize-64/mkstemp.c: File removed.
47383 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47384 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47386 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47387
47388 [BZ #14138]
47389 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47390 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47391 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47392 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47393
47394 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47395 compat_symbol macros from <shlib-compat.h> rather than the underlying
47396 default_symbol_version and symbol_version macros, so that DEFAULT
47397 lines in shlib-versions are respected.
47398 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47399
47400 2012-08-01 Florian Weimer <fweimer@redhat.com>
47401
47402 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47403 Declare with warn_unused_result.
47404 (setgid, setregid, setegid, setresgid): Likewise.
47405 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47406 Likewise.
47407 * WUR-REPORT: Remove set*id functions.
47408
47409 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47410
47411 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47412
47413 2012-07-31 Roland McGrath <roland@hack.frob.com>
47414
47415 [BZ #10191]
47416 * include/sys/socket.h (__libc_accept, __libc_accept4):
47417 Add attribute_hidden.
47418 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47419
47420 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47421 use of PTR_MANGLE.
47422 * inet/getnetgrent_r.c (setup): Likewise.
47423
47424 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47425
47426 2012-07-31 David S. Miller <davem@davemloft.net>
47427
47428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47429
47430 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47431
47432 [BZ #13629]
47433 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47434 value between 1.0 and 2.0 and smaller part has absolute value less
47435 than 1.0.
47436 * math/s_clog10.c (__clog10): Likewise.
47437 * math/s_clog10f.c (__clog10f): Likewise.
47438 * math/s_clog10l.c (__clog10l): Likewise.
47439 * math/s_clogf.c (__clogf): Likewise.
47440 * math/s_clogl.c (__clogl): Likewise.
47441 * math/libm-test.inc (clog_test): Add more tests.
47442 (clog10_test): Likewise.
47443 * sysdeps/i386/fpu/libm-test-ulps: Update.
47444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47445
47446 2012-07-31 Florian Weimer <fweimer@redhat.com>
47447
47448 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47449 Exit with zero in case no suitable GID is found, and write a
47450 message to standard error.
47451
47452 2012-07-30 Roland McGrath <roland@hack.frob.com>
47453
47454 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47455 rather than to 1.
47456 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47457 (MAXPATHLEN): Removed.
47458 (NOGROUP, NODEV): New macros.
47459 (setbit, clrbit, isset, isclr): New macros.
47460 (howmany, roundup, powerof2): New macros.
47461 (DEV_BSIZE): New macro.
47462
47463 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47464 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47465
47466 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47467 definition on [!__NO_LONG_DOUBLE_MATH].
47468
47469 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47470 PTR_MANGLE and PTR_DEMANGLE.
47471
47472 * socket/accept4.c (accept4): Rename to __libc_accept4.
47473 Define accept4 as a weak alias.
47474
47475 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47476 on [_DIRENT_HAVE_D_TYPE].
47477 * io/ftw.c (ftw_dir): Likewise.
47478
47479 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47480
47481 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47482
47483 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47484 Use the BSD numbers rather than the arbitrary ones we had.
47485 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47486 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47487 (SIGXCPU, SIGXFSZ): New macros.
47488 (_NSIG): Now 32.
47489
47490 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47491 initializer on [_LIBC_REENTRANT].
47492
47493 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47494 definitions inside [_POSIX_MAPPED_FILES].
47495
47496 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47497
47498 * dirent/opendir.c: Include <fcntl.h>.
47499
47500 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47501 (__libc_getspecific): Likewise.
47502 (__libc_key_create): Likewise.
47503
47504 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47505 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47506 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47507 (tmpfile64): Define as alias.
47508 * sysdeps/wordsize-64/tmpfile.c: File removed.
47509 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47510 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47512
47513 * stdio-common/vfscanf.c: Include <stdbool.h>.
47514 * nss/makedb.c: Likewise.
47515 * stdio-common/_i18n_number.h: Likewise.
47516 * argp/argp-help.c: Likewise.
47517 * posix/wordexp.c: Likewise.
47518 * sysdeps/posix/spawni.c: Likewise.
47519 * nss/nss_files/files-initgroups.c: Likewise.
47520 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47521 * nss/nss_files/files-initgroups.c: Likewise.
47522 * nss/nss_db/db-netgrp.c: Likewise.
47523 * nss/nss_db/db-initgroups.c: Likewise.
47524 * io/fchmodat.c: Include <sys/stat.h>.
47525
47526 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47527 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47528
47529 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47530 [HAVE_MMAP].
47531
47532 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47533 Add multiple inclusion protection.
47534
47535 2012-07-27 David S. Miller <davem@davemloft.net>
47536
47537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47538
47539 2012-07-27 Gary Benson <gbenson@redhat.com>
47540
47541 [BZ #14298]
47542 * elf/rtld.c: Include <stap-probe.h>.
47543 (dl_main): Added static probes "init_start" and "init_complete".
47544 * elf/dl-load.c: Include <stap-probe.h>.
47545 (lose): Take new parameter "nsid".
47546 Added static probe "map_failed".
47547 (_dl_map_object_from_fd): Pass namespace id to lose.
47548 Added static probe "map_start".
47549 (open_verify): Pass namespace id to lose.
47550 * elf/dl-open.c: Include <stap-probe.h>.
47551 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47552 and "reloc_complete".
47553 * elf/dl-close.c: Include <stap-probe.h>.
47554 (_dl_close_worker): Added static probes "unmap_start" and
47555 "unmap_complete".
47556 * elf/rtld-debugger-interface.txt: New file documenting the above.
47557
47558 2012-07-26 Roland McGrath <roland@hack.frob.com>
47559
47560 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47561 rather than a string variable.
47562 * sunrpc/rpc_main.c (h_output): Likewise.
47563 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47564
47565 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47566
47567 * inet/check_native.c: New file.
47568
47569 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47570
47571 [BZ #13629]
47572 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47573 if larger part has absolute value 1.0.
47574 * math/s_clog10.c (__clog10): Likewise.
47575 * math/s_clog10f.c (__clog10f): Likewise.
47576 * math/s_clog10l.c (__clog10l): Likewise.
47577 * math/s_clogf.c (__clogf): Likewise.
47578 * math/s_clogl.c (__clogl): Likewise.
47579 * math/libm-test.inc (clog_test): Add more tests.
47580 (clog10_test): Likewise.
47581 * sysdeps/i386/fpu/libm-test-ulps: Update.
47582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47583
47584 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47585 (pltexit): Likewise.
47586 (La_regs): Likewise.
47587 (La_retval): Likewise.
47588 (int_retval): Likewise.
47589 Update #error for removed macros to refer only to definitions in
47590 tst-audit.h.
47591 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47592 macro.
47593 (pltexit): Likewise.
47594 (La_regs): Likewise.
47595 (La_retval): Likewise.
47596 (int_retval): Likewise.
47597 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47598 macro.
47599 (pltexit): Likewise.
47600 (La_regs): Likewise.
47601 (La_retval): Likewise.
47602 (int_retval): Likewise.
47603 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47604 macro.
47605 (pltexit): Likewise.
47606 (La_regs): Likewise.
47607 (La_retval): Likewise.
47608 (int_retval): Likewise.
47609 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47610 macro.
47611 (pltexit): Likewise.
47612 (La_regs): Likewise.
47613 (La_retval): Likewise.
47614 (int_retval): Likewise.
47615 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47616 macro.
47617 (pltexit): Likewise.
47618 (La_regs): Likewise.
47619 (La_retval): Likewise.
47620 (int_retval): Likewise.
47621 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47622 macro.
47623 (pltexit): Likewise.
47624 (La_regs): Likewise.
47625 (La_retval): Likewise.
47626 (int_retval): Likewise.
47627 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47628 macro definitions in tst-audit.h.
47629 * sysdeps/i386/tst-audit.h: New file.
47630 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47631 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47632 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47633 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47634 * sysdeps/sh/tst-audit.h: Likewise.
47635 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47636 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47637 * sysdeps/x86_64/tst-audit.h: Likewise.
47638
47639 2012-07-26 Andreas Jaeger <aj@suse.de>
47640
47641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47642 ptrace.
47643
47644 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47645 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47646 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47647 PTRACE_O_MASK.
47648 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47649 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47650 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47651
47652 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47653 value.
47654
47655 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47656 _sigsys.
47657 (si_call_addr, si_syscall, si_arch): Define new macro.
47658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47659 _sigsys.
47660 (si_call_addr, si_syscall, si_arch): Define new marcro.
47661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47662 _sigsys.
47663 (si_call_addr, si_syscall, si_arch): Define new macro.
47664 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47665 _sigsys.
47666 (si_call_addr, si_syscall, si_arch): Define new macro.
47667
47668 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47669
47670 [BZ #13717]
47671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47672 Change to 2.4.21 where previously 2.4.1.
47673 * sysdeps/unix/sysv/linux/configure: Regenerated.
47674 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47675 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47676 Linux kernel version.
47677 (__ASSUME_STD_AUXV): Remove.
47678 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47679 kernel version.
47680 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47681 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47682 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47683 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47684 (__ASSUME_NETLINK_SUPPORT): Likewise.
47685 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47686 (__no_netlink_support): Remove conditional definition.
47687 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47688 Remove.
47689 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47690 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47691 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47692 (if_nameindex_ioctl): Remove.
47693 (if_nameindex_netlink): Do not handle __no_netlink_support.
47694 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47695 code.
47696 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47697 Remove conditional code.
47698 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47699 code.
47700 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47701 unconditional.
47702 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47703 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47704 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47705 Remove.
47706 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47707 [!__ASSUME_STD_AUXV]: Remove conditional code.
47708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47709 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47710 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47712 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47713 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47714 code.
47715 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47717 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47718 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47719 conditional code.
47720 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47722 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47723 code.
47724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47725 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47726 conditional code.
47727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47728 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47729 code unconditional.
47730 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47731 conditional code.
47732 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47733 unconditional.
47734 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47735 conditional code.
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47737 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47738 unconditional.
47739 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47740 conditional code.
47741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47742 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47743 code unconditional.
47744 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47745 conditional code.
47746 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47747 unconditional.
47748 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47749 conditional code.
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47751 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47752 code unconditional.
47753 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47754 conditional code.
47755 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47756 unconditional.
47757 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47758 conditional code.
47759
47760 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47761
47762 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47763 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47764 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47765 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47766 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47767 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47768 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47769 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47770 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47771 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47772 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47773 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47774 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47775 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47777 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47778 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47779 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47780 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47782 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47783 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47784 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47785
47786 2012-07-25 Florian Weimer <fweimer@redhat.com>
47787
47788 * Versions.def: Add GLIBC_2.17.
47789 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47790 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47791 Introduce __libc_secure_getenv.
47792 * stdlib/Versions (2.17): Add secure_getenv
47793 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47794 * stdlib/secure-getenv.c: Rename __secure_getenv to
47795 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47796 symbol __secure_getenv for GLIBC_2.0.
47797 * stdlib/tst-secure-getenv.c: New.
47798 * stdlib/Makefile (tests): Add testcase.
47799 * manual/startup.texi (Environment Access): Document
47800 secure_getenv.
47801 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47802 __libc_secure_getenv.
47803 * inet/ruserpass.c (ruserpass): Likewise.
47804 * malloc/mtrace.c (mtrace): Likewise.
47805 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47806 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47807 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47808 * sysdeps/posix/tempname.c: Likewise. Evaluate
47809 HAVE_SECURE_GETENV.
47810 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47811 __secure_getenv to __libc_secure_getenv.
47812 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47814 Likewise.
47815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47816 Likewise.
47817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47824
47825 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47826
47827 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47828 (struct La_i86_retval): Likewise.
47829 (struct La_x86_64_regs): Likewise.
47830 (struct La_x86_64_retval): Likewise.
47831 (struct La_x32_regs): Likewise.
47832 (struct La_x32_retval): Likewise.
47833 (struct La_ppc32_regs): Likewise.
47834 (struct La_ppc32_retval): Likewise.
47835 (struct La_ppc64_regs): Likewise.
47836 (struct La_ppc64_retval): Likewise.
47837 (struct La_sh_regs): Likewise.
47838 (struct La_sh_retval): Likewise.
47839 (struct La_s390_32_regs): Likewise.
47840 (struct La_s390_32_retval): Likewise.
47841 (struct La_s390_64_regs): Likewise.
47842 (struct La_s390_64_retval): Likewise.
47843 (struct La_sparc32_regs): Likewise.
47844 (struct La_sparc32_retval): Likewise.
47845 (struct La_sparc64_regs): Likewise.
47846 (struct La_sparc64_retval): Likewise.
47847 (struct audit_ifaces): Remove architecture-specific pltenter and
47848 pltexit members.
47849 * sysdeps/i386/ldsodefs.h: New file.
47850 * sysdeps/powerpc/ldsodefs.h: Likewise.
47851 * sysdeps/s390/ldsodefs.h: Likewise.
47852 * sysdeps/sh/ldsodefs.h: Likewise.
47853 * sysdeps/sparc/ldsodefs.h: Likewise.
47854 * sysdeps/x86_64/ldsodefs.h: Likewise.
47855
47856 2012-07-25 Marek Polacek <polacek@redhat.com>
47857
47858 [BZ #6808]
47859 * math/libm-test.inc (yn_test): Add another test.
47860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47861 to ERANGE when the result is +-Inf.
47862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47863 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47864 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47865 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47866
47867 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47868
47869 * conform/data/time.h-data (NULL): Use macro-constant. Require
47870 equal to 0.
47871 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47872 clock_t.
47873 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47874
47875 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47876
47877 * configure.in <sysdeps resolving>: Correct printing
47878 Implies_before.
47879 * configure: Regenerate.
47880
47881 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47882
47883 * math/w_ilogb.c: Include <limits.h>.
47884 * math/w_ilogbl.c: Likewise.
47885
47886 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47887
47888 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47889 va_copy. Document allowing for unavailable va_copy only as
47890 pre-C99 compatibility.
47891 * manual/string.texi (Copying and Concatenation): Use va_copy
47892 instead of __va_copy in concat example.
47893
47894 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47895
47896 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47897 (__sendto): Use create_address_port. Initialize APORT and deallocate
47898 it if not null.
47899
47900 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47901 with O_NOLINK passed to __file_name_lookup.
47902
47903 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47904 with O_NOLINK passed to __file_name_lookup.
47905
47906 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47907 negative N or less than NGIDS.
47908
47909 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47910 type to string_t. Set ERANGE as errno and return it if NAME is not big
47911 enough. Use memcpy instead of strncpy.
47912
47913 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47914
47915 * elf/Makefile (check-data): Remove.
47916 (localplt.data): New vpath directive.
47917 ($(objpfx)check-localplt.out): Use localplt.data from vpath
47918 instead of $(check-data).
47919 * scripts/data/localplt-generic.data: Move to ...
47920 * sysdeps/generic/localplt.data: ... here.
47921 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47922 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47923 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47925 ... here.
47926 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47928 ... here.
47929 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47931 ... here.
47932 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47934 ... here.
47935 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47937 ... here.
47938 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47940 ... here.
47941
47942 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47943
47944 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47945 PPC32 and PPC64 files.
47946 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47947 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47948
47949 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47950
47951 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47952 __makecontext_ret to ...
47953 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47954 ... here and call exit if uc_link is NULL. New file.
47955 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47956 __makecontext_ret.S.
47957 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47958 __makecontext_ret to ...
47959 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47960 ... here and call exit if uc_link is NULL. New file.
47961 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47962 __makecontext_ret.S.
47963
47964 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47965
47966 * elf/elf.h (R_390_IRELATIVE): New definition.
47967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47968 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
47969 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47971 (elf_machine_lazy_rel): Likewise.
47972 * sysdeps/s390/dl-irel.h: New file.
47973 * sysdeps/s390/s390-64/memcpy.S: New asm code.
47974 * sysdeps/s390/s390-64/memset.S: New asm code.
47975 * sysdeps/s390/s390-64/memcmp.S: New asm code.
47976 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47977 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47978 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47979 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47980 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47982 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47983 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47984 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47985 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47986 * sysdeps/s390/s390-32/memcpy.S: New asm code.
47987 * sysdeps/s390/s390-32/memset.S: New asm code.
47988 * sysdeps/s390/s390-32/memcmp.S: New asm code.
47989
47990 2012-07-17 Marek Polacek <polacek@redhat.com>
47991
47992 [BZ #14349]
47993 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47994 * sysdeps/s390/s390-64/configure.in: Likewise.
47995 * sysdeps/sparc/configure.in: Likewise.
47996 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47997 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47998 * sysdeps/i386/configure.in: Likewise.
47999 * sysdeps/x86_64/configure.in: Likewise.
48000 * sysdeps/sh/configure.in: Likewise.
48001 * sysdeps/s390/s390-32/configure: Regenerated.
48002 * sysdeps/s390/s390-64/configure: Likewise.
48003 * sysdeps/x86_64/configure: Likewise.
48004 * sysdeps/sh/configure: Likewise.
48005 * sysdeps/powerpc/powerpc64/configure: Likewise.
48006 * sysdeps/powerpc/powerpc32/configure: Likewise.
48007 * sysdeps/sparc/configure: Likwise.
48008 * sysdeps/i386/configure: Likewise.
48009
48010 * elf/dl-open.c: Comment fixes.
48011
48012 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48013
48014 * Makefile [CXX] (check-data): Remove.
48015 [CXX] (c++-types.data): New vpath directive.
48016 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48017 vpath. Do not allow for C++ type data being missing.
48018 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48019 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48020 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48021 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48022 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48023 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48024 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48026 ... here.
48027 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48029 ... here.
48030 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48032 ... here.
48033 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48035 ... here.
48036 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48038 ... here.
48039 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48041 ... here.
48042 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48044 ... here.
48045 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48047
48048 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48049 definitions to architecture-specific files.
48050 (TLS_IE): Likewise.
48051 (TLS_LD): Likewise.
48052 (TLS_GD): Likewise.
48053 * sysdeps/i386/tls-macros.h: New file.
48054 * sysdeps/powerpc/tls-macros.h: Likewise.
48055 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48056 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48057 * sysdeps/sh/tls-macros.h: Likewise.
48058 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48059 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48060 * sysdeps/x86_64/tls-macros.h: Likewise.
48061
48062 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48063
48064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48065 zero value for regular exit case.
48066
48067 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48068 (__start_context): Preserve zero value for regular exit case.
48069
48070 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48071 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48072
48073 * manual/setjmp.texi (setcontext): Clarify normal process
48074 termination when uc_link is the null pointer.
48075 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48076 exit call.
48077
48078 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48079
48080 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48081 preprocessor. Test for each exception mask separately.
48082
48083 2012-07-16 Andreas Jaeger <aj@suse.de>
48084
48085 * po/ru.po: Update from translation team.
48086
48087 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48088
48089 * conform/data/string.h-data (NULL): Use macro-constant. Require
48090 equal to 0.
48091 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48092 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48093 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48094 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48096
48097 2012-07-13 Andreas Jaeger <aj@suse.de>
48098
48099 * po/fr.po: Update from translation team.
48100
48101 2012-07-12 Marek Polacek <polacek@redhat.com>
48102
48103 [BZ #14173]
48104 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48105 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48106 loop condition.
48107
48108 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48109
48110 [BZ #13717]
48111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48112 Change to 2.4.1 where previously 2.4.0.
48113 * sysdeps/unix/sysv/linux/configure: Regenerated.
48114 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48115 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48116 version.
48117 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48118 (__ASSUME_AT_CLKTCK): Remove.
48119 (__ASSUME_AT_PAGESIZE): Likewise.
48120 (__ASSUME_AT_XID): Likewise.
48121 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48122 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48123 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48124 unconditionally.
48125 (HAVE_AUX_PAGESIZE): Likewise.
48126 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48127 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48128 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48129
48130 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48131
48132 [BZ #14307]
48133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48134 the temporary buffer used to invoke __gethostbyname2_r,
48135 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48136 host_data / struct gaih_addrtuple.
48137 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48138 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48139 header file nss/nsswitch.h.
48140 * nss/nsswitch.h (global scope): Add definition of implementation
48141 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48142 resolv/nss_dns/dns-host.c).
48143
48144 2012-07-11 Andreas Jaeger <aj@suse.de>
48145
48146 * po/fr.po: Update from translation team.
48147
48148 * po/sv.po: Update from translation team
48149 * po/fr.po: Another update from translation team.
48150
48151 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48152
48153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48154 for subnormals or multiply small sinh result by itself.
48155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48157
48158 2012-07-11 David S. Miller <davem@davemloft.net>
48159
48160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48161
48162 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48163
48164 [BZ #14347]
48165 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48166 (INTERNAL_MARK): Shift it here.
48167
48168 2012-07-10 Marek Polacek <polacek@redhat.com>
48169
48170 [BZ #14151]
48171 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48172 libc_cv_asm_global_directive with .globl.
48173 * configure: Regenerated.
48174 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48175 with .globl.
48176 * sysdeps/i386/configure: Regenerated.
48177 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48178 with .globl.
48179 * sysdeps/x86_64/configure: Regenerated.
48180 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48181 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48182 * elf/tst-unique2mod2.c: Likewise.
48183 * elf/tst-unique2mod1.c: Likewise.
48184 * elf/tst-unique1mod2.c: Likewise.
48185 * elf/tst-unique1mod1.c: Likewise.
48186 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48187 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48189 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48190 * sysdeps/mach/sysdep.h: Likewise.
48191 * sysdeps/i386/sysdep.h: Likewise.
48192 * sysdeps/i386/i386-mcount.S: Likewise.
48193 * sysdeps/x86_64/_mcount.S: Likewise.
48194 * sysdeps/x86_64/sysdep.h: Likewise.
48195 * sysdeps/sh/_mcount.S: Likewise.
48196 * sysdeps/sh/sysdep.h: Likewise.
48197 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48198 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48199 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48200 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48201 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48202 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48203 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48204 * locale/localeinfo.h: Likewise.
48205 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48206 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48207
48208 2012-07-09 Roland McGrath <roland@hack.frob.com>
48209
48210 [BZ #14336]
48211 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48212 system".
48213 * manual/message.texi (The Uniforum approach): Likewise.
48214 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48215 (glibc iconv Implementation): Likewise.
48216
48217 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48218
48219 [BZ #14337]
48220 * math/s_clog.c (__clog): Avoid scaling a value down where that
48221 could result in underflow.
48222 * math/s_clog10.c (__clog10): Likewise.
48223 * math/s_clog10f.c (__clog10f): Likewise.
48224 * math/s_clog10l.c (__clog10l): Likewise.
48225 * math/s_clogf.c (__clogf): Likewise.
48226 * math/s_clogl.c (__clogl): Likewise.
48227 * math/libm-test.inc (clog_test): Add more tests.
48228 (clog10_test): Likewise.
48229 * sysdeps/i386/fpu/libm-test-ulps: Update.
48230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48231
48232 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48233
48234 [BZ #14283]
48235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48236 by 7 not 8 to examine high bit of fractional part.
48237
48238 [BZ #14042]
48239 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48240 for call to __mcount_internal.
48241 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48242 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48243 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48244
48245 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48246
48247 [BZ #14154]
48248 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48249 approximation for values within 0x1p-13f of an odd multiple of
48250 pi/4.
48251 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48252 exception. Add more tests.
48253 * sysdeps/i386/fpu/libm-test-ulps: Update.
48254
48255 [BZ #6778]
48256 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48257 inputs and return -1 for them. Do not check for +Inf in case not
48258 reachable for +Inf.
48259 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48260 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48262 and return -1 for them. Do not check for +Inf in case not
48263 reachable for +Inf.
48264 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48265 define.
48266 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48267 and return -1 for them. Do not check for +Inf in case not
48268 reachable for +Inf.
48269 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48270 spurious underflow.
48271 * sysdeps/i386/fpu/libm-test-ulps: Update.
48272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48273
48274 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48275
48276 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48277
48278 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48279
48280 [BZ #14157]
48281 [BZ #14331]
48282 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48283 could result in spurious underflow. Scale down values above
48284 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48285 * math/s_csqrtf.c (__csqrtf): Likewise.
48286 * math/s_csqrtl.c (__csqrtl): Likewise.
48287 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48288 spurious underflow.
48289 * sysdeps/i386/fpu/libm-test-ulps: Update.
48290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48291
48292 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48293
48294 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48295 xopen-msg.sed.
48296 * catgets/xopen-msg.awk: New file.
48297 * catgets/xopen-msg.sed: Removed.
48298
48299 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48300 po2text.sed.
48301 * intl/po2test.awk: New file.
48302 * intl/po2test.sed: Removed.
48303
48304 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48305
48306 [BZ #14328]
48307 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48308 or multiply small sinh result by itself.
48309 * math/s_ctanf.c (__ctanf): Likewise.
48310 * math/s_ctanh.c (__ctanh): Likewise.
48311 * math/s_ctanhf.c (__ctanhf): Likewise.
48312 * math/s_ctanhl.c (__ctanhl): Likewise.
48313 * math/s_ctanl.c (__ctanl): Likewise.
48314 * math/libm-test.inc (ctan_test_tonearest): New function.
48315 (ctan_test_towardzero): Likewise.
48316 (ctan_test_downward): Likewise.
48317 (ctan_test_upward): Likewise.
48318 (ctanh_test_tonearest): Likewise.
48319 (ctanh_test_towardzero): Likewise.
48320 (ctanh_test_downward): Likewise.
48321 (ctanh_test_upward): Likewise.
48322 (main): Call these new functions.
48323 * sysdeps/i386/fpu/libm-test-ulps: Update.
48324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48325
48326 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48327
48328 * .gitignore: Delete /ports entry.
48329
48330 2012-07-03 Andreas Jaeger <aj@suse.de>
48331
48332 * po/bg.po: Update from translation team.
48333 * po/cs.po: Likewise.
48334 * po/de.po: Likewise.
48335 * po/hr.po: Likewise.
48336 * po/nl.pl: Likewise.
48337 * po/pl.po: Likewise.
48338 * po/vi.po: Likewise.
48339
48340 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48341
48342 * Makeconfig [!+link] (+link-before-libc): New variable.
48343 [!+link] (+link-after-libc): Likewise.
48344 [!+link] (+link-tests): Likewise.
48345 [!+link] (+link): Define in terms of $(+link-before-libc) and
48346 $(+link-after-libc).
48347 [!+link-static] (+link-static-before-libc): New variable.
48348 [!+link-static] (+link-static-after-libc): Likewise.
48349 [!+link-static] (+link-static-tests): Likewise.
48350 [!+link-static] (+link-static): Define in terms of
48351 $(+link-static-before-libc) and $(+link-static-after-libc).
48352 [build-shared] (link-libc-before-gnulib): New variable.
48353 [build-shared] (link-libc-tests): Likewise.
48354 [build-shared] (link-libc): Define in terms of
48355 $(link-libc-before-gnulib).
48356 [!build-shared] (link-libc-tests): New variable.
48357 (link-libc-static-tests): New variable.
48358 [!gnulib] (gnulib-arch): New variable.
48359 [!gnulib] (gnulib-tests): Likewise.
48360 [!gnulib] (static-gnulib-arch): Likewise.
48361 [!gnulib] (static-gnulib-tests): Likewise.
48362 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48363 Define with "=" instead of ":=".
48364 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48365 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48366 * Rules (binaries-all-notests): New variable.
48367 (binaries-all-tests): Likewise.
48368 (binaries-static-notests): Likewise.
48369 (binaries-static-tests): Likewise.
48370 (binaries-all): Define using $(binaries-all-notests) and
48371 $(binaries-all-tests).
48372 (binaries-static): Define using $(binaries-static-notests) and
48373 $(binaries-static-tests).
48374 (binaries-shared-tests): New variable.
48375 (binaries-shared-notests): Likewise.
48376 (binaries-shared): Remove variable.
48377 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48378 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48379 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48380 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48381 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48382 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48383 * elf/Makefile (sln-modules): New variable.
48384 (extra-objs): Add $(sln-modules:=.o).
48385 (ldconfig-modules): Add static-stubs.
48386 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48387 * elf/static-stubs.c: New file.
48388
48389 [BZ #14283]
48390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48391 by 7 not 8 to examine high bit of fractional part. Use volatile
48392 variables when splitting into final array of floats if
48393 __FLT_EVAL_METHOD__ != 0.
48394 * math/libm-test.inc (cos_test): Add another test.
48395 (sin_test): Likewise.
48396 * sysdeps/i386/fpu/libm-test-ulps: Update.
48397
48398 [BZ #14273]
48399 * math/libm-test.inc (cosh_test): Add more tests.
48400
48401 * version.h (RELEASE): Set to "development".
48402 (VERSION): Set to "2.16.90".
48403
48404 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48405
48406 * NEWS: Update copyright. Remove last-updated date.
48407 Mention math library bug fixes and timezone data changes.
48408 * README: Mention GNU/Hurd, x32, and HPPA support status.
48409
48410 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48411
48412 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48413
48414 2012-06-27 Andreas Jaeger <aj@suse.de>
48415
48416 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48417
48418 2012-06-25 Andreas Jaeger <aj@suse.de>
48419
48420 * sysdeps/s390/fpu/libm-test-ulps: Update.
48421
48422 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48423 Thomas Schwinge <thomas@codesourcery.com>
48424
48425 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48426 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48428 fanotify_mark.
48429
48430 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48431
48432 * sysdeps/mach/start.c: Remove file.
48433 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48434 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48435 * sysdeps/sh/init-first.c: Likewise.
48436
48437 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48438 registers for frame unwinding purposes, add CFI directives.
48439 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48440 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48441 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48442 Likewise.
48443
48444 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48445 __fortify_fail returning.
48446 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48447
48448 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48449 sysdeps/sh/____longjmp_chk.S.
48450 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48451 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48452 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48453 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48454
48455 * sysdeps/sh/abort-instr.h: New file.
48456 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48457 process in case exit returns.
48458
48459 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48460 initialize the GOT register before use.
48461
48462 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48463 calculation of ARGC > 4.
48464
48465 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48466 meaningful names to some local labels.
48467
48468 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48469 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48470
48471 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48472 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48473 (__arch_compare_and_exchange_val_16_acq): Likewise.
48474 (__arch_compare_and_exchange_val_32_acq): Likewise.
48475 (atomic_exchange_and_add): Fix gUSA sequence.
48476 (atomic_add): Likewise.
48477 (atomic_add_negative): Likewise.
48478 (atomic_add_zero): Likewise.
48479 (atomic_bit_test_set): Likewise.
48480
48481 2012-06-22 Andreas Schwab <schwab@redhat.com>
48482
48483 [BZ #13579]
48484 * include/link.h (struct link_map): Add l_free_initfini.
48485 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48486 l_initfini.
48487 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48488 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48489 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48490 set.
48491
48492 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48493
48494 * configure.in: Use AC_LANG_SOURCE.
48495 * configure: Regenerate.
48496
48497 2012-06-22 Roland McGrath <roland@hack.frob.com>
48498
48499 * configure.in (libc_cv_localstatedir): New substituted variable.
48500 * configure: Regenerated.
48501 * config.make.in (localstatedir): New variable, substituted from
48502 libc_cv_localstatedir.
48503 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48504 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48505 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48506 * sysdeps/gnu/configure: Regenerated.
48507
48508 2012-06-21 Jeff Law <law@redhat.com>
48509
48510 [BZ #14277]
48511 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48512 free. Simplify list management for _LIBC case.
48513
48514 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48515
48516 [BZ #14273]
48517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48518 Clear sign bit of 64-bit integer value before comparing against
48519 overflow value.
48520
48521 * sysdeps/mach/configure: Regenerated.
48522
48523 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48524
48525 [BZ #14278]
48526 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48527
48528 2012-06-21 Jeff Law <law@redhat.com>
48529
48530 [BZ #13882]
48531 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48532 uint16_t for elements in the "seen" array to avoid char overflows.
48533 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48534 * elf/dl-open.c (dl_open_worker): Likewise.
48535
48536 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48537
48538 * scripts/list-sources.sh: Scan PORTS for translations.
48539 * po/libc.pot: Regenerated.
48540
48541 2012-06-21 Andreas Jaeger <aj@suse.de>
48542
48543 [BZ #12194]
48544 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48545 warning.
48546 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48547 * bits/byteswap-16.h (__bswap_16): Likewise.
48548 * bits/byteswap.h (__bswap_constant_16): Likewise.
48549
48550 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48551
48552 [BZ #14117]
48553 * sysdeps/i386/fpu_control.h: Removed.
48554 * sysdeps/x86_64/fpu_control.h: Moved to ...
48555 * sysdeps/x86/fpu_control.h: Here.
48556
48557 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48558 (_FPU_SETCW): Likewise.
48559
48560 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48561
48562 [BZ #14117]
48563 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48564 * sysdeps/x86/fpu/bits/mathinline.h: This.
48565 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48566
48567 [BZ #14050]
48568 [BZ #14117]
48569 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48570 functions if __x86_64__ is defined.
48571
48572 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48573
48574 * string/endian.h: Add !__ASSEMBLER__ condition for including
48575 conversion interfaces.
48576
48577 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48578
48579 [BZ #14241]
48580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48581 of ABS(x) in calculating zero to negative powers other than odd
48582 integers.
48583 * math/libm-test.inc (pow_test): Add more tests.
48584
48585 2012-06-15 Andreas Jaeger <aj@suse.de>
48586
48587 * manual/contrib.texi (Contributors): Update entry of Liubov
48588 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48589 Machado Filho.
48590
48591 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48592
48593 * string/string.h: Add __wur to GNU version of strerror_r.
48594
48595 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48596
48597 [BZ #14229]
48598 * string/Makefile (tests): Add tst-strtok_r.
48599 * string/tst-strtok_r.c: New file.
48600 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48601 RAX_LP/RDX_LP on SAVE_PTR.
48602
48603 2012-06-14 Roland McGrath <roland@hack.frob.com>
48604
48605 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48606
48607 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48608
48609 * libm_test.inc (csqrt_test): Allow more spurious underflow
48610 exceptions.
48611 (j0_test): Likewise.
48612 (j1_test): Likewise.
48613 (y0_test): Likewise.
48614 (y1_test): Likewise.
48615
48616 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48617
48618 * po/Makefile (libc.pot): Use UTF-8 charset.
48619
48620 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48621
48622 [BZ #14210]
48623 Suppress sign-conversion warning from FD_SET.
48624 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48625 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48626 not unsigned long int.
48627 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48628
48629 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48630
48631 [BZ #14050]
48632 [BZ #14117]
48633 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48634 __extern_always_inline instead of __extern_inline.
48635 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48636 (__signbit): Likewise.
48637 (__signbitl): Support C++ namespace.
48638 (lrintf): New inline function.
48639 (lrint): Likewise.
48640 (llrintf): Likewise.
48641 (llrint): Likewise.
48642 (fmaxf): Likewise.
48643 (fmax): Likewise.
48644 (fminf): Likewise.
48645 (fmin): Likewise.
48646 (rint): Likewise.
48647 (rintf): Likewise.
48648 (ceil): Likewise.
48649 (ceilf): Likewise.
48650 (floor): Likewise.
48651 (floorf): Likewise.
48652 (nearbyint): Likewise.
48653 (nearbyintf): Likewise.
48654
48655 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48656
48657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48658 non-default versions.
48659
48660 2012-06-11 Roland McGrath <roland@hack.frob.com>
48661
48662 [BZ #14218]
48663 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48664
48665 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48666
48667 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48668 (FE_UPWARD, FE_DOWNWARD): Don't define.
48669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48671
48672 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48673 reading it.
48674 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48676
48677 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48678
48679 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48681 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48682 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48683
48684 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48685
48686 [BZ #14117]
48687 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48688 * sysdeps/i386/fpu/Implies: New file.
48689 * sysdeps/x86_64/fpu/Implies: Likewise.
48690 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48691 * sysdeps/x86/fpu/bits/fenv.h: This.
48692
48693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48694 __SSE_MATH__.
48695
48696 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48697
48698 [BZ #14134]
48699 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48700 character 0xffff that matches the last element of the
48701 conversion table.
48702
48703 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48704
48705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48706 fmodl commit.
48707
48708 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48709
48710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48711 values higher than 25.6283.
48712
48713 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48714
48715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48716 subnormal exponent extraction and add some __builtin_expect.
48717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48718 Fix for subnormal mantissa calculation.
48719
48720 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48721
48722 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48723 cpu2 is -1 and errno is not ENOSYS.
48724
48725 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48726
48727 [BZ #14117]
48728 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48729 * sysdeps/x86/bits/string.h: This.
48730 * sysdeps/x86_64/bits/string.h: Removed.
48731
48732 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48733 if not compiling for x86-64, but compiling for >= i486.
48734
48735 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48736 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48737
48738 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48739 New macro from Linux kernel 3.4.0.
48740 (FP_XSTATE_MAGIC2): Likewise.
48741 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48742 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48743 (struct _fpx_sw_bytes): New struct.
48744 (struct _xsave_hdr): Likewise.
48745 (struct _ymmh_state): Likewise.
48746 (struct _xstate): Likewise.
48747
48748 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48749 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48751 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48752 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48753 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48754
48755 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48756 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48757 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48758 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48759 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48760 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48761
48762 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48763
48764 [BZ #13743]
48765 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48766 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48767 (sysdep_headers): Include sys/platform/ppc.h.
48768 * sysdeps/powerpc/test-gettimebase.c: Test for
48769 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48770 * manual/Makefile (appendices): Include platform.texi.
48771 * manual/contrib.texi (Contributors): Update @node pointers.
48772 * manual/maint.texi (Maintenance): Likewise.
48773 (Platform): New node.
48774 * manual/platform.texi: New file. Document the new features.
48775
48776 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48777 Jakub Jelinek <jakub@redhat.com>
48778
48779 [BZ #14188]
48780 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48781 where __builtin_expect is unavailable.
48782
48783 2012-06-03 David S. Miller <davem@davemloft.net>
48784
48785 * stdlib/longlong.h: Updated from GCC.
48786
48787 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48788
48789 [BZ #14042]
48790 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48791 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48792 __mcount_internal.
48793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48794 (GLIBC_2.16): Likewise.
48795
48796 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48797
48798 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48799
48800 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48801
48802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48803 (default-abi): New variable.
48804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48805 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48806 variable.
48807 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48808 Likewise.
48809 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48810 Likewise.
48811 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48812 Likewise.
48813
48814 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48815 definition. Document in comment.
48816
48817 2012-06-01 David S. Miller <davem@davemloft.net>
48818
48819 * stdlib/longlong.h: Updated from GCC.
48820
48821 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48822
48823 [BZ #14117]
48824 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48825 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48826 sys/debugreg.h sys/io.h here.
48827 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48828 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48829 sys/io.h.
48830 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48831 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48832 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48833 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48834 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48835 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48836
48837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48838 Define only if __x86_64__ is defined.
48839
48840 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48841
48842 [BZ #14048]
48843 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48844 Use int64_t for variable i.
48845 * math/libm-test.inc (fmod_test): Add more tests.
48846
48847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48848 z computation is not scheduled after fetestexcept.
48849 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48850 Use math_force_eval instead of asm to ensure calculation scheduled
48851 before exception test.
48852 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48853 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48854
48855 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48856
48857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48858 computation is not scheduled after fetestexcept.
48859
48860 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48861
48862 [BZ #14117]
48863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48864 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48865
48866 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48867
48868 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48869 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48870
48871 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48872
48873 [BZ #14117]
48874 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48875 <bits/wordsize.h>.
48876 (__WCHAR_MIN): Support __WORDSIZE == 64.
48877 (__WCHAR_MAX): Likewise.
48878
48879 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48880 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48881
48882 [BZ #14183]
48883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48884 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48885
48886 [BZ #14117]
48887 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48888 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48889
48890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48891 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48892
48893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48894 Defined to 1 if __x86_64__ isn't defined.
48895 (_STAT_VER_LINUX_OLD): New.
48896 (st_atime): Remove duplicate.
48897 (st_mtime): Likewise.
48898 (st_ctime): Likewise.
48899
48900 2012-05-31 David S. Miller <davem@davemloft.net>
48901
48902 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48903 entries.
48904
48905 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48906
48907 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48908 gen-libm-test.pl.
48909
48910 [BZ #14132]
48911 * elf/dl-reloc.c: Include <_itoa.h>.
48912 (_dl_reloc_bad_type): Remove use of INTUSE.
48913 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48914 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48915 * stdio-common/psiginfo.c (psiginfo): Likewise.
48916 * stdio-common/psignal.c (psignal): Likewise.
48917 * string/strsignal.c (strsignal): Likewise.
48918 * include/signal.h (_sys_siglist): Declare hidden proto.
48919 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
48920 INTVARDEF with libc_hidden_data_def.
48921 * stdio-common/itoa-udigits.c: Likewise.
48922 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48923 (_itoa_lower_digits_internal): Remove declaration.
48924 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48925 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48926 (_sys_sigabbrev_internal): Remove aliases.
48927 (_sys_siglist): Define hidden alias.
48928
48929 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
48930
48931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48932 bits/sysctl.h.
48933
48934 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48935
48936 [BZ #14117]
48937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48938 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48939
48940 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48941 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48942 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48943 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48945 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48946
48947 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48948 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48949 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48950
48951 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48952 with __addr.
48953 (insw): Likewise.
48954 (insl): Likewise.
48955 (outsb): Likewise.
48956 (outsw): Likewise.
48957 (outsl): Likewise.
48958
48959 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48960 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48962
48963 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48964 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48966 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48967 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48968 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48969
48970 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48971 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48972
48973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48974 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48975
48976 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48979
48980 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48981 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48982 to ...
48983 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48984
48985 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48986 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48987 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48988
48989 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48990 for x86-64.
48991 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48992
48993 2012-05-31 Joseph Myers <joseph@codesourcery.com>
48994
48995 * math/math.h (M_El): Use two more decimal places.
48996 (M_LOG2El): Likewise.
48997 (M_LOG10El): Likewise.
48998 (M_LN2l): Likewise.
48999 (M_LN10l): Likewise.
49000 (M_PIl): Likewise.
49001 (M_PI_2l): Likewise.
49002 (M_PI_4l): Likewise.
49003 (M_1_PIl): Likewise.
49004 (M_2_PIl): Likewise.
49005 (M_2_SQRTPIl): Likewise.
49006 (M_SQRT2l): Likewise.
49007 (M_SQRT1_2l): Likewise.
49008
49009 2012-05-31 David S. Miller <davem@davemloft.net>
49010
49011 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49012 values between float registers.
49013 * sysdeps/sparc/sparc64/memset.S: Likewise.
49014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49015
49016 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49017
49018 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49019 -D_FORTIFY_SOURCE=1.
49020 (CPPFLAGS-tst-longjmp_chk.c): Define.
49021 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49022 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49023 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49024 CFLAGS-tst-wchar-h.c.
49025
49026 2012-05-31 Marek Polacek <polacek@redhat.com>
49027
49028 [BZ #14132]
49029 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49030 __endmntent_internal): Remove declaration.
49031 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49032 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49033 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49034
49035 2012-05-30 David S. Miller <davem@davemloft.net>
49036
49037 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49038 (___Q_simulate_exceptions): Use real FP ops rather than writing
49039 into the %fsr.
49040 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49041 Likewise.
49042
49043 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49044
49045 [BZ #14117]
49046 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49047 * sysdeps/x86/bits/xtitypes.h: This.
49048
49049 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49050 * sysdeps/x86/bits/wordsize.h: This.
49051
49052 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49053 * sysdeps/x86/bits/huge_vall.h: This.
49054
49055 * sysdeps/i386/bits/select.h: Removed.
49056 * sysdeps/x86_64/bits/select.h: Renamed to ...
49057 * sysdeps/x86/bits/select.h: This.
49058
49059 * sysdeps/i386/bits/setjmp.h: Removed.
49060 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49061 * sysdeps/x86/bits/setjmp.h: This.
49062
49063 * sysdeps/i386/bits/mathdef.h: Removed.
49064 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49065 * sysdeps/x86/bits/mathdef.h: This.
49066
49067 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49068
49069 [BZ #14132]
49070 * include/sys/socket.h (__connect_internal)
49071 (__libc_sa_len_internal): Remove declaration.
49072 (__connect, __libc_sa_len): Declare hidden_proto.
49073 (SA_LEN): Remove use of INTUSE.
49074 * socket/connect.c: Add libc_hidden_def.
49075 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49076 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49077 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49078 alias.
49079 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49080 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49081 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49082 of adding _internal alias.
49083
49084 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49085
49086 [BZ #14117]
49087 * sysdeps/i386/bits/link.h: Removed.
49088 * sysdeps/i386/bits/linkmap.h: Likewise.
49089 * sysdeps/x86_64/bits/link.h: Renamed to ...
49090 * sysdeps/x86/bits/link.h: This.
49091 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49092 * sysdeps/x86/bits/linkmap.h: This.
49093
49094 * sysdeps/i386/bits/endian.h: Removed.
49095 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49096 * sysdeps/x86/bits/endian.h: This.
49097
49098 * sysdeps/i386/bits/byteswap.h: Removed.
49099 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49100 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49101 * sysdeps/x86/bits/byteswap.h: This.
49102 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49103 * sysdeps/x86/bits/byteswap-16.h: This.
49104 * sysdeps/i386/Implies: Add x86.
49105 * sysdeps/x86_64/Implies: Likewise.
49106
49107 2012-05-30 David S. Miller <davem@davemloft.net>
49108
49109 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49110 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49111 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49112 (FP_TRAPPING_EXCEPTIONS): Define.
49113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49114 (FP_TRAPPING_EXCEPTIONS): Define.
49115 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49116 subnormals only when inexact has been signalled or underflow
49117 exceptions are enabled.
49118 (_FP_PACK_CANONICAL): Likewise.
49119
49120 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49121
49122 [BZ #14183]
49123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49124 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49125
49126 2012-05-30 Richard Henderson <rth@twiddle.net>
49127
49128 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49129 with #ifndef NOT_IN_libc.
49130
49131 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49132 marked to avoid plt entry.
49133
49134 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49135
49136 [BZ #14112]
49137 * Makeconfig (default-abi): New macro.
49138 (abi-includes): Likewise.
49139 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49140 $(abi-$(default-abi)-lib-soname) for soname if defined.
49141 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49142 abi-variants.
49143 * Makefile (installed-stubs): Likewise.
49144 * include/stubs-biarch.h: Removed.
49145 * scripts/lib-names.awk: Only handle one library at a time.
49146 * scripts/soversions.awk: Remove WORDSIZE support.
49147 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49148 entries.
49149 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49150 Removed.
49151 (syscall-list-default-condition): Likewise.
49152 (syscall-list-default-condition): Likewise.
49153 (syscall-list-includes): Likewise.
49154 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49155 syscall-list-* with abi-*. Handle undefined abi-variants.
49156 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49157 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49158 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49159 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49160 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49161 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49162 Removed.
49163 (syscall-list-32-options): Likewise.
49164 (syscall-list-32-condition): Likewise.
49165 (syscall-list-64-options): Likewise.
49166 (syscall-list-64-condition): Likewise.
49167 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49168 macro.
49169 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49170 Renamed to ...
49171 (abi-*): This.
49172 (abi-64-ld-soname): New macro.
49173 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49174 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49175 Renamed to ...
49176 (abi-*): This.
49177 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49178 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49179
49180 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49181
49182 * sysdeps/unix/sysv/linux/kernel-features.h
49183 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49184 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49185 include <kernel-features.h>.
49186 [!__NR_ftruncate64]: Remove conditional code.
49187 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49188 [__NR_ftruncate64]: Make code unconditional.
49189 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49190 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49191 include <kernel-features.h>.
49192 [!__NR_ftruncate64]: Remove conditional code.
49193 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49194 [__NR_ftruncate64]: Make code unconditional.
49195 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49197 include <kernel-features.h>.
49198 [!__NR_ftruncate64]: Remove conditional code.
49199 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49200 [__NR_ftruncate64]: Make code unconditional.
49201 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49203 include <kernel-features.h>.
49204 [!__NR_ftruncate64]: Remove conditional code.
49205 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49206 [__NR_ftruncate64]: Make code unconditional.
49207 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49208
49209 * configure.in (libc_cv_fpie): Weaken to a compile test using
49210 LIBC_TRY_CC_OPTION.
49211 * configure: Regenerated.
49212
49213 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49214
49215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49219 Refreshed.
49220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49226 Refreshed.
49227
49228 2012-05-27 David S. Miller <davem@davemloft.net>
49229
49230 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49231 (___Q_zero): New.
49232 (__Q_simulate_exceptions): Return void. Change to simulate
49233 exceptions by writing into the %fsr.
49234 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49235 (__Qp_handle_exceptions): Likewise.
49236 (numbers): Delete.
49237 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49238 __Qp_handle_exceptions.
49239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49240 __Qp_handle_exceptions.
49241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49242 as unused and give dummy FP_RND_NEAREST initializer.
49243 (FP_INHIBIT_RESULTS): Define.
49244 (___Q_simulate_exceptions): Update declaration.
49245 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49246 formatting.
49247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49248 as unused and give dummy FP_RND_NEAREST initializer.
49249 (__Qp_handle_exceptions): Update declaration.
49250 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49251 formatting.
49252
49253 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49254
49255 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49256 the temporary FPU control word.
49257 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49258 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49260 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49261 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49262 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49263 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49265 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49266 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49267 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49268
49269 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49270
49271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49272 fields.
49273
49274 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49275
49276 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49277 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49278 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49279 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49280 Likewise.
49281 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49282 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49283 Likewise.
49284
49285 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49286
49287 * po/h.po: Update from translation team.
49288
49289 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49290
49291 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49292
49293 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49294 handling of denormals.
49295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49296 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49297 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49298 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49302 Likewise.
49303
49304 2012-05-26 Marek Polacek <polacek@redhat.com>
49305
49306 [BZ #14152]
49307 * math/libm-test.inc (fma_test): Don't always expect underflow
49308 exception.
49309
49310 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49311
49312 [BZ #12416]
49313 * elf/tst-execstack.c: Include stackinfo.h.
49314 (do_test): Adjust test case to ensure that pthread_getattr_np
49315 behaviour remains the same after marking stack executable.
49316
49317 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49318
49319 * sysdeps/unix/sysv/linux/kernel-features.h
49320 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49321 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49322 kernel-features.h.
49323 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49324 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49325 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49326 kernel-features.h.
49327 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49328 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49329
49330 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49331
49332 * configure.in: Define the default includes to being none.
49333 * configure: Regenerated.
49334
49335 2012-05-25 Roland McGrath <roland@hack.frob.com>
49336
49337 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49338 * sysdeps/x86_64/setjmp.S: Likewise.
49339 * sysdeps/i386/bsd-setjmp.S: Likewise.
49340 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49341 * sysdeps/i386/setjmp.S: Likewise.
49342 * sysdeps/i386/__longjmp.S: Likewise.
49343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49344 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49345
49346 * include/stap-probe.h: New file.
49347 * configure.in: Handle --enable-systemtap.
49348 * configure: Regenerated.
49349 * config.h.in (USE_STAP_PROBE): New #undef.
49350 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49351 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49352 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49353
49354 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49355
49356 [BZ #13717]
49357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49358 to 2.4.0 where earlier.
49359 * sysdeps/unix/sysv/linux/configure: Regenerated.
49360 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49361 <kernel-features.h>.
49362 [__ASSUME_32BITUIDS]: Make code unconditional.
49363 [!__ASSUME_32BITUIDS]: Remove conditional code.
49364 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49365 <kernel-features.h>.
49366 [__ASSUME_32BITUIDS]: Make code unconditional.
49367 [!__ASSUME_32BITUIDS]: Remove conditional code.
49368 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49369 [__ASSUME_32BITUIDS]: Make code unconditional.
49370 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49371 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49372 <kernel-features.h>.
49373 [__ASSUME_32BITUIDS]: Make code unconditional.
49374 [!__ASSUME_32BITUIDS]: Remove conditional code.
49375 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
49384 <kernel-features.h>.
49385 [__ASSUME_32BITUIDS]: Make code unconditional.
49386 [!__ASSUME_32BITUIDS]: Remove conditional code.
49387 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49388 <kernel-features.h>.
49389 [__ASSUME_32BITUIDS]: Make code unconditional.
49390 [!__ASSUME_32BITUIDS]: Remove conditional code.
49391 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49392 <kernel-features.h>.
49393 [__ASSUME_32BITUIDS]: Make code unconditional.
49394 [!__ASSUME_32BITUIDS]: Remove conditional code.
49395 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49396 <kernel-features.h>.
49397 [__ASSUME_32BITUIDS]: Make code unconditional.
49398 [!__ASSUME_32BITUIDS]: Remove conditional code.
49399 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49400 <kernel-features.h>.
49401 [__ASSUME_32BITUIDS]: Make code unconditional.
49402 [!__ASSUME_32BITUIDS]: Remove conditional code.
49403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49404 <kernel-features.h>.
49405 [__ASSUME_32BITUIDS]: Make code unconditional.
49406 [!__ASSUME_32BITUIDS]: Remove conditional code.
49407 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49408 <kernel-features.h>.
49409 [__ASSUME_32BITUIDS]: Make code unconditional.
49410 [!__ASSUME_32BITUIDS]: Remove conditional code.
49411 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49412 <kernel-features.h>.
49413 [__NR_setresgid] (__setresgid): Do not declare.
49414 [__ASSUME_32BITUIDS]: Make code unconditional.
49415 [!__ASSUME_32BITUIDS]: Remove conditional code.
49416 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49417 <kernel-features.h>.
49418 [__NR_setresuid] (__setresuid): Do not declare.
49419 [__ASSUME_32BITUIDS]: Make code unconditional.
49420 [!__ASSUME_32BITUIDS]: Remove conditional code.
49421 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49422 <kernel-features.h>.
49423 [__ASSUME_32BITUIDS]: Make code unconditional.
49424 [!__ASSUME_32BITUIDS]: Remove conditional code.
49425 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49426 <kernel-features.h>.
49427 [__ASSUME_32BITUIDS]: Make code unconditional.
49428 [!__ASSUME_32BITUIDS]: Remove conditional code.
49429 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49430 <kernel-features.h>.
49431 [__ASSUME_32BITUIDS]: Make code unconditional.
49432 [!__ASSUME_32BITUIDS]: Remove conditional code.
49433 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49434 <kernel-features.h>.
49435 [__ASSUME_32BITUIDS]: Make code unconditional.
49436 [!__ASSUME_32BITUIDS]: Remove conditional code.
49437 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49438 <kernel-features.h>.
49439 [__ASSUME_32BITUIDS]: Make code unconditional.
49440 [!__ASSUME_32BITUIDS]: Remove conditional code.
49441 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49442 <kernel-features.h>.
49443 [__ASSUME_32BITUIDS]: Make code unconditional.
49444 [!__ASSUME_32BITUIDS]: Remove conditional code.
49445 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49446 <kernel-features.h>.
49447 [__ASSUME_32BITUIDS]: Make code unconditional.
49448 [!__ASSUME_32BITUIDS]: Remove conditional code.
49449 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49450 <kernel-features.h>.
49451 [__ASSUME_32BITUIDS]: Make code unconditional.
49452 [!__ASSUME_32BITUIDS]: Remove conditional code.
49453 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49454 <kernel-features.h>.
49455 [__ASSUME_32BITUIDS]: Make code unconditional.
49456 [!__ASSUME_32BITUIDS]: Remove conditional code.
49457 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49458 <kernel-features.h>.
49459 [__ASSUME_32BITUIDS]: Make code unconditional.
49460 [!__ASSUME_32BITUIDS]: Remove conditional code.
49461 * sysdeps/unix/sysv/linux/kernel-features.h
49462 (__ASSUME_SETRESUID_SYSCALL): Remove.
49463 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49464 (__ASSUME_32BITUIDS): Likewise.
49465 (__ASSUME_LDT_WORKS): Likewise.
49466 (__ASSUME_O_DIRECTORY): Likewise.
49467 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49468 architecture but not kernel version.
49469 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49470 (__ASSUME_MMAP2_SYSCALL): Likewise.
49471 (__ASSUME_STAT64_SYSCALL): Likewise.
49472 (__ASSUME_IPC64): Likewise.
49473 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49474 <kernel-features.h>.
49475 [__ASSUME_32BITUIDS]: Make code unconditional.
49476 [!__ASSUME_32BITUIDS]: Remove conditional code.
49477 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49478 <kernel-features.h>.
49479 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49480 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49481 132096]: Remove conditional code.
49482 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49483 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49484 <kernel-features.h>.
49485 [__ASSUME_32BITUIDS]: Make code unconditional.
49486 [!__ASSUME_32BITUIDS]: Remove conditional code.
49487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49488 <kernel-features.h>.
49489 [__ASSUME_32BITUIDS]: Make code unconditional.
49490 [!__ASSUME_32BITUIDS]: Remove conditional code.
49491 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49492 <kernel-features.h>.
49493 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49494 unconditional.
49495 (__setresgid): Do not declare.
49496 [__ASSUME_32BITUIDS]: Make code unconditional.
49497 [!__ASSUME_32BITUIDS]: Remove conditional code.
49498 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49499 <kernel-features.h>.
49500 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49501 unconditional.
49502 (__setresuid): Do not declare.
49503 [__ASSUME_32BITUIDS]: Make code unconditional.
49504 [!__ASSUME_32BITUIDS]: Remove conditional code.
49505 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49506 <kernel-features.h>.
49507 [__ASSUME_32BITUIDS]: Make code unconditional.
49508 [!__ASSUME_32BITUIDS]: Remove conditional code.
49509 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49510 <kernel-features.h>.
49511 [__ASSUME_32BITUIDS]: Make code unconditional.
49512 [!__ASSUME_32BITUIDS]: Remove conditional code.
49513
49514 2012-05-25 Richard Henderson <rth@twiddle.net>
49515
49516 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49517 dl_hwcap to ifunc resolver.
49518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49519 elf_ifunc_invoke.
49520 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49521 dl_hwcap to ifunc resolver.
49522 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49523
49524 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49525
49526 [BZ #14153]
49527 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49528 for |x| <= 2**-26, not 2**-57.
49529 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49530 exception.
49531
49532 2012-05-24 Jeff Law <law@redhat.com>
49533
49534 * stdio-common/Makefile (tests): Add bug25.
49535 * stdio-common/bug25.c: New test.
49536
49537 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49538
49539 [BZ #13576]
49540 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49541 multiple of MALLOC_ALIGNMENT in size.
49542 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49543
49544 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49545
49546 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49547 Require >= 256.
49548 (FILENAME_MAX): Use macro-int-constant.
49549 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49550 (_IOFBF): Use macro-int-constant.
49551 (_IOLBF): Likewise.
49552 (_IONBF): Likewise.
49553 (SEEK_CUR): Likewise.
49554 (SEEK_END): Likewise.
49555 (SEEK_SET): Likewise.
49556 (TMP_MAX): Likewise.
49557 (EOF): Use macro-int-constant. Require < 0.
49558 (NULL): Use macro-constant. Require == 0.
49559 (stdin): Require type to be FILE *.
49560 (stdout): Likewise.
49561 (stderr): Likewise.
49562 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49563 macro-int-constant.
49564 (EXIT_SUCCESS): Likewise.
49565 (NULL): Use macro-constant. Require == 0.
49566 (RAND_MAX): Use macro-int-constant.
49567 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49568 [C99-based standards] (strtof): Require function.
49569 [C99-based standards] (strtold): Likewise.
49570 [C99-based standards] (strtoll): Likewise.
49571 [C99-based standards] (strtoull): Likewise.
49572 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49573 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49574 [ISO || ISO99 || ISO11] (math.h): Likewise.
49575 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49576 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49578
49579 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49580
49581 [BZ #14132]
49582 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49583 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49584 * intl/dgettext.c (DCGETTEXT): Likewise.
49585 * intl/gettext.c (DCGETTEXT): Likewise.
49586 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49587 * posix/regex_internal.h (gettext): Likewise.
49588 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49589 Remove declaration.
49590 * include/argz.h (__argz_count_internal)
49591 (__argz_stringify_internal): Remove declaration.
49592 (__argz_count, __argz_stringify): Declare hidden proto.
49593 * intl/dcgettext.c: Remove use of INTDEF.
49594 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49595 * string/argz-stringify.c: Likewise.
49596 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49597 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49598 Declare hidden proto.
49599 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49600 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49601 Declare hidden proto.
49602 * include/stdio.h (__asprintf_internal): Don't declare.
49603 (__asprintf): Don't define as macro. Declare hidden proto.
49604 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49605 (__fsetlocking): Declare hidden proto.
49606 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49607 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49608 hidden proto.
49609 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49610 (_IO_setlinebuf): Remove use of INTUSE.
49611 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49612 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49613 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49614 Remove declaration.
49615 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49616 (_IO_do_flush): Remove use of INTUSE.
49617 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49618 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49619 (_IO_adjust_column, _IO_least_wmarker)
49620 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49621 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49622 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49623 (_IO_default_doallocate, _IO_wdefault_doallocate)
49624 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49625 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49626 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49627 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49628 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49629 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49630 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49631 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49632 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49633 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49634 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49635 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49636 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49637 proto.
49638 (_IO_flush_all_internal, _IO_adjust_column_internal)
49639 (_IO_default_uflow_internal, _IO_default_finish_internal)
49640 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49641 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49642 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49643 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49644 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49645 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49646 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49647 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49648 (_IO_file_close_internal, _IO_file_close_it_internal)
49649 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49650 (_IO_file_init_internal, _IO_file_attach_internal)
49651 (_IO_file_fopen_internal, _IO_file_read_internal)
49652 (_IO_file_sync_internal, _IO_file_seek_internal)
49653 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49654 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49655 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49656 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49657 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49658 (_IO_list_all_internal, _IO_link_in_internal)
49659 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49660 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49661 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49662 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49663 (_IO_do_write_internal, _IO_padn_internal)
49664 (_IO_getline_info_internal, _IO_getline_internal)
49665 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49666 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49667 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49668 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49669 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49670 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49671 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49672 with libc_hidden_ver, remove use of INTUSE.
49673 * libio/genops.c: Likewise.
49674 * libio/freopen.c: Likewise.
49675 * libio/freopen64.c: Likewise.
49676 * libio/iofclose.c: Likewise.
49677 * libio/iofdopen.c: Likewise.
49678 * libio/iofflush.c: Likewise.
49679 * libio/iofflush_u.c: Likewise.
49680 * libio/iofgets.c: Likewise.
49681 * libio/iofgets_u.c: Likewise.
49682 * libio/iofopen.c: Likewise.
49683 * libio/iofopncook.c: Likewise.
49684 * libio/iofread.c: Likewise.
49685 * libio/iofread_u.c: Likewise.
49686 * libio/ioftell.c: Likewise.
49687 * libio/iofwrite.c: Likewise.
49688 * libio/iogetline.c: Likewise.
49689 * libio/iogets.c: Likewise.
49690 * libio/iogetwline.c: Likewise.
49691 * libio/iopadn.c: Likewise.
49692 * libio/iopopen.c: Likewise.
49693 * libio/ioseekoff.c: Likewise.
49694 * libio/ioseekpos.c: Likewise.
49695 * libio/iosetbuffer.c: Likewise.
49696 * libio/iosetvbuf.c: Likewise.
49697 * libio/ioungetc.c: Likewise.
49698 * libio/ioungetwc.c: Likewise.
49699 * libio/iovdprintf.c: Likewise.
49700 * libio/iovsprintf.c: Likewise.
49701 * libio/iovsscanf.c: Likewise.
49702 * libio/memstream.c: Likewise.
49703 * libio/obprintf.c: Likewise.
49704 * libio/oldfileops.c: Likewise.
49705 * libio/oldiofclose.c: Likewise.
49706 * libio/oldiofdopen.c: Likewise.
49707 * libio/oldiofopen.c: Likewise.
49708 * libio/oldiopopen.c: Likewise.
49709 * libio/oldstdfiles.c: Likewise.
49710 * libio/putc.c: Likewise.
49711 * libio/setbuf.c: Likewise.
49712 * libio/setlinebuf.c: Likewise.
49713 * libio/stdfiles.c: Likewise.
49714 * libio/strops.c: Likewise.
49715 * libio/vasprintf.c: Likewise.
49716 * libio/vscanf.c: Likewise.
49717 * libio/vsnprintf.c: Likewise.
49718 * libio/vswprintf.c: Likewise.
49719 * libio/wfiledoalloc.c: Likewise.
49720 * libio/wfileops.c: Likewise.
49721 * libio/wgenops.c: Likewise.
49722 * libio/wmemstream.c: Likewise.
49723 * libio/wstrops.c: Likewise.
49724 * libio/__fpurge.c: Likewise.
49725 * libio/__fsetlocking.c: Likewise.
49726 * assert/assert.c: Likewise.
49727 * debug/fgets_chk.c: Likewise.
49728 * debug/fgets_u_chk.c: Likewise.
49729 * debug/fread_chk.c: Likewise.
49730 * debug/fread_u_chk.c: Likewise.
49731 * debug/gets_chk.c: Likewise.
49732 * debug/obprintf_chk.c: Likewise.
49733 * debug/vasprintf_chk.c: Likewise.
49734 * debug/vdprintf_chk.c: Likewise.
49735 * debug/vsnprintf_chk.c: Likewise.
49736 * debug/vsprintf_chk.c: Likewise.
49737 * malloc/mtrace.c: Likewise.
49738 * misc/error.c: Likewise.
49739 * misc/syslog.c: Likewise.
49740 * stdio-common/asprintf.c: Likewise.
49741 * stdio-common/fxprintf.c: Likewise.
49742 * stdio-common/getw.c: Likewise.
49743 * stdio-common/isoc99_fscanf.c: Likewise.
49744 * stdio-common/isoc99_scanf.c: Likewise.
49745 * stdio-common/isoc99_vfscanf.c: Likewise.
49746 * stdio-common/isoc99_vscanf.c: Likewise.
49747 * stdio-common/isoc99_vsscanf.c: Likewise.
49748 * stdio-common/printf-prs.c: Likewise.
49749 * stdio-common/printf_fp.c: Likewise.
49750 * stdio-common/printf_fphex.c: Likewise.
49751 * stdio-common/printf_size.c: Likewise.
49752 * stdio-common/putw.c: Likewise.
49753 * stdio-common/scanf.c: Likewise.
49754 * stdio-common/sprintf.c: Likewise.
49755 * stdio-common/tmpfile.c: Likewise.
49756 * stdio-common/vfprintf.c: Likewise.
49757 * stdio-common/vfscanf.c: Likewise.
49758 * stdlib/strfmon_l.c: Likewise.
49759 * sunrpc/openchild.c: Likewise.
49760 * sunrpc/xdr_stdio.c: Likewise.
49761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49762 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49763
49764 2012-05-24 Roland McGrath <roland@hack.frob.com>
49765
49766 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49767
49768 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49769 in the third column, to generate for the shared library an IFUNC
49770 that uses _dl_vdso_vsym.
49771 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49772 * Makeconfig (object-suffixes-noshared): New variable.
49773
49774 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49775 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49776 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49777 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49778
49779 [BZ #14132]
49780 * include/sys/time.h (__gettimeofday): Remove macro.
49781 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49782 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49783 Remove INTDEF.
49784 (__gettimeofday): Add libc_hidden_def.
49785 (gettimeofday): Add libc_hidden_weak.
49786 * sysdeps/mach/gettimeofday.c: Likewise.
49787 * sysdeps/posix/gettimeofday.c: Likewise.
49788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49791 (__gettimeofday_internal): Remove strong_alias.
49792 (__gettimeofday): Add libc_hidden_def.
49793 (gettimeofday): Add libc_hidden_weak.
49794 * sysdeps/unix/syscalls.list (gettimeofday):
49795 Remove __gettimeofday_internal alias.
49796
49797 2012-05-24 Daniel Jacobowitz <drow@false.org>
49798 H.J. Lu <hongjiu.lu@intel.com>
49799
49800 [BZ #12495]
49801 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49802 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49803 (largebin_index_32_big): New.
49804 (largebin_index): Use it for 16-byte alignment.
49805 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49806 correction with front_misalign.
49807
49808 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49809
49810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49812 Likewise.
49813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49814 Likewise.
49815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49816 Likewise.
49817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49818 Likewise.
49819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49820 Likewise.
49821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49822 Likewise.
49823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49824 Likewise.
49825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49826 Likewise.
49827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49828 Likewise.
49829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49830 Likewise.
49831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49832 Likewise.
49833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49834 Likewise.
49835
49836 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49837 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49838
49839 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49840
49841 [BZ #10846]
49842 [BZ #14036]
49843 * math/libm-test.inc (exp_test): Add test from bug 14036.
49844 (pow_test): Add test from bug 10846.
49845
49846 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49847 and other flags.
49848 (special_function): Do not include flags in test name.
49849 (parse_args): Likewise.
49850 * sysdeps/i386/fpu/libm-test-ulps: Update.
49851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49855
49856 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49857 exceptions.
49858 * math/libm-test.inc ("Philosophy"): Update comment about
49859 exception testing.
49860 (UNDERFLOW_EXCEPTION): New macro.
49861 (UNDERFLOW_EXCEPTION_OK): Likewise.
49862 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49863 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49864 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49865 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49866 (INVALID_EXCEPTION_OK): Update value.
49867 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49868 (OVERFLOW_EXCEPTION_OK): Likewise.
49869 (IGNORE_ZERO_INF_SIGN): Likewise.
49870 (test_exceptions): Handle underflow exceptions.
49871 (acos_test): Update for underflow exception expectations.
49872 (cexp_test): Likewise.
49873 (clog_test): Likewise.
49874 (clog10_test): Likewise.
49875 (csqrt_test): Likewise.
49876 (ctan_test): Likewise.
49877 (ctanh_test): Likewise.
49878 (exp_test): Likewise.
49879 (exp10_test): Likewise.
49880 (exp2_test): Likewise.
49881 (expm1_test): Likewise.
49882 (fma_test): Likewise.
49883 (j0_test): Likewise.
49884 (jn_test): Likewise.
49885 (nexttoward_test): Likewise.
49886 (pow_test): Likewise.
49887 (scalbn_test): Likewise.
49888 (scalbln_test): Likewise.
49889 (tan_test): Likewise.
49890 (y1_test): Likewise.
49891 * sysdeps/i386/fpu/libm-test-ulps: Update.
49892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49893
49894 2012-05-23 David S. Miller <davem@davemloft.net>
49895
49896 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49897 (__libc_sigaction): Remove unused local variables.
49898
49899 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49900
49901 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49902
49903 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49904
49905 mktime: avoid signed integer overflow
49906 * time/mktime.c (__mktime_internal): Do not mishandle the case
49907 where diff == INT_MIN.
49908
49909 mktime: simplify computation of average
49910 * time/mktime.c (ranged_convert): Use new time_t_avg function
49911 instead of rolling our own (probably-slower) code.
49912
49913 mktime: do not assume signed right shift propagates sign bit
49914 * time/mktime.c (isdst_differ): New static function.
49915 (__mktime_internal): No need to normalize tm_isdst now.
49916 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49917 tm_isdst values.
49918
49919 mktime: merge another wrapv change from gnulib
49920 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49921 from some compilers.
49922
49923 mktime: remove incorrect attempt at unusual arithmetics
49924 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49925 The code didn't really work on such machines anyway.
49926 (TYPE_MINIMUM): Assume two's complement.
49927 (twos_complement_arithmetic): Verify that long_int and time_t
49928 are two's complement (or unsigned, in the latter case).
49929
49930 mktime: check signed shifts on long_int and time_t, too
49931 * time/mktime.c (SHR): Check that shifts work as desired
49932 on the types long_int and time_t too, as SHR is used on
49933 such types.
49934
49935 mktime: do not assume 'long' is wide enough
49936 * time/mktime.c (verify): Move decl up.
49937 (long_int): New type.
49938 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49939 to remove assumption in the code that 'long' is wide enough to
49940 store year values. This assumption is not true on x32 and on
49941 some non-glibc platforms.
49942
49943 mktime: merge wrapv change from gnulib
49944 * time/mktime.c (WRAPV): New macro.
49945 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49946 (guess_time_tm, __mktime_internal): Do not assume that signed
49947 integer overflow wraps around; modern compilers generate code
49948 where this assumption is no longer valid.
49949
49950 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49951
49952 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49953 Replace "jmp L(pseudo_end)" with "ret".
49954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49955 Likewise.
49956
49957 2012-05-23 Andreas Jaeger <aj@suse.de>
49958
49959 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49960 * sysdeps/unix/sysv/linux/poll.c: Remove file.
49961
49962 2012-05-23 Andreas Jaeger <aj@suse.de>
49963 Maximilian Attems <max@stro.at>
49964
49965 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49966 New macros.
49967
49968 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49969
49970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49971 code so that pseudo_end is just ret and the stack pointer is
49972 correct also for static library in error case.
49973
49974 2012-05-23 Joseph Myers <joseph@codesourcery.com>
49975
49976 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49977 move to syscalls.list.
49978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49982
49983 * manual/install.texi (Running make install): Do not mention Linux
49984 kernel version for which pt_chown is not needed.
49985 (Linux): Do not mention problems with nscd with 2.0 kernels.
49986 * INSTALL: Regenerated.
49987
49988 2012-05-23 Andreas Jaeger <aj@suse.de>
49989
49990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49991 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49992 macro.
49993 * sysdeps/unix/sysv/linux/s390/bits/mman.h
49994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49995 * sysdeps/unix/sysv/linux/sh/bits/mman.h
49996 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49997 * sysdeps/unix/sysv/linux/i386/bits/mman.h
49998 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50000 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50003 * sysdeps/unix/sysv/linux/bits/in.h
50004 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50005
50006 2012-05-22 Roland McGrath <roland@hack.frob.com>
50007
50008 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50009 (PREPARE_VERSION): Just use assert instead, it will be elided
50010 under [NDEBUG] anyway.
50011
50012 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50013
50014 * sysdeps/unix/sysv/linux/Makefile: Include
50015 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50016 (sysdep_routines): Remove sysctl.
50017 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50018 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50019 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50020 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50021 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50022
50023 2012-05-22 Andreas Jaeger <aj@suse.de>
50024
50025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50026 that pseudo_end is just ret and the stack pointer is correct also
50027 for static library in error case.
50028
50029 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50030
50031 [BZ #14122]
50032 * nss/nsswitch.c (defconfig_entries): New variable.
50033 (__nss_database_lookup): Don't leak defconfig entries.
50034 (nss_parse_service_list): Don't leak on error paths.
50035 (free_database_entries): New function.
50036 (free_defconfig): New function.
50037 (free_mem): Move common code to free_database_entries.
50038
50039 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50040
50041 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50042 Add arch_prctl.
50043 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50044
50045 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50046 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50048 New macro.
50049 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50050 (INTERNAL_SYSCALL_TYPES): Likewise.
50051 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50052 (LOAD_REGS_TYPES_[1-6]): Likewise.
50053 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50054 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50055
50056 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50057
50058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50059 copysignl for GLIBC_2_0.
50060 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50061 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50063 logbl for GLIBC_2_0.
50064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50065 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50066
50067 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50068
50069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50070 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50071
50072 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50073 Use "neg %eax".
50074
50075 * time/mktime.c: Update copyright years.
50076
50077 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50078
50079 mktime: merge comment-quoting-style change from gnulib
50080 * time/mktime.c: Quote 'like this' in comments.
50081 The GNU coding standards suggest that we no longer quote `like this',
50082 as "`" and "'" are typically rendered asymmetrically nowadays.
50083 The typical gnulib style is to quote 'like this' when quoting
50084 code, and "like this" when quoting English.
50085
50086 * time/mktime.c (compile-command): Add "-I.".
50087
50088 mktime: merge mktime-internal.h change from gnulib
50089 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50090
50091 mktime: merge time_r change from gnulib
50092 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50093
50094 mktime: merge DEBUG change from gnulib
50095 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50096 case system <time.h> has a #define.
50097
50098 mktime: merge <sys/types.h> change from gnulib
50099 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50100 since <time.t> is now guaranteed to define time_t.
50101
50102 mktime: merge HAVE_CONFIG_H change from gnulib
50103 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50104
50105 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50106
50107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50108 Use "neg %eax".
50109
50110 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50111 __rlim_t cast.
50112 (struct rusage): Use anonymous union to pad each field to
50113 __syscall_slong_t.
50114
50115 2012-05-21 David S. Miller <davem@davemloft.net>
50116
50117 * Makefules (o-iterator): Remove .s cases.
50118 (compile-command.s): Delete.
50119 (COMPILE.s): Delete.
50120 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50121
50122 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50123
50124 * configure.in (libc_cv_predef_stack_protector): Only consider
50125 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50126 * configure: Regenerated.
50127
50128 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50129
50130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50131 New macro. Use R*LP on int and pointer.
50132 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50133 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50134 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50135 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50136
50137 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50138 [__WORDSIZE_TIME64_COMPAT32] instead of
50139 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50140 (struct utmp): Likewise.
50141 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50142 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50143 Renamed to ...
50144 (__WORDSIZE_TIME64_COMPAT32): This.
50145 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50146 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50147 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50148 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50149 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50150 (__WORDSIZE_TIME64_COMPAT32): New macro.
50151
50152 2012-05-21 Andreas Jaeger <aj@suse.de>
50153
50154 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50155 only if [SHARED]. Add prototype for __wcschr_ia32.
50156
50157 2012-05-21 Roland McGrath <roland@hack.frob.com>
50158
50159 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50160 of %rbp unmolested in the jmp_buf while mangling the low bits.
50161 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50162 unmolested high bits of %rbp while demangling the low bits.
50163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50164
50165 2012-05-21 Andreas Jaeger <aj@suse.de>
50166
50167 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50168 * sunrpc/svc_simple.c: Use it for registerrpc.
50169 * sunrpc/xcrypt.c: Use it for passwd2des.
50170
50171 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50172
50173 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50174
50175 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50176 Don't define if [__SYSCALL_WORDSIZE != 32].
50177 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50178 New macro.
50179
50180 2012-05-21 Bruno Haible <bruno@clisp.org>
50181 Andreas Jaeger <aj@suse.de>
50182
50183 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50184 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50185 inptr and inend for must_buffer_ch.
50186 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50187 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50188 * stdio-common/Makefile (tests): Remove bug15.
50189 (bug15-ENV): Remove macro.
50190 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50191 anymore.
50192
50193 2012-05-19 Andreas Jaeger <aj@suse.de>
50194 Roland McGrath <roland@hack.frob.com>
50195
50196 * manual/contrib.texi: Completely rewritten. It contains now an
50197 alphabetical list of contributors and their contributions.
50198
50199 2012-05-21 Richard Henderson <rth@twiddle.net>
50200
50201 * misc/getauxval.c (__getauxval): Use unsigned long int.
50202 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50203 (getauxval): Use unsigned long int.
50204
50205 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50206
50207 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50208
50209 2012-05-21 Roland McGrath <roland@hack.frob.com>
50210
50211 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50212 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50213 __alignof__ (long double).
50214
50215 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50216
50217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50218
50219 2012-05-20 Richard Henderson <rth@twiddle.net>
50220
50221 * misc/getauxval.c: New file.
50222 * misc/sys/auxv.h: New file.
50223 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50224 (routines): Add getauxval.
50225 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50227 * elf/dl-sysdep.c (_dl_auxv): Remove.
50228 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50229 * elf/dl-support.c (_dl_auxv): New variable.
50230 (_dl_aux_init): Initialize it.
50231 * manual/startup.texi (Auxiliary Vector): New node.
50232 * sysdeps/generic/bits/hwcap.h: New file.
50233 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50234 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50235 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50236 * sysdeps/sparc/sysdep.h: ... here. Include it.
50237 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50238 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50240 Update.
50241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50249
50250 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50251
50252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50253
50254 2012-05-19 David S. Miller <davem@davemloft.net>
50255
50256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50257
50258 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50259
50260 [BZ #14123]
50261 * math/s_ccosh.c: Include <float.h>
50262 (__ccosh): Avoid internal overflow calculating sinh and cosh
50263 values before multiplying by sin and cos values.
50264 * math/s_ccoshf.c: Likewise.
50265 * math/s_ccoshl.c: Likewise.
50266 * math/s_csin.c: Likewise.
50267 * math/s_csinf.c: Likewise.
50268 * math/s_csinl.c: Likewise.
50269 * math/s_csinh.c: Likewise.
50270 * math/s_csinhf.c: Likewise.
50271 * math/s_csinhl.c: Likewise.
50272 * math/libm-test.inc (ccos_test): Add more tests.
50273 (ccosh_test): Likewise.
50274 (csin_test): Likewise.
50275 (csinh_test): Likewise.
50276 * sysdeps/i386/fpu/libm-test-ulps: Update.
50277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50278
50279 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50280
50281 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50282 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50283
50284 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50285
50286 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50287
50288 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50289 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50290 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50291 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50292 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50293 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50294 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50295 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50296 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50297 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50298 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50299 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50300 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50301 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50302 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50303 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50304 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50305 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50306 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50307 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50308 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50309 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50310 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50311 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50312 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50313 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50314 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50315 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50316 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50317 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50318 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50319
50320 2012-05-18 Andreas Jaeger <aj@suse.de>
50321
50322 * csu/.gitignore: Delete.
50323
50324 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50325
50326 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50327 (timex): Use __syscall_slong_t.
50328
50329 2012-05-18 Andreas Jaeger <aj@suse.de>
50330 Carlos O'Donell <carlos_odonell@mentor.com>
50331
50332 * manual/install.texi (Configuring and compiling): Update
50333 description about files modified in the source directory.
50334 * INSTALL: Regenerated.
50335
50336 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50337
50338 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50339 value. Use "or" to set return value to -1.
50340 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50341 negate return value.
50342
50343 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50344
50345 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50346 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50347 failure if the compiler has Graphite support disabled.
50348 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50349 Likewise.
50350 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50351 (CFLAGS-memmove.c): Likewise.
50352 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50353 Likewise.
50354
50355 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50356
50357 * sysdeps/x86_64/x32/_itoa.h: New file.
50358
50359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50360 getdents system call only if kernel and user dirents have the
50361 same d_ino and d_off.
50362
50363 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50364 LLONG_MAX != LONG_MAX.
50365 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50366 (_fitoa_word): Likewise.
50367
50368 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50369 years.
50370 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50371 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50372 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50373
50374 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50375 include <bits/wordsize.h>. Check __x86_64__ instead of
50376 __WORDSIZE.
50377 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50378 if __x86_64__ is defined. Use anonymous union on fpstate.
50379
50380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50381 anonymous union.
50382
50383 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50384
50385 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50386 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50387 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50388 Refer to _rtld_local_ro instead of _rtld_global_ro.
50389 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50390 Likewise.
50391 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50392 Likewise.
50393 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50394 Likewise.
50395 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50396 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50397 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50398
50399 [BZ #10882]
50400 * sysdeps/powerpc/powerpc32/dl-machine.c
50401 (__elf_machine_runtime_setup) [PROF]: Don't reference
50402 _dl_prof_resolve.
50403
50404 2012-05-18 Andreas Jaeger <aj@suse.de>
50405
50406 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50407 function only available for GCCs before 3.4 since GCC 3.4
50408 introduced a builtin.
50409 (lrint): Likewise.
50410 (llrintf): Likewise.
50411 (llrint): Likewise.
50412 (fmaxf): Likewise.
50413 (fmax): Likewise.
50414 (fminf): Likewise.
50415 (fmin): Likewise.
50416 (rint): Likewise.
50417 (rintf): Likewise.
50418 (nearbyint): Likewise.
50419 (nearbyintf): Likewise.
50420 (ceil): Likewise.
50421 (ceilf): Likewise.
50422 (floor): Likewise.
50423 (floorf): Likewise.
50424
50425 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50426
50427 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50428 on both fields and cast pointer to __syscall_ulong_t.
50429
50430 * bits/types.h (__fsword_t): New type.
50431 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50432 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50434 (__FSWORD_T_TYPE): Likewise.
50435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50436 (__FSWORD_T_TYPE): Likewise.
50437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50438 (__FSWORD_T_TYPE): Likewise.
50439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50440 (__FSWORD_T_TYPE): Likewise.
50441 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50442 __SWORD_TYPE with __fsword_t.
50443 (statfs64): Likewise.
50444
50445 2012-05-17 David S. Miller <davem@davemloft.net>
50446
50447 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50448
50449 2012-05-17 Andreas Jaeger <aj@suse.de>
50450
50451 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50452 warning.
50453
50454 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50455
50456 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50457
50458 2012-05-17 Andreas Jaeger <aj@suse.de>
50459
50460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50461 when it is used.
50462
50463 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50464
50465 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50466
50467 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50468
50469 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50470 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50471
50472 2012-05-17 Andreas Jaeger <aj@suse.de>
50473 Carlos O'Donell <carlos_odonell@mentor.com>
50474
50475 [BZ #14059]
50476 * sysdeps/x86_64/multiarch/init-arch.h
50477 (bit_YMM_Usable): Rename to...
50478 (bit_AVX_Usable): ... this.
50479 (bit_FMA4_Usable): New macro.
50480 (bit_XMM_state): New macro.
50481 (bit_YMM_state): New macro.
50482 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50483 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50484 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50485 (CPUID_OSXSAVE): New macro.
50486 (CPUID_AVX): New macro.
50487 (CPUID_FMA4): New macro.
50488 (index_YMM_Usable): Rename to...
50489 (index_AVX_Usable): ... this.
50490 (HAS_AVX): Use HAS_ARCH_FEATURE.
50491 (HAS_FMA4): Likewise.
50492 (HAS_YMM_USABLE): Remove.
50493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50494 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50495 are present.
50496 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50497 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50498 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50499 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50500 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50501
50502 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50503
50504 * math/libm-test.c: Support platforms without multiple rounding modes.
50505 * math/bug-nextafter.c: Support platforms without FP exceptions.
50506 * math/bug-nexttoward.c: Likewise.
50507 * math/test-fenv.c: Likewise.
50508 * math/test-misc.c: Likewise.
50509 * stdlib/bug-getcontext.c: Likewise.
50510
50511 2012-05-17 Andreas Jaeger <aj@suse.de>
50512
50513 * manual/examples/search.c (critter_cmp): Change signature to
50514 avoid warnings.
50515 * manual/string.texi (Collation Functions): Likewise.
50516
50517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50518
50519 * bits/types.h: Fold copyright years.
50520 * bits/typesizes.h: Likewise.
50521 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50525 * time/time.h: Likewise.
50526
50527 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50528
50529 [BZ #208]
50530 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50531 in instead of returning them. Return void.
50532 (__libc_mallinfo): Accumulate over all arenas.
50533 (__malloc_stats): Adjust for change in int_mallinfo interface.
50534
50535 2012-05-16 Roland McGrath <roland@hack.frob.com>
50536
50537 [BZ #10375]
50538 * configure.in (NM): Add AC_CHECK_TOOL for it.
50539 (libc_extra_cflags): New substituted variable.
50540 Check for -fstack-protector being used implicitly.
50541 * configure: Regenerated.
50542 * config.make.in (config-extra-cflags): New variable,
50543 gets @libc_extra_cflags@.
50544 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50545
50546 [BZ #10375]
50547 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50548 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50549 * configure: Regenerated.
50550 * config.make.in (CPPUNDEFS): New substituted variable.
50551 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50552 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50553 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50554
50555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50556
50557 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50558 (mq_attr): Use __syscall_slong_t.
50559
50560 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50561
50562 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50563 Check __x86_64__ instead of __WORDSIZE.
50564 (_STAT_VER_LINUX): Likewise.
50565 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50566 __syscall_ulong_t and __syscall_slong_t.
50567 (stat64): Likewise.
50568
50569 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50570
50571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50572
50573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50574
50575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50576
50577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50578
50579 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50580 __syscall_ulong_t.
50581
50582 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50583 include <bits/wordsize.h>. Check __x86_64__ instead of
50584 __WORDSIZE.
50585 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50586 defined.
50587 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50588
50589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50590 include <bits/wordsize.h>. Check __x86_64__ instead of
50591 __WORDSIZE.
50592 (user_regs_struct): Use "__extension__ unsigned long long"
50593 instead of "unsigned long" if __x86_64__ is defined.
50594 (user): Likewise. Pad after pointer field if __ILP32__ is
50595 defined.
50596
50597 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50598
50599 * configure.in (makeinfo): Require version 4.5 or later. Allow
50600 versions 5 to 9.
50601 * configure: Regenerated.
50602 * manual/install.texi (texinfo): Increase version requirement to
50603 4.5 or later.
50604 * INSTALL: Regenerated.
50605
50606 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50607
50608 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50609
50610 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50611
50612 * sysdeps/x86_64/x32/ffs.c: New file.
50613
50614 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50615 __syscall_ulong_t.
50616 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50617 defined. Use __syscall_ulong_t.
50618 (shminfo): Use __syscall_ulong_t.
50619 (shm_info): Likewise.
50620
50621 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50622 __syscall_ulong_t.
50623
50624 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50625 <bits/wordsize.h>.
50626 (msgqnum_t): Use __syscall_ulong_t.
50627 (msglen_t): Likewise.
50628 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50629 __syscall_ulong_t.
50630
50631 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50632 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50633
50634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50635
50636 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50637 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50638
50639 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50640 __syscall_slong_t.
50641
50642 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50643 include <bits/wordsize.h>. Check __x86_64__ instead of
50644 __WORDSIZE.
50645
50646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50647 "unsigned long long int" if __x86_64__ is defined.
50648 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50649
50650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50651 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50652 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50653
50654 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50655 <stdint.h>.
50656 (GET_PC): Cast to uintptr_t first.
50657 (GET_FRAME): Likewise.
50658 (GET_STACK): Likewise.
50659
50660 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50661 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50666 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50667 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50668 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50669 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50670 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50672 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50675 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50677 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50678 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50681 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50683 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50688 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50689
50690 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50691
50692 * Makerules (+depfiles): Also collect depfiles from .oS in
50693 $(extra-objs).
50694 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50695 .oS, $(libnldbl-routines)).
50696
50697 * Makerules (native-compile-mkdep-flags): Define.
50698 * sunrpc/Makefile (extra-objs): Add $(addprefix
50699 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50700 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50701 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50702 calling $(make-target-directory).
50703
50704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50705
50706 * bits/types.h (__snseconds_t): Removed.
50707 * time/time.h (struct timespec): Replace __snseconds_t with
50708 __syscall_slong_t.
50709 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50710 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50711 Likewise.
50712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50713 (__SNSECONDS_T_TYPE): Likewise.
50714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50715 (__SNSECONDS_T_TYPE): Likewise.
50716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50717 (__SNSECONDS_T_TYPE): Likewise.
50718
50719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50720
50721 * sysdeps/mach/hurd/bits/typesizes.h
50722 (__SYSCALL_SLONG_TYPE): New macro.
50723 (__SYSCALL_ULONG_TYPE): Likewise.
50724
50725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50726
50727 * bits/types.h (__syscall_slong_t): New type.
50728 (__syscall_ulong_t): Likewise.
50729
50730 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50731 (__SYSCALL_ULONG_TYPE): Likewise.
50732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50733 (__SYSCALL_SLONG_TYPE): Likewise.
50734 (__SYSCALL_ULONG_TYPE): Likewise.
50735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50736 (__SYSCALL_SLONG_TYPE): Likewise.
50737 (__SYSCALL_ULONG_TYPE): Likewise.
50738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50739 (__SYSCALL_SLONG_TYPE): Likewise.
50740 (__SYSCALL_ULONG_TYPE): Likewise.
50741
50742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50743
50744 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50745 Add sigaltstack-offsets.sym.
50746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50747 <sigaltstack-offsets.h>.
50748 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50749 longjmp_msg pointer.
50750 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50751 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50752 signal stack.
50753 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50754
50755 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50756
50757 * elf/stackguard-macros.h: Remove file.
50758 * sysdeps/generic/stackguard-macros.h: New file.
50759 * sysdeps/i386/stackguard-macros.h: Likewise.
50760 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50761 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50762 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50763 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50764 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50765 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50766 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50767 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50768 <elf/stackguard-macros.h>.
50769
50770 [BZ #14109]
50771 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50772 __aligned__ in attribute.
50773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50774 (gregset_t): Likewise.
50775
50776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50777
50778 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50779 * sysdeps/x86_64/64/Implies-after: Here. New file.
50780 * sysdeps/x86_64/x32/Implies-after: New file.
50781
50782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50783
50784 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50785 and access return value for _dl_profile_fixup. Use R10_LP to
50786 load frame size.
50787
50788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50789
50790 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50791
50792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50793
50794 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50795 * sysdeps/x86_64/x32/sysdep.h: New file.
50796
50797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50798
50799 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50800 * sysdeps/x86_64/setjmp.S: Likewise.
50801
50802 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50803
50804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50806 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50807 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50808 remove unused global constant.
50809
50810 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50811
50812 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50813 include of <not-cancel.h>.
50814
50815 2012-05-15 Roland McGrath <roland@hack.frob.com>
50816
50817 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50818
50819 2012-05-15 Jeff Law <law@redhat.com>
50820 Andreas Jaeger <aj@suse.de>
50821
50822 [BZ #13594]
50823 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50824 out from...
50825 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50826 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50827 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50828 code changing __hst_map_handle.map.
50829
50830 2012-05-15 Roland McGrath <roland@hack.frob.com>
50831
50832 * configure.in (sysnames): Look for Implies-before and Implies-after
50833 files.
50834 * configure: Regenerated.
50835
50836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50837
50838 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50839 8-byte data alignment with LP_SIZE alignment.
50840
50841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50842
50843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50844 into R10_LP.
50845
50846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50847
50848 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50849
50850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50851
50852 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50853 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50854 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50855 Likewise.
50856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50857
50858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50859
50860 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50861 (stackinfo_sub_sp): Likewise.
50862
50863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50864
50865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50866 RAX_LP.
50867
50868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50869
50870 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50871 into R*_LP.
50872
50873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50874
50875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50876 sizes into R*_LP.
50877
50878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50879
50880 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50881
50882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50883
50884 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50885 into R11_LP and load __x86_64_shared_cache_size_half into
50886 R8_LP.
50887
50888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50889
50890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50891 R8_LP.
50892
50893 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50894
50895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50896 logb for POWER7.
50897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50898 logbf for POWER7.
50899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50900 logbl for POWER7.
50901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50902 powerpc32/power7/fpu/s_logb.c via #include.
50903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50904 powerpc32/power7/fpu/s_logbf.c via #include.
50905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50906 powerpc32/power7/fpu/s_logbl.c via #include.
50907
50908 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50909
50910 * README.libm: Remove file.
50911
50912 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50913
50914 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50915 count for x32. Use R*_LP and omit operand-size suffix.
50916
50917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50918
50919 * shlib-versions: Move x86_64-.*-linux.* entries to ...
50920 * sysdeps/x86_64/64/shlib-versions: Here. New file.
50921 * sysdeps/x86_64/x32/shlib-versions: New file.
50922
50923 2012-05-14 Roland McGrath <roland@hack.frob.com>
50924
50925 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50926 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50927 Use _dl_fatal_printf instead.
50928
50929 2012-05-14 Joseph Myers <joseph@codesourcery.com>
50930
50931 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50932 set if not set by the user. Do not allow for being unset.
50933 * sysdeps/unix/sysv/linux/configure: Regenerated.
50934
50935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50936
50937 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50938 the `q' suffix from lea and replace .quad with ASM_ADDR.
50939
50940 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50941
50942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50943 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
50944 instead of $17.
50945 (PTR_DEMANGLE): Likewise.
50946
50947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50948
50949 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50950 (LP_OP): Likewise.
50951 (ASM_ADDR): Likewise.
50952 (RAX_LP): Likewise.
50953 (RBP_LP): Likewise.
50954 (RBX_LP): Likewise.
50955 (RCX_LP): Likewise.
50956 (RDI_LP): Likewise.
50957 (RSI_LP): Likewise.
50958 (RSP_LP): Likewise.
50959 (R8_LP): Likewise.
50960 (R9_LP): Likewise.
50961 (R10_LP): Likewise.
50962 (R10_LP): Likewise.
50963 (R11_LP): Likewise.
50964 (R12_LP): Likewise.
50965 (R13_LP): Likewise.
50966 (R14_LP): Likewise.
50967 (R15_LP): Likewise.
50968
50969 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50970
50971 * sysdeps/x86_64/x32/dl-machine.h: New file.
50972
50973 2012-05-14 Andreas Jaeger <aj@suse.de>
50974
50975 * manual/Makefile (subdir): Remove export of subdir.
50976 (all): Remove target.
50977 (.PHONY): Remove all from list.
50978 (mkinstalldirs): Remove.
50979 (.PHONY): Remove installdirs from list.
50980 ($(inst_infodir)/libc.info): Use make-target-directory.
50981 (installdirs): Remove.
50982 (subdir_%): Remove.
50983 (glibc-targets): Remove.
50984 (lib): Remove.
50985 (stubs): Remove.
50986 ($(objpfx)stubs ../po/manual.pot): Remove.
50987 ($(objpfx)stamp%): Remove.
50988 (make-target-directory): Remove.
50989 (subdir_install): Remove.
50990 (routines): Remove.
50991 (aux): Remove.
50992 (sources): Remove.
50993 (objects): Remove.
50994 (headers): Remove.
50995
50996 [BZ #13750]
50997 * manual/.gitignore: Remove, it's not needed anymore.
50998 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50999 all files in it.
51000 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51001 directory.
51002 (texis): Renamed to $(objpfx)texis.
51003 (texis-path): New, contains path to generated files.
51004 (chapters.%): Use texis-path for complete path, add extra argument
51005 libc-texinfo.sh.
51006 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51007 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51008 (summary,texi, stamp-summary): Use complete path of
51009 files. Generate files in build dir.
51010 (dir-add.texi): Build in build dir.
51011 (libm-err.texi,stamp-libm-err): Likewise.
51012 (version.texi, stamp-version): Likewise.
51013 (.%c.texi): Likewise.
51014 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51015 (mostlyclean): Remove target.
51016 (realclean): Remove target.
51017 (generated): Add new variable with contents from mostlyclean and
51018 realclean, remove entries duplicated in common-mostlyclean, add
51019 stamp-libm-err and stamp-version.
51020 (generated-dirs): Add libc directory.
51021 ($(inst_infodir)/libc.info): Install files from build dir.
51022
51023 * manual/install.texi (Configuring and compiling): Adjust since
51024 the info files are not part of the tar ball anymore.
51025
51026 2012-05-14 Andreas Jaeger <aj@suse.de>
51027
51028 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51029 variable.
51030
51031 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51032
51033 [BZ #13717]
51034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51035 to 2.2.0 where earlier.
51036 * sysdeps/unix/sysv/linux/configure: Regenerated.
51037 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51038 Remove conditional code.
51039 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51040 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51041 Remove conditional code.
51042 [!__NR_lchown]: Likewise.
51043 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51044 [__NR_lchown]: Likewise.
51045 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51046 comment referencing __ASSUME_LCHOWN_SYSCALL.
51047 * sysdeps/unix/sysv/linux/i386/sigaction.c
51048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51050 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51051 Remove conditional code.
51052 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51053 (__protocol_available): Remove #if 0 code.
51054 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51055 conditional code.
51056 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51057 * sysdeps/unix/sysv/linux/kernel-features.h
51058 (__ASSUME_GETCWD_SYSCALL): Don't define.
51059 (__ASSUME_REALTIME_SIGNALS): Likewise.
51060 (__ASSUME_PREAD_SYSCALL): Likewise.
51061 (__ASSUME_PWRITE_SYSCALL): Likewise.
51062 (__ASSUME_POLL_SYSCALL): Likewise.
51063 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51064 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51065 non-SPARC.
51066 (__ASSUME_SIOCGIFNAME): Don't define.
51067 (__ASSUME_MSG_NOSIGNAL): Likewise.
51068 (__ASSUME_SENDFILE): Define unconditionally.
51069 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51070 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51071 conditional code.
51072 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51073 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51074 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51075 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51076 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51077 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51078 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51103 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51104 Remove conditional code.
51105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51106 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51107 Remove conditional code.
51108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51109 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51110 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51111 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51112 Remove conditional code.
51113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51114 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51115 Remove conditional code.
51116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51117 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51118 Remove conditional code.
51119 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51120 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51121 Remove conditional code.
51122 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51123 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51124 Remove conditional code.
51125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51126 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51127 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51129 * sysdeps/unix/sysv/linux/sigaction.c
51130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51132 * sysdeps/unix/sysv/linux/sigpending.c
51133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51135 * sysdeps/unix/sysv/linux/sigprocmask.c
51136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51138 * sysdeps/unix/sysv/linux/sigsuspend.c
51139 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51140 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51142 (__libc_missing_rt_sigs): Remove.
51143 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51144 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51145 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51146 Remove conditional code.
51147 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51148 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51149 return 1.
51150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51151 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51153 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51154
51155 2012-05-14 Andreas Jaeger <aj@suse.de>
51156
51157 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51158 it's not used in glibc.
51159 (__coshm1): Likewise.
51160 (__acosh1p): Likewise.
51161 (__sgn): Likewise.
51162
51163 * manual/string.texi (Copying and Concatenation): Add missing
51164 variable in concat example.
51165 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51166
51167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51168
51169 [BZ #14103]
51170 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51171 __builtin_clzl with __builtin_clzll.
51172
51173 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51174
51175 [BZ #14104]
51176 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51177 libc_freeres_ptr.
51178
51179 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51180
51181 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51182 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51183 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51185
51186 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51187
51188 * NEWS: Update ia64 info.
51189
51190 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51191
51192 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51193 used as bcopy.
51194
51195 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51196
51197 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51198 * sysdeps/unix/syscalls.list (dup3): Likewise.
51199 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51200 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51201
51202 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51203
51204 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51205 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51206
51207 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51208
51209 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51210 thread pointer.
51211 (TLS_IE): Use mov/add instead of movq/addq to load thread
51212 pointer.
51213 (TLS_GD_PREFIX): New.
51214 (TLS_GD): Use it.
51215
51216 2012-05-11 David S. Miller <davem@davemloft.net>
51217
51218 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51219 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51220 (_FPU_SETCW): Likewise.
51221
51222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51223
51224 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51225 is 32-byte aligned.
51226
51227 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51228
51229 [BZ #11837]
51230 * iconvdata/gb18030.c: Update tables.
51231 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51232 characters specially.
51233 (BODY for TO_LOOP): Add encoding of missing ranges.
51234
51235 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51236
51237 [BZ #13673]
51238 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51239 * sysdeps/mach/hurd/dup3.c: Likewise.
51240 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51241 * sysdeps/powerpc/memmove.c:: Likewise.
51242
51243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51244
51245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51246 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51247
51248 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51249
51250 * elf/elf.h (R_X86_64_RELATIVE64): New.
51251 (R_X86_64_NUM): Updated.
51252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51253 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51254 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51255 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51256 tst-quad1pie tst-quad2pie
51257 (modules-names): Add tst-quadmod1 tst-quadmod2.
51258 ($(objpfx)tst-quad1): New dependency.
51259 ($(objpfx)tst-quad2): Likewise.
51260 ($(objpfx)tst-quad1pie): Likewise.
51261 ($(objpfx)tst-quad2pie): Likewise.
51262 * sysdeps/x86_64/tst-quad1.c: New file.
51263 * sysdeps/x86_64/tst-quad1pie.c: New file.
51264 * sysdeps/x86_64/tst-quad2.c: Likewise.
51265 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51266 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51267 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51268 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51269 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51270
51271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51272
51273 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51274 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51275 * streams/stropts.h (t_scalar_t): Define type.
51276
51277 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51278 (_PATH_PRESERVE): Set to "/var/lib".
51279 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51280
51281 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51282 instead of int.
51283
51284 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51285 if __dir_mkfile succeeded.
51286
51287 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51288 checking for _hurd_dtablesize. Unlock it right after having
51289 finished _hurd_dtable allocation.
51290
51291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51292
51293 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51294 * sysdeps/mach/hurd/configure: Regenerated.
51295 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51296 special-casing to...
51297 * sysdeps/gnu/configure.in: ... this new file.
51298 * sysdeps/unix/sysv/linux/configure: Regenerated.
51299 * sysdeps/gnu/configure: New generated file.
51300
51301 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51302 for Linux: use nsec instead of usec, as well as:
51303 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51304 members of type struct timespec.
51305 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51306 New macros.
51307 (struct stat64): Likewise.
51308 (_STATBUF_ST_NSEC): New macro.
51309 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51310
51311 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51312 __strtoul_internal rather than strtoul.
51313
51314 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51315
51316 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51317 and reject them.
51318
51319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51320
51321 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51322 which preserves existing values.
51323 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51324
51325 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51326
51327 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51328 TIMEOUT values. Return EINVAL for NFDS values either negative or
51329 greater than FD_SETSIZE.
51330
51331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51332
51333 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51334 allocated, call __vm_protect to finish enabling the existing space, and
51335 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51336 allocate the remainder.
51337
51338 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51339
51340 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51341 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51342
51343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51344
51345 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51346 sysdeps/mach/hurd/readlink.c.
51347
51348 * posix/tst-sysconf.c (posix_options): Only use
51349 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51350 _POSIX_SYNCHRONIZED_IO when they are defined
51351 * sysdeps/mach/hurd/bits/posix_opt.h:
51352 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51353 (_XOPEN_REALTIME): Undefine macro.
51354 (_XOPEN_REALTIME_THREADS): Undefine macro.
51355 (_XOPEN_SHM): Undefine macro.
51356 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51357 macro to -1.
51358 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51359 macro to -1.
51360 (_POSIX_ASYNC_IO): Undefine macro.
51361 (_POSIX_PRIORITIZED_IO): Undefine macro.
51362 (_POSIX_SPIN_LOCKS): Define macro to -1.
51363
51364 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51365 SA_NODEFER, SA_RESETHAND.
51366 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51367 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51368 F_DUPFD_CLOEXEC.
51369
51370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51371
51372 * elf/Makefile (pldd-modules): Define unconditionally.
51373
51374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51375
51376 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51377
51378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51379
51380 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51381 Return ENOENT when name is empty.
51382 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51383
51384 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51385
51386 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51387
51388 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51389
51390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51391
51392 Fix mlock in all cases except non-readable pages.
51393 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51394 instead of VM_PROT_ALL as parameter to __vm_wire function.
51395
51396 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51397 (__mkdir): When path is `/', just fail with EEXIST.
51398 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51399
51400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51401
51402 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51403 <sys/uio.h> (for writev).
51404 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51405 and <sys/param.h> (for MIN).
51406
51407 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51408
51409 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51410 REQUESTED_TIME. Properly set the remaining time and return EINTR
51411 if interrupted.
51412
51413 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51414
51415 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51416 Depend on against $(link-rpcuserlibs).
51417
51418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51419
51420 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51421 (__libc_stack_end): Do not use attribute_relro.
51422 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51423 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51424 to libthread-provided value.
51425 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51426 attribute_relro.
51427
51428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51429
51430 [BZ #3748]
51431 * bits/libc-lock.h (__libc_once_get): New macro.
51432 * sysdeps/mach/bits/libc-lock.h: Likewise.
51433 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51434 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51435 instead of using implementation details.
51436
51437 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51438 * libio/freopen.c: Likewise.
51439 * libio/freopen64.c: Likewise.
51440 * misc/syslog.c: Likewise.
51441 * nscd/connections.c: Likewise.
51442 * nscd/netgroupcache.c: Likewise.
51443 * sysdeps/posix/getcwd.c: Likewise.
51444
51445 2012-05-10 Roland McGrath <roland@hack.frob.com>
51446
51447 * math/w_ilogbf.c: Add #include <limits.h>.
51448
51449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51450
51451 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51452 path instead of returning without unlocking.
51453
51454 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51455 immediate-write ioctls.
51456 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51457
51458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51459
51460 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51461 __builtin_frame_address instead of making assumptions about the
51462 location of the return address relative to DATA. Force early load of
51463 the return address.
51464 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51465 __builtin_frame_address.
51466
51467 dup3 for GNU Hurd.
51468 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51469 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51470 implement dup3 and do some further code clean-ups.
51471 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51472 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51473
51474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51475
51476 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51477
51478 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51479 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51480 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51481 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51482 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51483 d->port.lock.
51484
51485 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51486 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51487 when handler == SIG_ERR, not when handler != SIG_ERR.
51488
51489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51490
51491 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51492 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51493 definitions.
51494
51495 accept4 for GNU Hurd.
51496 * include/sys/socket.h (__libc_accept4): New prototype.
51497 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51498 to implement __libc_accept4.
51499 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51500 __libc_accept4.
51501 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51502
51503 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51504 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51505 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51506 signal-defines.sym.
51507
51508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51509
51510 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51511
51512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51513
51514 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51515 assertion on O_CLOEXEC flag.
51516 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51517 * hurd/intern-fd.c: Likewise.
51518 * hurd/port2fd.c: Likewise.
51519
51520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51521
51522 [BZ #3906]
51523 * bits/in.h (IPV6_PKTINFO): Define new macro.
51524 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51525
51526 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51527
51528 [BZ #13954]
51529 [BZ #13955]
51530 [BZ #13956]
51531 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51533 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51534 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51536 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51537 * math/libm-test.inc (logb_test) : Additional logb tests.
51538
51539 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51540 Andreas Jaeger <aj@suse.de>
51541
51542 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51543 * configure: Regenerated.
51544 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51545 * config.make.in (link-obsolete-rpc): New substituted variable.
51546 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51547 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51548 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51549 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51550 so that libc.a contains the symbols.
51551 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51552 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51553 * sunrpc/auth_none.c: Likewise.
51554 * sunrpc/auth_unix.c: Likewise.
51555 * sunrpc/authdes_prot.c: Likewise.
51556 * sunrpc/authuxprot.c: Likewise.
51557 * sunrpc/clnt_gen.c: Likewise.
51558 * sunrpc/clnt_perr.c: Likewise.
51559 * sunrpc/clnt_raw.c: Likewise.
51560 * sunrpc/clnt_simp.c: Likewise.
51561 * sunrpc/clnt_tcp.c: Likewise.
51562 * sunrpc/clnt_udp.c: Likewise.
51563 * sunrpc/clnt_unix.c: Likewise.
51564 * sunrpc/des_crypt.c: Likewise.
51565 * sunrpc/des_soft.c: Likewise.
51566 * sunrpc/get_myaddr.c: Likewise.
51567 * sunrpc/key_call.c: Likewise.
51568 * sunrpc/key_prot.c: Likewise.
51569 * sunrpc/netname.c: Likewise.
51570 * sunrpc/pm_getmaps.c: Likewise.
51571 * sunrpc/pm_getport.c: Likewise.
51572 * sunrpc/pmap_clnt.c: Likewise.
51573 * sunrpc/pmap_prot.c: Likewise.
51574 * sunrpc/pmap_prot2.c: Likewise.
51575 * sunrpc/pmap_rmt.c: Likewise.
51576 * sunrpc/publickey.c: Likewise.
51577 * sunrpc/rpc_cmsg.c: Likewise.
51578 * sunrpc/rpc_common.c: Likewise.
51579 * sunrpc/rpc_dtable.c: Likewise.
51580 * sunrpc/rpc_prot.c: Likewise.
51581 * sunrpc/rpc_thread.c: Likewise.
51582 * sunrpc/rtime.c: Likewise.
51583 * sunrpc/svc.c: Likewise.
51584 * sunrpc/svc_auth.c: Likewise.
51585 * sunrpc/svc_raw.c: Likewise.
51586 * sunrpc/svc_run.c: Likewise.
51587 * sunrpc/svc_tcp.c: Likewise.
51588 * sunrpc/svc_udp.c: Likewise.
51589 * sunrpc/svc_unix.c: Likewise.
51590 * sunrpc/svcauth_des.c: Likewise.
51591 * sunrpc/xcrypt.c: Likewise.
51592 * sunrpc/xdr.c: Likewise.
51593 * sunrpc/xdr_array.c: Likewise.
51594 * sunrpc/xdr_float.c: Likewise.
51595 * sunrpc/xdr_intXX_t.c: Likewise.
51596 * sunrpc/xdr_mem.c: Likewise.
51597 * sunrpc/xdr_rec.c: Likewise.
51598 * sunrpc/xdr_ref.c: Likewise.
51599 * sunrpc/xdr_sizeof.c: Likewise.
51600 * sunrpc/xdr_stdio.c: Likewise.
51601
51602 2012-05-10 Roland McGrath <roland@hack.frob.com>
51603
51604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51605 change. Update copyright years.
51606
51607 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51608
51609 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51610
51611 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51612 Joseph Myers <joseph@codesourcery.com>
51613 Paul Pluzhnikov <ppluzhnikov@google.com>
51614
51615 [BZ #14012]
51616 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51617 requiring rpcgen.
51618 [cross-compiling] (extra-libs): Likewise.
51619 [cross-compiling] (extra-libs-others): Likewise.
51620 [cross-compiling] (librpcsvc-routines): Likewise.
51621 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51622 [cross-compiling] (omit-deps): Likewise.
51623 (sunrpc-CPPFLAGS): New variable.
51624 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51625 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51626 (cross-rpcgen-objs): New variable.
51627 (extra-objs): Append $(cross-rpcgen-objs).
51628 ($(cross-rpcgen-objs)): New rule.
51629 ($(objpfx)cross-rpcgen): Likewise.
51630 (rpcgen-cmd): Define to use $(built-program-file). Expand
51631 comment.
51632 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51633 ($(objpfx)x%.stmp): Likewise.
51634 * sunrpc/proto.h [IS_IN_build] (_): Define.
51635 [IS_IN_build] (_libc_intl_domainname): Likewise.
51636
51637 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51638
51639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51640 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51641 and R_X86_64_TPOFF64.
51642
51643 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51644
51645 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51646 sysdeps/unix/sysv/syscalls.list.
51647 (stime): Likewise.
51648 (utime): Likewise.
51649 * sysdeps/unix/sysv/syscalls.list: Remove file.
51650
51651 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51652
51653 [BZ #3440]
51654 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51655 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51656 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51657 (__LC_IDENTIFICATION): Make these macros useful in #if
51658 expressions, as required by C99.
51659
51660 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51661
51662 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51663 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51664 after this.
51665
51666 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51667
51668 * stdlib/longlong.h: Updated from GCC.
51669
51670 2012-05-09 Andreas Jaeger <aj@suse.de>
51671
51672 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51673 default is first entry.
51674 (run_mode): Set type.
51675 (main): Remove informal message about syslog.
51676 (options): Fix typo.
51677
51678 [BZ #14053]
51679 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51680 to asm.
51681 (lrint): Likewise.
51682 (llrintf): Likewise.
51683 (llrint): Likewise.
51684 (rint): Likewise.
51685 (rintf): Likewise.
51686 (nearbyint): Likewise.
51687 (nearbyintf): Likewise.
51688
51689 2012-05-09 Andreas Jaeger <aj@suse.de>
51690 Pedro Alves <palves@redhat.com>
51691
51692 * nscd/nscd.c (run_mode): Use enum.
51693 (main): Cleanup coding style issue.
51694
51695 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51696 Andreas Jaeger <aj@suse.de>
51697
51698 * nscd/nscd.c (go_background): Replaced with...
51699 (run_mode): ... this.
51700 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51701 (options): Add -F --foreground.
51702 (main): Implement it.
51703 (parse_opt): Parse it.
51704
51705 2012-05-09 Andreas Jaeger <aj@suse.de>
51706
51707 [BZ #14083]
51708 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51709 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51710 -Wconversion warning.
51711 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51712 Likewise.
51713
51714 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51715
51716 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51717 == 0.
51718 (LC_ALL): Use macro-int-constant.
51719 (LC_COLLATE): Likewise.
51720 (LC_CTYPE): Likewise.
51721 (LC_MESSAGES): Likewise.
51722 (LC_MONETARY): Likewise.
51723 (LC_NUMERIC): Likewise.
51724 (LC_TIME): Likewise.
51725 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51726 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51728 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51729 Specify type.
51730 [C99-based standards] (float_t): Expect type.
51731 [C99-based standards] (double_t): Expect type.
51732 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51733 type.
51734 [C99-based standards] (HUGE_VALL): Likewise.
51735 [C99-based standards] (INFINITY): Likewise.
51736 [C99-based standards] (NAN): Likewise.
51737 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51738 [C99-based standards] (FP_NAN): Likewise.
51739 [C99-based standards] (FP_NORMAL): Likewise.
51740 [C99-based standards] (FP_SUBNORMAL): Likewise.
51741 [C99-based standards] (FP_ZERO): Likewise.
51742 [C99-based standards] (FP_FAST_FMA): Use
51743 optional-macro-int-constant. Specify type. Require == 1.
51744 [C99-based standards] (FP_FAST_FMAF): Likewise.
51745 [C99-based standards] (FP_FAST_FMAL): Likewise.
51746 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51747 [C99-based standards] (FP_ILOGBNAN): Likewise.
51748 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51749 Specify type.
51750 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51751 [C99-based standards] (math_errhandling): Specify type.
51752 [ISO99 || ISO11] (signgam): Do not allow.
51753 [non-C99-based standards] (copysignf): Do not allow.
51754 [non-C99-based standards] (exp2f): Likewise.
51755 [non-C99-based standards] (log2f): Likewise.
51756 [non-C99-based standards] (modff): Allow.
51757 [non-C99-based standards] (erff): Do not allow.
51758 [non-C99-based standards] (erfcf): Likewise.
51759 [non-C99-based standards] (gammaf): Likewise.
51760 [non-C99-based standards] (hypotf): Likewise.
51761 [non-C99-based standards] (j0f): Likewise.
51762 [non-C99-based standards] (j1f): Likewise.
51763 [non-C99-based standards] (jnf): Likewise.
51764 [non-C99-based standards] (lgammaf): Likewise.
51765 [non-C99-based standards] (tgammaf): Likewise.
51766 [non-C99-based standards] (y0f): Likewise.
51767 [non-C99-based standards] (y1f): Likewise.
51768 [non-C99-based standards] (ynf): Likewise.
51769 [non-C99-based standards] (isnanf): Likewise.
51770 [non-C99-based standards] (acoshf): Likewise.
51771 [non-C99-based standards] (asinhf): Likewise.
51772 [non-C99-based standards] (atanhf): Likewise.
51773 [non-C99-based standards] (cbrtf): Likewise.
51774 [non-C99-based standards] (expm1f): Likewise.
51775 [non-C99-based standards] (ilogbf): Likewise.
51776 [non-C99-based standards] (log1pf): Likewise.
51777 [non-C99-based standards] (logbf): Likewise.
51778 [non-C99-based standards] (nextafterf): Likewise.
51779 [non-C99-based standards] (remainderf): Likewise.
51780 [non-C99-based standards] (rintf): Likewise.
51781 [non-C99-based standards] (scalbf): Likewise.
51782 [non-C99-based standards] (copysignl): Likewise.
51783 [non-C99-based standards] (exp2l): Likewise.
51784 [non-C99-based standards] (log2l): Likewise.
51785 [non-C99-based standards] (modfl): Allow.
51786 [non-C99-based standards] (erfl): Do not allow.
51787 [non-C99-based standards] (erfcl): Likewise.
51788 [non-C99-based standards] (gammal): Likewise.
51789 [non-C99-based standards] (hypotl): Likewise.
51790 [non-C99-based standards] (j0l): Likewise.
51791 [non-C99-based standards] (j1l): Likewise.
51792 [non-C99-based standards] (jnl): Likewise.
51793 [non-C99-based standards] (lgammal): Likewise.
51794 [non-C99-based standards] (tgammal): Likewise.
51795 [non-C99-based standards] (y0l): Likewise.
51796 [non-C99-based standards] (y1l): Likewise.
51797 [non-C99-based standards] (ynl): Likewise.
51798 [non-C99-based standards] (isnanl): Likewise.
51799 [non-C99-based standards] (acoshl): Likewise.
51800 [non-C99-based standards] (asinhl): Likewise.
51801 [non-C99-based standards] (atanhl): Likewise.
51802 [non-C99-based standards] (cbrtl): Likewise.
51803 [non-C99-based standards] (expm1l): Likewise.
51804 [non-C99-based standards] (ilogbl): Likewise.
51805 [non-C99-based standards] (log1pl): Likewise.
51806 [non-C99-based standards] (logbl): Likewise.
51807 [non-C99-based standards] (nextafterl): Likewise.
51808 [non-C99-based standards] (remainderl): Likewise.
51809 [non-C99-based standards] (rintl): Likewise.
51810 [non-C99-based standards] (scalbl): Likewise.
51811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51812 [non-C99-based standards] (FP_*): Do not allow.
51813 [C99-based standards] (FP_*): Change to
51814 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51815 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51816 allow.
51817 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51818 (SIG_ERR): Likewise.
51819 [X/Open-based standards] (SIG_HOLD): Likewise.
51820 (SIG_IGN): Likewise.
51821 (SIGABRT): Use macro-int-constant. Specify type. Require
51822 positive value.
51823 (SIGFPE): Likewise.
51824 (SIGILL): Likewise.
51825 (SIGINT): Likewise.
51826 (SIGSEGV): Likewise.
51827 (SIGTER): Likewise.
51828 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51829 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51830 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51831 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51832 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51833 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51834 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51835 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51836 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51837 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51838 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51839 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51840 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51841 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51842 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51843 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51844 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51845 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51846 [X/Open-based standards] (SIGTRAP): Likewise.
51847 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51848 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51849 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51850 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51851 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51852 allow.
51853
51854 2012-05-08 Ian Wienand <ianw@vmware.com>
51855
51856 [BZ #14080]
51857 * time/tzset.c (__tzset_parse_tz): Update default rules for
51858 daylight time changes in the Energy Policy Act of 2005.
51859
51860 2012-05-09 Andreas Jaeger <aj@suse.de>
51861
51862 [BZ #13983]
51863 * elf/ldconfig.c (parse_conf): Change string to make clear that
51864 ldconfig only issued a warning if ld.so.conf does not exist.
51865
51866 2012-05-08 David S. Miller <davem@davemloft.net>
51867
51868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51869 movxtod instead of popping the value on the stack.
51870
51871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51872
51873 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51874
51875 * config.h.in: Add HAVE_ARM_PCS_VFP.
51876
51877 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51878
51879 [BZ #13979]
51880 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51881 checking but the checks are disabled for any reason.
51882
51883 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51884
51885 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51886 and ELF64_R_TYPE with ELFW(R_TYPE).
51887
51888 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51889
51890 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51891 (ulimit): Likewise.
51892
51893 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51894 (settimeofday): Likewise.
51895
51896 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51897
51898 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51899 a struct th_u2 inside the union, and move tu_block/tu_code into
51900 a new th_u3 union of tu_block/tu_code inside of that. Move
51901 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51902 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51903 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51904 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51905 (th_stuff): Change to th_u1.tu_stuff.
51906 (th_data): Define.
51907 (th_msg): Change to th_u1.th_u2.tu_data.
51908
51909 2012-05-07 David S. Miller <davem@davemloft.net>
51910
51911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51912
51913 [BZ #14074]
51914 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51915 (SETUP_PIC_REG): Use it.
51916 (SETUP_PIC_REG_LEAF): Use it.
51917
51918 2012-05-07 Joseph Myers <joseph@codesourcery.com>
51919
51920 [BZ #13885]
51921 [BZ #13923]
51922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51923 USE_AS_EXPM1L.
51924 (EXPL_FINITE): Likewise.
51925 (FLDLOG): Likewise.
51926 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51927 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51928 e_expl.S.
51929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51930 USE_AS_EXPM1L.
51931 (EXPL_FINITE): Likewise.
51932 (FLDLOG): Likewise.
51933 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51934 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51935 e_expl.S.
51936 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
51937 test of -max_value argument for long double.
51938 * sysdeps/i386/fpu/libm-test-ulps: Update.
51939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51940
51941 2012-05-06 David S. Miller <davem@davemloft.net>
51942
51943 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51944 quad soft-float symbols whose references which are compiler
51945 generated.
51946 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51947
51948 2012-05-06 Joseph Myers <joseph@codesourcery.com>
51949
51950 [BZ #13884]
51951 [BZ #13914]
51952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51953 USE_AS_EXP10L.
51954 (EXPL_FINITE): Likewise.
51955 (FLDLOG): Likewise.
51956 (c0): Likewise.
51957 (c1): Likewise.
51958 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51959 Adjust comments for base varying.
51960 (__expl_finite): Change alias to EXPL_FINITE.
51961 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51962 e_expl.S.
51963 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51964 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51965 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51966 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51967 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
51977 tests for bugs.
51978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51979
51980 [BZ #14064]
51981 * math/libm-test.inc (check_float_internal): Correct ulp
51982 calculation for subnormal expected results.
51983
51984 2012-05-06 Andreas Jaeger <aj@suse.de>
51985
51986 * Makeconfig (+math-flags): New, set to -frounding-math.
51987 (+cflags): Add +math-flags so that all of glibc gets compiled with
51988 it.
51989
51990 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51991
51992 2012-05-05 Joseph Myers <joseph@codesourcery.com>
51993
51994 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51995 Disable one test.
51996
51997 [BZ #13787]
51998 [BZ #13922]
51999 [BZ #14036]
52000 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52001 (__ieee754_expl): Allow for and saturate large arguments.
52002 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52003 (u_threshold): Likewise.
52004 (__exp): Call __ieee754_exp before checking for overflow and
52005 underflow.
52006 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52007 (u_threshold): Likewise.
52008 (__expf): Call __ieee754_expf before checking for overflow and
52009 underflow.
52010 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52011 (u_threshold): Likewise.
52012 (__expl): Call __ieee754_expl before checking for overflow and
52013 underflow.
52014 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52015 (__ieee754_expl): Allow for and saturate large arguments.
52016 * math/libm-test.inc (exp_test): Add another test. Do not allow
52017 missing overflow exception on overflow.
52018 (expm1_test): Do not allow missing overflow exception on overflow.
52019
52020 * sysdeps/i386/fpu/e_expl.c: Move to ...
52021 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52022 rather than using inline asm.
52023 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52024 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52025 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52026
52027 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52028 (nice): Likewise.
52029 (poll): Likewise.
52030 (signal): Likewise.
52031 (time): Likewise.
52032 (times): Likewise.
52033
52034 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52035
52036 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52037 sysdeps/unix/common/syscalls.list.
52038 (fchmod): Likewise.
52039 (fchown): Likewise.
52040 (ftruncate): Likewise.
52041 (getrusage): Likewise.
52042 (gettimeofday): Likewise.
52043 (setpgid): Likewise.
52044 (setregid): Likewise.
52045 (setreuid): Likewise.
52046 (sigaction): Likewise.
52047 (truncate): Likewise.
52048 (vhangup): Likewise.
52049 * sysdeps/unix/common/syscalls.list: Remove file.
52050 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52051 * sysdeps/unix/sysv/linux/Implies: Likewise.
52052
52053 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52054
52055 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52057 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52058 Moved to ...
52059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52060 Here.
52061 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52062 to ...
52063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52064 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52065 to ...
52066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52067 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52068 to ...
52069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52070 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52071 to ...
52072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52073 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52074 to ...
52075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52076 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52077 to ...
52078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52079 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52080 to ...
52081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52082 Here.
52083 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52084 to ...
52085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52086 Here.
52087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52088 to ...
52089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52090 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52091 Moved to ...
52092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52093 Here.
52094 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52095 to ...
52096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52097
52098 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52099
52100 * sysdeps/unix/common/bits/dirent.h: Remove file.
52101 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52102
52103 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52104 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52105 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52106 * sysdeps/unix/bsd/isatty.c: Likewise.
52107 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52108 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52109 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52110
52111 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52112
52113 [BZ #13563]
52114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52115 long double comparison inaccuracies.
52116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52118
52119 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52120
52121 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52123
52124 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52125
52126 [BZ #14049]
52127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52128 nonzero digits before rounding a hex value.
52129 * stdlib/tst-strtod.c (tests): Add another test.
52130
52131 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52132
52133 * sysdeps/s390/fpu/libm-test-ulps: Update.
52134
52135 2012-05-03 Andreas Jaeger <aj@suse.de>
52136
52137 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52138 does not get optimized out.
52139 (malloc_opt_barrier): New.
52140
52141 2012-05-03 Andreas Jaeger <aj@suse.de>
52142 Roland McGrath <roland@hack.frob.com>
52143
52144 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52145 intermediate file deletion.
52146 (generated): Add .symlist files.
52147
52148 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52149
52150 [BZ #13775]
52151 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52152 Redirect under this condition.
52153 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52154 [__USE_GNU] (__dprintf_chk): Not under this condition.
52155 [__USE_GNU] (__vdprintf_chk): Likewise.
52156 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52157 under this condition.
52158 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52159 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52160 [__USE_XOPEN2K8] (vdprintf): Likewise.
52161 [__USE_GNU] (__dprintf_chk): Not under this condition.
52162 [__USE_GNU] (__vdprintf_chk): Likewise.
52163 [__USE_GNU] (dprintf): Likewise.
52164 [__USE_GNU] (vdprintf): Likewise.
52165
52166 2012-05-03 Roland McGrath <roland@hack.frob.com>
52167
52168 * elf/Makefile (common-generated): Set this instead of generated for
52169 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52170 $(all-built-dso)-derived lists.
52171
52172 2012-05-03 Andreas Jaeger <aj@suse.de>
52173
52174 * sysdeps/i386/fpu/libm-test-ulps: Update.
52175
52176 * FAQ: Removed.
52177 * FAQ.in: Likewise.
52178 * scripts/gen-FAQ.pl: Likewise.
52179 * manual/install.texi (Installation): Point to online location of
52180 FAQ.
52181 * Makefile (files-for-dist): Remove FAQ.
52182 (FAQ): Remove.
52183
52184 2012-05-02 Allan McRae <allan@archlinux.org>
52185
52186 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52187 (LDFLAGS-reldepmod5.so): Likewise.
52188 (LDFLAGS-reldep6mod1.so): Likewise.
52189 (LDFLAGS-reldep6mod4.so): Likewise.
52190 (LDFLAGS-reldep8mod3.so): Likewise.
52191 (LDFLAGS-unload4mod1.so): Likewise.
52192 (LDFLAGS-unload4mod2.so): Likewise.
52193 (LDFLAGS-tst-initorder): Likewise.
52194 (LDFLAGS-tst-initordera2.so): Likewise.
52195 (LDFLAGS-tst-initordera3.so): Likewise.
52196 (LDFLAGS-tst-initordera4.so): Likewise.
52197 (LDFLAGS-tst-initorderb2.so): Likewise.
52198 (LDFLAGS-noload): Likewise.
52199 (LDFLAGS-next): Likewise.
52200 (LDFLAGS-order2mod1.so): Likewise.
52201 (LDFLAGS-order2mod2.so): Likewise.
52202 (LDFLAGS-tst-initorder2): Likewise.
52203 (LDFLAGS-tst-initorder2a.so): Likewise.
52204 (LDFLAGS-tst-initorder2b.so): Likewise.
52205 (LDFLAGS-tst-initorder2c.so): Likewise.
52206 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52207
52208 2012-05-02 David S. Miller <davem@davemloft.net>
52209
52210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52211
52212 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52213
52214 [BZ #14055]
52215 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52216
52217 2012-05-02 Andreas Jaeger <aj@suse.de>
52218
52219 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52220 since we manipulate rounding mode.
52221 (CPPFLAGS-test-idouble.c): Likewise.
52222 (CPPFLAGS-test-ifloat.c): Likewise.
52223 (CFLAGS-test-ldouble.c): Likewise.
52224 (CFLAGS-test-double.c): Likewise.
52225 (CFLAGS-test-float.c): Likewise.
52226 (CFLAGS-test-misc.c): Likewise.
52227 (CFLAGS-test-test-fenv.c): Likewise.
52228
52229 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52230
52231 [BZ #2550]
52232 [BZ #2570]
52233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52234 comparisons to determine direction to adjust input.
52235
52236 2012-05-01 Roland McGrath <roland@hack.frob.com>
52237
52238 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52239 output to the target.
52240
52241 * scripts/localplt.awk: New file.
52242 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52243 (check-localplt-CFLAGS): Variable removed.
52244 ($(all-built-dso:=.jmprel)): New static pattern rule.
52245 (generated): Add those targets.
52246 (localplt-built-dso): New variable.
52247 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52248
52249 * elf/check-localplt.c: File removed.
52250
52251 * scripts/check-execstack.awk: New file.
52252 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52253 (check-execstack-CFLAGS): Variable removed.
52254 ($(objpfx)check-execstack.h): Target removed.
52255 ($(objpfx)execstack-default): New target.
52256 (generated): Add that instead of check-execstack.h.
52257 ($(all-built-dso:=.phdr)): New static pattern rule.
52258 (generated): Add those targets.
52259 * elf/check-execstack.c: File removed.
52260
52261 * scripts/check-textrel.awk: New file.
52262 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52263 (check-textrel-CFLAGS): Variable removed.
52264 (all-built-dso): Use := to define.o
52265 ($(all-built-dso:=.dyn)): New static pattern rule.
52266 (generated): Add those targets.
52267 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52268 * config.make.in (READELF): New substituted variable.
52269 * elf/check-textrel.c: File removed.
52270
52271 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52272
52273 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52274 allow.
52275 * conform/data/ctype.h-data [C99-based standards] (isblank):
52276 Expect function.
52277 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52278 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52280 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52281 Specify type. Require positive value.
52282 (EILSEQ): Likewise.
52283 (ERANGE): Likewise.
52284 [ISO || POSIX] (EILSEQ): Do not expect.
52285 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52286 Specify type. Require positive value.
52287 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52288 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52289 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52290 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52291 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52292 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52293 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52294 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52295 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52296 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52297 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52298 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52299 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52300 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52301 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52302 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52303 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52304 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52305 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52306 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52307 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52308 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52309 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52310 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52311 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52312 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52313 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52314 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52315 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52316 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52317 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52318 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52319 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52320 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52321 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52322 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52323 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52324 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52325 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52326 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52327 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52328 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52329 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52330 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52331 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52332 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52333 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52334 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52335 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52336 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52337 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52338 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52339 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52340 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52341 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52342 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52343 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52344 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52345 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52346 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52347 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52348 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52349 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52350 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52351 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52352 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52353 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52354 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52355 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52356 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52357 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52358 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52359 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52360 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52361 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52362 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52363 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52364 Require >= 2.
52365 (FLT_ROUNDS): Expect as macro, not constant.
52366 (FLT_MANT_DIG): Use macro-int-constant.
52367 (DBL_MANT_DIG): Likewise.
52368 (LDBL_MANT_DIG): Likewise.
52369 (FLT_DIG): Likewise.
52370 (DBL_DIG): Likewise.
52371 (LDBL_DIG): Likewise.
52372 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52373 (DBL_MIN_EXP): Likewise.
52374 (LDBL_MIN_EXP): Likewise.
52375 (FLT_MAX_EXP): Use macro-int-constant.
52376 (DBL_MAX_EXP): Likewise.
52377 (LDBL_MAX_EXP): Likewise.
52378 (FLT_MAX_10_EXP): Likewise.
52379 (DBL_MAX_10_EXP): Likewise.
52380 (LDBL_MAX_10_EXP): Likewise.
52381 (FLT_MAX): Use macro-constant.
52382 (DBL_MAX): Likewise.
52383 (LDBL_MAX): Likewise.
52384 (FLT_EPSILON): Use macro-constant. Give upper bound.
52385 (DBL_EPSILON): Likewise.
52386 (LDBL_EPSILON): Likewise.
52387 (FLT_MIN): Likewise.
52388 (DBL_MIN): Likewise.
52389 (LDBL_MIN): Likewise.
52390 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52391 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52392 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52393 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52394 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52395 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52396 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52397 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52398 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52399 [ISO11] (FLT_TRUE_MIN): Likewise.
52400 [ISO11] (LDBL_TRUE_MIN): Likewise.
52401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52402 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52403 (SCHAR_MIN): Use macro-int-constant. Specify type.
52404 (SCHAR_MAX): Likewise.
52405 (UCHAR_MAX): Likewise.
52406 (CHAR_MIN): Likewise.
52407 (CHAR_MAX): Likewise.
52408 (MB_LEN_MAX): Use macro-int-constant.
52409 (SHRT_MIN): Use macro-int-constant. Specify type.
52410 (SHRT_MAX): Likewise.
52411 (USHRT_MAX): Likewise.
52412 (INT_MAX): Likewise.
52413 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52414 bound negative.
52415 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52416 bound with "U".
52417 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52418 bound with "L".
52419 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52420 bound negative. Suffix upper bound with "L".
52421 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52422 bound with "UL".
52423 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52424 Specify type.
52425 [C99-based standards] (LLONG_MAX): Likewise.
52426 [C99-based standards] (ULLONG_MAX): Likewise.
52427 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52428 == 0.
52429 [ISO11] (max_align_t): Require type.
52430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52431
52432 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52433 from $CFLAGS, without defining away __attribute__ calls.
52434 (checknamespace): Use $CFLAGS_namespace.
52435
52436 * conform/conformtest.pl (@keywords): Only include C99 keywords
52437 for standards based on C99 or C11.
52438
52439 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52440 Disable tests.
52441 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52442 UNIX98]: Likewise.
52443
52444 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52445 usability of symbols in #if.
52446
52447 * conform/conformtest.pl: If macro or constant types start
52448 "promoted:", expect the symbol to be of the following type
52449 promoted by the integer promotions.
52450
52451 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52452 in one place. Also handle "macro-constant".
52453
52454 * conform/conformtest.pl: Only accept expected macro values with
52455 "==". Parse all "macro" lines in one place.
52456 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52457
52458 * conform/conformtest.pl: Handle braced types on "constant" lines
52459 instead of handling "typed-constant".
52460 * conform/data/signal.h-data: Use "constant" instead of
52461 "typed-constant".
52462
52463 * conform/conformtest.pl: Handle "optional-" at start of lines in
52464 one place rather than duplicating several cases. Handle each
52465 format of "macro" line with initial "optional-".
52466
52467 * conform/conformtest.pl: Only accept expected constant or
52468 optional-constant values with "==". Parse all "constant" lines in
52469 one place. Parse all "optional-constant" lines in one place.
52470 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52471 * conform/data/fmtmsg.h-data: Likewise.
52472 * conform/data/netinet/in.h-data: Likewise.
52473 * conform/data/tar.h-data: Likewise.
52474 * conform/data/limits.h-data: Use "==" form on "constant" and
52475 "optional-constant" lines.
52476
52477 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52478 Use -std=c99 for XOPEN2K.
52479 (@knownproblems): Remove.
52480 (newtoken): Don't check %isknown.
52481
52482 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52483 Do not expect macro.
52484 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52485 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52486 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52487 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52488 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52489 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52490 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52491 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52492 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52493 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52494 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52495 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52496 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52497 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52498 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52499 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52500 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52501 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52502 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52503 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52504 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52505 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52506 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52507 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52508 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52509 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52510 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52511 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52512 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52513 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52514 [XPG3] (acosh): Likewise.
52515 [XPG3] (asinh): Likewise.
52516 [XPG3] (atanh): Likewise.
52517 [XPG3] (cbrt): Likewise.
52518 [XPG3] (expm1): Likewise.
52519 [XPG3] (ilogb): Likewise.
52520 [XPG3] (log1p): Likewise.
52521 [XPG3] (logb): Likewise.
52522 [XPG3] (nextafter): Likewise.
52523 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52524 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52525 [XPG3] (remainder): Likewise.
52526 [XPG3] (rint): Likewise.
52527 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52528 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52529 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52530 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52531 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52532 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52533 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52534 [UNIX98 || XOPEN2K] (scalb): Expect.
52535 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52536 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52537 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52538 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52539 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52540 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52541 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52542 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52543 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52544 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52545 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52546 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52547 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52548 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52549 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52550 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52551 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52552 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52553 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52554 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52555 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52556 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52557 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52558 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52559 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52560 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52561 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52562 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52563 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52564 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52565 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52566 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52567 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52568 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52569 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52570 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52571 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52572 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52573 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52574 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52575 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52576 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52577 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52578 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52579 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52580 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52581 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52582 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52583 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52584 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52585 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52586 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52587 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52588 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52589 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52590 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52591 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52592 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52594 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52595 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52596 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52597 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52598 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52599 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52600 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52601 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52602 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52604 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52605 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52606 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52607 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52608 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52609 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52610 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52611 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52612 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52613 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52614 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52615 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52616 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52617 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52618 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52622 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52623 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52624 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52625 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52626 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52627 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52628 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52629 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52630 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52633 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52634 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52642 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52643 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52644 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52672
52673 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52674 _XOPEN_SOURCE_EXTENDED for XPG4.
52675
52676 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52677
52678 * Makeconfig (localtime): Remove variable.
52679 (inst_localtime-file): Likewise.
52680
52681 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52682
52683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52684 Update.
52685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52686 Update.
52687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52688 Update.
52689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52690 Update.
52691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52692 Update.
52693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52694 Update.
52695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52696 Update.
52697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52698 Update.
52699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52700 Update.
52701
52702 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52703
52704 [BZ #2550]
52705 [BZ #2570]
52706 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52707 comparisons to determine direction to adjust input.
52708 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52709 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52711 Likewise.
52712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52713 Likewise.
52714 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52715 Likewise.
52716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52718 Likewise.
52719 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52720 Likewise.
52721 * math/libm-test.inc (nexttoward_test): Add more tests.
52722
52723 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52724
52725 [BZ #14040]
52726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52727 in version GLIBC_2.1, not GLIBC_2.0.
52728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52729 Likewise.
52730
52731 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52732
52733 [BZ #13942]
52734 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52735 (1 - x) * (1 + x).
52736 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52737 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52738 * math/libm-test.inc (acos_test): Add more tests.
52739 (asin_test): Likewise.
52740 * sysdeps/i386/fpu/libm-test-ulps: Update.
52741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52742
52743 [BZ #14034]
52744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52745 of square root.
52746 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52747 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52748 * math/libm-test.inc (acos_test_tonearest): New function.
52749 (acos_test_towardzero): Likewise.
52750 (acos_test_downward): Likewise.
52751 (acos_test_upward): Likewise.
52752 (asin_test_tonearest): Likewise.
52753 (asin_test_towardzero): Likewise.
52754 (asin_test_downward): Likewise.
52755 (asin_test_upward): Likewise.
52756 (main): Call the new functions.
52757 * sysdeps/i386/fpu/libm-test-ulps: Update.
52758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52759
52760 [BZ #13884]
52761 [BZ #13924]
52762 * math/e_exp10.c: Include <float.h>.
52763 (__ieee754_exp10): Handle underflow here rather than multiplying
52764 large negative argument by M_LN10.
52765 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52766 of __ieee754_expf.
52767 * math/e_exp10l.c: Include <float.h>.
52768 (__ieee754_exp10l): Handle underflow here rather than multiplying
52769 large negative argument by M_LN10l.
52770 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52771 spurious overflow exception on underflow.
52772
52773 2012-04-29 Marek Polacek <polacek@redhat.com>
52774
52775 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52776 (__fortify_function): New macro.
52777 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52778 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52779 __extern_always_inline.
52780 * libio/bits/stdio2.h: Likewise.
52781 * libio/bits/stdio.h: Likewise.
52782 * string/string.h: Likewise.
52783 * string/bits/string3.h: Likewise.
52784 * include/stdio.h: Likewise.
52785 * stdlib/bits/stdlib.h: Likewise.
52786 * stdlib/stdlib.h: Likewise.
52787 * rt/bits/mqueue2.h: Likewise.
52788 * rt/mqueue.h: Likewise.
52789 * posix/bits/unistd.h: Likewise.
52790 * posix/unistd.h: Likewise.
52791 * io/bits/poll2.h: Likewise.
52792 * io/bits/fcntl2.h: Likewise.
52793 * io/fcntl.h: Likewise.
52794 * io/sys/poll.h: Likewise.
52795 * misc/bits/syslog.h: Likewise.
52796 * misc/bits/syslog-ldbl.h: Likewise.
52797 * misc/sys/syslog.h: Likewise.
52798 * socket/bits/socket2.h: Likewise.
52799 * socket/sys/socket.h: Likewise.
52800 * debug/tst-chk1.c: Likewise.
52801 * wcsmbs/bits/wchar2.h: Likewise.
52802 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52803 * wcsmbs/wchar.h: Likewise.
52804
52805 2012-04-29 Andreas Jaeger <aj@suse.de>
52806
52807 * Makerules (tests): Remove enable-check-abi protection.
52808 (check-abi-warn): Remove.
52809 (check-abi-%): Remove check-abi-warn usage.
52810
52811 * configure.in: Remove check-abi configure option.
52812 * configure: Regenerated.
52813 * config.make.in (enable-check-abi): Remove.
52814
52815 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52816
52817 [BZ #14033]
52818 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52819 double functions to double *_finite functions.
52820
52821 [BZ #13941]
52822 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52823 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52824 LDBL_MIN_EXP.
52825 * stdio-common/Makefile (tests): Add tst-sprintf3.
52826 * stdio-common/tst-sprintf3.c: New file.
52827
52828 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52829 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52830
52831 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52832
52833 * conform/conformtest.pl: Remove duplicate typed-constant
52834 handling.
52835
52836 2012-04-28 David S. Miller <davem@davemloft.net>
52837
52838 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52839 (check-abi-%): Remove AWK script prerequisite and explicit
52840 abilist directory.
52841 (check-abi): Rewrite to just diff the symlist with the abilist.
52842 (config-tls, config-abi-config): Delete, no longer used.
52843 (update-abi-%): Remove AWK script and explicit abilist directory.
52844 (update-abi): Rewrite to simply compare and conditionally copy the
52845 symlist and the sysdep abilist file. Remove update-abi-config
52846 checks.
52847 * abilist/ld.abilist: Remove.
52848 * abilist/libBrokenLocale.abilist: Remove.
52849 * abilist/libanl.abilist: Remove.
52850 * abilist/libcrypt.abilist: Remove.
52851 * abilist/libdl.abilist: Remove.
52852 * abilist/librt.abilist: Remove.
52853 * abilist/libthread_db.abilist: Remove.
52854 * abilist/libutil.abilist: Remove.
52855 * scripts/extract-abilist.awk: Remove.
52856 * scripts/merge-abilist.awk: Remove.
52857 * sysdeps/generic/libcidn.abilist: New file.
52858 * sysdeps/generic/libnss_compat.abilist: New file.
52859 * sysdeps/generic/libnss_db.abilist: New file.
52860 * sysdeps/generic/libnss_dns.abilist: New file.
52861 * sysdeps/generic/libnss_files.abilist: New file.
52862 * sysdeps/generic/libnss_hesiod.abilist: New file.
52863 * sysdeps/generic/libnss_nis.abilist: New file.
52864 * sysdeps/generic/libnss_nisplus.abilist: New file.
52865 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52866 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52867 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52868 file.
52869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52870 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52871 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52872 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52873 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52874 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52875 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52876 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52877 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52878 file.
52879 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52881 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52883 file.
52884 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52885 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52886 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52887 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52889 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52890 file.
52891 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52892 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52893 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52894 file.
52895 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52897 New file.
52898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52899 New file.
52900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52901 New file.
52902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52903 New file.
52904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52905 New file.
52906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52907 New file.
52908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52909 New file.
52910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52911 New file.
52912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52913 New file.
52914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52915 New file.
52916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52917 New file.
52918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52919 New file.
52920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52921 New file.
52922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52923 file.
52924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52925 New file.
52926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52927 New file.
52928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52929 file.
52930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52931 New file.
52932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52933 New file.
52934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52935 file.
52936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52937 New file.
52938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52939 New file.
52940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52941 New file.
52942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52943 New file.
52944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52945 New file.
52946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52947 New file.
52948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52950 file.
52951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52952 New file.
52953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52954 file.
52955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52956 file.
52957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52958 file.
52959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52960 file.
52961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52962 file.
52963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52964 New file.
52965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52966 file.
52967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52968 file.
52969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52970 New file.
52971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52972 file.
52973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52975 file.
52976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52977 New file.
52978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52979 file.
52980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52981 file.
52982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52983 file.
52984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52985 file.
52986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52987 file.
52988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52989 New file.
52990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52991 file.
52992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52993 file.
52994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52995 New file.
52996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52997 file.
52998 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52999 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53000 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53001 file.
53002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53003 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53004 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53005 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53007 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53008 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53009 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53010 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53011 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53014 file.
53015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53016 New file.
53017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53018 file.
53019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53020 file.
53021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53022 file.
53023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53024 file.
53025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53026 file.
53027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53028 New file.
53029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53030 New file.
53031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53032 file.
53033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53034 New file.
53035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53036 file.
53037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53039 file.
53040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53041 New file.
53042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53043 file.
53044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53045 file.
53046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53047 file.
53048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53049 file.
53050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53051 file.
53052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53053 New file.
53054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53055 New file.
53056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53057 file.
53058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53059 New file.
53060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53061 file.
53062
53063 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53064
53065 * conform/conformtest.pl: Fix typo in handling typed-constant from
53066 allow-header.
53067
53068 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53069
53070 * README: Cut down references to pre-2.6 Linux kernels and
53071 Linuxthreads. Update lists of configurations in libc and ports
53072 and sort alphabetically. Say "or newer" with Linux kernel version
53073 requirements.
53074
53075 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53076
53077 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53078
53079 [BZ #887]
53080 * math/libm-test.inc (logb_test_downward): New test to expose
53081 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53082 rounding mode.
53083
53084 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53085
53086 [BZ #14027]
53087 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53088 to be done.
53089 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53090 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53091
53092 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53093
53094 * sysdeps/unix/i386/brk.S: Remove file.
53095 * sysdeps/unix/i386/dl-brk.S: Likewise.
53096 * sysdeps/unix/i386/pipe.S: Likewise.
53097 * sysdeps/unix/i386/sigreturn.S: Likewise.
53098 * sysdeps/unix/i386/syscall.S: Likewise.
53099 * sysdeps/unix/i386/vfork.S: Likewise.
53100 * sysdeps/unix/i386/wait.S: Likewise.
53101
53102 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53103 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53104
53105 * configure.in (arm*-none*): Do not allow without
53106 --enable-hacker-mode.
53107 (netbsd*): Remove case setting base_os.
53108 (386bsd*): Likewise.
53109 (freebsd*): Likewise.
53110 (bsdi*): Likewise.
53111 (osf*): Likewise.
53112 (sunos*): Likewise.
53113 (ultrix*): Likewise.
53114 (newsos*): Likewise.
53115 (dynix*): Likewise.
53116 (*bsd*): Likewise.
53117 (sysv*): Likewise.
53118 (isc*): Likewise.
53119 (esix*): Likewise.
53120 (sco*): Likewise.
53121 (minix*): Likewise.
53122 (irix4*): Likewise.
53123 (irix6*): Likewise.
53124 (solaris[2-9]*): Likewise.
53125 (none): Likewise.
53126 * configure: Regenerated.
53127
53128 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53129
53130 [BZ #11521]
53131 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53132 overflow or cancellation in calculating denominator.
53133 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53135 down expression to avoid unexpected rounding in newer GCCs.
53136 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53137
53138 2012-04-26 David S. Miller <davem@davemloft.net>
53139
53140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53141 long-double compat symbols.
53142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53155
53156 2012-04-25 David S. Miller <davem@davemloft.net>
53157
53158 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53159 HWCAP_* values only after the memory barriers have been defined.
53160 (atomic_full_barrier): Define.
53161 (atomic_read_barrier): Define.
53162 (atomic_write_barrier): Define.
53163
53164 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53165
53166 * shlib-versions: Add libgcc_s version information.
53167 * sysdeps/generic/libgcc_s.h: Remove.
53168 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53169 libgcc_s.h.
53170 * sysdeps/gnu/unwind-resume.c: Likewise.
53171 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53172
53173 2012-04-25 David S. Miller <davem@davemloft.net>
53174
53175 * sysdeps/unix/sparc/brk.S: Delete.
53176 * sysdeps/unix/sparc/dl-brk.S: Delete.
53177 * sysdeps/unix/sparc/pipe.S: Delete.
53178 * sysdeps/unix/sparc/sysdep.S: Delete.
53179 * sysdeps/unix/sparc/sysdep.h: Delete.
53180 * sysdeps/unix/sparc/vfork.S: Delete.
53181 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53182 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53184 (ret_ERRVAL, r0, r1, MOVE): Define.
53185 (JUMPTARGET): Remove.
53186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53187 sysdeps/unix/sparc/sysdep.h
53188 (ENTRY, END): Remove.
53189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53190
53191 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53192
53193 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53194 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53195 -DIS_IN_build.
53196
53197 * timezone/README: Update upstream location and email address for
53198 tzcode and tzdata.
53199 * timezone/zdump.c: Update from tzcode 2012b.
53200 * timezone/zic.c: Likewise.
53201
53202 * configure.in (libc_cv_as_needed): Remove test.
53203 * configure: Regenerated.
53204 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53205 conditional definition.
53206 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53207 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53208 * config.make.in (have-as-needed): Remove variable.
53209
53210 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53211 Paul Pluzhnikov <ppluzhnikov@google.com>
53212
53213 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53214 strings correctly.
53215
53216 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53217
53218 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53219 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53220 * sysdeps/sh/strlen.S: Likewise.
53221
53222 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53223
53224 * sysdeps/unix/fork.S: Remove file.
53225 * sysdeps/unix/i386/fork.S: Likewise.
53226 * sysdeps/unix/sparc/fork.S: Likewise.
53227
53228 * sysdeps/unix/system.c: Remove file.
53229 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53230
53231 * sysdeps/unix/getegid.S: Remove file.
53232 * sysdeps/unix/geteuid.S: Likewise.
53233
53234 2012-04-24 Roland McGrath <roland@hack.frob.com>
53235
53236 * scripts/check-localplt.awk: New file.
53237 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53238 of diff.
53239 * scripts/data/localplt-generic.data: Add a comment.
53240
53241 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53242 NODE when __dir_mkfile failed.
53243 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53244 Reported by Ludovic Courtès <ludo@gnu.org>.
53245
53246 2012-04-24 Andreas Jaeger <aj@suse.de>
53247
53248 * Makerules (common-clean): Also remove gen-as-const-headers
53249 files.
53250
53251 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53252
53253 * Makerules (native-compile): Do not change working directory for
53254 build. Use $(OUTPUT_OPTION) in command.
53255 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53256
53257 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53258
53259 [BZ #13886]
53260 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53261 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53262 * math/libm-test.inc (floor_test): Add more tests.
53263 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53264
53265 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53266
53267 * sysdeps/unix/getdents.c: Remove file.
53268 * sysdeps/unix/sysv/getdents.c: Likewise.
53269 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53270
53271 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53272 sysdeps/unix/mman/syscalls.list.
53273 (mmap): Likewise.
53274 (mprotect): Likewise.
53275 (msync): Likewise.
53276 (munmap): Likewise.
53277 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53278 * sysdeps/unix/mman/syscalls.list: Remove.
53279 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53280
53281 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53282 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53283 * configure: Regenerated.
53284 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53285 $(libgcc_s_suffix).
53286 * config.make.in (libgcc_s_suffix): Remove variable.
53287
53288 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53289
53290 * sysdeps/unix/sysv/gethostname.c: Move to ...
53291 * sysdeps/posix/gethostname.c: ... here.
53292
53293 * sysdeps/unix/execve.S: Remove file.
53294
53295 * sysdeps/unix/_exit.S: Remove file.
53296
53297 2012-04-23 Andreas Jaeger <aj@suse.de>
53298
53299 [BZ #13739]
53300 * manual/Makefile: Remove make dist support, there's no
53301 need for a stand-alone documentation tar ball.
53302 (TEXI2DVI): Define always, it's not in Makeconfig.
53303 (dist): Removed.
53304 (tar-it): Removed.
53305 (edition): Removed.
53306 (glibc-doc-$(edition).tar): Removed
53307 (%.Z): Removed.
53308 (%.gz): Removed.
53309 (%.uu): Removed.
53310 (ETAGS): Remove, it's in Makeconfig.
53311 (move-if-change): Remove, it's in Makeconfig.
53312
53313 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53314
53315 [BZ #13970]
53316 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53317 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53318 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53319 (strtod_l, strtof_l, strtold_l): Remove __wur.
53320 It is not necessarily an error to ignore strtol's return value.
53321 One can reliably look at the stored endptr to decide whether
53322 the number had valid syntax.
53323
53324 2012-04-21 Andreas Jaeger <aj@suse.de>
53325
53326 [BZ #13739]
53327 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53328
53329 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53330
53331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53332 * sysdeps/unix/sysv/Versions: Remove file.
53333
53334 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53335
53336 [BZ #13927]
53337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53338
53339 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53340
53341 [BZ #7064]
53342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53343 version from __vm86.
53344
53345 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53346
53347 * sysdeps/unix/common/lxstat.c: Remove file.
53348 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53349
53350 * sysdeps/unix/sysv/Makefile: Remove file.
53351
53352 * sysdeps/unix/sysv/direct.h: Remove file.
53353
53354 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53355 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53356 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53357 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53358 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53359 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53360 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53361
53362 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53363
53364 * sysdeps/unix/xmknod.c: Remove file.
53365 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53366
53367 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53368
53369 * sysdeps/unix/sysv/i386/time.S: Remove file.
53370
53371 * sysdeps/unix/fxstat.c: Remove file.
53372 * sysdeps/unix/xstat.c: Likewise.
53373 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53374
53375 * sysdeps/unix/sysv/sigaction.c: Remove file.
53376
53377 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53378 (sysdep_headers): Remove variable.
53379 [termio.h not in sysdep_headers] (generated): Likewise.
53380 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53381 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53382 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53383 * sysdeps/unix/sysv/tcflow.c: Likewise.
53384 * sysdeps/unix/sysv/tcflush.c: Likewise.
53385 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53386 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53387 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53388 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53389 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53390
53391 * sysdeps/unix/siglist.c: Remove file.
53392
53393 * sysdeps/unix/getppid.S: Remove file.
53394
53395 * sysdeps/unix/mkdir.c: Remove file.
53396 * sysdeps/unix/rmdir.c: Likewise.
53397
53398 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53399
53400 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53401 ERR_MAX value.
53402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53403 errlist-compat value.
53404
53405 2012-04-18 David S. Miller <davem@davemloft.net>
53406
53407 * sysdeps/generic/memcopy.h (reg_char): Delete.
53408 * debug/strcat_chk.c: Use char, not reg_char.
53409 * debug/strcpy_chk.c: Likewise.
53410 * debug/strncat_chk.c: Likewise.
53411 * debug/strncpy_chk.c: Likewise.
53412 * string/memchr.c: Likewise.
53413 * string/memrchr.c: Likewise.
53414 * string/rawmemchr.c: Likewise.
53415 * string/strcat.c: Likewise.
53416 * string/strchr.c: Likewise.
53417 * string/strchrnul.c: Likewise.
53418 * string/strcmp.c: Likewise.
53419 * string/strcpy.c: Likewise.
53420 * string/strncat.c: Likewise.
53421 * string/strncmp.c: Likewise.
53422 * string/strncpy.c: Likewise.
53423
53424 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53425
53426 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53427 __builtin_memcopy is called when src and dest ranges are known to not
53428 overlap.
53429
53430 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53431
53432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53433 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53434 fwd_align_merge macro call.
53435 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53436 bwd_align_merge macro call.
53437 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53438
53439 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53440
53441 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53442 bwd_align_merge macros.
53443 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53444 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53446
53447 2012-04-18 David S. Miller <davem@davemloft.net>
53448
53449 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53450
53451 2012-04-18 Andreas Jaeger <aj@suse.de>
53452
53453 [BZ# 6794]
53454 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53455 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53457
53458 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53459 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53461
53462 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53463 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53464 Adjust for changed ldbl-128 files.
53465
53466 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53467 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53469
53470 2012-04-17 David S. Miller <davem@davemloft.net>
53471
53472 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53473
53474 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53475
53476 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53477 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53478 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53479 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53480 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53481 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53482
53483 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53484
53485 [BZ #6794]
53486 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53487 * math/libm-test.inc: Add ilogb errno and exception tests.
53488 * math/w_ilogb.c: New file: ilogb wrapper.
53489 * math/w_ilogbf.c: New file: ilogbf wrapper.
53490 * math/w_ilogbl.c: New file: ilogbl wrapper.
53491 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53492 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53493 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53494 exception being thrown with 0.0 as argument.
53495 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53496 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53497 exception being thrown with 0.0 as argument.
53498 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53499 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53500 exception being thrown with 0.0 as argument.
53501 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53502 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53503 exception being thrown with 0.0 as argument.
53504 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53505 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53506 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53507 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53508 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53509 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53510 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53511 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53512 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53513
53514 2012-04-17 Petr Baudis <pasky@ucw.cz>
53515
53516 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53517 with altivec.
53518
53519 2012-04-16 Marek Polacek <polacek@redhat.com>
53520
53521 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53522
53523 2012-04-16 Marek Polacek <polacek@redhat.com>
53524
53525 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53526 operands of fdivp instruction.
53527
53528 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53529
53530 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53531 * elf/tst-auditmod3b.c: Likewise.
53532 * elf/tst-auditmod4b.c: Likewise.
53533 * elf/tst-auditmod5b.c: Likewise.
53534 * elf/tst-auditmod6b.c: Likewise.
53535 * elf/tst-auditmod6c.c: Likewise.
53536 * elf/tst-auditmod7b.c: Likewise.
53537 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53538 * sysdeps/x86_64/preconfigure.in: Likewise.
53539 * sysdeps/x86_64/preconfigure: Regenerated.
53540
53541 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53542
53543 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53544 __ILP32__.
53545
53546 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53547
53548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53549 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53550
53551 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53552
53553 [BZ #13973]
53554 * locale/iso-639.def: Fix gl language name. Spotted by
53555 Yaron Shahrabani.
53556
53557 2012-04-12 Roland McGrath <roland@hack.frob.com>
53558
53559 [BZ #2074]
53560 * libio/libio.h (__io_write_fn): Update comment.
53561
53562 2012-04-12 Petr Baudis <pasky@ucw.cz>
53563
53564 [BZ #2074]
53565 * stdio.texi (Hook Functions): The user provided writer function
53566 is not allowed to return -1.
53567
53568 2012-04-11 David S. Miller <davem@davemloft.net>
53569
53570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53571
53572 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53573
53574 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53575 Add a leading slash to rtkaio.
53576
53577 2012-04-11 Jim Meyering <meyering@redhat.com>
53578
53579 [BZ #11959]
53580 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53581 It is not necessarily an error to ignore fwrite's return
53582 value. One can reliably use ferror to test for errors after
53583 the fact.
53584
53585 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53586
53587 * bits/types.h (__snseconds_t): New type.
53588 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53589
53590 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53592 (__SNSECONDS_T_TYPE): Likewise.
53593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53594 (__SNSECONDS_T_TYPE): Likewise.
53595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53596 (__SNSECONDS_T_TYPE): Likewise.
53597
53598 2012-04-10 Andreas Jaeger <aj@suse.de>
53599
53600 [BZ #2636]
53601 * manual/time.texi (Processor Time): Return type of times is
53602 elapsed real time since an arbitrary point in the past.
53603 (CPU Time): Move CLK_TCK from here...
53604 (Processor Time): ...to here. Correct description.
53605 * manual/conf.texi (Constants for Sysconf): Correct description of
53606 _SC_CLK_TCK.
53607
53608 2012-04-10 David S. Miller <davem@davemloft.net>
53609
53610 [BZ #13967]
53611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53612 where the is a gap between DT_REL(A) and DT_JMPREL.
53613
53614 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53615
53616 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53617 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53618 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53619
53620 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53621
53622 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53623 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53624 (dl_main): Handle --inhibit-cache.
53625 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53626 _dl_inhibit_cache.
53627 * elf/dl-load.c (_dl_map_object): Use it.
53628 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53629
53630 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53631
53632 [BZ #13872]
53633 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53634 (__ieee754_powl): Saturate large exponents rather than testing for
53635 overflow of y*log2(x).
53636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53637 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53638 exceptions.
53639
53640 [BZ #11521]
53641 * math/s_ctan.c: Include <float.h>.
53642 (__ctan): Avoid internal overflow or cancellation in calculating
53643 denominator.
53644 * math/s_ctanf.c: Likewise.
53645 * math/s_ctanl.c: Likewise.
53646 * math/s_ctanh.c: Likewise.
53647 * math/s_ctanhf.c: Likewise.
53648 * math/s_ctanhl.c: Likewise.
53649 * math/libm-test.inc (ctan_test): Add more tests.
53650 (ctanh_test): Likewise.
53651 * sysdeps/i386/fpu/libm-test-ulps: Update.
53652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53653
53654 2012-04-09 Andreas Jaeger <aj@suse.de>
53655
53656 [BZ #6894]
53657 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53658 is an optional BSD extension.
53659
53660 [BZ #10254]
53661 * manual/stdio.texi (Opening Streams): Document additional fopen
53662 parameters.
53663
53664 2012-04-09 Roland McGrath <roland@hack.frob.com>
53665
53666 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53667 %eax without telling the compiler.
53668
53669 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53670
53671 [BZ # 13963]
53672 * manual/install.texi: Use sourceware.org.
53673
53674 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53675
53676 [BZ #13873]
53677 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53678 (__ieee754_pow): Generate overflow and underflow using huge*huge
53679 and tiny*tiny rather than just returning constant infinity or zero
53680 for large exponents.
53681 * math/libm-test.inc (pow_test): Require overflow exceptions for
53682 applicable cases of large exponents.
53683
53684 [BZ #706]
53685 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53686 (__ieee754_pow): Use iterative multiplication algorithm only for
53687 integer exponents with absolute value below 1024. Check for odd
53688 integer exponents when using algorithm for real exponents.
53689 * math/libm-test.inc (pow_test): Add more tests.
53690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53691
53692 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53693
53694 [BZ #13705]
53695 * math/libm-test.inc (exp_test): Do not allow overflow exception
53696 on underflow test.
53697
53698 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53699
53700 [BZ #13705]
53701 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53702 instead of __kernel_standard_f.
53703
53704 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53705
53706 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53707 * sysdeps/x86_64/memset_chk.S: Likewise.
53708
53709 2012-04-08 Andreas Jaeger <aj@suse.de>
53710
53711 [BZ #10153]
53712 * manual/startup.texi (Environment Access): Describe return value
53713 for putenv and setenv.
53714
53715 [BZ #6895]
53716 * manual/filesys.texi (Directory Entries): Add description for
53717 DT_LNK.
53718
53719 [BZ #6890]
53720 * manual/filesys.texi (Directory Entries): Clarify that it's file
53721 system not operating system in the description of DT_UNKNOWN.
53722
53723 [BZ #6578]
53724 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53725
53726 2012-04-08 Stephen Compall <s11@member.fsf.org>
53727
53728 [BZ #6649]
53729 * manual/llio.texi (Opening and Closing Files): Add cross
53730 reference to explain mode argument.
53731
53732 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53733
53734 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53735 * sysdeps/x86_64/memset_chk.S: Likewise.
53736
53737 2012-04-07 David S. Miller <davem@davemloft.net>
53738
53739 * elf/elf.h (R_SPARC_WDISP10): Define.
53740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53741 R_SPARC_SIZE32.
53742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53743 R_SPARC_SIZE64 and R_SPARC_H34.
53744
53745 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53746
53747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53748 conditions and remove no longer applicable assertion.
53749
53750 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53751
53752 * bits/byteswap.h: Include <features.h>.
53753 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53754 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53755
53756 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53757
53758 * bits/byteswap.h (__bswap_16): Removed.
53759 Include <bits/byteswap-16.h> to get __bswap_16.
53760 * sysdeps/i386/bits/byteswap.h: Likewise.
53761 * sysdeps/s390/bits/byteswap.h: Likewise.
53762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53763 * bits/byteswap-16.h: New file.
53764 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53765 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53766 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53767 * string/Makefile (headers): Add bits/byteswap-16.h.
53768
53769 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53770
53771 [BZ #13895]
53772 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53773 extra indirection.
53774 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53775 * nss/tst-nss-static.c: New.
53776
53777 2012-04-06 Robert Millan <rmh@gnu.org>
53778
53779 [BZ #6486]
53780 * manual/llio.texi (File Position Primitive): lseek
53781 refers to WHENCE when it really means OFFSET.
53782
53783 2012-04-06 Andreas Jaeger <aj@suse.de>
53784
53785 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53786 strncmp declarations.
53787
53788 * abilist/libc.abilist: Add __poll and __ppoll.
53789
53790 2012-04-05 David S. Miller <davem@davemloft.net>
53791
53792 * scripts/check-local-headers.sh: Accept a host triplet in the
53793 path matched by the exclude regexp.
53794
53795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53796 definition.
53797 * sysdeps/powerpc/powerpc32/dl-machine.h
53798 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53799 * sysdeps/s390/s390-32/dl-machine.h
53800 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53801 * sysdeps/sparc/sparc32/dl-machine.h
53802 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53803 * sysdeps/sparc/sparc64/dl-machine.h
53804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53805
53806 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53807 lazy binding.
53808 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53809 undefined symbol errors.
53810
53811 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53812 DT_NEEDED entries.
53813
53814 2012-04-05 Michael Matz <matz@suse.de>
53815
53816 [BZ #13592]
53817 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53818
53819 2012-04-05 Andreas Jaeger <aj@suse.de>
53820
53821 [BZ #13908]
53822 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53823 comment.
53824
53825 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53826
53827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53828 which ROUND is no valid rounding mode.
53829
53830 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53831
53832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53833 read again.
53834 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53835
53836 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53837
53838 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53839 an exception using FPU order intentionally.
53840
53841 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53842
53843 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53844 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53845 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53846 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53847
53848 2012-04-05 Simon Josefsson <simon@josefsson.org>
53849
53850 [BZ #12340]
53851 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53852 EINVAL when BUFLEN is too smal.
53853
53854 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53855
53856 [BZ #13553]
53857 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53858 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53859
53860 2012-04-03 Andreas Jaeger <aj@suse.de>
53861
53862 [BZ #13938]
53863 * manual/setjmp.texi (System V contexts): Fix sentence.
53864
53865 [BZ #13926]
53866 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53867 New macro for this case.
53868 [!__GNUC__] (__bswap_64): New inline function for this case.
53869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53870 * bits/byteswap.h: Likewise.
53871 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53872 ull, guard with __GLIBC_HAVE_LONG_LONG.
53873
53874 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53875 __GLIBC_HAVE_LONG_LONG.
53876
53877 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53878 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53879
53880 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53881
53882 [BZ #13691]
53883 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53884 inptr and inend, rather than using last_ch.
53885
53886 2012-04-02 David S. Miller <davem@davemloft.net>
53887
53888 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53889 * stdio-common/printf-parse.h (read_int): Change return type to
53890 'int', return -1 on INT_MAX overflow.
53891 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53892 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53893 overflows INT_MAX. Check for overflow of in-format-string precision
53894 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53895 SIZE_MAX not INT_MAX for integer overflow test.
53896 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53897 skip the construct in the format string but do not record anything.
53898 * stdio-common/bug22.c: Adjust to test both width/prevision
53899 INT_MAX overflow as well as total length INT_MAX overflow. Check
53900 explicitly for proper errno values.
53901
53902 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53903
53904 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53905 CHAR_MAX.
53906 * string/test-strcmp.c [! WIDE]: Likewise.
53907 * time/tst-mktime2.c: Likewise for INT_MAX.
53908 * string/test-string.h: #include <sys/param.h> for MIN.
53909
53910 * csu/init-first.c (__libc_init_first): Call __ctype_init.
53911 * sysdeps/i386/init-first.c (init): Likewise.
53912 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53913 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53914 * sysdeps/sh/init-first.c (init): Likewise.
53915
53916 2012-04-01 Ulrich Drepper <drepper@gmail.com>
53917
53918 * po/ru.po: Update from translation team.
53919 * po/vi.po: Likewise.
53920
53921 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53922
53923 * resolv/nss_dns/dns-host.c: Merge copyright years.
53924
53925 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53926
53927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53928 Optimize memcpy with prefetch if
53929 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
53930 src, dst pointers have unequal 16 byte alignments.
53931
53932 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53933
53934 [BZ #13928]
53935 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53936 from a CNAME entry and return the minimum ttl for the query.
53937 (gaih_getanswer_slice): Likewise.
53938
53939 2012-03-30 Jeff Law <law@redhat.com>
53940
53941 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53942 due to long keys.
53943 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53944 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53945
53946 * resolv/nss_dns/dns-host.c: Update copyright year.
53947
53948 2012-03-30 Ulrich Drepper <drepper@gmail.com>
53949
53950 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53951 requests to save a system call. Fix check that all bytes are sent.
53952
53953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53954 comments for sendmmsg.
53955
53956 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53957
53958 [BZ #13691]
53959 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53960 with only 1 character between 0x0041 and 0x01b0.
53961 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53962 * wcsmbs/tst-mbsnrtowcs.c: New file.
53963
53964 2012-03-29 David S. Miller <davem@davemloft.net>
53965
53966 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53967 small copies by hand.
53968
53969 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53970
53971 [BZ #13761]
53972 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53973 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53974 group memberships.
53975
53976 2012-03-28 David S. Miller <davem@davemloft.net>
53977
53978 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53979 that branches into memcpy.
53980 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53983 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53985 bits.
53986 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53987 implementation too.
53988 * sysdeps/sparc/mempcpy.S: New file.
53989
53990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53991 the IFUNC routine in the libc case.
53992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53993
53994 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53995 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53996 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53997 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53998 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53999 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54000 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54001 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54002
54003 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54004 loop to 256 bytes instead of 64 bytes and fix test signedness.
54005
54006 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54007 * sysdeps/sparc/sparc32/Makefile: rather than here...
54008 * sysdeps/sparc/sparc64/Makefile: and here.
54009
54010 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54011
54012 * malloc/mallocbug.c: Avoid warnings about unused variables.
54013
54014 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54015
54016 [BZ #13760]
54017 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54018 in the right place. Discard and retry query if response is
54019 larger than input buffer size.
54020
54021 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54022
54023 [BZ #369]
54024 [BZ #2678]
54025 [BZ #3866]
54026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54027 x for large integer exponent.
54028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54029 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54030 sign of result as needed afterwards.
54031 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54032 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54033 result for underflowing pow the same as for overflow.
54034 (__kernel_standard_l): Handle powl overflow and underflow here
54035 rather than calling __kernel_standard.
54036 * math/libm-test.inc (pow_test): Add more tests.
54037
54038 [BZ #3868]
54039 [BZ #13879]
54040 [BZ #13910]
54041 [BZ #13911]
54042 [BZ #13912]
54043 [BZ #13913]
54044 [BZ #13915]
54045 [BZ #13916]
54046 [BZ #13917]
54047 [BZ #13918]
54048 [BZ #13919]
54049 [BZ #13920]
54050 [BZ #13921]
54051 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54052 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54053 (__kernel_standard_l): New function.
54054 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54055 __kernel_standard.
54056 * math/w_acosl.c (__acosl): Likewise.
54057 * math/w_asinl.c (__asinl): Likewise.
54058 * math/w_atan2l.c (__atan2l): Likewise.
54059 * math/w_atanhl.c (__atanhl): Likewise.
54060 * math/w_coshl.c (__coshl): Likewise.
54061 * math/w_exp10l.c (__exp10l): Likewise.
54062 * math/w_exp2l.c (__exp2l): Likewise.
54063 * math/w_fmodl.c (__fmodl): Likewise.
54064 * math/w_hypotl.c (__hypotl): Likewise.
54065 * math/w_j0l.c (__j0l, __y0l): Likewise.
54066 * math/w_j1l.c (__j1l, __y1l): Likewise.
54067 * math/w_jnl.c (__jnl, __ynl): Likewise.
54068 * math/w_lgammal.c (__lgammal): Likewise.
54069 * math/w_log10l.c (__log10l): Likewise.
54070 * math/w_log2l.c (__log2l): Likewise.
54071 * math/w_logl.c (__logl): Likewise.
54072 * math/w_powl.c (__powl): Likewise.
54073 * math/w_remainderl.c (__remainderl): Likewise.
54074 * math/w_scalbl.c (sysv_scalbl): Likewise.
54075 * math/w_sinhl.c (__sinhl): Likewise.
54076 * math/w_sqrtl.c (__sqrtl): Likewise.
54077 * math/w_tgammal.c (__tgammal): Likewise.
54078 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54079 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54080 * math/libm-test.inc (acos_test): Add more tests.
54081 (acosh_test): Likewise.
54082 (asin_test): Likewise.
54083 (atanh_test): Likewise.
54084 (exp_test): Likewise.
54085 (exp10_test): Likewise.
54086 (exp2_test): Likewise.
54087 (expm1_test): Likewise.
54088 (lgamma_test): Likewise.
54089 (log_test): Likewise.
54090 (log10_test): Likewise.
54091 (log1p_test): Likewise.
54092 (log2_test): Likewise.
54093 (pow_test): Do not allow some spurious overflow exceptions.
54094 (sqrt_test): Add more tests.
54095 (tgamma_test): Likewise.
54096 (y0_test): Likewise.
54097 (y1_test): Likewise.
54098 (yn_test): Likewise.
54099
54100 2012-03-27 Anton Blanchard <anton@samba.org>
54101
54102 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54103 MAP_HUGETLB.
54104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54107
54108 2012-03-27 David S. Miller <davem@davemloft.net>
54109
54110 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54111
54112 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54113 have-as-vis3 check.
54114
54115 2012-03-27 Andreas Jaeger <aj@suse.de>
54116
54117 * sysdeps/x86_64/elf/configure.in: Moved to ...
54118 * sysdeps/x86_64/configure.in: ... here.
54119 * sysdeps/x86_64/elf/start.S: Moved to ...
54120 * sysdeps/x86_64/start.S: ... here.
54121 * sysdeps/x86_64/elf/configure: Delete.
54122
54123 * sysdeps/x86_64/configure.in: Merge contents from
54124 sysdeps/i386/configure.in (without i686 check).
54125
54126 * sysdeps/i386/elf/Versions: Merge into ...
54127 * sysdeps/i386/Versions: ... this.
54128 * sysdeps/i386/elf/Versions: Delete file.
54129 * sysdeps/i386/elf/start.S: Moved to ...
54130 * sysdeps/i386/start.S: ...here.
54131 * sysdeps/i386/elf/configure.in: Merge into...
54132 * sysdeps/i386/configure.in: ...here.
54133 * sysdeps/i386/elf/configure.in: Delete file.
54134 * sysdeps/i386/elf/configure: Delete file.
54135
54136 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54137 * debug/backtracesyms.c: ... here.
54138 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54139 * debug/backtracesymsfd.c: ... here.
54140 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54141 * sysdeps/generic/ifunc-sel.h: ... here.
54142
54143 * sysdeps/unix/i386/start.c: Delete file.
54144 * sysdeps/unix/sparc/start.c: Delete file.
54145 * sysdeps/unix/start.c: Delete file.
54146
54147 * sysdeps/sh/elf/configure.in: Moved to ...
54148 * sysdeps/sh/configure.in: ... here.
54149 * sysdeps/sh/elf/start.S: Moved to ...
54150 * sysdeps/sh/start.S: ... here.
54151 * sysdeps/sh/elf/configure: Delete file.
54152
54153 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54154 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54155 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54156 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54157 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54158 * sysdeps/powerpc/powerpc64/start.S: here.
54159 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54160 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54161 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54162 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54163 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54164
54165 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54166 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54167 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54168 * sysdeps/powerpc/powerpc32/start.S: ... here.
54169 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54170 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54171 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54172
54173 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54174 * sysdeps/powerpc/ifunc-sel.h: ... here.
54175 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54176 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54177
54178 * sysdeps/sparc/elf/configure.in: Moved to ...
54179 * sysdeps/sparc/configure.in: ... here.
54180 * sysdeps/sparc/elf/configure: Delete file.
54181 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54182 * sysdeps/sparc/sparc32/start.S: ... here.
54183 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54184 * sysdeps/sparc/sparc64/start.S: ... here.
54185 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54186 * sysdeps/sparc/sparc32/Makefile: ... this.
54187 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54188 * sysdeps/sparc/sparc64/Makefile: ... this.
54189
54190 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54191 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54192 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54193 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54194 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54195 * sysdeps/s390/s390-32/setjmp.S: ... here.
54196 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54197 * sysdeps/s390/s390-32/configure.in: ... here.
54198 * sysdeps/s390/s390-32/elf/configure: Delete file.
54199 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54200 * sysdeps/s390/s390-32/start.S: ... here.
54201
54202 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54203 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54204 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54205 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54206 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54207 * sysdeps/s390/s390-64/setjmp.S: ... here.
54208 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54209 * sysdeps/s390/s390-64/configure.in: ... here
54210 * sysdeps/s390/s390-64/elf/configure: Delete file.
54211 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54212 * sysdeps/s390/s390-64/start.S: ... here.
54213 * sysdeps/s390/s390-64/elf/configure: Delete.
54214
54215 * configure.in: Remove support for elf directories in sysdeps.
54216
54217 * configure: Regenerated.
54218 * sysdeps/i386/configure: Regenerated.
54219 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54220 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54221 * sysdeps/s390/s390-32/configure: Regenerated.
54222 * sysdeps/s390/s390-64/configure: Regenerated.
54223 * sysdeps/sh/configure: Regenerated.
54224 * sysdeps/sparc/configure: Regenerated.
54225 * sysdeps/x86_64/configure: Regenerated.
54226
54227 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54228
54229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54230
54231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54232 denormal result into account.
54233
54234 2012-03-25 Roland McGrath <roland@hack.frob.com>
54235
54236 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54237 Reported by Allan McRae <allan@archlinux.org>.
54238
54239 2012-03-23 Jeff Law <law@redhat.com>
54240
54241 * nss/getnssent.c (__nss_getent): Fix typo.
54242
54243 2012-03-23 David S. Miller <davem@davemloft.net>
54244
54245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54246
54247 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54248
54249 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54250 to pad to uint64_t for each field.
54251 (dl_tls_index): Replace unsigned long with uint64_t.
54252
54253 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54254 Paul Pluzhnikov <ppluzhnikov@google.com>
54255
54256 [BZ #6528]
54257 * grp/Makefile (otherlibs): Don't set it.
54258 * inet/Makefile (otherlibs): Likewise.
54259 * login/Makefile (otherlibs): Likewise.
54260 * nscd/Makefile (otherlibs): Likewise.
54261 * posix/Makefile (otherlibs): Likewise.
54262 * pwd/Makefile (otherlibs): Likewise.
54263 * rt/Makefile (otherlibs): Likewise.
54264 * sunrpc/Makefile (otherlibs): Likewise.
54265 * nss/Makefile (otherlibs): Likewise.
54266 Add libnss_files to routines and static-only-routines.
54267 ($(objpfx)getent): Remove rule.
54268 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54269 static-only-routines.
54270
54271 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54272
54273 [BZ #13892]
54274 * math/s_cexp.c: Include <float.h>.
54275 (__cexp): Handle exp result overflowing not necessarily
54276 overflowing both real and imaginary parts of result.
54277 * math/s_cexpf.c: Likewise.
54278 * math/s_cexpl.c: Likewise.
54279 * math/libm-test.inc (cexp_test): Add more tests.
54280 * sysdeps/i386/fpu/libm-test-ulps: Update.
54281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54282
54283 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54284
54285 * include/link.h (ELFW): New macro.
54286 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54287 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54288
54289 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54290
54291 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54292 with uint64_t.
54293
54294 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54295
54296 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54297 declaration.
54298 (struct La_x32_retval): Likewise.
54299
54300 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54301
54302 * sysdeps/x86_64/preconfigure.in: New file.
54303 * sysdeps/x86_64/preconfigure: New generated file.
54304
54305 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54306
54307 [BZ #13824]
54308 * math/e_exp2l.c: Include <float.h>.
54309 (__ieee754_exp2l): Handle overflow and underflow cases
54310 separately. Only pass fractional part of argument to
54311 __ieee754_expl.
54312 * math/libm-test.inc (exp2_test): Add more tests.
54313
54314 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54315 negating x to take absolute value.
54316 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54317 Likewise.
54318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54320 Likewise.
54321 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54322 computing low part if x was negated.
54323 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54324
54325 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54326
54327 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54328 la_x32_gnu_pltexit.
54329 (pltexit): Cast int_retval to ptrdiff_t.
54330 * elf/tst-auditmod3b.c: Likewise.
54331 * elf/tst-auditmod4b.c: Likewise.
54332 * elf/tst-auditmod5b.c: Likewise.
54333 * elf/tst-auditmod6b.c: Likewise.
54334 * elf/tst-auditmod6c.c: Likewise.
54335 * elf/tst-auditmod7b.c: Likewise.
54336
54337 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54338 and x32_gnu_pltexit.
54339
54340 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54341 __ELF_NATIVE_CLASS.
54342 (La_x32_regs): New macro.
54343 (La_x32_retval): Likewise.
54344 (la_x32_gnu_pltenter): New function prototype.
54345 (la_x32_gnu_pltexit): Likewise.
54346
54347 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54348
54349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54350 exponent.
54351
54352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54353
54354 * configure.in (libc_cv_cc_nofma): Check for option to disable
54355 generation of FMA instructions.
54356 * configure: Regenerate.
54357 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54358 * sysdeps/ieee754/dbl-64/Makefile: New file.
54359 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54360 Remove brandred-fma4.
54361 (CFLAGS-brandred-fma4.c): Remove.
54362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54364 define.
54365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54366 define.
54367
54368 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54369
54370 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54371 LLONG_MAX != LONG_MAX.
54372 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54373 (_fitoa_word): Likewise.
54374 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54375 LLONG_MAX != LONG_MAX.
54376 * stdio-common/_itowa.h: Include <_itoa.h>.
54377 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54378 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54379 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54380 only if not defined.
54381 (_ITOA_WORD_TYPE): Likewise.
54382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54383 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54384
54385 2012-03-21 David S. Miller <davem@davemloft.net>
54386
54387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54388
54389 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54390
54391 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54392 of x86_64 when setting libc_cv_slibdir, libdir and
54393 libc_cv_localedir.
54394 * sysdeps/unix/sysv/linux/configure: Regenerated.
54395
54396 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54397
54398 * manual/lang.texi (Old Varargs): Remove section.
54399 (How Variadic): Update menu.
54400 (va_start): Do not mention varargs.h.
54401
54402 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54403 Joseph Myers <joseph@codesourcery.com>
54404
54405 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54406 link test.
54407 * configure: Regenerated.
54408
54409 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54410
54411 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54412 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54413 conformtest.pl
54414
54415 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54416
54417 * NOTES: Remove.
54418 * Makefile (files-for-dist): Remove NOTES.
54419 (NOTES): Remove rule.
54420 * README: Don't refer to NOTES.
54421 * manual/creature.texi: Don't include macros.texi.
54422 * manual/intro.texi (creature.texi): Remove comment referring to
54423 NOTES.
54424
54425 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54426 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54427 * configure: Regenerated.
54428 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54429 LIBC_TRY_CC_OPTION.
54430 (libc_cv_as_i686): Likewise.
54431 (libc_cv_cc_avx): Likewise.
54432 (libc_cv_cc_sse2avx): Likewise.
54433 (libc_cv_cc_fma4): Likewise.
54434 (libc_cv_cc_novzeroupper): Likewise.
54435 * sysdeps/i386/configure: Regenerated.
54436
54437 [BZ #13883]
54438 * sysdeps/i386/fpu/s_cexp.S: Remove.
54439 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54440 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54441 * math/libm-test.inc (cexp_test): Add more tests.
54442 * sysdeps/i386/fpu/libm-test-ulps: Update.
54443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54444
54445 2012-03-21 Allan McRae <allan@archlinux.org>
54446
54447 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54448
54449 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54450
54451 [BZ #13871]
54452 * math/w_exp2.c: Do not include <float.h>.
54453 (o_threshold, u_threshold): Remove.
54454 (__exp2): Calculate result before checking finiteness and calling
54455 __kernel_standard.
54456 * math/w_exp2f.c: Likewise.
54457 * math/w_exp2l.c: Likewise.
54458 * math/libm-test.inc (exp2_test): Require overflow exception for
54459 1e6 input.
54460
54461 [BZ #3866]
54462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54463 range of signed 64-bit integers before using fistpll. Remove
54464 checks for whether integers fit in mantissa bits.
54465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54466 the range of signed 32-bit integers before using fistpl. Remove
54467 checks for whether integers fit in mantissa bits.
54468 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54469 (__ieee754_powl): Test for y outside the range of signed 64-bit
54470 integers before using fistpll. Reduce 64-bit values to 63-bit
54471 ones as needed.
54472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54473 divide-by-zero is raised for zero to large negative powers.
54474 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54475 (__ieee754_powl): Test for y outside the range of signed 64-bit
54476 integers before using fistpll. Reduce 64-bit values to 63-bit
54477 ones as needed.
54478 * math/libm-test.inc (pow_test): Add more tests.
54479
54480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54481
54482 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54483 <stdio-common/_itoa.h>.
54484 * debug/segfault.c: Likewise.
54485 * elf/dl-cache.c: Likewise.
54486 * elf/dl-minimal.c: Likewise.
54487 * elf/dl-misc.c: Likewise.
54488 * elf/dl-sysdep.c: Likewise.
54489 * elf/dl-version.c: Likewise.
54490 * elf/rtld.c: Likewise.
54491 * hurd/hurdsock.c: Likewise.
54492 * hurd/lookup-retry.c: Likewise.
54493 * malloc/malloc.c: Likewise.
54494 * malloc/mtrace.c: Likewise.
54495 * nscd/nscd_getgr_r.c: Likewise.
54496 * nscd/nscd_getpw_r.c: Likewise.
54497 * nscd/nscd_getserv_r.c: Likewise.
54498 * posix/getopt_init.c: Likewise.
54499 * posix/wordexp.c: Likewise.
54500 * stdio-common/_itoa.c: Likewise.
54501 * stdio-common/printf_fphex.c: Likewise.
54502 * stdio-common/vfprintf.c: Likewise.
54503 * string/_strerror.c: Likewise.
54504 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54505 * sysdeps/i386/i686/hp-timing.h: Likewise.
54506 * sysdeps/mach/_strerror.c: Likewise.
54507 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54508 * sysdeps/mach/hurd/sethostid.c: Likewise.
54509 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54510 * sysdeps/mach/xpg-strerror.c: Likewise.
54511 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54513 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54514 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54515 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54516 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54517 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54518 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54519 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54520 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54521 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54522 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54523 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54524 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54525 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54527 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54528 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54529 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54530 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54531 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54532
54533 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54534
54535 * stdio-common/_itoa.h: Moved to ...
54536 * sysdeps/generic/_itoa.h: Here.
54537
54538 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54539
54540 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54541 instead of "_itoa.h" and "_itowa.h".
54542 * stdio-common/vfprintf.: Likewise.
54543
54544 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54545
54546 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54547 <bits/wordsize.h>.
54548 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54549 (__signbit): Likwise.
54550 (llrintf): Likwise.
54551 (llrint): Likwise.
54552
54553 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54554
54555 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54556 __WORDSIZE != 64.
54557
54558 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54559
54560 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54561 OVERFLOW_EXCEPTION_OK.
54562 * math/libm-test.inc ("Philosophy"): Update comment about
54563 exception testing.
54564 (OVERFLOW_EXCEPTION): Define.
54565 (OVERFLOW_EXCEPTION_OK): Likewise.
54566 (INVALID_EXCEPTION_OK): Renumber.
54567 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54568 (IGNORE_ZERO_INF_SIGN): Likewise.
54569 (test_exceptions): Handle FE_OVERFLOW.
54570 (exp10_test): Expect overflow exceptions.
54571 (exp2_test): Likewise.
54572 (expm1_test): Likewise.
54573 (nextafter_test): Likewise.
54574 (pow_test): Likewise.
54575 (scalbn_test): Likewise.
54576 (scalbln_test): Likewise.
54577
54578 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54579
54580 * sysdeps/x86_64/bits/atomic.h
54581 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54582 64bit integer.
54583 (atomic_exchange_acq): Likewise.
54584 (__arch_exchange_and_add_body): Likewise.
54585 (__arch_add_body): Likewise.
54586 (atomic_add_negative): Likewise.
54587 (atomic_add_zero): Likewise.
54588
54589 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54590
54591 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54592 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54593
54594 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54595
54596 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54597 Check __x86_64__ instead of __WORDSIZE.
54598
54599 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54600
54601 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54602
54603 2012-03-19 David S. Miller <davem@davemloft.net>
54604
54605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54606
54607 * sysdeps/sparc/fpu/fenv_private.h: New file.
54608 * sysdeps/sparc/fpu/math_private.h: Use it.
54609 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54610 Remove.
54611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54612 (libc_feholdexcept_setroundl): Remove.
54613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54614 Remove.
54615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54617
54618 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54619
54620 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54621 int64_t instead of long int.
54622 (INSERT_WORDS64): Likwise.
54623
54624 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54625
54626 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54627 _Unwind_GetCFA return to _Unwind_Ptr first.
54628
54629 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54630
54631 [BZ #13629]
54632 * math/s_clog.c: Include <float.h>.
54633 (__clog): Scale large or subnormal inputs.
54634 * math/s_clogf.c: Likewise.
54635 * math/s_clogl.c: Likewise.
54636 * math/s_clog10.c: Include <float.h>.
54637 (M_LOG10_2): Define.
54638 (__clog10): Scale large or subnormal inputs.
54639 * math/s_clog10f.c: Likewise.
54640 * math/s_clog10l.c: Likewise.
54641 * math/libm-test.inc (clog_test): Add more tests.
54642 (clog10_test): Likewise.
54643 * sysdeps/i386/fpu/libm-test-ulps: Update.
54644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54645
54646 [BZ #11451]
54647 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54648 x and y.
54649 * math/libm-test.inc (atan2_test): Add another test.
54650
54651 * Makerules (common-objdir-compile): Remove.
54652 * sysdeps/unix/Makefile (config-generated): Do not add
54653 $(unix-generated) to variable.
54654 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54655 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54656 Remove rule.
54657 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54658 Likewise.
54659 [generic bits/local_lim.h] (before-compile): Do not append to
54660 variable.
54661 [generic bits/local_lim.h] (common-generated): Likewise.
54662 [generic sys/param.h] (before-compile): Do not append to variable.
54663 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54664 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54665 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54666 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54667 include.
54668 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54669 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54670 [generic sys/param.h] ($(addprefix
54671 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54672 [generic sys/param.h] (common-generated): Do not append to
54673 variable.
54674 [generic sys/param.h] (sysdep_headers): Likewise.
54675 [generic bits/errno.h] (before-compile): Do not append to
54676 variable.
54677 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54678 rule.
54679 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54680 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54681 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54682 [generic bits/errno.h] (common-generated): Do not append to
54683 variable.
54684 [generic bits/ioctls.h] (before-compile): Do not append to
54685 variable.
54686 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54687 rule.
54688 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54689 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54690 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54691 rule.
54692 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54693 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54694 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54695 [generic bits/ioctls.h] (common-generated): Do not append to
54696 variable.
54697 [generic sys/syscall.h] (syscall.h): Remove variable.
54698 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54699 rule.
54700 [generic sys/syscall.h] (before-compile): Do not append to
54701 variable.
54702 [generic sys/syscall.h] (common-generated): Likewise.
54703 * sysdeps/unix/errnos-tmpl.c: Remove file.
54704 * sysdeps/unix/errnos.awk: Likewise.
54705 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54706 * sysdeps/unix/ioctls.awk: Likewise.
54707 * sysdeps/unix/mk-local_lim.c: Likewise.
54708 * sysdeps/unix/snarf-ioctls: Likewise.
54709
54710 2012-03-19 Richard Henderson <rth@twiddle.net>
54711
54712 * sysdeps/i386/fpu/fenv_private.h: New file.
54713 * sysdeps/i386/fpu/math_private.h: Use it.
54714 (math_opt_barrier, math_force_eval): Remove.
54715 (libc_feholdexcept_setround_53bit): Remove.
54716 (libc_feupdateenv_53bit): Remove.
54717 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54718 (math_opt_barrier, math_force_eval): Remove.
54719 (libc_feholdexcept): Remove.
54720 (libc_feholdexcept_setround): Remove.
54721 (libc_fetestexcept, libc_fesetenv): Remove.
54722 (libc_feupdateenv_test): Remove.
54723 (libc_feupdateenv, libc_feholdsetround): Remove.
54724 (libc_feresetround): Remove.
54725
54726 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54727 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54728
54729 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54730 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54731 (libc_feupdateenv_testl): New.
54732 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54733 (libc_feupdateenv_testf): New.
54734 (libc_feupdateenv): Use libc_feupdateenv_test.
54735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54737
54738 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54739 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54740 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54741 (libc_feresetround_noex): New.
54742 (libc_feresetround_noexf): New.
54743 (libc_feresetround_noexl): New.
54744 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54745 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54746 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54747 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54748 SET_RESTORE_ROUND.
54749 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54751 (__cos): Likewise.
54752 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54753 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54754 SET_RESTORE_ROUND_NOEX.
54755 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54756 SET_RESTORE_ROUND_NOEXF.
54757 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54758 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54759 (libc_feholdsetroundf): New.
54760 (libc_feresetround, libc_feresetroundf): New.
54761
54762 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54763 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54764 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54765
54766 * sysdeps/generic/math_private.h: Include <fenv.h>.
54767 (default_libc_feholdexcept): New.
54768 (default_libc_feholdexcept_setround): New.
54769 (default_libc_fesetenv, default_libc_feupdateenv): New.
54770 (libc_feholdexcept): Only define if undefined.
54771 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54773 (libc_feholdexcept_setroundl): Likewise.
54774 (libc_feholdexcept_setround_53bit): Likewise.
54775 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54778 (libc_feupdateenv_53bit): Likewise.
54779 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54780 (libc_feholdexcept): Convert from macro to inline function.
54781 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54782 (libc_fesetenv, libc_feupdateenv): Likewise.
54783
54784 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54785 not previously defined.
54786 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54787 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54788 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54789 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54790 * sysdeps/ieee754/flt-32/math_private.h: New file.
54791 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54792 math_private.h below SET_FLOAT_WORD.
54793 (__isnan, __isinf_ns, __finite): Remove.
54794 (__isnanf, __isinf_nsf, __finitef): Remove.
54795
54796 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54797
54798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54799
54800 2012-03-17 David S. Miller <davem@davemloft.net>
54801
54802 [BZ #6471]
54803 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54804 for 2.16.
54805
54806 2012-03-16 David S. Miller <davem@davemloft.net>
54807
54808 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54809 warnings.
54810
54811 [BZ #6471]
54812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54813 properly.
54814 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54815 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54816 sysdep_routines when subdir is sysvipc.
54817 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54818 __getshmlba helper.
54819
54820 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54821
54822 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54823
54824 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54825 [__LP64__].
54826
54827 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54828
54829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54830 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54831 (__lround): Renamed to ...
54832 (__llround): This. Replace long int with long long int.
54833 Define lround functions as aliases of llround functions.
54834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54835
54836 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54837
54838 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54839 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54840 adresses to uintptr_t. Replace "long int" and "unsigned long
54841 int" with "greg_t" on va_arg.
54842
54843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54844
54845 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54846 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54847
54848 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54849 Move e_machine check before EI_CLASS check. Handle x32
54850 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54851 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54852 SKIP_EM_IA_64 and include
54853 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54854
54855 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54856 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54857 (add_system_dir): New macro.
54858
54859 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54860 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54861
54862 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54863
54864 [BZ #2551]
54865 [BZ #2552]
54866 [BZ #2553]
54867 [BZ #2554]
54868 [BZ #2562]
54869 [BZ #2563]
54870 [BZ #2565]
54871 [BZ #2566]
54872 [BZ #2576]
54873 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54874 (y0): Likewise.
54875 * math/w_j0f.c (j0f): Likewise.
54876 (y0f): Likewise.
54877 * math/w_j0l.c (__j0l): Likewise.
54878 (__y0l): Likewise.
54879 * math/w_j1.c (j1): Likewise.
54880 (y1): Likewise.
54881 * math/w_j1f.c (j1f): Likewise.
54882 (y1f): Likewise.
54883 * math/w_j1l.c (__j1l): Likewise.
54884 (__y1l): Likewise.
54885 * math/w_jn.c (jn): Likewise.
54886 (yn): Likewise.
54887 * math/w_jnf.c (jnf): Likewise.
54888 (ynf): Likewise.
54889 * math/w_jnl.c (__jnl): Likewise.
54890 (__ynl): Likewise.
54891 * math/libm-test.inc (j0_test): Add more tests.
54892 (j1_test): Likewise.
54893 (jn_test): Likewise. Add trailing semicolon to existing test.
54894 (y0_test): Likewise.
54895 (y1_test): Likewise.
54896 * sysdeps/i386/fpu/libm-test-ulps: Update.
54897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54898
54899 [BZ #13851]
54900 [BZ #13854]
54901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54902 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54903 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54904 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54905 (__tanl): Set errno for infinite argument.
54906 * sysdeps/i386/fpu/mptan.c: Remove.
54907 * sysdeps/i386/fpu/s_tan.S: Likewise.
54908 * sysdeps/i386/fpu/s_tanl.S: Likewise.
54909 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54910 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54911 * math/libm-test.inc (tan_test): Add more tests and enable more
54912 tests for double and long double.
54913 * sysdeps/i386/fpu/libm-test-ulps: Update.
54914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54915
54916 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
54917
54918 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54919 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54920
54921 2012-03-16 Roland McGrath <roland@hack.frob.com>
54922
54923 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54924 * configure.in: Use it for both main tree and add-ons.
54925 * configure: Regenerated.
54926
54927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54928
54929 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54930
54931 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54932
54933 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54934 in comment.
54935
54936 [BZ #13851]
54937 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54938 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54939 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54940 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54941 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54942 infinite argument.
54943 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54945 != 0 for prec == 2.
54946 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54947 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54948 * sysdeps/i386/fpu/s_cosl.S: Likewise.
54949 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54950 * sysdeps/i386/fpu/s_sinl.S: Likewise.
54951 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54952 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54953 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54954 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54955 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54956 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54957 * math/libm-test.inc (cos_test): Add more tests and enable more
54958 tests for long double.
54959 (sin_test): Likewise.
54960 (sincos_test): Likewise.
54961 * sysdeps/i386/fpu/libm-test-ulps: Update.
54962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54963
54964 2012-03-16 David S. Miller <davem@davemloft.net>
54965
54966 * sysdeps/sparc/fpu/math_private.h: New file.
54967
54968 2012-03-15 David S. Miller <davem@davemloft.net>
54969
54970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54971 file.
54972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54974 file.
54975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54981 sysdep routines.
54982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54983
54984 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54985 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54986
54987 * sysdeps/sparc/sparc-ifunc.h: New file.
54988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54989 sparc-ifunc.h
54990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54992 Likewise.
54993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54994 Likewise.
54995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54999 Likewise.
55000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55005 Likewise.
55006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55007 Likewise.
55008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55027 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55032
55033 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55034
55035 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55036 scaling.
55037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55038
55039 2012-03-15 Andreas Jaeger <aj@suse.de>
55040
55041 [BZ #13852]
55042 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55043 ieee754/flt-32 implementation for sin, cos and sincos.
55044 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55045 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55046 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55047 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55048 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55049 ieee754/flt-32 implementation for tan.
55050
55051 * math/libm-test.inc (cos_test): Enable some large input tests for
55052 float as well
55053 (sin_test): Likewise.
55054 (sincos_test): Likewise.
55055 (tan_test): Add tests for large input.
55056
55057 * sysdeps/i386/fpu/libm-test-ulps: Update.
55058
55059 2012-03-15 Andreas Jaeger <aj@suse.de>
55060
55061 [BZ #13658]
55062 * math/libm-test.inc (cos_test): Add more test cases.
55063 (sin_test): Likewise.
55064 (sincos_test): Likewise.
55065
55066 2012-03-15 Andreas Jaeger <aj@suse.de>
55067
55068 [BZ #13837]
55069 * math/libm-test.inc (cos_test): Add a test case for large input
55070 value.
55071 (sin_test): Likewise.
55072 (sincos_test): Likewise.
55073
55074 2012-03-15 Andreas Jaeger <aj@suse.de>
55075 Joseph Myers <joseph@codesourcery.com>
55076
55077 [BZ #13658]
55078 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55079 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55080 * sysdeps/i386/fpu/branred.c: Likewise.
55081 * sysdeps/i386/fpu/dosincos.c: Likewise.
55082 * sysdeps/i386/fpu/mpa.c: Likewise.
55083 * sysdeps/i386/fpu/s_cos.S: Likewise.
55084 * sysdeps/i386/fpu/s_sin.S: Likewise.
55085 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55086 * sysdeps/i386/fpu/sincos32.c: Likewise.
55087
55088 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55089 Define.
55090 (libc_feupdateenv_53bit): Define.
55091 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55092 Define.
55093 (libc_feupdateenv_53bit): Define.
55094
55095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55096 53 bit (without extend i386 double precision).
55097
55098 * math/libm-test.inc (sincos_test): Add tests for large input.
55099 (sin): Likewise.
55100 (cos): Likewise.
55101
55102 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55103
55104 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55105
55106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55107
55108 2012-03-15 David S. Miller <davem@davemloft.net>
55109
55110 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55111 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55112 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55113 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55126 file.
55127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55129 file.
55130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55132 file.
55133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55135 file.
55136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55138 fmin/fmax sysdep routines.
55139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55140
55141 2012-03-14 David S. Miller <davem@davemloft.net>
55142
55143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55172 routines.
55173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55174 file.
55175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55177 file.
55178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55180 file.
55181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55183 file.
55184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55186 file.
55187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55189 file.
55190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55191 file.
55192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55193 file.
55194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55195 file.
55196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55197 New file.
55198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55199 file.
55200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55201 file.
55202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55204 file.
55205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55207 file.
55208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55210 file.
55211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55213 VIS3 routines.
55214
55215 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55216 New file.
55217
55218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55219
55220 * sysdeps/sparc/configure.in: New file.
55221 * sysdeps/sparc/configure: Generate.
55222 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55223 * configure: Regenerate.
55224 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55225 * config.make.in (have-as-vis3): New.
55226 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55227 available use -Av9d instead of -Av9a.
55228 * sysdeps/sparc/sparc64/Makefile: Likewise.
55229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55231 New file.
55232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55233 file.
55234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55235 New file.
55236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55237 file.
55238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55240 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55243
55244 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55245 fzeros/fnegs to load 0x80000000 into a float register instead of
55246 using the stack.
55247 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55248
55249 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55250
55251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55252 bits/syscall.h.
55253 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55254 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55255 ($(inst_includedir)/bits/syscall.h): Remove rule.
55256 ($(objpfx)bits/syscall.d): Include instead of
55257 $(objpfx)syscall-list.d.
55258 (generated): Change syscall-list.h and syscall-list.d to
55259 bits/syscall.h and bits/syscall.d.
55260
55261 2012-03-14 Roland McGrath <roland@hack.frob.com>
55262
55263 [BZ #13846]
55264 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55265
55266 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55267
55268 [BZ #13841]
55269 * math/s_csqrt.c: Include <float.h>.
55270 (__csqrt): Scale large or subnormal inputs.
55271 * math/s_csqrtf.c: Likewise.
55272 * math/s_csqrtl.c: Likewise.
55273 * math/libm-test.inc (csqrt_test): Add more tests.
55274 * sysdeps/i386/fpu/libm-test-ulps: Update.
55275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55276
55277 [BZ #13840]
55278 * math/libm-test.inc (hypot_test): Add more tests.
55279
55280 2012-03-13 David S. Miller <davem@davemloft.net>
55281
55282 [BZ #13840]
55283 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55284 double-precision for the calculation instead of scaling.
55285
55286 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55287
55288 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55289 manipulate bits before adding and subtracting TWO52[sx].
55290 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55292 Likewise.
55293 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55294
55295 2012-03-13 David S. Miller <davem@davemloft.net>
55296
55297 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55298 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55300 rtld-global-offsets.h
55301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55302
55303 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55304 large parameters.
55305
55306 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55307
55308 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55309 'err' in the ifdef scope in which it is actually used.
55310
55311 * nss/nss_db/db-init.c: Include string.h
55312
55313 2012-03-12 David S. Miller <davem@davemloft.net>
55314
55315 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55316 masking out of the most significant byte of random value used.
55317 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55318 Fix coding style in previous change.
55319
55320 * sysdeps/unix/sysv/linux/kernel-features.h
55321 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55322 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55323 expression.
55324 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55325 later.
55326
55327 2012-03-11 David S. Miller <davem@davemloft.net>
55328
55329 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55330 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55332 for 'resultvar' otherwise things get truncated on 64-bit.
55333
55334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55335 Fix masking out of the most significant byte of random value used.
55336
55337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55338
55339 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55340
55341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55342
55343 2012-03-09 David S. Miller <davem@davemloft.net>
55344
55345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55346 variables with appropriate CPP guards.
55347 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55348 from the frame pointer, not the stack pointer. Correct layout
55349 comments. Fix test on resulting framesize and the management of
55350 the outregs buffer for pltexit. Preserve floating point return
55351 values across _dl_call_pltexit call.
55352 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55353 framesize and the management of the outregs buffer for pltexit.
55354 Preserve floating point return values across _dl_call_pltexit
55355 call.
55356 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55357 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55358 (la_sparc64_gnu_pltexit): New functions.
55359 (print_exit): Fix format string for return register value.
55360
55361 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55362
55363 * sunrpc/Makefile (others): Add rpcgen.
55364 ($(objpfx)rpcgen): Remove special build rule and dependency on
55365 libc.
55366 * sunrpc/rpcgen.c: New file.
55367
55368 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55369
55370 [BZ #13673]
55371 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55372 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55373 * sysdeps/i386/crti.S: Likewise.
55374 * sysdeps/i386/crtn.S: Likewise.
55375 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55376 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55377 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55378 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55379 * sysdeps/sh/crti.S: Likewise.
55380 * sysdeps/sh/crtn.S: Likewise.
55381 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55382
55383 [BZ #13673]
55384 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55385 with URL.
55386 * locale/programs/locfile-kw.gperf: Likewise.
55387 * locale/programs/charmap-kw.h: Regenerated.
55388 * locale/programs/locfile-kw.h: Likewise.
55389
55390 [BZ #13673]
55391 * intl/plural.y: Replace FSF snail mail address with URL.
55392 * intl/plural.c: Regenerated.
55393
55394 2012-03-09 Richard Henderson <rth@twiddle.net>
55395
55396 * include/math_private.h: Remove file.
55397 * math/math_private.h: Move file ...
55398 * sysdeps/generic/math_private.h: ... here.
55399
55400 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55401 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55402 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55403
55404 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55405 and <math_private.h>.
55406 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55407 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55408 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55409 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55410 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55411 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55412 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55414 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55418 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55420 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55422 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55424 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55427 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55428 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55430 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55432 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55435 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55436 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55438 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55439 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55440 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55441 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55442 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55443 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55444 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55445 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55446 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55447 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55448 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55449 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55450 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55451 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55452 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55453 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55454 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55455 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55456 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55457 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55458 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55459 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55460 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55461 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55462 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55463 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55464 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55465 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55466 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55474 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55475 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55477 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55479 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55480 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55482 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55483 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55485 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55486 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55487 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55488 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55489 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55494 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55497 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55498 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55499 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55500 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55501 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55502 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55503 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55504 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55505 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55506 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55507 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55508 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55509 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55510 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55511 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55512 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55513 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55514 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55515 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55516 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55517 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55518 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55519 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55520 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55521 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55522 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55523 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55524 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55525 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55526 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55527 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55528 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55529 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55530 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55531 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55533 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55534 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55535 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55536 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55537 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55539 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55540 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55541 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55542 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55543 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55544 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55545 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55546 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55547 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55548 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55549 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55550 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55551 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55552 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55553 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55554 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55555 * sysdeps/ieee754/k_standard.c: Likewise.
55556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55563 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55568 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55569 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55570 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55571 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55572 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55575 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55576 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55577 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55578 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55579 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55580 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55581 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55582 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55583 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55584 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55586 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55587 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55588 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55589 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55590 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55591 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55593 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55594 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55595 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55633 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55640 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55642 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55644 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55646 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55647 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55649 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55657 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55658 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55660 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55661 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55662 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55663 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55674 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55675 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55676 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55678 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55681 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55683 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55686 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55688 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55693 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55695 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55697 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55698 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55703 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55704 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55705 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55706 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55709 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55710 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55713 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55714 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55715 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55716 * sysdeps/ieee754/s_lib_version.c: Likewise.
55717 * sysdeps/ieee754/s_matherr.c: Likewise.
55718 * sysdeps/ieee754/s_signgam.c: Likewise.
55719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55721 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55722 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55723 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55724 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55725 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55726 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55727 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55728 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55729 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55730 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55731 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55732 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55733 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55734 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55735 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55736 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55737 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55740
55741 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55742
55743 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55744 * sunrpc/rpc_main.c: Likewise.
55745 * sunrpc/rpc_svcout.c: Likewise.
55746
55747 2012-03-09 David S. Miller <davem@davemloft.net>
55748
55749 * include/math_private.h: New file.
55750
55751 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55752
55753 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55754 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55755 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55756 from <bits/socket_type.h>.
55757 (enum __socket_type): Don't define here.
55758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55760 bits/socket_type.h.
55761
55762 [BZ #13566]
55763 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55764 checking __USE_GNU.
55765
55766 * Makerules ($(inst_includedir)/%.h): New rule.
55767 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55768 (install-others): Remove variable setting.
55769 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55770
55771 2012-03-08 Richard Henderson <rth@twiddle.net>
55772
55773 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55774 from macro to inline function; merge with the
55775 !__LIBC_INTERNAL_MATH_INLINES version.
55776 (__ieee754_sqrtf): Likewise.
55777
55778 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55779 to inline function.
55780 (__rintf, __floor, __floorf): Likewise.
55781
55782 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55783 macro to inline function.
55784 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55785
55786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55787 not <math/math_private.h>.
55788
55789 2012-03-08 David S. Miller <davem@davemloft.net>
55790
55791 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55792 copyright year.
55793 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55794
55795 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55796
55797 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55798 normalization.
55799 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55800 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55801
55802 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55803
55804 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55805 be defined individually, they must be defined as a block. Define
55806 S for printing a string instead of hidint the different by using a
55807 macro for adding the 'l'.
55808 * stdio-common/tst-fphex-wide.c: Adjust.
55809
55810 2012-03-07 Marek Polacek <polacek@redhat.com>
55811
55812 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55813
55814 2012-03-08 Marek Polacek <polacek@redhat.com>
55815
55816 [BZ #13806]
55817 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55818 * stdio-common/tst-fphex.c: Define a few macros to make the
55819 test reusable. Use them.
55820 * stdio-common/tst-fphex-wide.c: New file.
55821
55822 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55823
55824 [BZ #6911]
55825 * manual/macros.texi (gnusystems): New macro.
55826 (nongnusystems): Likewise.
55827 (gnulinuxhurdsystems): Likewise.
55828 (gnuhurdsystems): Likewise..
55829 (gnulinuxsystems): Likewise.
55830 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55831 variants of the GNU system, not "GNU system".
55832 * manual/conf.texi: Likewise.
55833 * manual/errno.texi: Likewise. Update example of errno macro
55834 expansion.
55835 * manual/filesys.texi: Likewise.
55836 (getumask): Document as specific to GNU/Hurd.
55837 * manual/install.texi: Likewise. Reword some references to
55838 GNU/Linux.
55839 * manual/intro.texi: Likewise.
55840 * manual/io.texi: Likewise.
55841 (File Name Portability): Detail which constraints are inapplicable
55842 to all GNU systems and which are only inapplicable to GNU/Hurd.
55843 * manual/job.texi: Likewise.
55844 * manual/llio.texi: Likewise.
55845 (O_NOCTTY): Document as present on GNU/Linux.
55846 * manual/maint.texi: Likewise.
55847 * manual/memory.texi: Likewise.
55848 * manual/pattern.texi: Likewise.
55849 * manual/pipe.texi: Likewise.
55850 * manual/process.texi: Likewise.
55851 * manual/resource.texi: Likewise.
55852 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55853 child on GNU/Hurd.
55854 * manual/setjmp.texi: Likewise.
55855 * manual/signal.texi: Likewise.
55856 * manual/startup.texi: Likewise.
55857 * manual/stdio.texi: Likewise.
55858 * manual/terminal.texi: Likewise.
55859 (ONLCR): Document as POSIX.
55860 (OXTABS): Document availability on GNU/Linux as XTABS.
55861 (ONOEOT): Document availability separately from other bits.
55862 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55863 * manual/time.texi: Likewise.
55864 * manual/users.texi: Likewise.
55865 * INSTALL: Regenerated.
55866 * sysdeps/gnu/errlist.c: Regenerated.
55867
55868 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55869 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55870 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55871 puts.
55872 * configure: Regenerated.
55873
55874 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55875
55876 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55877 default includes instead of AC_HEADER_CHECK.
55878 * sysdeps/i386/configure: Regenerated.
55879
55880 [BZ #10716]
55881 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55882 * math/s_cacoshf.c (__cacoshf): Likewise.
55883 * math/s_cacoshl.c (__cacoshl): Likewise.
55884 * math/s_casinh.c (__casinh): Set signs of result from argument.
55885 * math/s_casinhf.c (__casinhf): Likewise.
55886 * math/s_casinhl.c (__casinhl): Likewise.
55887 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55888 (casinh_test): Add more tests.
55889 * sysdeps/i386/fpu/libm-test-ulps: Update.
55890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55891
55892 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55893
55894 * po/zh_TW.po: Update from translation team.
55895
55896 * login/Makefile (distribute): Remove variable.
55897 * catgets/Makefile: Likewise.
55898 * mach/Makefile: Likewise.
55899 * malloc/Makefile: Likewise.
55900 * misc/Makefile: Likewise.
55901 * iconv/Makefile: Likewise.
55902 * nscd/Makefile: Likewise.
55903 * hurd/Makefile: Likewise.
55904 * manual/Makefile: Likewise.
55905 * locale/Makefile: Likewise.
55906 * intl/Makefile: Likewise.
55907 * conform/Makefile: Likewise.
55908 * nss/Makefile: Likewise.
55909 * time/Makefile: Likewise.
55910 * soft-fp/Makefile: Likewise.
55911 * dirent/Makefile: Likewise.
55912 * gmon/Makefile: Likewise.
55913 * po/Makefile: Likewise.
55914 * rt/Makefile: Likewise.
55915 * socket/Makefile: Likewise.
55916 * math/Makefile: Likewise.
55917 * signal/Makefile: Likewise.
55918 * debug/Makefile: Likewise.
55919 * elf/Makefile: Likewise.
55920 * timezone/Makefile: Likewise.
55921 * stdlib/Makefile: Likewise.
55922 * iconvdata/Makefile: Likewise.
55923 * sunrpc/Makefile: Likewise.
55924 * io/Makefile: Likewise.
55925 * argp/Makefile: Likewise.
55926 * inet/Makefile: Likewise.
55927 * hesiod/Makefile: Likewise.
55928 * grp/Makefile: Likewise.
55929 * csu/Makefile: Likewise.
55930 * wctype/Makefile: Likewise.
55931 * crypt/Makefile: Likewise.
55932 * libio/Makefile: Likewise.
55933 * string/Makefile: Likewise.
55934 * nis/Makefile: Likewise.
55935 * resolv/Makefile: Likewise.
55936 * stdio-common/Makefile: Likewise.
55937 * wcsmbs/Makefile: Likewise.
55938 * dlfcn/Makefile: Likewise.
55939 * posix/Makefile: Likewise.
55940
55941 [BZ #6959]
55942 * timezone/Makefile: Don't install timezone files, just the programs
55943 and scripts.
55944
55945 2012-03-06 Ulrich Drepper <drepper@gmail.com>
55946
55947 * nss/databases.def: Add missing gshadow entry.
55948
55949 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
55950
55951 2012-03-06 Marek Polacek <polacek@redhat.com>
55952
55953 [BZ #13726]
55954 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55955 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55956 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55957 * stdio-common/tst-long-dbl-fphex.c: New file.
55958
55959 2012-03-06 David S. Miller <davem@davemloft.net>
55960
55961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55962 (set_obp_int): New function.
55963 (get_obp_int): New function.
55964 (__get_clockfreq_via_dev_openprom): Likewise.
55965 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55966 Avoid unused variable warnings on 'val' and use builtin_expect.
55967 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55968 __builtin_expect.
55969 (INLINE_CLONE_SYSCALL): Likewise.
55970
55971 2012-03-05 David S. Miller <davem@davemloft.net>
55972
55973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55974
55975 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
55976
55977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55978
55979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55980 only for |x| >= 40.
55981 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55982
55983 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
55984
55985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55986 Replace gettimeofday with __vdso_gettimeofday.
55987
55988 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55989 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55990 __vdso_clock_gettime and __vdso_getcpu.
55991
55992 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55993 time with __vdso_time.
55994
55995 2012-03-05 Joseph Myers <joseph@codesourcery.com>
55996
55997 * manual/lang.texi (size_t): Note types to which size_t may be
55998 equivalent with the GNU C Library, but do not describe when
55999 differences between them are significant.
56000
56001 2012-03-05 Andreas Jaeger <aj@suse.de>
56002
56003 * sysdeps/i386/fpu/libm-test-ulps: Update.
56004
56005 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56006
56007 [BZ #3976]
56008 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56009 (__ieee754_pow): Save and restore rounding mode and use
56010 round-to-nearest for main computations.
56011 * math/libm-test.inc (pow_test_tonearest): New function.
56012 (pow_test_towardzero): Likewise.
56013 (pow_test_downward): Likewise.
56014 (pow_test_upward): Likewise.
56015 (main): Call the new functions.
56016 * sysdeps/i386/fpu/libm-test-ulps: Update.
56017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56018
56019 [BZ #3976]
56020 * math/libm-test.inc (cosh_test_tonearest): New function.
56021 (cosh_test_towardzero): Likewise.
56022 (cosh_test_downward): Likewise.
56023 (cosh_test_upward): Likewise.
56024 (sinh_test_tonearest): Likewise.
56025 (sinh_test_towardzero): Likewise.
56026 (sinh_test_downward): Likewise.
56027 (sinh_test_upward): Likewise.
56028 (main): Call the new functions.
56029 * sysdeps/i386/fpu/libm-test-ulps: Update.
56030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56031
56032 2012-03-05 Tom de Vries <tom@codesourcery.com>
56033
56034 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56035 default stack guard is set in last bytes.
56036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56037
56038 2012-03-05 Kees Cook <keescook@chromium.org>
56039
56040 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56041
56042 [BZ #13656]
56043 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56044 possibly allocate from heap instead of stack.
56045 * stdio-common/bug-vfprintf-nargs.c: New file.
56046 * stdio-common/Makefile (tests): Add nargs overflow test.
56047
56048 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56049
56050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56051
56052 2012-03-03 Marek Polacek <polacek@redhat.com>
56053
56054 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56055 * math/math_private.h: Likewise.
56056 * stdlib/tst-strtod.c: Likewise.
56057 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56058 * sysdeps/x86_64/bits/atomic.h: Likewise.
56059
56060 2012-03-02 David S. Miller <davem@davemloft.net>
56061
56062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56066 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56067 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56068 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56069 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56070
56071 2012-03-02 Roland McGrath <roland@hack.frob.com>
56072
56073 [BZ #13792]
56074 * manual/examples/README: New file, says the example source files
56075 can be used under GPL>=2.
56076 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56077 line containing just "*/".
56078 * manual/examples/add.c: Add copyright header (GPL>=2).
56079 * manual/examples/argp-ex1.c: Likewise.
56080 * manual/examples/argp-ex2.c: Likewise.
56081 * manual/examples/argp-ex3.c: Likewise.
56082 * manual/examples/argp-ex4.c: Likewise.
56083 * manual/examples/atexit.c: Likewise.
56084 * manual/examples/db.c: Likewise.
56085 * manual/examples/dir.c: Likewise.
56086 * manual/examples/dir2.c: Likewise.
56087 * manual/examples/execinfo.c: Likewise.
56088 * manual/examples/filecli.c: Likewise.
56089 * manual/examples/filesrv.c: Likewise.
56090 * manual/examples/fmtmsgexpl.c: Likewise.
56091 * manual/examples/genpass.c: Likewise.
56092 * manual/examples/inetcli.c: Likewise.
56093 * manual/examples/inetsrv.c: Likewise.
56094 * manual/examples/isockad.c: Likewise.
56095 * manual/examples/longopt.c: Likewise.
56096 * manual/examples/memopen.c: Likewise.
56097 * manual/examples/memstrm.c: Likewise.
56098 * manual/examples/mkfsock.c: Likewise.
56099 * manual/examples/mkisock.c: Likewise.
56100 * manual/examples/mygetpass.c: Likewise.
56101 * manual/examples/pipe.c: Likewise.
56102 * manual/examples/popen.c: Likewise.
56103 * manual/examples/rprintf.c: Likewise.
56104 * manual/examples/search.c: Likewise.
56105 * manual/examples/select.c: Likewise.
56106 * manual/examples/setjmp.c: Likewise.
56107 * manual/examples/sigh1.c: Likewise.
56108 * manual/examples/sigusr.c: Likewise.
56109 * manual/examples/stpcpy.c: Likewise.
56110 * manual/examples/strdupa.c: Likewise.
56111 * manual/examples/strftim.c: Likewise.
56112 * manual/examples/strncat.c: Likewise.
56113 * manual/examples/subopt.c: Likewise.
56114 * manual/examples/swapcontext.c: Likewise.
56115 * manual/examples/termios.c: Likewise.
56116 * manual/examples/testopt.c: Likewise.
56117 * manual/examples/testpass.c: Likewise.
56118 * manual/examples/timeval_subtract.c: Likewise.
56119
56120 [BZ #13792]
56121 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56122 function to ...
56123 * manual/timeval_subtract.c.texi: ... here, new file.
56124
56125 2012-03-02 David S. Miller <davem@davemloft.net>
56126
56127 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56128
56129 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56130
56131 [BZ #3976]
56132 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56133 (__sin): Save and restore rounding mode and use round-to-nearest
56134 for all computations.
56135 (__cos): Save and restore rounding mode and use round-to-nearest
56136 for all computations.
56137 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56138 <fenv.h>.
56139 (tan): Save and restore rounding mode and use round-to-nearest for
56140 all computations.
56141 * math/libm-test.inc (cos_test_tonearest): New function.
56142 (cos_test_towardzero): Likewise.
56143 (cos_test_downward): Likewise.
56144 (cos_test_upward): Likewise.
56145 (sin_test_tonearest): Likewise.
56146 (sin_test_towardzero): Likewise.
56147 (sin_test_downward): Likewise.
56148 (sin_test_upward): Likewise.
56149 (tan_test_tonearest): Likewise.
56150 (tan_test_towardzero): Likewise.
56151 (tan_test_downward): Likewise.
56152 (tan_test_upward): Likewise.
56153 (main): Call the new functions.
56154 * sysdeps/i386/fpu/libm-test-ulps: Update.
56155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56156
56157 [BZ #10135]
56158 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56159 small n, then large n, before computing and testing k+n.
56160 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56162 Likewise.
56163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56164 Likewise.
56165 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56166 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56171 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56172 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56173 * math/libm-test.inc (scalbn_test): Add more tests.
56174 (scalbln_test): Likewise.
56175
56176 * manual/filesys.texi (mode_t): Describe constraints on size and
56177 signedness, not exact equivalence to a particular type.
56178 (ino_t): Likewise.
56179 (ino64_t): Likewise.
56180 (dev_t): Likewise.
56181 (nlink_t): Likewise.
56182 (blkcnt_t): Likewise.
56183 (blkcnt64_t): Likewise.
56184 * manual/llio.texi (off_t): Likewise.
56185
56186 [BZ #3976]
56187 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56188 (__ieee754_exp): Save and restore rounding mode and use
56189 round-to-nearest for all computations.
56190 * math/libm-test.inc (exp_test_tonearest): New function.
56191 (exp_test_towardzero): Likewise.
56192 (exp_test_downward): Likewise.
56193 (exp_test_upward): Likewise.
56194 (main): Call the new functions.
56195 * sysdeps/i386/fpu/libm-test-ulps: Update.
56196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56197
56198 2012-03-01 Chris Demetriou <cgd@google.com>
56199
56200 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56201 have predictable order.
56202
56203 2012-03-01 David S. Miller <davem@davemloft.net>
56204
56205 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56206
56207 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56208 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56209 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56210 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56211
56212 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56213 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56214 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56216 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56217 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56218 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56219 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56220 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56221
56222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56223
56224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56225 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56226 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56227
56228 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56230 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56231 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56232 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56233 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56235 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56236 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56237 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56238 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56239 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56241 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56242 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56244 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56245 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56246 * sysdeps/sparc/elf/configure: Regenerated.
56247
56248 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56249
56250 * configure.in (AS, LD): Require binutils 2.20 or later.
56251 * configure: Regenerated.
56252 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56253 as required minimum version.
56254 * INSTALL: Regenerated.
56255
56256 [BZ #2541]
56257 [BZ #4108]
56258 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56259 before squaring exponent.
56260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56261 bottom long double and 27 bits of top long double before squaring
56262 exponent.
56263 * math/libm-test.inc (erfc_test): Add more tests.
56264 * sysdeps/i386/fpu/libm-test-ulps: Update.
56265 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56267
56268 2012-03-01 Kai Tietz <ktietz@redhat.com>
56269
56270 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56271 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56272 containing bit-fields.
56273 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56274 * soft-fp/single.h (_FP_UNION_S): Likewise.
56275 * soft-fp/double.h (_FP_UNION_D): Likewise.
56276
56277 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56278
56279 [BZ #13786]
56280 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56281 not include ../strcmp.S.
56282 [USE_AS_STRNCASECMP_L]: Likewise.
56283 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56284 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56285 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56286 (__strncasecmp_l_ia32): Define as alias to
56287 __strncasecmp_l_nonascii.
56288
56289 [BZ #5794]
56290 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56291 * sysdeps/i386/fpu/libm-test-ulps: Update.
56292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56293
56294 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56296
56297 2012-02-29 Jeff Law <law@redhat.com>
56298
56299 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56300 out of bounds read.
56301
56302 2012-02-29 Marek Polacek <polacek@redhat.com>
56303
56304 [BZ #13706]
56305 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56306 * elf/Makefile: Add rules to run tst-unused-dep.out.
56307
56308 2012-02-28 David S. Miller <davem@davemloft.net>
56309
56310 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56311 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56314 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56315 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56316
56317 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56318
56319 * math/libm-test.inc (llround_test): Move one test from
56320 lround_test. Use TEST_f_L in moved test.
56321 (lround_test): Move misplaced test to llround_test. Add testcase
56322 from bug 2561.
56323
56324 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56325
56326 * sysdeps/x86_64/fpu/e_expf.S: New file.
56327 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56328
56329 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56330
56331 [BZ #13637]
56332 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56333 of remain_len that may cause incomplete multi-byte character and
56334 false match.
56335 * posix/bug-regex33.c: New file.
56336 * posix/Makefile (tests): Add bug-regex33.
56337
56338 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56339
56340 * manual/macros.texi: New file.
56341 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56342 * manual/libc.texinfo: Include macros.texi.
56343 * manual/creatute.texi: Likewise.
56344 * manual/install.texi: Likewise.
56345 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56346 @glibcadj{} in references to the GNU C Library.
56347 * manual/charset.texi: Likewise.
56348 * manual/conf.texi: Likewise.
56349 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56350 when not using those macros.
56351 * manual/creature.texi: Likewise.
56352 * manual/crypt.texi: Likewise.
56353 * manual/errno.texi: Likewise.
56354 * manual/filesys.texi: Likewise.
56355 * manual/header.texi: Likewise.
56356 * manual/install.texi: Likewise.
56357 * manual/intro.texi: Likewise.
56358 * manual/io.texi: Likewise.
56359 * manual/job.texi: Likewise.
56360 * manual/lang.texi: Likewise.
56361 * manual/libc.texiinfo: Likewise.
56362 * manual/llio.texi: Likewise.
56363 * manual/locale.texi: Likewise.
56364 * manual/maint.texi: Likewise.
56365 * manual/math.texi: Likewise.
56366 * manual/memory.texi: Likewise.
56367 * manual/message.texi: Likewise.
56368 * manual/nss.texi: Likewise.
56369 * manual/pattern.texi: Likewise.
56370 * manual/process.texi: Likewise.
56371 * manual/resource.texi: Likewise.
56372 * manual/search.texi: Likewise.
56373 * manual/setjmp.texi: Likewise.
56374 * manual/signal.texi: Likewise.
56375 * manual/socket.texi: Likewise.
56376 * manual/startup.texi: Likewise.
56377 * manual/stdio.texi: Likewise.
56378 * manual/string.texi: Likewise.
56379 * manual/sysinfo.texi: Likewise.
56380 * manual/syslog.texi: Likewise.
56381 * manual/terminal.texi: Likewise.
56382 * manual/time.texi: Likewise.
56383 * manual/users.texi: Likewise.
56384 * INSTALL: Regenerated.
56385 * NOTES: Regenerated.
56386 * sysdeps/gnu/errlist.c: Regenerated.
56387
56388 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56389
56390 * include/dirent.h: Include <dirstream.h> before
56391 <dirent/dirent.h>.
56392
56393 2012-02-28 David S. Miller <davem@davemloft.net>
56394
56395 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56396 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56397 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56398 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56399
56400 2012-02-27 David S. Miller <davem@davemloft.net>
56401
56402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56404 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56405 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56406
56407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56408 frame pointer instead of stack pointer relative arg slot.
56409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56410 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56411 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56412
56413 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56414
56415 [BZ #3992]
56416 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56417
56418 2012-02-27 David S. Miller <davem@davemloft.net>
56419
56420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56426 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56427 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56428
56429 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56430
56431 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56432 later. Allow versions 5-9.
56433 * configure: Regenerated.
56434 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56435 required minimum version and 4.6 as recommended version. Do not
56436 mention bugs in GCC 2.7 and 2.8.
56437 * INSTALL: Regenerated.
56438
56439 2012-02-27 David S. Miller <davem@davemloft.net>
56440
56441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56445 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56446 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56447 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56448 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56449
56450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56451 manipulate bits before adding and subtracting TWO112[sx].
56452 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56453
56454 2012-02-27 Roland McGrath <roland@hack.frob.com>
56455
56456 [BZ #13775]
56457 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56458 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56459 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56460 being in POSIX, because they are in 1003.1-2008.
56461
56462 * rt/tst-aio.c: Include <fcntl.h>.
56463 * rt/tst-aio7.c: Likewise.
56464 * rt/tst-aio64.c: Likewise.
56465
56466 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56467
56468 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56469
56470 * manual/install.texi (--with-headers): Describe headers as
56471 interface headers, not private headers.
56472 (Specific advice for GNU/Linux systems): Describe use of headers
56473 from "make headers_install", not private headers from older
56474 kernels.
56475 * INSTALL: Regenerated.
56476 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56477 Change to 2.6.19.
56478 * sysdeps/unix/sysv/linux/configure: Regenerated.
56479
56480 * manual/llio.texi (fclean): Remove documentation.
56481
56482 * manual/Makefile (libc-texi-generated): New variable. Include
56483 version.texi.
56484 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56485 $(libc-texi-generated), not duplicated list of files.
56486 (version.texi, stamp-version): New rules.
56487 (realclean): Remove $(libc-texi-generated), not individual files
56488 from that list. Do not remove dir-add.texinfo.
56489 * manual/libc.texinfo: Comment out uses of edition numbers and
56490 references to printed manual. Remove last-updated dates.
56491 (EDITION): Comment out.
56492 (ISBN): Likewise.
56493 (VERSION, UPDATED): Remove.
56494 (version.texi): Include.
56495
56496 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56497
56498 * sysdeps/posix/spawni.c: Include <signal.h>.
56499 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56500 * sysdeps/pthread/aio_fsync.c: Likewise.
56501
56502 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56503
56504 * conform/Makefile (tests): Run only when not cross-compiling and
56505 when fast-check is not defined.
56506
56507 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56508 * conform/data/limits.h-data: Fixes for POSIX2008.
56509 * conform/run-conformtest.sh: Run all tests.
56510 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56511 headers.
56512 * include/bits/dlfcn.h: Likewise.
56513 * include/langinfo.h: Likewise.
56514 * include/monetary.h: Likewise.
56515 * include/sys/poll.h: Likewise.
56516
56517 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56518 for __USE_GNU.
56519 * posix/spawn.h: Define __need_sigset_t.
56520 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56521 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56522 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56523 to get sigevent_t only.
56524 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56525 only for __USE_GNU.
56526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56527 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56528 process_vm_writev only for __USE_GNU.
56529 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56530
56531 * conform/Makefile: For now ignore errors from run-conformtest.
56532 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56533 POSIX to avoid namespace pollution. Don't prepend headers.
56534 * conform/data/aio.h-data: Fixes for POSIX testing.
56535 * conform/data/fcntl.h-data: Likewise.
56536 * conform/data/glob.h-data: Likewise.
56537 * conform/data/grp.h-data: Likewise.
56538 * conform/data/pthread.h-data: Likewise.
56539 * conform/data/pwd.h-data: Likewise.
56540 * conform/data/signal.h-data: Likewise.
56541 * conform/data/spawn.h-data: Likewise.
56542 * conform/data/stdio.h-data: Likewise.
56543 * conform/data/stdlib.h-data: Likewise.
56544 * conform/data/stropts.h-data: Likewise.
56545 * conform/data/sys/mman.h-data: Likewise.
56546 * conform/data/sys/stat.h-data: Likewise.
56547 * conform/data/sys/types.h-data: Likewise.
56548 * conform/data/sys/wait.h-data: Likewise.
56549 * conform/data/time.h-data: Likewise.
56550 * conform/data/unistd.h-data: Likewise.
56551 * conform/data/utime.h-data: Likewise.
56552
56553 * io/sys/stat.h: fchmod was always in POSIX.
56554 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56555 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56556 * rt/aio.h: Define __need_timespec before including <time.h>.
56557 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56558 struct. Add forward declaration of pthread_attr_t and use it in
56559 sigevent.
56560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56561 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56562 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56563 always remove CLK_TCK definition.
56564
56565 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56566
56567 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56568
56569 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56570
56571 * conform/run-conformtest.sh: New file.
56572 * conform/Makefile: Run run-conformtest for tests.
56573 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56574 support.
56575
56576 * conform/data/uchar.h-data: New file.
56577 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56578 * conform/data/arpa/inet.h-data: Likewise.
56579 * conform/data/assert.h-data: Likewise.
56580 * conform/data/complex.h-data: Likewise.
56581 * conform/data/cpio.h-data: Likewise.
56582 * conform/data/ctype.h-data: Likewise.
56583 * conform/data/dirent.h-data: Likewise.
56584 * conform/data/dlfcn.h-data: Likewise.
56585 * conform/data/errno.h-data: Likewise.
56586 * conform/data/fcntl.h-data: Likewise.
56587 * conform/data/float.h-data: Likewise.
56588 * conform/data/fmtmsg.h-data: Likewise.
56589 * conform/data/fnmatch.h-data: Likewise.
56590 * conform/data/ftw.h-data: Likewise.
56591 * conform/data/glob.h-data: Likewise.
56592 * conform/data/grp.h-data: Likewise.
56593 * conform/data/iconv.h-data: Likewise.
56594 * conform/data/inttypes.h-data: Likewise.
56595 * conform/data/langinfo.h-data: Likewise.
56596 * conform/data/libgen.h-data: Likewise.
56597 * conform/data/limits.h-data: Likewise.
56598 * conform/data/locale.h-data: Likewise.
56599 * conform/data/math.h-data: Likewise.
56600 * conform/data/monetary.h-data: Likewise.
56601 * conform/data/mqueue.h-data: Likewise.
56602 * conform/data/ndbm.h-data: Likewise.
56603 * conform/data/net/if.h-data: Likewise.
56604 * conform/data/netdb.h-data: Likewise.
56605 * conform/data/netinet/in.h-data: Likewise.
56606 * conform/data/nl_types.h-data: Likewise.
56607 * conform/data/poll.h-data: Likewise.
56608 * conform/data/pthread.h-data: Likewise.
56609 * conform/data/pwd.h-data: Likewise.
56610 * conform/data/regex.h-data: Likewise.
56611 * conform/data/sched.h-data: Likewise.
56612 * conform/data/search.h-data: Likewise.
56613 * conform/data/semaphore.h-data: Likewise.
56614 * conform/data/setjmp.h-data: Likewise.
56615 * conform/data/signal.h-data: Likewise.
56616 * conform/data/spawn.h-data: Likewise.
56617 * conform/data/stdarg.h-data: Likewise.
56618 * conform/data/stdio.h-data: Likewise.
56619 * conform/data/stdlib.h-data: Likewise.
56620 * conform/data/string.h-data: Likewise.
56621 * conform/data/strings.h-data: Likewise.
56622 * conform/data/stropts.h-data: Likewise.
56623 * conform/data/sys/ipc.h-data: Likewise.
56624 * conform/data/sys/mman.h-data: Likewise.
56625 * conform/data/sys/msg.h-data: Likewise.
56626 * conform/data/sys/resource.h-data: Likewise.
56627 * conform/data/sys/select.h-data: Likewise.
56628 * conform/data/sys/sem.h-data: Likewise.
56629 * conform/data/sys/shm.h-data: Likewise.
56630 * conform/data/sys/socket.h-data: Likewise.
56631 * conform/data/sys/stat.h-data: Likewise.
56632 * conform/data/sys/statvfs.h-data: Likewise.
56633 * conform/data/sys/time.h-data: Likewise.
56634 * conform/data/sys/timeb.h-data: Likewise.
56635 * conform/data/sys/times.h-data: Likewise.
56636 * conform/data/sys/types.h-data: Likewise.
56637 * conform/data/sys/uio.h-data: Likewise.
56638 * conform/data/sys/un.h-data: Likewise.
56639 * conform/data/sys/utsname.h-data: Likewise.
56640 * conform/data/sys/wait.h-data: Likewise.
56641 * conform/data/syslog.h-data: Likewise.
56642 * conform/data/tar.h-data: Likewise.
56643 * conform/data/termios.h-data: Likewise.
56644 * conform/data/utime.h-data: Likewise.
56645 * conform/data/utmpx.h-data: Likewise.
56646 * conform/data/varargs.h-data: Likewise.
56647 * conform/data/wchar.h-data: Likewise.
56648 * conform/data/wctype.h-data: Likewise.
56649 * conform/data/wordexp.h-data: Likewise.
56650
56651 * include/stropts.h: New file.
56652 * include/uchar.h: New file.
56653 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56654 * include/assert.h: Likewise.
56655 * include/ctype.h: Likewise.
56656 * include/dirent.h: Likewise.
56657 * include/dlfcn.h: Likewise.
56658 * include/fcntl.h: Likewise.
56659 * include/fnmatch.h: Likewise.
56660 * include/glob.h: Likewise.
56661 * include/grp.h: Likewise.
56662 * include/libio.h: Likewise.
56663 * include/locale.h: Likewise.
56664 * include/math.h: Likewise.
56665 * include/net/if.h: Likewise.
56666 * include/netdb.h: Likewise.
56667 * include/netinet/in.h: Likewise.
56668 * include/pthread.h: Likewise.
56669 * include/pwd.h: Likewise.
56670 * include/regex.h: Likewise.
56671 * include/sched.h: Likewise.
56672 * include/search.h: Likewise.
56673 * include/setjmp.h: Likewise.
56674 * include/signal.h: Likewise.
56675 * include/stdio.h: Likewise.
56676 * include/stdlib.h: Likewise.
56677 * include/string.h: Likewise.
56678 * include/sys/cdefs.h: Likewise.
56679 * include/sys/mman.h: Likewise.
56680 * include/sys/msg.h: Likewise.
56681 * include/sys/resource.h: Likewise.
56682 * include/sys/select.h: Likewise.
56683 * include/sys/socket.h: Likewise.
56684 * include/sys/stat.h: Likewise.
56685 * include/sys/statvfs.h: Likewise.
56686 * include/sys/time.h: Likewise.
56687 * include/sys/times.h: Likewise.
56688 * include/sys/uio.h: Likewise.
56689 * include/sys/utsname.h: Likewise.
56690 * include/sys/wait.h: Likewise.
56691 * include/termios.h: Likewise.
56692 * include/time.h: Likewise.
56693 * include/ulimit.h: Likewise.
56694 * include/unistd.h: Likewise.
56695 * include/utime.h: Likewise.
56696 * include/wchar.h: Likewise.
56697 * include/wctype.h: Likewise.
56698 * include/wordexp.h: Likewise.
56699
56700 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56701
56702 * time/time.h: TIME_UTC must be a macro.
56703 Make timespec_get available for ISO C11 only as well.
56704
56705 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56706
56707 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56708 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56709
56710 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56711
56712 * configure.in: Use -o not -a in test for unsupported multi-arch.
56713
56714 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56715
56716 * manual/texinfo.tex: Update to version 2012-01-19.16.
56717
56718 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56719
56720 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56721
56722 2012-02-24 Roland McGrath <roland@hack.frob.com>
56723
56724 [BZ #13738]
56725 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56726 * manual/fdl-1.3.texi: New file.
56727 * manual/fdl-1.1.texi: File removed.
56728
56729 [BZ #13738]
56730 * manual/libc.texinfo (FDL_VERSION): New @set.
56731 Use it for mention of FDL in cover text.
56732 (Documentation License): Use it in @include file name.
56733
56734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56735 Roland McGrath <roland@hack.frob.com>
56736
56737 [BZ #5461]
56738 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56739 (not LONG_LONG_MAX and LONG_LONG_MIN.
56740 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56741 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56742 name.
56743 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56744
56745 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56746
56747 [BZ #2547]
56748 [BZ #11365]
56749 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56750 manipulate bits before adding and subtracting TWO23[sx].
56751 * math/libm-test.inc (nearbyint_test): Add more tests.
56752
56753 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56754
56755 [BZ #2548]
56756 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56757 bits before adding and subtracting TWO23[sx].
56758 * math/libm-test.inc (rint_test): Add more tests.
56759 (rint_test_tonearest): Likewise.
56760 (rint_test_towardzero): Likewise.
56761 (rint_test_downward): Likewise.
56762 (rint_test_upward: Likewise.
56763
56764 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56765
56766 [BZ #10110]
56767 * include/stdc-predef.h: New file. Extracted from features.h.
56768 * include/features.h: Include stdc-predef.h.
56769 * Makefile (headers): Add stdc-predef.h.
56770 * CONFORMANCE (Compiler limitations): Update.
56771
56772 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56773
56774 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56775
56776 2012-02-21 David S. Miller <davem@davemloft.net>
56777
56778 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56779 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56780
56781 2012-02-20 David S. Miller <davem@davemloft.net>
56782
56783 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56784 using a normal save/restore sequence, rather than allocating a
56785 dummy stack frame just to store a frame pointer and restore.
56786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56787
56788 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56789
56790 * manual/install.texi: Fix stray word in line-wrapped comment.
56791
56792 2012-02-20 David S. Miller <davem@davemloft.net>
56793
56794 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56795 both binutils and gcc support GOTDATA.
56796
56797 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56798 "rd %pc" in the PIC register setup sequences.
56799
56800 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56801 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56802 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56803 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56804 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56809 (SYSCALL_ERROR_HANDLER): Likewise.
56810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56813 (SYSCALL_ERROR_HANDLER): Likewise.
56814
56815 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56816 (HAVE_GCC_GOTDATA): New.
56817 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56818 relocation support in both binutils and gcc.
56819 * sysdeps/sparc/elf/configure: Regenerate.
56820
56821 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56822 * sysdeps/sparc/sparc32/elf/configure: Delete.
56823 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56824 * sysdeps/sparc/sparc64/elf/configure: Delete.
56825 * sysdeps/sparc/elf/configure.in: New file.
56826 * sysdeps/sparc/elf/configure: Generate.
56827
56828 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56829 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56830 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56831 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56832 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56833
56834 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56835
56836 * manual/install.texi: Do not mention specific glibc version
56837 numbers.
56838 * manual/libc.texinfo (VERSION, UPDATED): Update.
56839 (@copying): Use @copyright{} and range of years.
56840
56841 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56842
56843 [BZ #13695]
56844 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56845 [crti.S not in sysdirs] (generated): Do not append.
56846 [crti.S not in sysdirs] (omit-deps): Likewise.
56847 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56848 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56849 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56850 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56851 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56852 Likewise.
56853 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56854 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56855 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56856 * csu/defs.awk: Remove file.
56857 * sysdeps/generic/initfini.c: Likewise.
56858 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56859 variable.
56860 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56861 Likewise.
56862
56863 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56864
56865 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56866 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56867 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56868 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56870 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56871 <bits/epoll.h>.
56872 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56873 (__EPOLL_PACKED): Define to empty if not defined by
56874 <bits/epoll.h>.
56875 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56877 bits/epoll.h.
56878
56879 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56880
56881 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56882 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56883 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56884 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56885 <bits/timerfd.h>.
56886 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56888 bits/timerfd.h.
56889
56890 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56891
56892 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56893 in C locale.
56894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56895 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56896 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56898
56899 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56900
56901 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56902 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56903
56904 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56905
56906 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56907 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56908 defined.
56909 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56910 Likewise.
56911 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56912 entry for 2.16.
56913
56914 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
56915
56916 * math/w_acos.c: Use non-signaling floating-point comparisons.
56917 * math/w_acosf.c: Likewise.
56918 * math/w_acosh.c: Likewise.
56919 * math/w_acoshf.c: Likewise.
56920 * math/w_acoshl.c: Likewise.
56921 * math/w_acosl.c: Likewise.
56922 * math/w_asin.c: Likewise.
56923 * math/w_asinf.c: Likewise.
56924 * math/w_asinl.c: Likewise.
56925 * math/w_atanh.c: Likewise.
56926 * math/w_atanhf.c: Likewise.
56927 * math/w_atanhl.c: Likewise.
56928 * math/w_exp2.c: Likewise.
56929 * math/w_exp2f.c: Likewise.
56930 * math/w_exp2l.c: Likewise.
56931 * math/w_j0.c: Likewise.
56932 * math/w_j0f.c: Likewise.
56933 * math/w_j0l.c: Likewise.
56934 * math/w_j1.c: Likewise.
56935 * math/w_j1f.c: Likewise.
56936 * math/w_j1l.c: Likewise.
56937 * math/w_jn.c: Likewise.
56938 * math/w_jnf.c: Likewise.
56939 * math/w_log.c: Likewise.
56940 * math/w_log10.c: Likewise.
56941 * math/w_log10f.c: Likewise.
56942 * math/w_log10l.c: Likewise.
56943 * math/w_log2.c: Likewise.
56944 * math/w_log2f.c: Likewise.
56945 * math/w_log2l.c: Likewise.
56946 * math/w_logf.c: Likewise.
56947 * math/w_logl.c: Likewise.
56948 * math/w_sqrt.c: Likewise.
56949 * math/w_sqrtf.c: Likewise.
56950 * math/w_sqrtl.c: Likewise.
56951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56952 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56954 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56955 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56956
56957 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56958
56959 [BZ #9739]
56960 * manual/string.texi (strnlen): Use correct parameter name in
56961 equivalent expression.
56962
56963 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56964
56965 [BZ #11174]
56966 * manual/users.texi (seteuid): Consistently use neweuid for
56967 argument name.
56968
56969 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56970
56971 [BZ #13704]
56972 * manual/nss.texi (Services in the NSS configuration): Correct
56973 list of services in example configuration file.
56974
56975 2012-02-19 Nick Bowler <nbowler@draconx.ca>
56976
56977 [BZ #11322]
56978 * manual/arith.texi: Remove statements about negative zero
56979 behaving identically to zero.
56980
56981 2012-02-18 Joseph Myers <joseph@codesourcery.com>
56982
56983 [BZ #5993]
56984 * manual/install.texi: Do not document upgrading from libc5.
56985
56986 2012-02-18 Joseph Myers <joseph@codesourcery.com>
56987
56988 [BZ #4596]
56989 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56990
56991 2012-02-18 David S. Miller <davem@davemloft.net>
56992
56993 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56994 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56995 %o7 across the call.
56996 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56997 instead.
56998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56999 SETUP_PIC_REG_LEAF.
57000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57001 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57002 * sysdeps/sparc/crtn.S: Likewise.
57003
57004 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57005
57006 * aout/Makefile: Remove.
57007
57008 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57009
57010 [BZ #13058]
57011 * manual/examples/argp-ex1.c (main): Format definition in GNU
57012 style.
57013 * manual/examples/argp-ex2.c (main): Likewise.
57014 * manual/examples/argp-ex3.c (main): Likewise.
57015 * manual/examples/argp-ex4.c (main): Likewise.
57016 * manual/examples/longopt.c (main): Use new-style prototype
57017 definition.
57018 * manual/examples/strncat.c (main): Specify return type and use
57019 (void) for arguments.
57020 * manual/examples/subopt.c (main): Use char **argv argument.
57021
57022 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57023
57024 [BZ #5077]
57025 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57026 rounding modes.
57027
57028 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57029
57030 [BZ #6907]
57031 * manual/string.texi (strchr): Change when strchrnul is
57032 recommended.
57033
57034 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57035
57036 [BZ #174]
57037 * manual/locale.texi (setlocale): Document LOCPATH.
57038
57039 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57040
57041 [BZ #10210]
57042 * manual/process.texi (execle): Move @dots{} before last argument.
57043
57044 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57045
57046 [BZ #12047]
57047 * manual/charset.texi (Generic Charset Conversion): Fix typo
57048 (LC_TYPE -> LC_CTYPE).
57049
57050 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57051
57052 [BZ #5805]
57053 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57054 (scalbnf): Likewise.
57055 (scalbnl): Likewise.
57056 (scalbln): Likewise.
57057 (scalblnf): Likewise.
57058 (scalblnl): Likewise.
57059 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57060 (vwarnx): Likewise.
57061 (verr): Likewise.
57062 (verrx): Likewise.
57063 * manual/filesys.texi (telldir): Use braces around return type.
57064 * manual/llio.texi (mmap): Add space after comma.
57065 (mmap64): Likewise.
57066 * manual/math.texi (jn): Use @var{} on parameter names.
57067 (jnf): Likewise.
57068 (jnl): Likewise.
57069 (yn): Likewise.
57070 (ynf): Likewise.
57071 (ynl): Likewise.
57072 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57073 line.
57074 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57075 "...".
57076 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57077 (sched_get_priority_max): Likewise.
57078 * manual/signal.texi (sigvec): Add space after comma.
57079 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57080 names.
57081 (if_indextoname): Likewise.
57082 (if_freenameindex): Likewise.
57083 (sendto): Use ',' instead of '.' in prototype.
57084 * manual/startup.texi (syscall): Use @dots{} instead of literal
57085 "...".
57086 * manual/stdio.texi (__fpending): Separate initial words of
57087 paragraph from @deftypefun line.
57088 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57089 "...".
57090 (vsyslog): Use @var{} on parameter names.
57091 * manual/terminal.texi (stty): Use @var{} on parameter names.
57092 * manual/users.texi (getutmp): Use @var{} on parameter names.
57093 (getutmpx): Likewise.
57094
57095 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57096
57097 [BZ #6884]
57098 * manual/stdio.texi (fopen): Fix typos in description of
57099 ",ccs=STRING".
57100
57101 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57102
57103 [BZ #4026]
57104 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57105 get clock_id definition.
57106
57107 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57108
57109 [BZ #4822]
57110 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57111 (madvise): Cast every argument to void on its own.
57112
57113 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57114
57115 [BZ #9902]
57116 * manual/startup.texi (Exit Status): Fix typo.
57117
57118 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57119
57120 [BZ #10140]
57121 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57122 * manual/examples/argp-ex2.c: Likewise.
57123 * manual/examples/argp-ex3.c: Likewise.
57124
57125 2012-02-16 Richard Henderson <rth@redhat.com>
57126
57127 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57128 * sysdeps/s390/s390-32/initfini.c: Remove.
57129 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57130 * sysdeps/s390/s390-64/initfini.c: Remove.
57131
57132 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57133
57134 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57135 compiler output for sysdeps/generic/initfini.c.
57136 * sysdeps/sh/elf/initfini.c: Remove file.
57137
57138 2012-02-16 David S. Miller <davem@davemloft.net>
57139
57140 [BZ #11494]
57141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57142
57143 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57144 * sysdeps/sparc/crti.S: New file.
57145 * sysdeps/sparc/crtn.S: New file.
57146 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57147 * sysdeps/sparc/sparc64/Makefile: Likewise.
57148
57149 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57150
57151 [BZ #3335]
57152 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57153
57154 2012-02-15 Roland McGrath <roland@hack.frob.com>
57155
57156 [BZ #4822]
57157 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57158
57159 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57160 (write, read, close): Likewise.
57161 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57162
57163 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57164
57165 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57166 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57167 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57168 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57169 <bits/signalfd.h>.
57170 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57172 bits/signalfd.h.
57173
57174 2012-02-14 Marek Polacek <polacek@redhat.com>
57175
57176 * sysdeps/x86_64/crti.S: New file.
57177 * sysdeps/x86_64/crtn.S: New file.
57178 * sysdeps/x86_64/elf/initfini.c: Remove file.
57179
57180 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57181
57182 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57183 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57184 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57185 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57186 <bits/inotify.h>.
57187 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57189 bits/inotify.h.
57190
57191 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57192
57193 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57194 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57195 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57196 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57197 <bits/eventfd.h>.
57198 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57200 bits/eventfd.h.
57201
57202 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57203
57204 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57205 __feraiseexcept instead of feraiseexcept.
57206
57207 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57208 nanosleep invocations.
57209 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57210 strings, and add error checking for a nanosleep invocations.
57211
57212 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57213
57214 Replace FSF snail mail address with URLs, as per GNU coding standards.
57215 Most of the snail mail addresses were wrong anyway, and omitting
57216 them makes the source code easier to maintain. Almost all of the
57217 changes are to license notices and to locale LC_IDENTIFICATION
57218 addresses, except for this one:
57219 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57220 not its snail mail address.
57221
57222 2012-02-09 Richard Henderson <rth@twiddle.net>
57223
57224 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57225 of kernel-features.h.
57226
57227 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57228
57229 2012-02-08 Marek Polacek <polacek@redhat.com>
57230
57231 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57232 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57233 * sysdeps/gnu/_G_config.h: Likewise.
57234 * sysdeps/generic/_G_config.h: Likewise.
57235
57236 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57237
57238 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57239 tests.
57240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57241
57242 * sysdeps/powerpc/powerpc32/crti.S: New file.
57243 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57244 * sysdeps/powerpc/powerpc64/crti.S: New file.
57245 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57246
57247 * Makeconfig (have-initfini): Don't set.
57248 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57249 * configure.in (nopic_initfini): Don't substitute.
57250 * config.h.in (HAVE_INITFINI): Don't #undef.
57251 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57252 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57253
57254 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57255
57256 Support crti.S and crtn.S provided directly by architectures.
57257 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57258 [crti.S in sysdirs] (omit-deps): Likewise.
57259 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57260 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57261 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57262 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57263 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57264 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57265 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57266 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57267 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57268 compiler output for sysdeps/generic/initfini.c.
57269 * sysdeps/i386/elf/Makefile: Remove file.
57270 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57271
57272 2012-02-07 Marek Polacek <polacek@redhat.com>
57273
57274 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57275 * sysdeps/gnu/_G_config.h: Likewise.
57276 * sysdeps/mach/hurd/_G_config.h: Likewise.
57277
57278 2012-02-07 Marek Polacek <polacek@redhat.com>
57279
57280 * math/Makefile (tests): Add tst-CMPLX2.
57281 * math/tst-CMPLX2.c: New file.
57282
57283 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57284
57285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57286
57287 * math/libm-test.inc (jn_test): Add missing L suffix.
57288
57289 2012-02-06 Marek Polacek <polacek@redhat.com>
57290
57291 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57292 * sysdeps/i386/fpu/e_powf.S: Likewise.
57293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57294 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57295 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57296 * sysdeps/i386/fpu/e_pow.S: Likewise.
57297 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57298 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57299 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57300 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57301 * sysdeps/i386/fpu/e_log2.S: Likewise.
57302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57303 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57304 * sysdeps/i386/fpu/e_powl.S: Likewise.
57305 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57306 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57307 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57308 * sysdeps/i386/fpu/e_logl.S: Likewise.
57309 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57310 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57311 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57312 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57313 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57314 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57315 * sysdeps/i386/fpu/e_log.S: Likewise.
57316 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57317 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57318 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57319 * sysdeps/i386/fpu/e_logf.S: Likewise.
57320 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57321 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57322 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57323 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57324 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57325 * sysdeps/i386/fpu/e_log10.S: Likewise.
57326 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57327 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57328 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57329 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57330 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57331 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57332 * sysdeps/i386/asm-syntax.h: Likewise.
57333 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57334 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57335 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57336 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57337 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57338 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57339 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57340 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57341 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57342 * sysdeps/powerpc/sysdep.h: Likewise.
57343 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57344 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57345
57346 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57347
57348 [BZ #411]
57349 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57350
57351 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57352
57353 * sysdeps/i386/sysdep.h: Include <features.h>.
57354 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57355 version.
57356
57357 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57358
57359 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57360 Define.
57361 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57362 LOAD_PIC_REG_STR.
57363
57364 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57365
57366 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57367 (SETUP_PIC_REG): Use GET_PC_THUNK.
57368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57369 macro.
57370
57371 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57372
57373 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57374 for non-PIC compilation.
57375 (SETUP_PIC_REG): Add .p2align directive.
57376 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57377 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57378 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57379 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57380 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57381 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57383 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57390 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57391 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57392 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57393 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57394 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57395 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57397 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57398 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57399 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57400 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57402 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57404 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57405 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57406 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57407 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57408 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57409 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57410 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57411 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57412 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57413 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57414 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57415 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57416 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57417
57418 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57419
57420 * math/tst-CMPLX.c: Include <stdio.h>.
57421
57422 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57423
57424 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57425 float.
57426 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57427 * sysdeps/sparc/bits/mathdef.h: Likewise.
57428
57429 2012-01-31 Marek Polacek <polacek@redhat.com>
57430
57431 * libio/libio.h: Don't define _PARAMS.
57432 * locale/programs/config.h: Don't define PARAMS.
57433 * stdlib/strtol_l.c: Likewise.
57434 (__strtol_l): Remove PARAMS from the prototype.
57435
57436 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57437
57438 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57439 names. Just use the correct names. Remove unnecessary wrapper
57440 functions.
57441 * malloc/arena.c: Likewise.
57442 * malloc/hooks.c: Likewise.
57443
57444 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57445 ARENA_TEST says not to. Simplify test for creation of a new arena.
57446 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57447
57448 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57449
57450 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57451 into tail calls.
57452 (update_get_addr): New function.
57453 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57454 GET_ADDR_MODULE parameter.
57455
57456 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57457
57458 * crypt/cert.c: Remove __STDC__ conditionals.
57459 * crypt/crypt-entry.c: Likewise.
57460 * crypt/crypt_util.c: Likewise.
57461 * libio/filedoalloc.c: Likewise.
57462 * libio/fileops.c: Likewise.
57463 * libio/genops.c: Likewise.
57464 * libio/iofclose.c: Likewise.
57465 * libio/iofdopen.c: Likewise.
57466 * libio/iofopen.c: Likewise.
57467 * libio/iofopen64.c: Likewise.
57468 * libio/iogetdelim.c: Likewise.
57469 * libio/iopopen.c: Likewise.
57470 * libio/obprintf.c: Likewise.
57471 * libio/oldfileops.c: Likewise.
57472 * libio/oldiofclose.c: Likewise.
57473 * libio/oldiofdopen.c: Likewise.
57474 * libio/oldiofopen.c: Likewise.
57475 * libio/oldiopopen.c: Likewise.
57476 * libio/wfiledoalloc.c: Likewise.
57477 * libio/wgenops.c: Likewise.
57478 * locale/programs/xmalloc.c: Likewise.
57479 * misc/syslog.c: Likewise.
57480 * stdio-common/xbug.c: Likewise.
57481 * string/memchr.c: Likewise.
57482 * string/memcmp.c: Likewise.
57483 * string/memrchr.c: Likewise.
57484 * string/rawmemchr.c: Likewise.
57485 * sysdeps/posix/getcwd.c: Likewise.
57486 * time/strftime_l.c: Likewise.
57487
57488 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57489
57490 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57491 * config.make.in (config-cflags-sse2avx): Define.
57492 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57493 Fix typo.
57494
57495 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57496
57497 * scripts/config.guess: Update from upstream config git repository.
57498 * scripts/config.sub: Likewise.
57499
57500 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57501
57502 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57503 (EM_NUM): Update.
57504 (R_TILEPRO_*, R_TILEGX_*): New macros.
57505
57506 * scripts/firstversions.awk: Fix bug in version range handling.
57507
57508 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57509
57510 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57511
57512 * include/sys/epoll.h: New file.
57513 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57514 libc_hidden_def.
57515
57516 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57517
57518 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57519 Avoid unnecessary __WORDSIZE == 64 test.
57520 (fmaxf): Use VEX format if possible.
57521 (fmax): Likewise.
57522 (fminf): Likewise.
57523 (fmin): Likewise.
57524
57525 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57526 * math/math_private.h: Remove libc_fegetround* and
57527 libc_fesetround*.
57528 * sysdeps/i386/configure.in: Check for -msse2avx.
57529 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57530 also if SSE2AVX is defined.
57531 Remove libc_fegetround* and libc_fesetround*.
57532 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57533 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57534 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57535 of HAS_YMM_USABLE.
57536 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57537 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57538 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57539 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57540 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57541
57542 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57543
57544 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57545
57546 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57547 size is not set.
57548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57549
57550 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57551
57552 [BZ #13618]
57553 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57554 relocation.
57555 * Makeconfig (libm): Define.
57556 * elf/Makefile: Add rules to build and run tst-relsort1.
57557 * elf/tst-relsort1.c: New file.
57558 * elf/tst-relsort1mod1.c: New file.
57559 * elf/tst-relsort1mod2.c: New file.
57560
57561 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57562
57563 * math/s_ldexp.c: Remove __STDC__ conditionals.
57564 * math/s_ldexpf.c: Likewise.
57565 * math/s_ldexpl.c: Likewise.
57566 * math/s_nextafter.c: Likewise.
57567 * math/s_nexttowardf.c: Likewise.
57568 * math/s_significand.c: Likewise.
57569 * math/s_significandf.c: Likewise.
57570 * math/s_significandl.c: Likewise.
57571 * math/w_jnl.c: Likewise.
57572 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57573 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57574 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57575 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57576 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57578 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57579 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57580 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57581 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57582 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57583 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57587 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57588 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57589 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57591 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57592 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57593 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57594 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57596 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57597 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57598 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57599 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57600 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57601 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57602 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57603 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57604 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57605 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57606 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57608 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57609 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57610 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57611 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57612 * sysdeps/ieee754/k_standard.c: Likewise.
57613 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57614 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57615 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57616 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57617 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57618 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57619 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57620 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57621 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57622 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57623 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57625 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57626 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57627 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57629 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57630 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57632 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57636 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57637 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57638 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57642 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57643 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57644 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57645 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57646 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57648 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57649 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57650 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57651 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57652 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57653 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57655 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57656 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57657 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57660 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57661 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57662 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57663 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57666 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57667 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57669 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57671 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57673 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57674 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57675 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57676 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57677 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57678 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57679 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57680 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57681 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57683 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57684 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57685 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57688 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57689 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57690 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57691 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57692 * sysdeps/ieee754/s_matherr.c: Likewise.
57693 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57694 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57697
57698 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57699
57700 * crypt/md5.h: Remove __STDC__ conditionals.
57701 * libio/libioP.h: Likewise.
57702 * locale/programs/config.h: Likewise.
57703 * sysdeps/generic/sysdep.h: Likewise.
57704 * sysdeps/i386/asm-syntax.h: Likewise.
57705 * sysdeps/s390/asm-syntax.h: Likewise.
57706 * sysdeps/unix/sysdep.h: Likewise.
57707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57709
57710 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57711
57712 * libio/libio.h: Remove __STDC__ conditionals.
57713 * malloc/obstack.h: Likewise.
57714 * math/complex.h: Likewise.
57715 * math/math.h: Likewise.
57716 * sysdeps/generic/_G_config.h: Likewise.
57717 * sysdeps/gnu/_G_config.h: Likewise.
57718 * sysdeps/mach/hurd/_G_config.h: Likewise.
57719 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57720 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57721 * sysdeps/sparc/bits/mathdef.h: Likewise.
57722
57723 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57724
57725 [BZ #13583]
57726 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57727 Clean up HAS_* macros.
57728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57729 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57730 possible.
57731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57732 HAS_AVX.
57733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57738
57739 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57740
57741 * elf/tst-unique3.cc (gets): Remove declaration.
57742 * elf/tst-unique3lib.cc (gets): Likewise.
57743 * elf/tst-unique3lib2.cc (gets): Likewise.
57744 * elf/tst-unique4.cc (gets): Likewise.
57745
57746 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57747
57748 * include/stdio.h: Add C++ protection. Add gets declarations and
57749 definitions.
57750 * debug/tst-chk1.c: Don't declare gets here.
57751 * stdio-common/tst-gets.c: Likewise.
57752
57753 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57754
57755 * posix/glob: Remove directory.
57756
57757 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57758
57759 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57760
57761 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57762
57763 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57764 of the non-standard EPFNOSUPPORT.
57765
57766 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57767
57768 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57769 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57770 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57771
57772 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57773
57774 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57775
57776 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57777
57778 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57779 transient errors.
57780 * nscd/grpcache.c (cache_addgr): Likewise.
57781 * nscd/hstcache.c (cache_addhst): Likewise.
57782 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57783 * nscd/pwdcache.c (cache_addpw): Likewise.
57784 * nscd/servicescache.c (cache_addserv): Likewise.
57785
57786 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57787
57788 * malloc/malloc.c: Various cleanups.
57789 * malloc/hooks.c: Likewise.
57790
57791 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57792 * stdlib/bug-fmtmsg1.c: New file.
57793
57794 * stdlib/fmtmsg.c (init): Add missing unlock.
57795 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57796
57797 2012-01-12 Marek Polacek <polacek@redhat.com>
57798
57799 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57800 and _GNU_SOURCE.
57801
57802 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57803
57804 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57805 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57806 macro to ensure uniqueness of label name.
57807 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57808 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57809
57810 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57811
57812 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57813
57814 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57815 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57816 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57818
57819 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57820
57821 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57822
57823 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57824 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57825 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57826
57827 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57828
57829 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57830 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57833
57834 * math/bits/math-finite.h: Add ldexp support.
57835
57836 2012-01-10 Marek Polacek <polacek@redhat.com>
57837
57838 * locale/programs/localedef.h (show_archive_content): Add noreturn
57839 attribute.
57840
57841 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57842
57843 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57844
57845 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57846
57847 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57848
57849 * io/Makefile (headers): Add bits/poll2.h.
57850
57851 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57852
57853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57854 typo #include statement.
57855
57856 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57857
57858 * include/sys/cdefs.h: Define __attribute_alloc_size.
57859 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57860 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57861 * elf/pldd.c: Likewise.
57862 * iconv/iconv_charmap.c: Likewise.
57863 * iconv/iconvconfig.c: Likewise.
57864 * iconv/strtab.c: Likewise.
57865 * locale/programs/locale.c: Likewise.
57866 * locale/programs/localedef.h: Likewise.
57867 * locale/programs/simple-hash.c: Likewise.
57868 * nscd/nscd.h: Likewise.
57869 * nss/makedb.c: Likewise.
57870 * sysdeps/generic/ldconfig.h: Likewise.
57871 * locale/programs/localedef.c: Remove xmalloc prototype.
57872 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57873
57874 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57875
57876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57877 appropriate.
57878
57879 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57880
57881 * math/Makefile (tests): Add tst-CMPLX.
57882 * math/tst-CMPLX.c: New file.
57883
57884 * math/complex.h (CMPLXL): Fix typo.
57885
57886 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57887 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57888 GLIBC_2.16.
57889 * debug/tst-chk1.c: Add poll and ppoll tests.
57890 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57891 * include/sys/poll.h: Add hidden proto for ppoll.
57892 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57893 * sysdeps/mach/hurd/ppoll.c: Likewise.
57894 * io/ppoll.c: Likewise.
57895 * debug/poll_chk.c: New file.
57896 * debug/ppoll_chk.c: New file.
57897 * include/bits/poll2.h: New file.
57898 * io/bits/poll2.h: New file.
57899
57900 [BZ #1350]
57901 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57902
57903 * configure.in: static is always set to yes. Remove.
57904 * config.make.in: Don't set build-static.
57905 * Makeconfig: Remove use of build-static.
57906 * dlfcn/Makefile: Likewise.
57907 * elf/Makefile: Likewise.
57908 * math/Makefile: Likewise.
57909 * misc/Makefile: Likewise.
57910 * nptl/Makefile: Likewise.
57911 * sysdeps/mach/hurd/Makefile: Likewise.
57912
57913 * configure.in: PWD_P is not used anymore.
57914 * config.make.in: Remove PWD_P entry.
57915
57916 * configure.in: Remove last remnants of RANLIB.
57917 No need to check for signed size_t anymore.
57918 Don't set libc_commonpagesize and libc_relro_required here for Alpha
57919 and IA-64.
57920 Remove __builtin_expect test because we require at least gcc 3.4.
57921 * aclocal.m4: Likewise.
57922
57923 * wcsmbs/mbrtoc16.c: Implement using towc function.
57924 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57925 * wcsmbs/wcsmbsload.c: Likewise.
57926 * iconv/gconv_simple.c: Likewise.
57927 * iconv/gconv_int.h: Likewise.
57928 * iconv/gconv_builtin.h: Likewise.
57929 * iconv/iconv_prog.c: Remove CHAR16 handling.
57930
57931 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57932
57933 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57934
57935 * configure.in: Remove --with-elf and --enable-bounded options.
57936 Dont set base_machine for ia64. More non-ELF conditions removed.
57937 Remove testing and setting of leading underscore information.
57938 * config.make.in (build-bounded): Set to no.
57939 * config.h.in: Remove NO_UNDERSCORES entry.
57940 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
57941 them.
57942 * csu/start.c: Remove !NO_UNDERSCORE code.
57943 * locale/localeinfo.h: Likewise.
57944 * sysdeps/generic/machine-gmon.h: Likewise.
57945 * sysdeps/generic/sysdep.h: Likewise.
57946 * sysdeps/i386/sysdep.h: Likewise.
57947 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57948 * sysdeps/mach/sysdep.h: Likewise.
57949 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57950 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57951 * sysdeps/sh/sysdep.h: Likewise.
57952 * sysdeps/sparc/sparc32/alloca.S: Likewise.
57953 * sysdeps/unix/i386/sysdep.S: Likewise.
57954 * sysdeps/unix/sparc/start.c: Likewise.
57955 * sysdeps/unix/sparc/sysdep.S: Likewise.
57956 * sysdeps/unix/sparc/sysdep.h: Likewise.
57957 * sysdeps/unix/start.c: Likewise.
57958 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57959 * sysdeps/x86_64/sysdep.h: Likewise.
57960
57961 2012-01-07 Ulrich Drepper <drepper@gmail.com>
57962
57963 [BZ #13553]
57964 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57965 for non-gcc.
57966 * argp/argp-fmtstream.h: Use const instead __const.
57967 * argp/argp.h: Likewise.
57968 * assert/assert.h: Likewise.
57969 * bits/fenv.h: Likewise.
57970 * bits/sched.h: Likewise.
57971 * bits/sigset.h: Likewise.
57972 * bits/sigthread.h: Likewise.
57973 * catgets/nl_types.h: Likewise.
57974 * conform/data/pthread.h-data: Likewise.
57975 * crypt/crypt-private.h: Likewise.
57976 * crypt/crypt.h: Likewise.
57977 * crypt/crypt_util.c: Likewise.
57978 * ctype/ctype.h: Likewise.
57979 * debug/execinfo.h: Likewise.
57980 * debug/mbsnrtowcs_chk.c: Likewise.
57981 * debug/mbsrtowcs_chk.c: Likewise.
57982 * debug/wcsnrtombs_chk.c: Likewise.
57983 * debug/wcsrtombs_chk.c: Likewise.
57984 * debug/wcstombs_chk.c: Likewise.
57985 * dirent/dirent.h: Likewise.
57986 * dlfcn/dlfcn.h: Likewise.
57987 * elf/neededtest4.c: Likewise.
57988 * grp/grp.h: Likewise.
57989 * gshadow/gshadow.h: Likewise.
57990 * iconv/gconv.h: Likewise.
57991 * iconv/gconv_int.h: Likewise.
57992 * iconv/gconv_simple.c: Likewise.
57993 * iconv/iconv.h: Likewise.
57994 * iconv/loop.c: Likewise.
57995 * iconv/skeleton.c: Likewise.
57996 * include/aio.h: Likewise.
57997 * include/aliases.h: Likewise.
57998 * include/argz.h: Likewise.
57999 * include/arpa/inet.h: Likewise.
58000 * include/assert.h: Likewise.
58001 * include/dirent.h: Likewise.
58002 * include/dlfcn.h: Likewise.
58003 * include/execinfo.h: Likewise.
58004 * include/fcntl.h: Likewise.
58005 * include/fenv.h: Likewise.
58006 * include/glob.h: Likewise.
58007 * include/grp.h: Likewise.
58008 * include/libintl.h: Likewise.
58009 * include/mntent.h: Likewise.
58010 * include/netdb.h: Likewise.
58011 * include/pwd.h: Likewise.
58012 * include/rpc/netdb.h: Likewise.
58013 * include/sched.h: Likewise.
58014 * include/search.h: Likewise.
58015 * include/shadow.h: Likewise.
58016 * include/signal.h: Likewise.
58017 * include/stdio.h: Likewise.
58018 * include/stdlib.h: Likewise.
58019 * include/string.h: Likewise.
58020 * include/sys/socket.h: Likewise.
58021 * include/sys/stat.h: Likewise.
58022 * include/sys/statfs.h: Likewise.
58023 * include/sys/statvfs.h: Likewise.
58024 * include/sys/syslog.h: Likewise.
58025 * include/sys/time.h: Likewise.
58026 * include/sys/uio.h: Likewise.
58027 * include/time.h: Likewise.
58028 * include/unistd.h: Likewise.
58029 * include/utmp.h: Likewise.
58030 * include/wchar.h: Likewise.
58031 * include/wctype.h: Likewise.
58032 * inet/aliases.h: Likewise.
58033 * inet/arpa/inet.h: Likewise.
58034 * inet/netinet/ether.h: Likewise.
58035 * inet/netinet/in.h: Likewise.
58036 * intl/libintl.h: Likewise.
58037 * io/bits/fcntl2.h: Likewise.
58038 * io/fcntl.h: Likewise.
58039 * io/ftw.h: Likewise.
58040 * io/sys/poll.h: Likewise.
58041 * io/sys/stat.h: Likewise.
58042 * io/sys/statfs.h: Likewise.
58043 * io/sys/statvfs.h: Likewise.
58044 * io/utime.h: Likewise.
58045 * libio/bits/stdio.h: Likewise.
58046 * libio/bits/stdio2.h: Likewise.
58047 * libio/libio.h: Likewise.
58048 * libio/libioP.h: Likewise.
58049 * libio/stdio.h: Likewise.
58050 * locale/lc-ctype.c: Likewise.
58051 * locale/locale.h: Likewise.
58052 * login/utmp.h: Likewise.
58053 * malloc/arena.c: Likewise.
58054 * malloc/malloc.c: Likewise.
58055 * malloc/malloc.h: Likewise.
58056 * malloc/mcheck.c: Likewise.
58057 * malloc/mtrace.c: Likewise.
58058 * math/bits/mathcalls.h: Likewise.
58059 * math/fenv.h: Likewise.
58060 * math/math_private.h: Likewise.
58061 * misc/bits/error.h: Likewise.
58062 * misc/bits/syslog.h: Likewise.
58063 * misc/err.h: Likewise.
58064 * misc/error.h: Likewise.
58065 * misc/fstab.h: Likewise.
58066 * misc/mntent.h: Likewise.
58067 * misc/regexp.h: Likewise.
58068 * misc/search.h: Likewise.
58069 * misc/sgtty.h: Likewise.
58070 * misc/sys/mman.h: Likewise.
58071 * misc/sys/syslog.h: Likewise.
58072 * misc/sys/uio.h: Likewise.
58073 * misc/sys/xattr.h: Likewise.
58074 * misc/ttyent.h: Likewise.
58075 * nis/rpcsvc/ypclnt.h: Likewise.
58076 * nss/nss.h: Likewise.
58077 * posix/bits/unistd.h: Likewise.
58078 * posix/fnmatch.h: Likewise.
58079 * posix/glob.h: Likewise.
58080 * posix/sched.h: Likewise.
58081 * posix/spawn.h: Likewise.
58082 * posix/sys/wait.h: Likewise.
58083 * posix/unistd.h: Likewise.
58084 * posix/wordexp.h: Likewise.
58085 * pwd/pwd.h: Likewise.
58086 * resolv/netdb.h: Likewise.
58087 * resource/sys/resource.h: Likewise.
58088 * rt/aio.h: Likewise.
58089 * rt/bits/mqueue2.h: Likewise.
58090 * rt/mqueue.h: Likewise.
58091 * shadow/shadow.h: Likewise.
58092 * signal/signal.h: Likewise.
58093 * socket/send.c: Likewise.
58094 * socket/sendto.c: Likewise.
58095 * socket/sys/socket.h: Likewise.
58096 * stdio-common/printf.h: Likewise.
58097 * stdlib/bits/stdlib.h: Likewise.
58098 * stdlib/fmtmsg.h: Likewise.
58099 * stdlib/monetary.h: Likewise.
58100 * stdlib/stdlib.h: Likewise.
58101 * stdlib/ucontext.h: Likewise.
58102 * streams/stropts.h: Likewise.
58103 * string/argz.h: Likewise.
58104 * string/bits/string2.h: Likewise.
58105 * string/string.h: Likewise.
58106 * string/strings.h: Likewise.
58107 * sunrpc/rpc/auth.h: Likewise.
58108 * sunrpc/rpc/auth_des.h: Likewise.
58109 * sunrpc/rpc/clnt.h: Likewise.
58110 * sunrpc/rpc/netdb.h: Likewise.
58111 * sunrpc/rpc/pmap_clnt.h: Likewise.
58112 * sunrpc/rpc/xdr.h: Likewise.
58113 * sysdeps/generic/inttypes.h: Likewise.
58114 * sysdeps/generic/net/if.h: Likewise.
58115 * sysdeps/generic/sys/swap.h: Likewise.
58116 * sysdeps/gnu/net/if.h: Likewise.
58117 * sysdeps/gnu/utmpx.h: Likewise.
58118 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58119 * sysdeps/i386/i486/bits/string.h: Likewise.
58120 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58121 * sysdeps/s390/bits/string.h: Likewise.
58122 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58123 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58124 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58125 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58126 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58127 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58128 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58129 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58130 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58131 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58132 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58133 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58134 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58135 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58136 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58137 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58138 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58140 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58143 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58144 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58145 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58146 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58147 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58148 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58149 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58150 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58151 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58152 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58153 * sysvipc/sys/ipc.h: Likewise.
58154 * sysvipc/sys/msg.h: Likewise.
58155 * sysvipc/sys/sem.h: Likewise.
58156 * sysvipc/sys/shm.h: Likewise.
58157 * termios/termios.h: Likewise.
58158 * time/sys/time.h: Likewise.
58159 * time/time.h: Likewise.
58160 * wcsmbs/bits/wchar2.h: Likewise.
58161 * wcsmbs/uchar.h: Likewise.
58162 * wcsmbs/wchar.h: Likewise.
58163 * wctype/wctype.h: Likewise.
58164
58165 [BZ #13551]
58166 * Makeconfig: Remove all but ELF support including AIX support.
58167 * Makerules: Likewise.
58168 * config.h.in: Likewise.
58169 * config.make.in: Likewise.
58170 * configure: Likewise.
58171 * configure.in: Likewise.
58172 * csu/Makefile: Likewise.
58173 * csu/version.c: Likewise.
58174 * debug/Makefile: Likewise.
58175 * dlfcn/Makefile: Likewise.
58176 * elf/Makefile: Likewise.
58177 * extra-lib.mk: Likewise.
58178 * iconv/Makefile: Likewise.
58179 * include/libc-symbols.h: Likewise.
58180 * include/shlib-compat.h: Likewise.
58181 * resolv/Makefile: Likewise.
58182 * resolv/res_libc.c: Likewise.
58183 * rt/Makefile: Likewise.
58184 * sysdeps/i386/asm-syntax.h: Likewise.
58185 * sysdeps/i386/sysdep.h: Likewise.
58186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58187 * sysdeps/mach/sysdep.h: Likewise.
58188 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58189 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58190 * sysdeps/s390/asm-syntax.h: Likewise.
58191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58193 * sysdeps/sh/sysdep.h: Likewise.
58194 * sysdeps/unix/sparc/sysdep.h: Likewise.
58195 * sysdeps/wordsize-32/divdi3.c: Likewise.
58196 * sysdeps/x86_64/sysdep.h: Likewise.
58197
58198 * argp/Versions: Remove _argp_unlock_xxx.
58199
58200 [BZ #13559]
58201 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58202 * abilist/libBrokenLocale.abilist: Likewise.
58203 * abilist/libanl.abilist: Likewise.
58204 * abilist/libc.abilist: Likewise.
58205 * abilist/libcrypt.abilist: Likewise.
58206 * abilist/libdl.abilist: Likewise.
58207 * abilist/libm.abilist: Likewise.
58208 * abilist/libnsl.abilist: Likewise.
58209 * abilist/libpthread.abilist: Likewise.
58210 * abilist/libresolv.abilist: Likewise.
58211 * abilist/librt.abilist: Likewise.
58212 * abilist/libthread_db.abilist: Likewise.
58213 * abilist/libutil.abilist: Likewise.
58214 * abilist/libnss_db.abilist: New file.
58215
58216 * scripts/abilist.awk: Add support for indirect functions.
58217
58218 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58219
58220 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58221
58222 * shlib-versions: Remove entries for ports architectures.
58223
58224 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58225 files in ports.
58226 * elf/stackguard-macros.h: Remove support for IA-64.
58227 * elf/tst-auditmod1.c: Likewise.
58228 * sysdeps/generic/ldsodefs.h: Likewise.
58229
58230 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58231 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58232 configure files.
58233
58234 [BZ #13552]
58235 * configure.in: Remove --enable-omitfp support.
58236 * FAQ.in: Adjust.
58237 * config.make.in: Likewise.
58238 * Makeconfig: Likewise.
58239 * manual/install.texi: Likewise.
58240
58241 In case anyone cares, the IA-64 architecture could move to ports.
58242 * sysdeps/ia64/*: Removed.
58243 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58244 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58245
58246 [BZ #13555]
58247 * configure.in: Remove entries for unsupported architectures.
58248
58249 [BZ #13533]
58250 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58251 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58252 routines.
58253 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58254 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58255 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58256 fall back to using wcrtomb.
58257 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58258 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58259 renaming.
58260 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58261 * wcsmbs/tst-c16c32-1.c: New file.
58262
58263 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58264 local variable.
58265
58266 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58267
58268 * elf/tst-unique3.cc: Add explicit declaration of gets.
58269 * elf/tst-unique3lib.cc: Likewise.
58270 * elf/tst-unique3lib2.cc: Likewise.
58271 * elf/tst-unique4.cc: Likewise.
58272
58273 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58274
58275 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58276
58277 [BZ #13566]
58278 * assert/assert.h (static_assert): Don't define for C++.
58279 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58280 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58281
58282 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58283
58284 * iconv/loop.c (single loop): Fix assertion in storing of
58285 remaining bytes.
58286
58287 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58288
58289 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58290
58291 * posix/getconf.c: Update copyright year.
58292 * nss/getent.c: Likewise.
58293 * nss/makedb.c: Likewise.
58294 * iconv/iconvconfig.c: Likewise.
58295 * iconv/iconv_prog.c: Likewise.
58296 * elf/ldconfig.c: Likewise.
58297 * elf/pldd.c: Likewise.
58298 * elf/sotruss.ksh: Likewise.
58299 * catgets/gencat.c: Likewise.
58300 * csu/version.c: Likewise.
58301 * elf/ldd.bash.in: Likewise.
58302 * elf/sprof.c (print_version): Likewise.
58303 * locale/programs/locale.c: Likewise.
58304 * locale/programs/localedef.c: Likewise.
58305 * login/programs/pt_chown.c: Likewise.
58306 * nscd/nscd.c (print_version): Likewise.
58307 * debug/xtrace.sh: Likewise.
58308 * malloc/memusage.sh: Likewise.
58309 * malloc/mtrace.pl: Likewise.
58310 * debug/catchsegv.sh: Likewise.
58311
58312 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58313
58314 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58315 pure attribute.
58316
58317 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58318
58319 [BZ #13533]
58320 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58321 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58322 transformations.
58323 * iconv/gconv_int.h: Likewise.
58324 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58325 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58326 from libc for GLIBC_2.16.
58327 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58328 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58329 * wcsmbs/uchar.h: Really define mbstate_t.
58330 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58331 * wcsmbs/c16rtomb.c: New file.
58332 * wcsmbs/mbrtoc16.c: New file.
58333 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58334 for C/POSIX locale.
58335 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58336 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58337
58338 * wcsmbs/wchar.h: Add missing __restrict.
58339
58340 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58341
58342 [BZ #13532]
58343 * time/Makefile (routines): Add timespec_get.
58344 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58345 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58346 timespec for ISO C11.
58347 * time/timespec_get.c: New file.
58348 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58349 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58350
58351 [BZ #13531]
58352 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58353 * stdlib/stdlib.h: Declare aligned_alloc.
58354 * Versions.def: Add GLIBC_2.16 for libc.
58355 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58356
58357 [BZ 13527]
58358 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58359 ISO C11.
58360
58361 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58362 code.
58363
58364 [BZ #13528]
58365 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58366
58367 [BZ #13529]
58368 * assert/assert.h (static_assert): Define.
58369
58370 * version.h: Update for 2.16 development version.
58371
58372 [BZ #13526]
58373 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58374 _ISOC11_SOURCE.
58375
58376 * version.h (RELEASE): Bump for 2.15 release.
58377 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58378
58379 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58380 Patch by Marek Polacek <mpolacek@redhat.com>.
58381
58382 * bits/byteswap.h: Protect long long constants with __extension__.
58383 * sysdeps/i386/bits/byteswap.h: Likewise.
58384 * sysdeps/ia64/bits/byteswap.h: Likewise.
58385 * sysdeps/s390/bits/byteswap.h: Likewise.
58386 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58387
58388 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58389
58390 [BZ #13540]
58391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58392 destination buffer.
58393 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58394
58395 2011-12-23 Marek Polacek <polacek@redhat.com>
58396
58397 * elf/dl-addr.c (determine_info): Add inline keyword.
58398 * elf/tst-auditmod4b.c (check_avx): Likewise.
58399 * elf/tst-auditmod6b.c (check_avx): Likewise.
58400 * elf/tst-auditmod6c.c (check_avx): Likewise.
58401 * elf/tst-auditmod7b.c (check_avx): Likewise.
58402
58403 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58404
58405 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58406 !__SSE_MATH__.
58407
58408 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58409
58410 [BZ #13540]
58411 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58412 processing for last bytes.
58413
58414 2011-08-06 Bruno Haible <bruno@clisp.org>
58415
58416 [BZ #13061]
58417 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58418 U+0385, not to U+1FEE.
58419
58420 [BZ #13062]
58421 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58422 entry for U+00A5 U+0301.
58423
58424 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58425
58426 [BZ #13166]
58427 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58428 buffer for the output is too small.
58429
58430 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58431 optimization.
58432
58433 [BZ #13185]
58434 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58435 SSE flags if possible.
58436
58437 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58438
58439 [BZ #13540]
58440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58441 processing for last bytes.
58442
58443 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58444
58445 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58446 (syscall-list-default-options, syscall-list-default-condition)
58447 (syscall-list-includes): Define.
58448 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58449 list of ABIs and options and #if conditions for each ABI. Do not
58450 handle common syscalls between ABIs specially.
58451 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58452 Remove.
58453 (syscall-list-variants, syscall-list-32bit-options)
58454 (syscall-list-32bit-condition, syscall-list-64bit-options)
58455 (syscall-list-64bit-condition): Define.
58456 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58457 (syscall-list-variants, syscall-list-32bit-options)
58458 (syscall-list-32bit-condition, syscall-list-64bit-options)
58459 (syscall-list-64bit-condition): Define.
58460 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58461 Remove.
58462 (syscall-list-variants, syscall-list-32bit-options)
58463 (syscall-list-32bit-condition, syscall-list-64bit-options)
58464 (syscall-list-64bit-condition): Define.
58465 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58466 Remove.
58467 (syscall-list-variants, syscall-list-32bit-options)
58468 (syscall-list-32bit-condition, syscall-list-64bit-options)
58469 (syscall-list-64bit-condition): Define.
58470
58471 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58472
58473 * locale/iso-639.def: Add brx entry.
58474
58475 [BZ #13328]
58476 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58477 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58478
58479 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58480 __feraiseexcept_renamed.
58481
58482 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58483
58484 [BZ #13538]
58485 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58486 EPOLLET with unsigned values.
58487 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58489
58490 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58491 to large cancellation.
58492 * math/s_cacoshf.c: Likewise.
58493 * math/s_cacoshl.c: Likewise.
58494
58495 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58496
58497 [BZ #13305]
58498 [BZ #12786]
58499 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58500 * math/s_cacoshf.c: Likewise.
58501 * math/s_cacoshl.c: Likewise.
58502
58503 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58504
58505 [BZ #13439]
58506 * iconv/gconv.h: Define __GCONV_SWAP.
58507 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58508 * iconvdata/utf-16.c: Likewise.
58509 * iconvdata/utf-32.c: Likewise.
58510
58511 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58512
58513 [BZ #13524]
58514 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58515 numerator after shifting it by one limb.
58516
58517 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58518
58519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58520 under [__USE_EXTERN_INLINES].
58521
58522 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58523
58524 [BZ #13446]
58525 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58526
58527 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58528
58529 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58530 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58531 optimized code.
58532 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58533 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58534 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58535 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58536 for strncasecmp/strncasecmp_l compilation.
58537 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58538 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58539
58540 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58541
58542 [BZ #13484]
58543 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58544 of __asm__.
58545
58546 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58547
58548 [BZ #13506]
58549 * time/tzfile.c (__tzfile_read): Check values from file header.
58550
58551 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58552
58553 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58554 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58555 * powerpc/powerpc32/dl-start.S: Likewise.
58556 * powerpc/powerpc32/elf/start.S: Likewise.
58557 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58558 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58559 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58560 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58561 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58562 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58563 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58564 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58565 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58566 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58567 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58568 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58569 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58570 * powerpc/powerpc32/memset.S: Likewise.
58571 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58572 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58573 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58574 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58575 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58576 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58577 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58578 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58579 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58580 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58581 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58582 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58583 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58584
58585 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58586
58587 * math/libm-test.inc: Added more nearbyint tests.
58588 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58589 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58590 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58592
58593 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58594
58595 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58596 FD_CLOEXEC.
58597
58598 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58599
58600 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58601 Add wcscpy-ssse3 wcscpy-c.
58602 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58603 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58604 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58605 * sysdeps/x86_64/wcschr.S: New file.
58606 * sysdeps/x86_64/wcsrchr.S: New file.
58607 * string/test-strcmp.c: Remove checking of wcscmp function for
58608 wrong alignments.
58609 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58610 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58611 wcsrchr-sse2 wcsrchr-c.
58612 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58613 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58614 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58615 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58616 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58617 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58618 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58619 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58620 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58621 * wcsmbc/wcschr.c (WCSCHR): New macro.
58622
58623 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58624
58625 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58626 * wcsmbs/test-wcsrchr.c: New file.
58627 * string/test-strrchr.c: Add wcsrchr support.
58628 (WIDE): New macro.
58629 * wcsmbs/test-wcscpy.c: New file.
58630 * string/test-strcpy.c: Add wcscpy support.
58631 (WIDE): New macro.
58632
58633 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58634
58635 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58636 the inner loop.
58637
58638 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58639
58640 [BZ #13472]
58641 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58642
58643 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58644
58645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58646 Minor optimizations.
58647
58648 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58649 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58650 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58651
58652 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58653
58654 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58655 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58656 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58657 for gcc to avoid warnings.
58658 * inet/Makefile (tests): Add tst-checks.
58659 * inet/tst-checks.c: New file.
58660
58661 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58662 warning.
58663
58664 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58665 __wmemcmp_sse2.
58666
58667 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58668 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58669
58670 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58671
58672 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58673
58674 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58675 problem.
58676
58677 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58678
58679 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58680
58681 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58682 conditional on GCC version.
58683 (__arch_compare_and_exchange_val_8_acq)
58684 (__arch_compare_and_exchange_val_16_acq)
58685 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58686 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58687 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58688
58689 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58690
58691 * sysdeps/sh/backtrace.c: New file.
58692
58693 2011-12-02 Andreas Schwab <schwab@redhat.com>
58694
58695 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58696 parenthesis.
58697
58698 2011-12-01 Andreas Schwab <schwab@redhat.com>
58699
58700 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58701 falling back to utime.
58702
58703 2011-11-30 Andreas Schwab <schwab@redhat.com>
58704
58705 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58706 expectations for float.
58707
58708 2011-11-29 Andreas Schwab <schwab@redhat.com>
58709
58710 * locale/weight.h (findidx): Add parameter len.
58711 * locale/weightwc.h (findidx): Likewise.
58712 * posix/fnmatch_loop.c (FCT): Adjust caller.
58713 * posix/regcomp.c (build_equiv_class): Likewise.
58714 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58715 * posix/regexec.c (check_node_accept_bytes): Likewise.
58716 * string/strcoll_l.c (STRCOLL): Likewise.
58717 * string/strxfrm_l.c (STRXFRM): Likewise.
58718
58719 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58720
58721 * Makefile.in: Remove CVSOPT handling.
58722 * configure.in: Remove use of AC_REVISION.
58723 * iconvdata/Makefile (distribute): No need to filter out CVS.
58724 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58725 handling.
58726
58727 2011-11-16 Andreas Schwab <schwab@redhat.com>
58728
58729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58730 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58731 [USE_AS_STRNCASECMP_L]: Likewise.
58732 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58733 NO_TLS_DIRECT_SEG_REFS.
58734 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58735 Fix argument offsets for non-PIC.
58736 [USE_AS_STRNCASECMP_L]: Likewise.
58737 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58738 NO_TLS_DIRECT_SEG_REFS.
58739
58740 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58741
58742 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58743 O_CLOEXEC.
58744 * locale/loadlocale.c (_nl_load_locale): Likewise.
58745
58746 2011-11-15 Andreas Schwab <schwab@redhat.com>
58747
58748 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58749 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58750 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58751 (SYSCALL_GETTIME): Set errno on error.
58752
58753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58754 count references to noai6ai_cached.
58755
58756 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58757
58758 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58759
58760 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58761 FD_CLOEXEC for /proc/self/maps.
58762
58763 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58764 FD_CLOEXEC for /proc/meminfo.
58765
58766 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58767 gai.conf.
58768
58769 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58770 FD_CLOEXEC for given file.
58771
58772 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58773
58774 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58775 FD_CLOEXEC for /etc/hosts.
58776 (_gethtent): Likewise.
58777
58778 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58779
58780 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58781 cancellation and set FD_CLOEXEC for /etc/netgroup.
58782
58783 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58784 reading /etc/publickey.
58785
58786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58787 allow cancellation when reading /etc/group.
58788
58789 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58790 cancellation.
58791 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58792
58793 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58794 when using data file.
58795
58796 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58797
58798 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58799 (write_nis_obj): Use "c" and "e" in fopen.
58800
58801 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58802
58803 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58804
58805 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58806
58807 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58808
58809 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58810 locale.alias.
58811
58812 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58813
58814 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58815
58816 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58817
58818 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58819 file parsing and set FD_CLOEXEC.
58820
58821 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58822
58823 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58824
58825 2011-11-14 Andreas Schwab <schwab@redhat.com>
58826
58827 * malloc/arena.c (arena_get2): Don't call reused_arena when
58828 _int_new_arena failed.
58829
58830 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58831
58832 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58833 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58837 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58838 to compile strcasecmp and strncasecmp.
58839 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58840 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58841
58842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58843
58844 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58845
58846 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58847 locale-defines.sym to gen-as-const-headers.
58848 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58849 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58851 to compile strcasecmp and strncasecmp.
58852 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58853 strcasecmp_l and strncasecmp_l.
58854 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58855 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58856 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58857 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58858 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58859 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58860 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58861 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58862 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58863 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58864 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58865
58866 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58867
58868 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58869 result of SYSDEP_GETTIME_CPU to retval.
58870 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58871 parameter list to macro. Remove trailing semicolon. Adjust users.
58872
58873 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58874 variable.
58875
58876 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58877 mantissa words.
58878 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58879
58880 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58881 from unused variable.
58882
58883 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58884 DWARF definitions.
58885 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58886 for assembling.
58887
58888 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58889 over namespaces.
58890
58891 * sunrpc/rpc_prot.c (rejected): Fix case value.
58892
58893 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58894 unsigned long long int to avoid warnings in shift.
58895
58896 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58897 of use of trans.
58898 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58899 variable tmp.
58900
58901 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58902 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58903 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58904
58905 * nis/nis_table.c (nis_list): Use variable of correct type for
58906 result of __follow_path call.
58907
58908 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58909
58910 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58911 of math functions ceil, trunc, floor, round, and sqrt, when
58912 avaliable on the platform.
58913 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58914 name clash.
58915 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58916 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58917 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58918
58919 2011-10-30 Marek Polacek <mpolacek@redhat.com>
58920
58921 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58922 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58923
58924 2011-11-11 Roland McGrath <roland@hack.frob.com>
58925
58926 * include/unistd.h: Fix __readlink return type.
58927 Reported by Chris Metcalf <cmetcalf@tilera.com>.
58928
58929 2011-11-11 Ulrich Drepper <drepper@gmail.com>
58930
58931 * stdlib/ucontext.h: Undo last change for makecontext.
58932
58933 2011-11-11 Andreas Schwab <schwab@redhat.com>
58934
58935 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58936
58937 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58938 * setjmp/setjmp.h: Mark functions as non-leaf.
58939 * setjmp/bits/setjmp2.h: Likewise.
58940 * stdlib/ucontext.h: Likewise.
58941
58942 2011-11-10 Andreas Schwab <schwab@redhat.com>
58943
58944 * malloc/arena.c (_int_new_arena): Don't increment narenas.
58945 (reused_arena): Don't check arena limit.
58946 (arena_get2): Atomically check arena limit.
58947
58948 2011-11-08 Ulrich Drepper <drepper@gmail.com>
58949
58950 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58951 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58952
58953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58954 instructions.
58955
58956 2011-11-07 Andreas Schwab <schwab@redhat.com>
58957
58958 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58959 handler when locking.
58960
58961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58962 Fix size of allocated buffer.
58963
58964 2011-11-04 Andreas Schwab <schwab@redhat.com>
58965
58966 [BZ #10103]
58967 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58968 declarations for long double functions.
58969 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58970
58971 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58972
58973 2011-11-03 Andreas Schwab <schwab@redhat.com>
58974
58975 * nscd/nscd.c (main): Don't start AVC thread until credentials are
58976 installed.
58977
58978 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58979 is disabled.
58980
58981 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
58982
58983 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58984
58985 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
58986
58987 * include/alloca.h (stackinfo_alloca_round): Define.
58988 (extend_alloca): Use it.
58989 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58990 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58991 here.
58992
58993 * scripts/check-local-headers.sh: Ignore libaudit.h.
58994
58995 * nscd/Makefile (extra-objs): Make recursively expanded.
58996
58997 2011-11-01 Ulrich Drepper <drepper@gmail.com>
58998
58999 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59001
59002 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59003 * posix/tst-rfc3484-2.c: Likewise.
59004 * posix/tst-rfc3484-3.c: Likewise.
59005
59006 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59007 process_vm_writev.
59008 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59009 process_vm_writev.
59010 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59011 process_vm_writev from libc using GLIBC_2.15 version.
59012
59013 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59014
59015 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59016
59017 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59018 stack usage.
59019
59020 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59021
59022 [BZ #13367]
59023 * nss/getent.c (initgroups_keys): Show error message in case no group
59024 names are given.
59025
59026 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59027 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59028 __bump_nl_timestamp.
59029 * nscd/connections (nscd_init): When host database is served open
59030 netlink socket and request notification about configuration changes.
59031 (main_loop_poll): Track netlink file descriptor and bump timestamp
59032 in case data becomes available.
59033 (main_loop_epoll): Likewise.
59034 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59035 (database_pers_head): Add extra_data fileds.
59036 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59037 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59038 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59039 Adjust caller.
59040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59041 in6ai data, call __free_in6ai.
59042 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59043 Add -DHAVE_NETLINK.
59044 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59045 interface information. Reuse previous data if netlink timestamp
59046 is not changed.
59047 (__bump_nl_timestamp): New function.
59048 (__free_in6ai): New function.
59049
59050 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59051
59052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59053 close_not_cancel_no_status here.
59054 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59055
59056 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59057
59058 [BZ #13276]
59059 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59060 return value.
59061
59062 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59063 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59064 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59065
59066 2011-07-03 Andreas Jaeger <aj@suse.de>
59067
59068 [BZ #10709]
59069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59070 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59071 * math/libm-test.inc (sin_test): Add test case.
59072
59073 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59074
59075 [BZ #13337]
59076 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59077 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59078
59079 * elf/chroot_canon.c (chroot_canon): Cleanups.
59080
59081 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59082
59083 [BZ #13335]
59084 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59085 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59086
59087 * string/test-strchr.c: Make usable for strchrnul testing.
59088 * string/test-strchrnul.c: New file.
59089 * string/Makefile (strop-tests): Add strchrnul.
59090
59091 * po/it.po: Update from translation team.
59092 * po/es.po: Likewise.
59093
59094 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59095
59096 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59097 the three constants needed as parameters. Drop the others.
59098 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59099 __m128i_strloadu_tolower.
59100 Create and initialize variable zero and use it in all the places
59101 where _mm_setzero_si128 was used.
59102
59103 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59104 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59105 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59106 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59107 anymore.
59108 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59109 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59110 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59111 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59113 __mpranred, __mptan.
59114 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59115 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59116 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59117 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59118 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59119 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59121 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59122 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59123
59124 2011-10-28 Andreas Schwab <schwab@redhat.com>
59125
59126 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59127 redefine if SHARED.
59128 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59129
59130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59131 wide char related routines to wcsmbs subdir.
59132
59133 2011-10-27 Andreas Schwab <schwab@redhat.com>
59134
59135 [BZ #13344]
59136 * misc/sys/cdefs.h (__THROWNL): Define.
59137 * posix/unistd.h: Use __THREADNL instead of __THREAD
59138 for memory synchronization functions.
59139
59140 2011-10-26 Roland McGrath <roland@hack.frob.com>
59141
59142 [BZ #13349]
59143 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59144 doesn't exist.
59145 * manual/stdio.texi (Obstack Streams): Node removed.
59146
59147 2011-10-26 Andreas Schwab <schwab@redhat.com>
59148
59149 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59151 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59152
59153 * math/math_private.h (math_force_eval): Allow non-addressable
59154 arguments.
59155 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59156
59157 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59158
59159 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59160 file is not needed.
59161
59162 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59165 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59168 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59169 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59170 Add AVX variants.
59171 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59172 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59173 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59174 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59175 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59176 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59177 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59178 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59179 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59180 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59181 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59182 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59183 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59184 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59185 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59186 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59187 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59188 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59189 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59190
59191 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59192 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59193
59194 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59195 place. Use VEX encoding when compiling for AVX.
59196
59197 2011-10-25 Andreas Schwab <schwab@redhat.com>
59198
59199 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59200 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59201
59202 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59203
59204 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59205
59206 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59207 useless if() expression.
59208 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59209 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59210 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59211 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59212 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59213 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59214 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59215 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59218 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59219 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59220 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59222 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59223 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59224 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59225 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59226 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59227
59228 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59229
59230 2011-10-25 Andreas Schwab <schwab@redhat.com>
59231
59232 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59233 condition.
59234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59235
59236 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59237
59238 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59239 .text section. Avoid duplicate constants.
59240 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59242 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59248 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59249 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59250 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59251 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59252 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59253 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59254 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59256 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59257 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59260 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59261 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59262 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59263 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59264 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59265 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59266 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59267 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59268 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59269 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59270 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59271 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59272 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59273 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59274 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59275 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59276 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59278 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59279 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59281 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59282 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59283 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59284 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59285
59286 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59287
59288 * sysdeps/x86_64/dla.h: Move to ...
59289 * sysdeps/x86_64/fpu/dla.h: ...here.
59290 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59291 situations. Use __builtin_fma only for gcc 4.6 and up.
59292
59293 * config.make.in: Add have-mfma4 entry.
59294 * configure.in: Substitute libc_cv_cc_fma4.
59295 * math/Makefile (dbl-only-routines): Add sincostab.
59296 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59297 Use __sincostab not sincos.
59298 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59299 name is a macro.
59300 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59304 using __copysign.
59305 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59306 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59307 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59308 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59309 and __inv.
59310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59311 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59312 __copysign.
59313 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59314 define aliases when function name is a macro.
59315 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59316 sysdeps/ieee754/dbl-64/sincos.tbl.
59317 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59318 fma4-enabled routines.
59319 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59320 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59321 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59322 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59324 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59325 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59326 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59329 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59330 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59331 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59332 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59333 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59334 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59335 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59336 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59337 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59339 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59340 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59345 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59346 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59347 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59348 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59349
59350 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59351 rename.
59352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59360
59361 2011-10-24 Andreas Schwab <schwab@redhat.com>
59362
59363 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59364
59365 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59366
59367 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59368
59369 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59370 prediction.
59371 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59372
59373 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59374 Remove unused variable magic_bits.
59375 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59376
59377 * string/strnlen.c: Define and use STRNLEN macro.
59378 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59379 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59381 * wcsmbs/wcslen.c: Define and use WCSLEN.
59382 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59383 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59384 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59385 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59386 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59387 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59388 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59389
59390 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59391
59392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59393 strnlen-sse2-no-bsf.
59394 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59396 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59397 Add strnlen support.
59398 (USE_AS_STRNLEN): New macro.
59399 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59401 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59402 * sysdeps/x86_64/wcslen.S: New file.
59403
59404 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59405
59406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59407 XMM-moves are used for copying on small sizes.
59408
59409 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59410
59411 * wcsmbs/Makefile (strop-tests): Add wcschr.
59412 * wcsmbs/test-wcschr.c: New file.
59413 * string/test-strchr.c: Update.
59414 Add wcschr support.
59415 (WIDE): New macro.
59416
59417 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59418
59419 * wcsmbs/Makefile (strop-tests): Add wcslen.
59420 * wcsmbs/test-wcslen.c: New file.
59421 * string/test-strlen.c: Update.
59422 Add wcslen support.
59423 (WIDE): New macro.
59424
59425 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59426
59427 * po/it.po: Update from translation team.
59428
59429 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59430
59431 * sysdeps/x86_64/wcscmp.S: Update.
59432 Fix wrong comparison semantics.
59433 wcscmp shall use signed comparison not unsigned.
59434 Don't use substraction to avoid overflow bug.
59435 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59436 * wcsmbc/wcscmp.c: Likewise.
59437 * string/test-strcmp.c: Likewise.
59438 Add new tests to check cases with negative values.
59439
59440 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59441
59442 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59443 * sysdeps/x86_64/dla.h: ...here. New file.
59444 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59453
59454 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59455
59456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59457 __ynl_finite aliases.
59458
59459 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59460
59461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59462
59463 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59464 define DLA_FMA.
59465 [DLA_FMA] (EMULV): Use DLA_FMA.
59466 [DLA_FMA] (MUL12): Use EMULV.
59467 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59468 that are not needed.
59469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59476
59477 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59478
59479 * math/s_nan.c: Undef __nan.
59480 * math/s_nanf.c: Undef __nanf.
59481 * math/s_nanl.c: Undef __nanl.
59482 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59483 "math_private.h".
59484
59485 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59486
59487 * math/s_catan.c: Add branch predictions.
59488 * math/s_catanf.c: Likewise.
59489 * math/s_catanh.c: Likewise.
59490 * math/s_catanhf.c: Likewise.
59491 * math/s_catanhl.c: Likewise.
59492 * math/s_catanl.c: Likewise.
59493 * math/s_cexp.c: Likewise.
59494 * math/s_cexpf.c: Likewise.
59495 * math/s_cexpl.c: Likewise.
59496 * math/s_clog.c: Likewise.
59497 * math/s_clog10.c: Likewise.
59498 * math/s_clog10f.c: Likewise.
59499 * math/s_clog10l.c: Likewise.
59500 * math/s_clogf.c: Likewise.
59501 * math/s_clogl.c: Likewise.
59502 * math/s_csqrt.c: Likewise.
59503 * math/s_csqrtf.c: Likewise.
59504 * math/s_csqrtl.c: Likewise.
59505 * math/s_ctanf.c: Likewise.
59506 * math/s_ctanh.c: Likewise.
59507 * math/s_ctanhf.c: Likewise.
59508 * math/s_ctanhl.c: Likewise.
59509 * math/s_ctanl.c: Likewise.
59510
59511 * math/math_private.h: Define __nan, __nanf, __nanl.
59512 * math/s_cacosh.c: Include <math_private.h>.
59513 * math/s_cacoshl.c: Likewise.
59514 * math/s_casinh.c: Likewise.
59515 * math/s_casinhf.c: Likewise.
59516 * math/s_casinhl.c: Likewise.
59517 * math/s_ccos.c: Rely entire on ccosh.
59518 * math/s_ccosf.c: Rely entire on ccoshf.
59519 * math/s_ccosl.c: Rely entirely on ccoshl.
59520 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59521 Remove tests for FE_INVALID.
59522 * math/s_ccoshf.c: Likewise.
59523 * math/s_ccoshl.c: Likewise.
59524 * math/s_csin.c: Likewise.
59525 * math/s_csinf.c: Likewise.
59526 * math/s_csinh.c Likewise.
59527 * math/s_csinhf.c: Likewise.
59528 * math/s_csinhl.c: Likewise.
59529 * math/s_csinl.c: Likewise.
59530 * math/s_ctan.c: Likewise.
59531 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59532 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59533 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59534
59535 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59536
59537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59538 compilation problems.
59539
59540 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59541 __builtin_expect.
59542
59543 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59544
59545 * sysdeps/i386/configure.in: Test for -mfma4 option.
59546 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59547 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59548 COMMON_CPUID_INDEX_80000001.
59549 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59550 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59551 use it if FMA3 is not supported.
59552 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59553
59554 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59555 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59556
59557 2011-10-20 Andreas Schwab <schwab@redhat.com>
59558
59559 [BZ #12892]
59560 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59561 it would create a cycle with a link time dependency.
59562
59563 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59564
59565 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59566 instruction.
59567 * string/Makefile (strop-tests): Add rawmemchr.
59568 * string/test-rawmemchr.c: New file.
59569
59570 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59571 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59572 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59573 when compiling str{,n}casecmp and when AVX is available. Hook up
59574 new optimized code in initializers.
59575
59576 2011-10-19 Andreas Schwab <schwab@redhat.com>
59577
59578 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59579 __feraiseexcept instead of feraiseexcept.
59580
59581 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59582
59583 * math/math_private.h: Define defaults for libc_fetestexcept and
59584 libc_feupdateenv.
59585 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59586 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59587 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59588 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59589 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59590 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59591 libc_fetestexcept and libc_feupdateenv.
59592
59593 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59594 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59595 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59596 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59597 libc_feholdexcept_setround.
59598
59599 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59600 Add s_nearbyint-c and s_nearbyintf-c.
59601 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59602 nearbyintf inlines.
59603 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59604 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59605 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59606 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59607
59608 * math/math_private.h: Define defaults for libc_fegetround,
59609 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59610 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59611 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59612 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59613 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59614 standard functions.
59615 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59616 Remove comments and hacks for old compiler versions.
59617 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59618 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59619 libc_feholdexceptl.
59620
59621 2011-10-18 Andreas Schwab <schwab@redhat.com>
59622
59623 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59624 (__feraiseexcept_renamed): Add __NTH.
59625 (feraiseexcept): Add __NTH. Rename local variables to fix
59626 namespace violations.
59627
59628 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59629
59630 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59631
59632 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59633
59634 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59635 recently added interfaces.
59636 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59637
59638 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59639 about macro parameter expansion.
59640
59641 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59642 __NO_MATH_INLINES is defined. Cleanups.
59643
59644 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59645 and __floorf is target has SSE4.1.
59646 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59647 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59648 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59649 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59650
59651 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59652 name.
59653 (floorf): Likewise.
59654
59655 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59656
59657 2011-10-17 Andreas Schwab <schwab@redhat.com>
59658
59659 * misc/sys/cdefs.h: Fix last change.
59660
59661 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59662 database lookup.
59663
59664 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59665
59666 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59667
59668 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59670 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59671 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59677 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59678 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59679 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59680 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59681 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59682 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59683 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59684 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59685 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59686 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59687 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59688 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59689 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59690
59691 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59692 ceil, ceilf, floor, floorf.
59693
59694 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59695 Perform IRELATIVE relocations last.
59696
59697 * elf/do-rel.h: Add another parameter nrelative, replacing the
59698 local variable with the same name. Change name of the function
59699 to end in Rel or Rela (uppercase).
59700 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59701 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59702 elf_dynamic_do_##reloc function.
59703
59704 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59705
59706 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59707 is sufficient, at least on modern CPUs.
59708
59709 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59710
59711 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59712 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59713
59714 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59715 __expl_finite.
59716 * math/bits/math-finite.h: Add entries for exp.
59717 * math/e_expl.c: Add __*_finite alias.
59718 * sysdeps/i386/fpu/e_exp.S: Likewise.
59719 * sysdeps/i386/fpu/e_expf.S: Likewise.
59720 * sysdeps/i386/fpu/e_expl.c: Likewise.
59721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59722 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59723 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59725 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59726 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59727 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59728
59729 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59730 is sufficient, at least on modern CPUs.
59731
59732 * ctype/ctype-info.c (__ctype_init): Define.
59733 * include/ctype.h (__ctype_init): Declare.
59734 (__ctype_b_loc): The variable is always initialized.
59735 (__ctype_toupper_loc): Likewise.
59736 (__ctype_tolower_loc): Likewise.
59737 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59738 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59739
59740 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59741
59742 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59743
59744 * configure.in: Also look in $cxxmachine/include for C++ system
59745 headers.
59746
59747 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59748
59749 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59750 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59751 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59752 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59753 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59754 (USE_AS_WMEMCMP): New macro.
59755 Fixing indents.
59756 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59757 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59758 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59759 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59761 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59762 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59763 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59764 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59765 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59766 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59767 (USE_AS_WMEMCMP): New macro.
59768 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59769 * sysdeps/string/test-memcmp.c: Update.
59770 Fix simple_wmemcmp.
59771 Add new tests.
59772 * wcsmbs/wmemcmp.c: Update.
59773 (WMEMCMP): New macro.
59774 Fix overflow bug.
59775
59776 2011-10-12 Andreas Jaeger <aj@suse.de>
59777
59778 [BZ #13268]
59779 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59780
59781 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59782
59783 * libio/iofwide.c (do_length): Avoid warning.
59784
59785 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59786
59787 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59788
59789 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59790
59791 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59792 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59793 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59794 * sysdeps/i386/i686/fpu/e_log.S: New file.
59795 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59796 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59797
59798 * ctype/ctype.h: Add support for inlined isXXX functions when
59799 compiling C++ code.
59800
59801 2011-10-14 Andreas Schwab <schwab@redhat.com>
59802
59803 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59804
59805 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59806
59807 2011-10-13 Roland McGrath <roland@hack.frob.com>
59808
59809 [BZ #13291]
59810 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59811
59812 2011-10-13 Andreas Schwab <schwab@redhat.com>
59813
59814 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59815 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59816 feraiseexcept.
59817
59818 * sysdeps/x86_64/memrchr.S: Check for zero size.
59819
59820 * string/stratcliff.c: Add memrchr tests.
59821
59822 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59823
59824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59825 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59826 rawmemchr-sse2 rawmemchr-sse2-bsf.
59827 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59828 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59829 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59830 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59831 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59832 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59833 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59834 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59835 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59836 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59837 * string/memrchr.c (MEMRCHR): New macro.
59838
59839 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59840
59841 Add integration with gcc's -ffinite-math-only and optimize wrapper
59842 functions in libm.
59843 * Versions.def: Define GLIBC_2.15 version for libm.
59844 * math/Makefile (headers): Add bits/math-finite.h.
59845 * math/bits/math-finite.h: New file.
59846 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59847 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59848 * math/e_acoshl.c: Add __*_finite alias.
59849 * math/e_acosl.c: Likewise.
59850 * math/e_asinl.c: Likewise.
59851 * math/e_atan2l.c: Likewise.
59852 * math/e_atanhl.c: Likewise.
59853 * math/e_coshl.c: Likewise.
59854 * math/e_exp10.c: Likewise.
59855 * math/e_exp10f.c: Likewise.
59856 * math/e_exp10l.c: Likewise.
59857 * math/e_exp2l.c: Likewise.
59858 * math/e_fmodl.c: Likewise.
59859 * math/e_gammal_r.c: Likewise.
59860 * math/e_hypotl.c: Likewise.
59861 * math/e_j0l.c: Likewise.
59862 * math/e_j1l.c: Likewise.
59863 * math/e_jnl.c: Likewise.
59864 * math/e_lgammal_r.c: Likewise.
59865 * math/e_log10l.c: Likewise.
59866 * math/e_log2l.c: Likewise.
59867 * math/e_logl.c: Likewise.
59868 * math/e_powl.c: Likewise.
59869 * math/e_sinhl.c: Likewise.
59870 * math/e_sqrtl.c: Likewise.
59871 * math/e_scalb.c: Completely rewritten and optimized.
59872 * math/e_scalbf.c: Likewise.
59873 * math/e_scalbl.c: Likewise.
59874 * math/w_acos.c: Likewise.
59875 * math/w_acosf.c: Likewise.
59876 * math/w_acosl.c: Likewise.
59877 * math/w_acosh.c: Likewise.
59878 * math/w_acoshf.c: Likewise.
59879 * math/w_acoshl.c: Likewise.
59880 * math/w_asin.c: Likewise.
59881 * math/w_asinf.c: Likewise.
59882 * math/w_asinl.c: Likewise.
59883 * math/w_atan2.c: Likewise.
59884 * math/w_atan2f.c: Likewise.
59885 * math/w_atan2l.c: Likewise.
59886 * math/w_atanh.c: Likewise.
59887 * math/w_atanhf.c: Likewise.
59888 * math/w_atanhl.c: Likewise.
59889 * math/w_exp10.c: Likewise.
59890 * math/w_exp10f.c: Likewise.
59891 * math/w_exp10l.c: Likewise.
59892 * math/w_fmod.c: Likewise.
59893 * math/w_fmodf.c: Likewise.
59894 * math/w_fmodl.c: Likewise.
59895 * math/w_j0.c: Likewise.
59896 * math/w_j0f.c: Likewise.
59897 * math/w_j0l.c: Likewise.
59898 * math/w_j1.c: Likewise.
59899 * math/w_j1f.c: Likewise.
59900 * math/w_j1l.c: Likewise.
59901 * math/w_jn.c: Likewise.
59902 * math/w_jnf.c: Likewise.
59903 * math/w_log.c: Likewise.
59904 * math/w_logf.c: Likewise.
59905 * math/w_logl.c: Likewise.
59906 * math/w_log10.c: Likewise.
59907 * math/w_log10f.c: Likewise.
59908 * math/w_log10l.c: Likewise.
59909 * math/w_log2.c: Likewise.
59910 * math/w_log2f.c: Likewise.
59911 * math/w_log2l.c: Likewise.
59912 * math/w_pow.c: Likewise.
59913 * math/w_powf.c: Likewise.
59914 * math/w_powl.c: Likewise.
59915 * math/w_remainder.c: Likewise.
59916 * math/w_remainderf.c: Likewise.
59917 * math/w_remainderl.c: Likewise.
59918 * math/w_scalb.c: Likewise.
59919 * math/w_scalbf.c: Likewise.
59920 * math/w_scalbl.c: Likewise.
59921 * math/w_sqrt.c: Likewise.
59922 * math/w_sqrtf.c: Likewise.
59923 * math/w_sqrtl.c: Likewise.
59924 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59925 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
59926 used.
59927 * math/math_private.h: Declare __kernel_standard_f.
59928 * math/w_cosh.c: Remove cruft and optimize a bit.
59929 * math/w_coshf.c: Likewise.
59930 * math/w_coshl.c: Likewise.
59931 * math/w_exp2.c: Likewise.
59932 * math/w_exp2f.c: Likewise.
59933 * math/w_exp2l.c: Likewise.
59934 * math/w_hypot.c: Likewise.
59935 * math/w_hypotf.c: Likewise.
59936 * math/w_hypotl.c: Likewise.
59937 * math/w_lgamma.c: Likewise.
59938 * math/w_lgamma_r.c: Likewise.
59939 * math/w_lgammaf.c: Likewise.
59940 * math/w_lgammaf_r.c: Likewise.
59941 * math/w_lgammal.c: Likewise.
59942 * math/w_lgammal_r.c: Likewise.
59943 * math/w_sinh.c: Likewise.
59944 * math/w_sinhf.c: Likewise.
59945 * math/w_sinhl.c: Likewise.
59946 * math/w_tgamma.c: Likewise.
59947 * math/w_tgammaf.c: Likewise.
59948 * math/w_tgammal.c: Likewise.
59949 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59951 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59952 Minor optimizations. Pretty printing. Remove cruft.
59953 * sysdeps/i386/fpu/e_acosf.S: Likewise.
59954 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59955 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59956 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59957 * sysdeps/i386/fpu/e_acosl.c: Likewise.
59958 * sysdeps/i386/fpu/e_asin.S: Likewise.
59959 * sysdeps/i386/fpu/e_asinf.S: Likewise.
59960 * sysdeps/i386/fpu/e_atan2.S: Likewise.
59961 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59962 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59963 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59965 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59966 * sysdeps/i386/fpu/e_exp10.S: Likewise.
59967 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59968 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59969 * sysdeps/i386/fpu/e_exp2.S: Likewise.
59970 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59971 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59972 * sysdeps/i386/fpu/e_fmod.S: Likewise.
59973 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59974 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59975 * sysdeps/i386/fpu/e_hypot.S: Likewise.
59976 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59977 * sysdeps/i386/fpu/e_log.S: Likewise.
59978 * sysdeps/i386/fpu/e_log10.S: Likewise.
59979 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59980 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59981 * sysdeps/i386/fpu/e_log2.S: Likewise.
59982 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59983 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59984 * sysdeps/i386/fpu/e_logf.S: Likewise.
59985 * sysdeps/i386/fpu/e_logl.S: Likewise.
59986 * sysdeps/i386/fpu/e_pow.S: Likewise.
59987 * sysdeps/i386/fpu/e_powf.S: Likewise.
59988 * sysdeps/i386/fpu/e_powl.S: Likewise.
59989 * sysdeps/i386/fpu/e_remainder.S: Likewise.
59990 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59991 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59992 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59995 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59996 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59997 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59998 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60001 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60003 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60004 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60008 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60009 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60012 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60014 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60015 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60016 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60018 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60019 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60020 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60021 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60022 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60023 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60024 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60025 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60026 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60027 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60029 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60030 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60031 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60032 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60033 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60034 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60035 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60036 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60037 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60038 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60039 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60040 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60041 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60043 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60044 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60045 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60046 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60047 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60048 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60049 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60050 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60051 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60052 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60053 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60054 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60055 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60056 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60057 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60058 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60059 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60062 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60063 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60064 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60065 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60068 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60069 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60070 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60072 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60073 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60075 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60076 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60077 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60078 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60079 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60080 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60081 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60082 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60083 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60085 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60086 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60087 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60089 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60090 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60091 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60092 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60093 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60094 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60095 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60096 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60097 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60098 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60099 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60100 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60101 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60102 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60103 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60104 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60105 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60106 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60107 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60108 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60109 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60110 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60111 (__isnanf): Likewise.
60112 (__isinf_ns): Likewise.
60113 (__isinf_nsf): Likewise.
60114 (__finite): Likewise.
60115 (__finitef): Likewise.
60116 (__ieee754_sqrt): Define as macro.
60117 (__ieee754_sqrtf): Define as macro.
60118 (__ieee754_sqrtl): Define as macro.
60119 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60120 inlined copy.
60121 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60122 __FINITE_MATH_ONLY__ consistent.
60123 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60124
60125 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60126
60127 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60128 of rawmemchr.
60129
60130 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60131
60132 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60133
60134 * po/ja.po: Update from translation team.
60135
60136 2011-10-08 Roland McGrath <roland@hack.frob.com>
60137
60138 * locale/programs/locarchive.c (prepare_address_space): New function.
60139 (create_archive, enlarge_archive, open_archive): Use it.
60140
60141 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60142 inside [SHARED], where it is used.
60143
60144 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60145
60146 * nss/getent.c (netgroup_keys): Remove unused variable.
60147 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60148
60149 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60150
60151 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60152 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60154 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60155 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60156 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60157 * math/Makefile (libm-calls): Add s_isinf_ns.
60158 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60159 * math/multc3.c: Likewise.
60160 * math/s_casin.c: Likewise.
60161 * math/s_casinf.c: Likewise.
60162 * math/s_casinl.c: Likewise.
60163 * math/s_ccos.c: Likewise.
60164 * math/s_ccosf.c: Likewise.
60165 * math/s_ccosl.c: Likewise.
60166 * math/s_ctan.c: Likewise.
60167 * math/s_ctanf.c: Likewise.
60168 * math/s_ctanh.c: Likewise.
60169 * math/s_ctanhf.c: Likewise.
60170 * math/s_ctanhl.c: Likewise.
60171 * math/s_ctanl.c: Likewise.
60172 * math/w_fmod.c: Likewise.
60173 * math/w_fmodf.c: Likewise.
60174 * math/w_fmodl.c: Likewise.
60175 * math/w_remainder.c: Likewise.
60176 * math/w_remainderf.c: Likewise.
60177 * math/w_remainderl.c: Likewise.
60178 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60179 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60180 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60182 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60183 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60184 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60185 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60186
60187 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60188 of the number.
60189 * stdio-common/printf_fphex.c: Likewise.
60190 * stdio-common/printf_size.c: Likewise.
60191
60192 * math/e_exp10.c: Include math_private.h using <...> not "...".
60193 * math/e_exp10f.c: Likewise.
60194 * math/e_exp10l.c: Likewise.
60195 * math/e_exp2l.c: Likewise.
60196 * math/e_j0l.c: Likewise.
60197 * math/e_j1l.c: Likewise.
60198 * math/e_jnl.c: Likewise.
60199 * math/e_lgammal_r.c: Likewise.
60200 * math/e_rem_pio2l.c: Likewise.
60201 * math/e_scalb.c: Likewise.
60202 * math/e_scalbf.c: Likewise.
60203 * math/e_scalbl.c: Likewise.
60204 * math/k_cosl.c: Likewise.
60205 * math/k_sinl.c: Likewise.
60206 * math/k_tanl.c: Likewise.
60207 * math/s_cacoshf.c: Likewise.
60208 * math/s_catan.c: Likewise.
60209 * math/s_catanf.c: Likewise.
60210 * math/s_catanh.c: Likewise.
60211 * math/s_catanhf.c: Likewise.
60212 * math/s_catanhl.c: Likewise.
60213 * math/s_catanl.c: Likewise.
60214 * math/s_ccosh.c: Likewise.
60215 * math/s_ccoshf.c: Likewise.
60216 * math/s_ccoshl.c: Likewise.
60217 * math/s_cexp.c: Likewise.
60218 * math/s_cexpf.c: Likewise.
60219 * math/s_cexpl.c: Likewise.
60220 * math/s_clog.c: Likewise.
60221 * math/s_clog10.c: Likewise.
60222 * math/s_clog10f.c: Likewise.
60223 * math/s_clog10l.c: Likewise.
60224 * math/s_clogf.c: Likewise.
60225 * math/s_clogl.c: Likewise.
60226 * math/s_csin.c: Likewise.
60227 * math/s_csinf.c: Likewise.
60228 * math/s_csinh.c: Likewise.
60229 * math/s_csinhf.c: Likewise.
60230 * math/s_csinhl.c: Likewise.
60231 * math/s_csinl.c: Likewise.
60232 * math/s_csqrt.c: Likewise.
60233 * math/s_csqrtf.c: Likewise.
60234 * math/s_csqrtl.c: Likewise.
60235 * math/s_ctan.c: Likewise.
60236 * math/s_ctanf.c: Likewise.
60237 * math/s_ctanh.c: Likewise.
60238 * math/s_ctanhf.c: Likewise.
60239 * math/s_ctanhl.c: Likewise.
60240 * math/s_ctanl.c: Likewise.
60241 * math/s_ldexp.c: Likewise.
60242 * math/s_ldexpf.c: Likewise.
60243 * math/s_ldexpl.c: Likewise.
60244 * math/s_significand.c: Likewise.
60245 * math/s_significandf.c: Likewise.
60246 * math/s_significandl.c: Likewise.
60247 * math/w_acos.c: Likewise.
60248 * math/w_acosf.c: Likewise.
60249 * math/w_acosh.c: Likewise.
60250 * math/w_acoshf.c: Likewise.
60251 * math/w_acoshl.c: Likewise.
60252 * math/w_acosl.c: Likewise.
60253 * math/w_asin.c: Likewise.
60254 * math/w_asinf.c: Likewise.
60255 * math/w_asinl.c: Likewise.
60256 * math/w_atan2.c: Likewise.
60257 * math/w_atan2f.c: Likewise.
60258 * math/w_atan2l.c: Likewise.
60259 * math/w_atanh.c: Likewise.
60260 * math/w_atanhf.c: Likewise.
60261 * math/w_atanhl.c: Likewise.
60262 * math/w_cosh.c: Likewise.
60263 * math/w_coshf.c: Likewise.
60264 * math/w_coshl.c: Likewise.
60265 * math/w_dremf.c: Likewise.
60266 * math/w_exp10.c: Likewise.
60267 * math/w_exp10f.c: Likewise.
60268 * math/w_exp10l.c: Likewise.
60269 * math/w_exp2.c: Likewise.
60270 * math/w_exp2f.c: Likewise.
60271 * math/w_fmod.c: Likewise.
60272 * math/w_fmodf.c: Likewise.
60273 * math/w_fmodl.c: Likewise.
60274 * math/w_hypot.c: Likewise.
60275 * math/w_hypotf.c: Likewise.
60276 * math/w_hypotl.c: Likewise.
60277 * math/w_j0.c: Likewise.
60278 * math/w_j0f.c: Likewise.
60279 * math/w_j0l.c: Likewise.
60280 * math/w_j1.c: Likewise.
60281 * math/w_j1f.c: Likewise.
60282 * math/w_j1l.c: Likewise.
60283 * math/w_jn.c: Likewise.
60284 * math/w_jnf.c: Likewise.
60285 * math/w_jnl.c: Likewise.
60286 * math/w_lgamma.c: Likewise.
60287 * math/w_lgamma_r.c: Likewise.
60288 * math/w_lgammaf.c: Likewise.
60289 * math/w_lgammaf_r.c: Likewise.
60290 * math/w_lgammal.c: Likewise.
60291 * math/w_lgammal_r.c: Likewise.
60292 * math/w_log.c: Likewise.
60293 * math/w_log10.c: Likewise.
60294 * math/w_log10f.c: Likewise.
60295 * math/w_log10l.c: Likewise.
60296 * math/w_log2.c: Likewise.
60297 * math/w_log2f.c: Likewise.
60298 * math/w_log2l.c: Likewise.
60299 * math/w_logf.c: Likewise.
60300 * math/w_logl.c: Likewise.
60301 * math/w_pow.c: Likewise.
60302 * math/w_powf.c: Likewise.
60303 * math/w_powl.c: Likewise.
60304 * math/w_remainder.c: Likewise.
60305 * math/w_remainderf.c: Likewise.
60306 * math/w_remainderl.c: Likewise.
60307 * math/w_scalb.c: Likewise.
60308 * math/w_scalbf.c: Likewise.
60309 * math/w_scalbl.c: Likewise.
60310 * math/w_sinh.c: Likewise.
60311 * math/w_sinhf.c: Likewise.
60312 * math/w_sinhl.c: Likewise.
60313 * math/w_sqrt.c: Likewise.
60314 * math/w_sqrtf.c: Likewise.
60315 * math/w_sqrtl.c: Likewise.
60316 * math/w_tgamma.c: Likewise.
60317 * math/w_tgammaf.c: Likewise.
60318 * math/w_tgammal.c: Likewise.
60319
60320 * po/ja.po: Update from translation team.
60321
60322 2011-09-29 Andreas Jaeger <aj@suse.de>
60323
60324 [BZ #13179]
60325 * sunrpc/netname.c (netname2host): Fix logic.
60326
60327 [BZ #6779]
60328 [BZ #6783]
60329 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60330 correctly.
60331 * math/w_remainder.c (__remainder): Likewise.
60332 * math/w_remainderf.c (__remainderf): Likewise.
60333 * math/libm-test.inc (remainder_test): Add test cases.
60334
60335 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60336
60337 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60338 sdiv_qrnnd.
60339
60340 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60341
60342 * string/test-memcmp.c: Avoid unncessary #defines.
60343 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60344
60345 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60346
60347 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60348 Use new sse2 version for core i3 - i7 as it's faster
60349 than sse42 version.
60350 (bit_Prefer_PMINUB_for_stringop): New.
60351 * sysdeps/x86_64/rawmemchr.S: Update.
60352 Replace with faster SSE2 version.
60353 * sysdeps/x86_64/memrchr.S: New file.
60354 * sysdeps/x86_64/memchr.S: Update.
60355 Replace with faster SSE2 version.
60356
60357 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60358
60359 * elf/dl-load.c (lose): Add cast to avoid warning.
60360
60361 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60362
60363 * po/ca.po: Update from translation team.
60364
60365 * inet/getnetgrent_r.c: Hook up nscd.
60366 * nscd/Makefile (routines): Add nscd_netgroup.
60367 (nscd-modules): Add netgroupcache.
60368 (CFLAGS-netgroupcache.c): Define.
60369 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60370 (cache_search): Add const to second parameter.
60371 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60372 INNETGR.
60373 (dbs): Add netgrdb entry.
60374 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60375 (verify_persistent_db): Handle netgrdb.
60376 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60377 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60378 GETFDNETGR.
60379 (netgroup_response_header): Define.
60380 (innetgroup_response_header): Define.
60381 (datahead): Add netgroup_response_header and innetgroup_response_header
60382 elements.
60383 * nscd/nscd.conf: Add entries for netgroup cache.
60384 * nscd/nscd.h (dbtype): Add netgrdb.
60385 (_PATH_NSCD_NETGROUP_DB): Define.
60386 (netgroup_iov_disabled): Declare.
60387 (xmalloc, xcalloc, xrealloc): Move declarations here.
60388 (cache_search): Adjust prototype.
60389 Add netgroup-related prototypes.
60390 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60391 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60392 (__nscd_innetgr): Declare.
60393 * nscd/selinux.c (perms): Use access_vector_t as element type and
60394 add netgroup-related initializers.
60395 * nscd/netgroupcache.c: New file.
60396 * nscd/nscd_netgroup.c: New file.
60397 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60398 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60399 For four parameters use innetgr.
60400 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60401 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60402 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60403 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60404
60405 * nscd/connections.c (register_traced_file): Don't register file
60406 for disabled databases.
60407
60408 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60409
60410 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60411
60412 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60413 from tree and freeing node.
60414
60415 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60416
60417 * nss/nsswitch.c (__nss_database_lookup): Handle
60418 nss_parse_service_list out of memory case.
60419
60420 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60421
60422 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60423 out of memory case.
60424
60425 2011-10-04 Andreas Schwab <schwab@redhat.com>
60426
60427 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60428 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60429 pass it down.
60430 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60431 elf_machine_rela, elf_machine_lazy_rel.
60432 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60433 (ELF_DYNAMIC_DO_REL): Likewise.
60434 (ELF_DYNAMIC_DO_RELA): Likewise.
60435 (ELF_DYNAMIC_RELOCATE): Likewise.
60436 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60437 to ELF_DYNAMIC_DO_REL.
60438 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60439 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60440 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60441 elf_machine_rela.
60442 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60443 skip_ifunc, don't call ifunc function if non-zero.
60444 (elf_machine_rela): Likewise.
60445 (elf_machine_lazy_rel): Likewise.
60446 (elf_machine_lazy_rela): Likewise.
60447 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60448 (elf_machine_lazy_rel): Likewise.
60449 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60450 Likewise.
60451 (elf_machine_lazy_rel): Likewise.
60452 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60453 Likewise.
60454 (elf_machine_lazy_rel): Likewise.
60455 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60456 (elf_machine_lazy_rel): Likewise.
60457 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60458 (elf_machine_lazy_rel): Likewise.
60459 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60460 (elf_machine_lazy_rel): Likewise.
60461 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60462 (elf_machine_lazy_rel): Likewise.
60463 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60464 (elf_machine_lazy_rel): Likewise.
60465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60466 (elf_machine_lazy_rel): Likewise.
60467
60468 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60469
60470 * nss/nss_files/files-init.c (_nss_files_init): Use static
60471 initialization for all the *_traced_file variables.
60472
60473 2011-09-28 Andreas Schwab <schwab@redhat.com>
60474
60475 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60476
60477 2011-09-27 Roland McGrath <roland@hack.frob.com>
60478
60479 [BZ #13226]
60480 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60481
60482 2011-09-27 Andreas Schwab <schwab@redhat.com>
60483
60484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60485 Reread the line before reparsing it.
60486
60487 2011-09-26 Andreas Schwab <schwab@redhat.com>
60488
60489 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60490
60491 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60492 Maxim Kuvyrkov <maxim@codesourcery.com>
60493 Joseph Myers <joseph@codesourcery.com>
60494
60495 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60496 if needed for __stack_chk_guard.
60497
60498 2011-09-19 Roland McGrath <roland@hack.frob.com>
60499
60500 * sysdeps/posix/spawni.c (script_execute): Always define it.
60501 It will be optimized away if unused.
60502 (maybe_script_execute): New function.
60503 (__spawni): Call it.
60504
60505 * Makerules: Don't include tls.make.
60506 (config-tls): Always set to thread.
60507 * tls.make.c: File removed.
60508
60509 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60510
60511 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60512 * config.make.in (CPPFLAGS-config): New substituted variable.
60513
60514 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60515
60516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60517
60518 [BZ #13192]
60519 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60520 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60521
60522 2011-09-15 Roland McGrath <roland@hack.frob.com>
60523
60524 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60525 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60527 (CALL_FAIL): Likewise.
60528 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60529 (CALL_FAIL): Macro removed.
60530 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60531
60532 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60533
60534 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60535 for __FINITE_MATH_ONLY__ == 1.
60536
60537 2011-09-15 Andreas Schwab <schwab@redhat.com>
60538
60539 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60540 __ieee754_sqrt instead of sqrt.
60541 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60542 __ieee754_sqrtf instead of sqrtf.
60543 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60544 __floorf instead of floorf.
60545 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60546 __floorf, __truncf instead of floorf, truncf.
60547
60548 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60549
60550 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60551
60552 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60553 __extern_always_inline.
60554 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60555 32-bit.
60556
60557 2011-09-14 Andreas Schwab <schwab@redhat.com>
60558
60559 * elf/rtld.c (dl_main): Also relocate in dependency order when
60560 doing symbol dependency testing.
60561
60562 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60563
60564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60565 Always define `refsym'.
60566
60567 2011-09-13 Andreas Schwab <schwab@redhat.com>
60568
60569 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60570 (__FD_ELT): Renamed from __FDELT.
60571 * misc/bits/select2.h (__FD_ELT): Likewise.
60572 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60573 __FD_MASK instead of __FDELT, __FDMASK.
60574 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60575 Likewise.
60576 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60577 Likewise.
60578
60579 * elf/Makefile (gen-ldd): Fix pattern.
60580
60581 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60582 (init_tls): Likewise.
60583
60584 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60585
60586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60587
60588 2011-09-12 Andreas Schwab <schwab@redhat.com>
60589
60590 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60591 `struct cmsghdr *' instead of `void *'.
60592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60593 Likewise.
60594
60595 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60596
60597 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60598 if non-absolute.
60599 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60600 ldd_rewrite_script.
60601
60602 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60603
60604 * configure.in: Remove --with-tls option.
60605 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60606 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60607 out in case it is missing.
60608 * sysdeps/ia64/elf/configure.in: Likewise.
60609 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60610 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60611 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60612 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60613 * sysdeps/sh/elf/configure.in: Likewise.
60614 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60615 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60616 * sysdeps/x86_64/elf/configure.in: Likewise.
60617 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60618 * sysdeps/mach/hurd/tls.h: Likewise.
60619
60620 [BZ #13067]
60621 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60622
60623 [BZ #13090]
60624 * configure.in: Fix use of AC_INIT.
60625
60626 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60627
60628 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60629
60630 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60631 __set_errno.
60632 * malloc/hooks.c: Likewise.
60633
60634 [BZ #11929]
60635 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60636 variables statically.
60637 (narenas): Initialize.
60638 (list_lock): Initialize.
60639 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60640 initializtion of main_arena and list_lock. Small cleanups.
60641 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60642 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60643 Add initializers to main_arena and mp_.
60644 (malloc_state): Remove pagesize member. Change all users to use
60645 GLRO(dl_pagesize).
60646
60647 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60648 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60649 is always initialized.
60650
60651 * malloc/malloc.c: Removed unused configurations and dead code.
60652 * malloc/arena.c: Likewise.
60653 * malloc/hooks.c: Likewise.
60654 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60655
60656 * include/tls.h: Removed. USE___THREAD must always be defined.
60657 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60658 * elf/dl-libc.c: Likewise.
60659 * elf/dl-tsd.c: Likewise.
60660 * include/errno.h: Likewise.
60661 * include/netdb.h: Likewise.
60662 * include/resolv.h: Likewise.
60663 * inet/herrno-loc.c: Likewise.
60664 * inet/herrno.c: Likewise.
60665 * malloc/arena.c: Likewise.
60666 * malloc/hooks.c: Likewise.
60667 * malloc/malloc.c: Likewise.
60668 * resolv/res-state.c: Likewise.
60669 * resolv/res_libc.c: Likewise.
60670 * sysdeps/i386/dl-machine.h: Likewise.
60671 * sysdeps/ia64/dl-machine.h: Likewise.
60672 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60673 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60674 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60675 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60676 * sysdeps/sh/dl-machine.h: Likewise.
60677 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60678 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60679 * sysdeps/unix/i386/sysdep.S: Likewise.
60680 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60681 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60686 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60690 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60691 * sysdeps/x86_64/dl-machine.h: Likewise.
60692 * tls.make.c: Likewise.
60693
60694 * configure.in: Remove --with-__thread option. Make tests for
60695 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60696 tls_model attribute fail if no support is available. Remove
60697 USE_IN_LIBIO.
60698 * Makeconfig: Adjust for dropped configure option. All features are
60699 now mandatory.
60700 * Makerules: Likewise.
60701 * Versions.def: Likewise.
60702 * argp/argp-fmtstream.c: Likewise.
60703 * argp/argp-fmtstream.h: Likewise.
60704 * argp/argp-help.c: Likewise.
60705 * assert/assert.c: Likewise.
60706 * config.h.in: Likewise.
60707 * config.make.in: Likewise.
60708 * configure: Likewise.
60709 * configure.in: Likewise.
60710 * csu/Versions: Likewise.
60711 * csu/init.c: Likewise.
60712 * elf/tst-audit2.c: Likewise.
60713 * elf/tst-tls10.c: Likewise.
60714 * elf/tst-tls10.h: Likewise.
60715 * elf/tst-tls11.c: Likewise.
60716 * elf/tst-tls12.c: Likewise.
60717 * elf/tst-tls14.c: Likewise.
60718 * elf/tst-tlsmod11.c: Likewise.
60719 * elf/tst-tlsmod12.c: Likewise.
60720 * elf/tst-tlsmod13.c: Likewise.
60721 * elf/tst-tlsmod13a.c: Likewise.
60722 * elf/tst-tlsmod14a.c: Likewise.
60723 * elf/tst-tlsmod15b.c: Likewise.
60724 * elf/tst-tlsmod16a.c: Likewise.
60725 * elf/tst-tlsmod16b.c: Likewise.
60726 * elf/tst-tlsmod7.c: Likewise.
60727 * elf/tst-tlsmod8.c: Likewise.
60728 * elf/tst-tlsmod9.c: Likewise.
60729 * gmon/gmon.c: Likewise.
60730 * grp/fgetgrent_r.c: Likewise.
60731 * grp/putgrent.c: Likewise.
60732 * hurd/fopenport.c: Likewise.
60733 * include/libc-symbols.h: Likewise.
60734 * include/tls.h: Likewise.
60735 * intl/gettextP.h: Likewise.
60736 * intl/loadinfo.h: Likewise.
60737 * locale/global-locale.c: Likewise.
60738 * locale/localeinfo.h: Likewise.
60739 * mach/devstream.c: Likewise.
60740 * malloc/arena.c: Likewise.
60741 * malloc/set-freeres.c: Likewise.
60742 * misc/err.c: Likewise.
60743 * misc/getttyent.c: Likewise.
60744 * misc/mntent_r.c: Likewise.
60745 * posix/getopt.c: Likewise.
60746 * posix/wordexp.c: Likewise.
60747 * pwd/fgetpwent_r.c: Likewise.
60748 * resolv/Versions: Likewise.
60749 * resolv/res_hconf.c: Likewise.
60750 * shadow/fgetspent_r.c: Likewise.
60751 * shadow/putspent.c: Likewise.
60752 * stdio-common/printf_fphex.c: Likewise.
60753 * stdio-common/tmpfile.c: Likewise.
60754 * stdlib/abort.c: Likewise.
60755 * stdlib/fmtmsg.c: Likewise.
60756 * sunrpc/auth_unix.c: Likewise.
60757 * sunrpc/clnt_perr.c: Likewise.
60758 * sunrpc/clnt_tcp.c: Likewise.
60759 * sunrpc/clnt_udp.c: Likewise.
60760 * sunrpc/clnt_unix.c: Likewise.
60761 * sunrpc/openchild.c: Likewise.
60762 * sunrpc/svc_simple.c: Likewise.
60763 * sunrpc/svc_tcp.c: Likewise.
60764 * sunrpc/svc_udp.c: Likewise.
60765 * sunrpc/svc_unix.c: Likewise.
60766 * sunrpc/xdr.c: Likewise.
60767 * sunrpc/xdr_array.c: Likewise.
60768 * sunrpc/xdr_rec.c: Likewise.
60769 * sunrpc/xdr_ref.c: Likewise.
60770 * sunrpc/xdr_stdio.c: Likewise.
60771
60772 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60773
60774 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60775
60776 2011-07-03 Andreas Jaeger <aj@suse.de>
60777
60778 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60779 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60780 regenerate with gen-libm-tests.pl.
60781
60782 2010-05-12 Petr Baudis <pasky@suse.cz>
60783
60784 [BZ #11589]
60785 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60786 around j0() zero points by switching to j1().
60787 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60788 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60790 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60791
60792 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60793
60794 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60795 instead of 0.
60796 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60797 instead of 0.
60798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60799 Patch in part by Pavel Roskin <proski@gnu.org>.
60800
60801 [BZ #13138]
60802 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60803 realloc.
60804 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60805 Free memory block if necessary.
60806
60807 [BZ #12847]
60808 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60809 be NULL. Don't lock in this case.
60810
60811 2011-09-09 Roland McGrath <roland@hack.frob.com>
60812
60813 * elf/elf.h (ELFOSABI_GNU): New macro.
60814 (ELFOSABI_LINUX): Define to that.
60815
60816 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60817
60818 * string/strncat.c (strncat): Undef the symbol in case it has been
60819 defined in bits/string.h.
60820
60821 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60822
60823 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60824
60825 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60826 link map.
60827
60828 2011-08-17 Andreas Jaeger <aj@suse.de>
60829
60830 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60831
60832 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60833 Ian Lance Taylor <iant@google.com>
60834
60835 * math/libm-test.inc (lround_test): New testcase.
60836 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60837
60838 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60839
60840 * Makefile: Remove support for automatic cvs check-ins.
60841 * Makerules: Likewise.
60842 * config.make.in: Likewise.
60843 * configure.in: Likewise.
60844 * intl/Makefile: Likewise.
60845 * locale/Makefile: Likewise.
60846 * po/Makefile: Likewise.
60847 * posix/Makefile: Likewise.
60848 * sysdeps/gnu/Makefile: Likewise.
60849 * sysdeps/mach/hurd/Makefile: Likewise.
60850 * sysdeps/sparc/sparc32/Makefile: Likewise.
60851
60852 [BZ #13118]
60853 * posix/Makefile (bug-regex32-ENV): Define.
60854 Patch by John Stanley <jpsinthemix@verizon.net>.
60855
60856 * misc/Makefile (headers): Add bits/select2.h.
60857 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60858 * misc/bits/select2.h: New file.
60859 * include/bits/select2.h: New file.
60860 * debug/Makefile (routines): Add fdelt_chk.
60861 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60862 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60863 FD_ISSET.
60864 * debug/fdelt_chk.c: New file.
60865
60866 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60867 * wcsmbs/test-wmemcmp.c: Likewise.
60868 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60869 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60870
60871 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60872
60873 * string/Makefile (strop-tests): Add memcmp.
60874 * string/test-wmemcmp.c: New file.
60875 * string/test-memcmp.c: Add wmemcmp support.
60876
60877 2011-09-08 Roland McGrath <roland@hack.frob.com>
60878
60879 [BZ #13153]
60880 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60881 2011-07-19 change.
60882
60883 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60884 garbage value in a __mach_port_mod_refs call in the cases of the
60885 task-self and thread-self ports.
60886
60887 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60888
60889 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60890
60891 2011-09-08 Andreas Schwab <schwab@redhat.com>
60892
60893 * elf/dl-load.c (lose): Check for non-null L.
60894
60895 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60896
60897 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60898
60899 * elf/dl-libc.c (dlerror_run): Pass back error code from
60900 dl_catch_error.
60901
60902 [BZ #13123]
60903 * elf/dl-load.c (lose): Free l_origin if it is valid.
60904
60905 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60906 names.
60907 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60908 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60909 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60911 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60912 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60913
60914 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60915
60916 * sysdeps/powerpc/fpu/e_hypot.c: New file.
60917 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60918 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60919 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60920 * sysdeps/powerpc/fpu/k_cosf.c: New file.
60921 * sysdeps/powerpc/fpu/k_sinf.c: New file.
60922 * sysdeps/powerpc/fpu/s_cosf.c: New file.
60923 * sysdeps/powerpc/fpu/s_sinf.c: New file.
60924 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60925 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60926
60927 2011-08-15 Alan Modra <amodra@gmail.com>
60928
60929 [BZ #13092]
60930 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60931 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60932 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
60933 ppc_mcount to static-only-routines.
60934 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60935 __mcount_internal.
60936 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60937 __mcount_internal with usual JUMPTARGET. Remove useless nop.
60938
60939 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
60940
60941 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60942 for finite and infinity parameters.
60943
60944 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
60945
60946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60947 and add nop instructions for throughput optimization.
60948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60949
60950 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
60951
60952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60953 aligned copy for power7 with vector-scalar instructions.
60954 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60955
60956 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
60957
60958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60959 AVX check.
60960
60961 2011-09-07 Andreas Schwab <schwab@redhat.com>
60962
60963 [BZ #13144]
60964 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60965 last change.
60966
60967 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60968
60969 * sysdeps/unix/sysv/linux/x86_64/init-first.c
60970 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60971 syscall wrapper around clock_gettime in __vdso_clock_gettime.
60972 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60973 clock_gettime.
60974
60975 2011-09-06 Ulrich Drepper <drepper@gmail.com>
60976
60977 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60978 Forgot to demangle the pointer.
60979
60980 * sysdeps/i386/sysdep.h: Define atom_text_section.
60981 * sysdeps/x86_64/sysdep.h: Likewise.
60982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60983 section with atom_text_section.
60984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60985 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60986 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60988 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60989
60990 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60991 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60992 already be defined. Change to take two parameters and don't assign
60993 result to variable. Adjust all users.
60994 Define INTERNAL_GETTIME if not already defined.
60995 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60996 call.
60997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60998 HAVE_CLOCK_GETTIME_VSYSCALL.
60999 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61000
61001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61002 gettimeofday vsyscall, just use time.
61003
61004 2011-09-06 Andreas Schwab <schwab@redhat.com>
61005
61006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61007 <errno.h>.
61008
61009 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61010
61011 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61012 syscall on x86-64.
61013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61014 syscall.
61015 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61017 syscall if possible.
61018
61019 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61020
61021 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61022 e_ident. Don't pass to find_mapsXX.
61023 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61024
61025 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61026
61027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61028 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61029 * sysdeps/x86_64/multiarch/strchr.S: Update.
61030 Check bit_slow_BSF bit.
61031 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61032 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61033 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61034
61035 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61036
61037 [BZ #13134]
61038 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61039 before glibc 2.15.
61040 (tryshell): Define.
61041 (__spawni): Change last parameter to be flag. Test
61042 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61043 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61044 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61045 * posix/spawni.c: Likewise.
61046 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61047 * posix/spawnp.c: Likewise. Change normal version to use
61048 SPAWN_XFLAGS_USE_PATH.
61049 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61050 SPAWN_XFLAGS_TRY_SHELL.
61051
61052 [BZ #13150]
61053 * posix/glob.h: Remove gcc 1.x support.
61054
61055 [BZ #13068]
61056 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61057
61058 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61059
61060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61061 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61062 strrchr-sse2-bsf
61063 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61064 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61065 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61067 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61069
61070 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61071
61072 * sysdeps/x86_64/wcscmp.S: New file.
61073
61074 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61075 wcscmp-c wcscmp-sse2
61076 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61077 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61078 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61079 * wcsmbs/wcscmp.c: Allow renaming.
61080
61081 2011-09-05 David S. Miller <davem@davemloft.net>
61082
61083 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61084 stack slot, rather than the struct return pointer slot.
61085 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61086 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61088 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61089
61090 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61091
61092 * po/ja.po: Update from translation team.
61093
61094 [BZ #13144]
61095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61096 kernel in 64-bit binaries.
61097
61098 2011-09-01 David S. Miller <davem@davemloft.net>
61099
61100 * elf/elf.h (HWCAP_SPARC_*): Move to..
61101 * sysdeps/sparc/sysdep.h: this new file and add new values.
61102 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61103 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61104 _DL_HWCAP_COUNT to 24.
61105 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61106 entries.
61107 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61108 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61109 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61111 instead of magic constants.
61112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61113
61114 2011-08-31 David S. Miller <davem@davemloft.net>
61115
61116 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61118 Reimplement to do errno handling inline.
61119 (SYSCALL_ERROR_HANDLER): New macro.
61120 (__SYSCALL_STRING): Do not do errno handling in asm.
61121 (__CLONE_SYSCALL_STRING): Delete.
61122 (__INTERNAL_SYSCALL_STRING): Delete.
61123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61124 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61125 (PSEUDO): Reimplement to do errno handling inline.
61126 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61127 (SYSCALL_ERROR_HANDLER): New macro.
61128 (__SYSCALL_STRING): Do not do errno handling in asm.
61129 (__CLONE_SYSCALL_STRING): Delete.
61130 (__INTERNAL_SYSCALL_STRING): Delete.
61131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61132 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61133 i386.
61134 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61135 (inline_syscall*): Add 'err' argument.
61136 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61137 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61138 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61139 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61140
61141 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61142 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61143
61144 2011-08-30 Andreas Schwab <schwab@redhat.com>
61145
61146 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61147
61148 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61149
61150 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61151 directive.
61152
61153 2011-08-24 David S. Miller <davem@davemloft.net>
61154
61155 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61156
61157 2011-08-24 Andreas Schwab <schwab@redhat.com>
61158
61159 * elf/Makefile: Add rules to build and run unload8 test.
61160 * elf/unload8.c: New file.
61161 * elf/unload8mod1.c: New file.
61162 * elf/unload8mod1x.c: New file.
61163 * elf/unload8mod2.c: New file.
61164 * elf/unload8mod3.c: New file.
61165
61166 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61167 it wasn't used.
61168
61169 2011-08-23 David S. Miller <davem@davemloft.net>
61170
61171 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61172 subtract stack bias.
61173 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61174 %sp not %fp in calculations.
61175 (_JMPBUF_UNWINDS_ADJ): Likewise.
61176
61177 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61178 (aio_suspend): Call it to force an exception region around the
61179 AIO_MISC_WAIT() invocation.
61180
61181 2011-08-23 Andreas Schwab <schwab@redhat.com>
61182
61183 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61184 backslash.
61185
61186 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61187
61188 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61189 protection macro.
61190 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61191 and <dl-machine.h>.
61192 (Elf64_FuncDesc): Remove.
61193
61194 2011-08-22 David S. Miller <davem@davemloft.net>
61195
61196 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61197 sigaltstack check, add missing cfi directives.
61198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61199 missing cfi directives, and sigaltstack handling.
61200
61201 2011-08-16 Andreas Schwab <schwab@redhat.com>
61202
61203 [BZ #11724]
61204 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61205 object is seen twice.
61206 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61207
61208 * elf/Makefile (distribute): Add tst-initorder2.c.
61209 (tests): Add tst-initorder2.
61210 (modules-names): Add tst-initorder2a tst-initorder2b
61211 tst-initorder2c tst-initorder2d. Add rules to build them.
61212 ($(objpfx)tst-initorder2.out): New rule.
61213 * elf/tst-initorder2.c: New file.
61214 * elf/tst-initorder2.exp: New file.
61215
61216 2011-08-22 Andreas Schwab <schwab@redhat.com>
61217
61218 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61219
61220 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61221 dependencies back to end of function.
61222
61223 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61224 $(elfobjdir)/ld.so.
61225
61226 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61227
61228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61229 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61231 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61232 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61233 of __vdso_gettimeofday.
61234 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61235 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61236 attribute_hidden.
61237 (_libc_vdso_platform_setup): Remove initialization of
61238 __vdso_gettimeofday and __vdso_time.
61239
61240 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61241
61242 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61243 and fgetc_unlocked.
61244 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61245 getc_unlocked.
61246
61247 * elf/dl-open.c (add_to_global): Report additions to the global scope
61248 for LD_DEBUG=scopes.
61249 (dl_open_worker): Also print scope of newly loaded dependencies.
61250 (_dl_show_scope): Indicate if there is no scope.
61251
61252 [BZ #13114]
61253 * stdio-common/Makefile (tests): Add bug24.
61254 * stdio-common/bug24.c: New file.
61255
61256 2011-08-19 Andreas Jaeger <aj@suse.de>
61257
61258 [BZ #13114]
61259 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61260 non-existant file when using close-on-exec mode.
61261
61262 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61263
61264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61265 the very first instruction.
61266
61267 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61268 the CFI state in the end.
61269 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61270 inclusion of dl-trampoline.h.
61271 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61272
61273 2011-08-19 Andreas Schwab <schwab@redhat.com>
61274
61275 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61276 expectations for long double.
61277
61278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61279 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61280
61281 2011-08-14 David S. Miller <davem@davemloft.net>
61282
61283 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61284 artificual limit depends upon the system page size.
61285
61286 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61287
61288 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61289 * resolv/Makefile: Define CFLAGS-libresolv.
61290
61291 2011-08-17 Andreas Schwab <schwab@redhat.com>
61292
61293 * nss/makedb.c (compute_tables): Make variables used in nested
61294 function static.
61295
61296 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61297
61298 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61299 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61300 if buffer was too small.
61301
61302 * elf/pldd.c (main): Attach to all threads in the process.
61303 Rewrite /proc handling to use *at functions.
61304
61305 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61306
61307 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61308 specifies first scope to show.
61309 (dl_open_worker): Update callers. Move printing scope of new
61310 object to before the relocation.
61311 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61312 * sysdeps/generic/ldsodefs.h: Update declaration.
61313
61314 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61315 string for the scope number.
61316
61317 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61318
61319 * nscd/servicescache.c (cache_addserv): Make sure written is always
61320 initialized.
61321
61322 2011-08-14 Roland McGrath <roland@hack.frob.com>
61323
61324 * sysdeps/i386/i486/bits/atomic.h
61325 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61326 statement expression, so as to suppress "set but not used" warning.
61327 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61328
61329 * string/strncat.c (STRNCAT): Use prototype definition.
61330
61331 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61332 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61333 -Iprograms here.
61334 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61335 (localedef-modules): Add localedef.
61336 (locale-modules): Add locale.
61337
61338 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61339 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61340 to avoid a warning.
61341
61342 2011-08-14 David S. Miller <davem@davemloft.net>
61343
61344 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61345 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61346
61347 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61348
61349 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61350 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61351 * elf/rtld.c (dl_main): Set l_name of vDSO.
61352 Call _dl_show_scope when DL_DEBUG_SCOPES.
61353 (process_dl_debug): Recognize scopes flag and also set it for all.
61354 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61355 Declare _dl_show_scope.
61356
61357 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61358 (do_dlopen): Pass caller_dlopen to dl_open.
61359 (__libc_dlopen_mode): Initialize caller_dlopen.
61360
61361 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61362 of libc. Make tolower call locale-independent. Optimize a bit by
61363 using isdigit instead of isalnum.
61364 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61365
61366 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61367
61368 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61369 was a dependency or dynamically loaded.
61370
61371 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61372
61373 * intl/l10nflist.c: Allow architecture-specific pop function.
61374 * sysdeps/x86_64/l10nflist.c: New file.
61375
61376 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61377 classification.
61378
61379 2011-08-10 Andreas Schwab <schwab@redhat.com>
61380
61381 * include/dirent.h: Add libc_hidden_proto for scandirat and
61382 scandirat64. Don't declare __scandirat64.
61383 * dirent/scandirat.c: Add libc_hidden_def.
61384 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61385 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61386
61387 2011-08-10 David S. Miller <davem@davemloft.net>
61388
61389 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61390 enum.
61391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61394
61395 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61396
61397 * Versions.def [libc]: Add GLIBC_2.15.
61398 * dirent/Makefile (routines): Add scandirat and scandirat64.
61399 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61400 GLIBC_2.15.
61401 * dirent/dirent.h: Declare scandirat and scandirat64.
61402 * dirent/scandirat.c: New file.
61403 * dirent/scandirat64.c: New file.
61404 * sysdeps/wordsize-64/scandirat.c: New file.
61405 * sysdeps/wordsize-64/scandirat64.c: New file.
61406 * dirent/opendir.c: Define opendirat.
61407 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61408 using scandirat.
61409 * dirent/scandir64.c: Adjust for scandir.c change.
61410 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61411 __scandirat64, and __scandir_cancel_handler.
61412 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61413 additional parameter and use openat instead of open (outside of ld.so).
61414 Add new __opendir as wrapper around __opendirat.
61415 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61416 here without requiring old scandirat implementation.
61417
61418 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61419
61420 * dirent/scandir.c (cancel_handler): Renamed to
61421 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61422 defined. Adjust users.
61423 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61424 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61425
61426 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61427
61428 * string/test-string.h (IMPL): Use __STRING to expand name and then
61429 stringify it.
61430
61431 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61432 of cleanups.
61433
61434 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61435
61436 * string/Makefile: Update.
61437 (strop-tests): Append strncat.
61438 * string/test-wcscmp.c: New file.
61439 New comprehensive test for wcscmp.
61440 * string/test-strcmp.c: Update.
61441 (WIDE): New define.
61442
61443 2011-07-22 Andreas Schwab <schwab@redhat.com>
61444
61445 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61446 line.
61447
61448 2011-07-26 Andreas Schwab <schwab@redhat.com>
61449
61450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61451 encoding to ACE if AI_IDN.
61452
61453 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61454
61455 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61456 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61457
61458 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61459
61460 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61461 Fix overflow bug in strncat.
61462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61463
61464 * string/test-strncat.c: Update.
61465 Add new tests for checking overflow bugs.
61466
61467 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61468
61469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61470 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61471 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61472 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61473 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61474 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61475 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61476 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61477 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61478
61479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61480 (USE_AS_STRCAT): Define.
61481 Add strcat and strncat support.
61482 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61483
61484 2011-07-25 Andreas Schwab <schwab@redhat.com>
61485
61486 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61487 __n bigger than INT_MAX+1.
61488 (__strncmp_g): Likewise.
61489
61490 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61491
61492 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61493 * libio/stido.h: Likewise.
61494
61495 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61496 (AF_NFC): Define.
61497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61498 (AF_NFC): Define.
61499
61500 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61505
61506 [BZ #13021]
61507 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61508 installed.
61509
61510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61511 typo.
61512 (_dl_x86_64_save_sse): Likewise.
61513
61514 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61515
61516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61517 OSXSAVE.
61518 (_dl_x86_64_save_sse): Likewise.
61519
61520 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61521
61522 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61523
61524 2011-07-21 Andreas Schwab <schwab@redhat.com>
61525
61526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61527 change.
61528 (_dl_x86_64_save_sse): Use correct AVX check.
61529
61530 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61531
61532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61533 bug in strncpy/strncat.
61534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61535
61536 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61537
61538 * string/tester.c (test_strcat): Add tests for different alignments
61539 of source and destination.
61540 (test_strncat): Likewise.
61541
61542 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61543
61544 [BZ #12852]
61545 * posix/glob.c (glob): Check passed in values before using them in
61546 expressions to avoid some overflows.
61547 (glob_in_dir): Likewise.
61548
61549 [BZ #13007]
61550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61551 check for AVX enablement so that we don't crash with old kernels and
61552 new hardware.
61553 * elf/tst-audit4.c: Add same checks here.
61554 * elf/tst-audit6.c: Likewise.
61555
61556 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61557
61558 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61559
61560 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61561
61562 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61563
61564 * po/cs.po: Update from translation team.
61565 * po/bg.po: Likewise.
61566
61567 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61568
61569 * misc/sys/cdefs.h: Add support for const attribute.
61570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61571 to gnu_dev_{major,minor,makedev} functions.
61572
61573 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61574
61575 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61576
61577 2011-07-20 Andreas Schwab <schwab@redhat.com>
61578
61579 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61580 strlen results.
61581
61582 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61583
61584 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61585 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61586 register in order to avoid conflicts with the soft frame pointer
61587 being held in r11 when necessary.
61588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61589 (INTERNAL_VSYSCALL_NCS): Likewise.
61590
61591 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61592
61593 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61594 * elf/dl-fini.c (_dl_fini): Adjust caller.
61595 * elf/dl-close.c (_dl_close_worker): Likewise.
61596 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61597
61598 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61599
61600 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61601 "aux_cache->nlibs < 0".
61602
61603 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61604 in the reload-count case.
61605
61606 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61607
61608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61609 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61610 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61611 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61612 * sysdeps/x86_64/multiarch/strcat.S: New file.
61613 * sysdeps/x86_64/multiarch/strncat.S: New file.
61614 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61616 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61617 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61619 (USE_AS_STRCAT): Define.
61620 Add strcat and strncat support.
61621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61622 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61623 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61624 * string/strncat.c: Update.
61625 (USE_AS_STRNCAT): Define.
61626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61627 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61628 and i7.
61629 * sysdeps/x86_64/multiarch/init-arch.h
61630 (bit_Prefer_PMINUB_for_stringop): New.
61631 (index_Prefer_PMINUB_for_stringop): Likewise.
61632 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61633 bit_Prefer_PMINUB_for_stringop.
61634
61635 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61636
61637 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61638 buffer64.
61639 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61640 of casting of buffer.
61641 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61642 buffer32 and buffer64.
61643 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61644 writes instead of casting of buffer.
61645 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61646 buffer32.
61647 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61648 casting of buffer.
61649
61650 2011-07-19 Andreas Schwab <schwab@redhat.com>
61651
61652 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61653
61654 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61655
61656 * nscd/nscd.c (termination_handler): Don't do anything for a database
61657 if it has not yet been initialized.
61658
61659 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61660
61661 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61662
61663 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61664
61665 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61666
61667 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61668
61669 * po/nl.po: Update from translation team.
61670 * po/sv.po: Likewise.
61671
61672 2011-07-16 Roland McGrath <roland@hack.frob.com>
61673
61674 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61675 now disallowed by GCC.
61676
61677 * configure.in (use-default-link): Default to yes if a test -shared
61678 link meets our qualifications.
61679 * configure: Regenerated.
61680
61681 * config.make.in (output-format): New variable.
61682 * configure.in: Check for ld --print-output-format support.
61683 * configure: Regenerated.
61684 * Makerules ($(common-objpfx)format.lds)
61685 [$(output-format) != unknown]: Just use $(output-format),
61686 instead of the linker-script munging.
61687
61688 2011-07-14 Roland McGrath <roland@hack.frob.com>
61689
61690 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61691 of $(common-objpfx)shlib.lds.
61692 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61693
61694 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61695 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61696
61697 * configure.in (-z relro check): Adjust test code to add a large
61698 writable data section after it.
61699 * configure: Regenerated.
61700
61701 2011-07-11 Roland McGrath <roland@hack.frob.com>
61702
61703 * configure.in (-z relro check): Fix test code to make the variable
61704 truly const.
61705 * configure: Regenerated.
61706
61707 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61708
61709 * nscd/nscd.h (struct traced_file): Define.
61710 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61711 elements. Add traced_files.
61712 (inotify_fd): Declare.
61713 (register_traced_file): Declare.
61714 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61715 (inotify_fd): Export.
61716 (resolv_conf_descr): Remove.
61717 (nscd_init): Move inotify descriptor creation to main.
61718 Don't register files for notification here.
61719 (register_traced_file): New function.
61720 (invalidate_cache): Don't use reset_res to determine whether to call
61721 res_init, go through the list of registered files.
61722 (main_loop_poll): The inotify descriptors are now stored in the
61723 structures for the traced files.
61724 (main_loop_epoll): Likewise
61725 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61726 to __nss_disable_nscd.
61727 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61728 for a database anymore. Check the records for all the registered
61729 files instead.
61730 * nss/Makefile (libnss_files-routines): Add files-init.
61731 (libnss_db-routines): Add db-init.
61732 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61733 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61734 * nss/nss_db/db-init.c: New file.
61735 * nss/nss_files/files-init.c: New file.
61736 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61737 __nss_lookup_function.
61738 (__nss_lookup_function): Call nss_load_library.
61739 (nss_load_all_libraries): New function.
61740 (__nss_disable_nscd): Take parameter with callback function for files
61741 to register. Set is_nscd. Load all the DSOs for the NSS modules
61742 used for the cached services.
61743 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61744 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61745 options for features to all the files in nscd.
61746
61747 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61748
61749 2011-07-10 Roland McGrath <roland@hack.frob.com>
61750
61751 * csu/elf-init.c (__libc_csu_init): Comment typo.
61752
61753 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61754
61755 * po/pl.po: Update from translation team.
61756 * po/ja.po: Likewise.
61757 * po/ru.po: Likewise.
61758 * po/ko.po: Likewise.
61759 * po/fr.po: Likewise.
61760
61761 2011-07-09 Roland McGrath <roland@hack.frob.com>
61762
61763 * configure.in (.ctors/.dtors header and trailer check):
61764 Use an empirical test on a built program.
61765 * configure: Regenerated.
61766
61767 * configure.in (-z relro check): Use an empirical test on a built DSO.
61768 Detect, but do not require, on ia64.
61769 * configure: Regenerated.
61770
61771 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61772 Update tests that use readelf to use $READELF instead.
61773 * configure: Regenerated.
61774
61775 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61776
61777 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61778 if the result is not used.
61779
61780 2011-07-05 Andreas Jaeger <aj@suse.de>
61781
61782 [BZ#9696]
61783 * stdlib/tst-strtod.c: Add testcase.
61784
61785 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61786
61787 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61788 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61789 The latter has a higher limit. Take additional parameter to pass to
61790 the new function.
61791 (__pathconf): Pass file to __statfs_link_max.
61792 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61793 __statfs_link_max.
61794 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61795 __statfs_link_max.
61796
61797 [BZ #12868]
61798 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61799 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61800 Handle Lustre.
61801 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61802 (__statfs_filesize_max): Likewise.
61803 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61804
61805 2011-07-05 Andreas Jaeger <aj@suse.de>
61806
61807 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61808
61809 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61810
61811 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61812 `status' variable.
61813 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61814 Likewise.
61815
61816 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61817
61818 * Makefile (strop-tests): Add strncat.
61819 * string/test-strncat.c: New file.
61820
61821 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61822
61823 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61824
61825 2011-06-21 Andreas Jaeger <aj@suse.de>
61826
61827 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61828 Copy rule from iconvdata/Makefile.
61829
61830 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61831
61832 [BZ #12922]
61833 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61834 but no long options are defined, just return 'W'.
61835
61836 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61837
61838 [BZ #9696]
61839 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61840
61841 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61842
61843 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61844 netgroups to read.
61845 (innetgr): Likewise.
61846
61847 2011-07-05 Roland McGrath <roland@hack.frob.com>
61848
61849 * config.make.in (install_root): Default to $(DESTDIR).
61850
61851 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61852
61853 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61854
61855 2011-07-02 Roland McGrath <roland@hack.frob.com>
61856
61857 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61858
61859 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61860 containing directory rather than embedding absolute directory names.
61861
61862 * scripts/check-local-headers.sh: Rewritten using awk.
61863 Match by word, not by line. Print error messages for matches.
61864 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61865
61866 * Makerules [shlib-lds-flags empty]:
61867 ($(common-objpfx)libc_pic.opts): New target.
61868 ($(common-objpfx)libc_pic.os.clean): New target.
61869 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61870
61871 * config.make.in (OBJCOPY): New variable.
61872 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61873 * configure: Regenerated.
61874
61875 * config.make.in (use-default-link): New variable.
61876 * configure.in (use_default_link): Grok --with-default-link to set it.
61877 * configure: Regenerated.
61878 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61879 (shlib-lds, shlib-lds-flags): Define to empty.
61880
61881 * Makerules (shlib-lds): New variable.
61882 (shlib-lds-flags): New variable.
61883 (build-shlib, build-moduile, build-module-asneeded): Use it.
61884 ($(common-objpfx)libc.so): Use $(shlib-lds).
61885 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61886 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61887
61888 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61889 DT_FLAGS/DT_FLAGS_1 with zero flags.
61890
61891 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61892 linker script munging.
61893
61894 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61895
61896 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61897 as 128-bit value.
61898 * crypt/sha512.c (sha512_process_block): Perform total addition using
61899 128-bit if possible.
61900 (__sha512_finish_ctx): Likewise.
61901 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61902 as 64-bit value.
61903 * crypt/sha256.c (SWAP64): Define.
61904 (sha256_process_block): Perform total addition using 64-bit if
61905 possible.
61906 (__sha256_finish_ctx): Likewise.
61907
61908 2011-07-01 Ulrich Drepper <drepper@gmail.com>
61909
61910 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
61911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61912 * nscd/hstcache.c (cache_addhst): Likewise.
61913 * nscd/grpcache.c (cache_addgr): Likewise.
61914 * nscd/aicache.c (addhstaiX): Likewise
61915 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61916
61917 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
61918
61919 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61921 * nscd/hstcache.c (cache_addhst): Likewise.
61922 * nscd/grpcache.c (cache_addgr): Likewise.
61923 * nscd/aicache.c (addhstaiX): Likewise
61924
61925 2011-07-01 Andreas Schwab <schwab@redhat.com>
61926
61927 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61928 domain only when needed.
61929
61930 2011-06-30 Andreas Schwab <schwab@redhat.com>
61931
61932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61933 is always restored.
61934
61935 2011-06-29 Ulrich Drepper <drepper@gmail.com>
61936
61937 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61938 are re-adding the entry.
61939 * nscd/servicescache.c (cache_addserv): Likewise.
61940
61941 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
61942
61943 * sysdeps/generic/dl-irel.h: fix protection against multiple
61944 inclusions.
61945 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61946
61947 2011-06-28 Ulrich Drepper <drepper@gmail.com>
61948
61949 [BZ #12935]
61950 * malloc/memusage.sh: Fix quoting in message.
61951 * debug/xtrace.sh: Likewise.
61952
61953 * configure.in: Remove support for --experimental-malloc option, make
61954 it the default.
61955 * config.make.in: Likewise.
61956 * malloc/Makefile: Likewise.
61957
61958 2011-06-27 Andreas Schwab <schwab@redhat.com>
61959
61960 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61961 two-byte characters.
61962
61963 2011-06-27 Roland McGrath <roland@hack.frob.com>
61964
61965 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61966 AC_CACHE_CHECK invocation.
61967 * configure: Regenerated.
61968
61969 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61970
61971 2011-06-27 Ulrich Drepper <drepper@gmail.com>
61972
61973 [BZ #12350]
61974 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
61975 bit from old_res_options.
61976
61977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61978
61979 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61980 value type for setfct.
61981
61982 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
61983
61984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61985 __gettimeofday instead of gettimeofday.
61986
61987 2011-06-26 Ulrich Drepper <drepper@gmail.com>
61988
61989 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61990
61991 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
61992
61993 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61994
61995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61996 info.
61997
61998 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
61999
62000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62001 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62002 strcpy-sse2-unaligned strncpy-sse2-unaligned
62003 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62004 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62005 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62006 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62007 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62008 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62009 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62010 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62011 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62012 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62013 (STRCPY): Support SSE2 and SSSE3 versions.
62014
62015 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62016
62017 [BZ #12874]
62018 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62019 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62020 kernels which artificially limit size of requests.
62021
62022 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62023
62024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62025 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62026 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62027 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62028 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62029 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62030 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62031 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62032 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62034 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62035 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62036 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62037 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62038 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62040 Enable unaligned load optimization for Intel Core i3, i5 and i7
62041 processors.
62042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62043 Define.
62044 (index_Fast_Unaligned_Load): Define.
62045 (HAS_FAST_UNALIGNED_LOAD): Define.
62046
62047 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62048
62049 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62050
62051 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62052
62053 [BZ #12907]
62054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62055 until it is clear that the information is realy needed.
62056 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62057
62058 2011-06-22 Andreas Schwab <schwab@redhat.com>
62059
62060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62061
62062 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62063
62064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62065 /sys/devices/system/cpu/online if it is usable.
62066
62067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62068 reading the information from the /proc filesystem to once a second.
62069
62070 2011-06-21 Andreas Jaeger <aj@suse.de>
62071
62072 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62073 NULL after inclusion of kernel headers.
62074
62075 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62076
62077 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62078 calls to internal_setent.
62079
62080 [BZ #12885]
62081 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62082 addresses using gethostbyname4_r ignore IPv4 addresses.
62083
62084 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62085 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62086
62087 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62088
62089 2011-06-20 David S. Miller <davem@davemloft.net>
62090
62091 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62092 inclusions.
62093 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62094
62095 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62096 (elf_irel): Use it.
62097 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62098 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62099 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62100 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62101 * sysdeps/x86_64/dl-irel.h: Likewise.
62102
62103 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62104 * elf/dl-sym.c: Likewise.
62105
62106 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62107
62108 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62109 need to dereference resplen2.
62110
62111 2011-06-14 Andreas Schwab <schwab@redhat.com>
62112
62113 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62114
62115 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62116
62117 * Makeconfig: Define vardbdir and inst_vardbdir.
62118 * nss/Makefile: Add rules to install db-Makefile.
62119
62120 * nss/nss_db/db-XXX.c: Cleanup.
62121
62122 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62123 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62124 GLIBC_PRIVATE.
62125 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62126 * nss/makedb.c: Implement -g option to specify that value strings
62127 are generated and should not be added to table iterated over for
62128 get*ent calls.
62129 * nss/nss_db/db-initgroups.c: New file.
62130
62131 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62132 interface.
62133
62134 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62135 (internal_getgrouplist): Adjust to name change.
62136 Update use_initgroups_entry if this is not the first call.
62137 * nss/databases.def: Add initgroups entry.
62138
62139 * nss/makedb.c (compute_tables): Check result of multiple hash table
62140 sizes to minimize maximum chain length.
62141
62142 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62143
62144 * Versions.def: Add entry for libnss_db.
62145 * shlib-versions: Likewise.
62146 * nss/Makefile: Add rules to build libnss_db.
62147 * nss/Versions: Add libnss_db information. Organize libnss_files
62148 entries better.
62149 * nss/db-Makefile: Add gshadow support. Change rules for the new
62150 makedb progra. Some minor improvements to generate smaller files.
62151 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62152 here from...
62153 * nss/makedb.c: ...here.
62154 Improve database format to be smaller and require less memory at
62155 runtime.
62156 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62157 db anymore.
62158 * nss/nss_db/db-netgrp.c: Likewise.
62159 * nss/nss_db/db-open.c: Likewise.
62160 * nss/nss_files/flies-XXX.x: Adjust comments.
62161 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62162 * nss/nss_files/files-grp.c: Likewise.
62163 * nss/nss_files/files-hosts.c: Likewise.
62164 * nss/nss_files/files-network.c: Likewise.
62165 * nss/nss_files/files-proto.c: Likewise.
62166 * nss/nss_files/files-pwd.c: Likewise.
62167 * nss/nss_files/files-rpc.c: Likewise.
62168 * nss/nss_files/files-service.c: Likewise.
62169 * nss/nss_files/files-sgrp.c: Likewise.
62170 * nss/nss_files/files-spwd.c: Likewise.
62171 * nss/nss_db/db-alias.c: Removed.
62172 * nss/nss_db/dummy-db.h: Removed.
62173
62174 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62175
62176 * nss/makedb.c: Rewritten to not use database library.
62177 * nss/Makefile: Update to build new makedb program.
62178
62179 2011-06-14 Andreas Jaeger <aj@suse.de>
62180
62181 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62182 memset declaration.
62183
62184 2011-06-10 Andreas Schwab <schwab@redhat.com>
62185
62186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62187 tmpbuf.
62188
62189 2011-06-10 Roland McGrath <roland@hack.frob.com>
62190
62191 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62192 * elf/Makefile ($(objpfx)ld.so): Likewise.
62193
62194 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62195 Don't list ld.so twice in dependencies.
62196
62197 * posix/bug-regex31.c: Include <stdlib.h>.
62198
62199 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62200
62201 * nis/nss_compat/compat-spwd.c
62202 (getspent_next_nss_netgr): Remove unused variable.
62203 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62204
62205 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62206 nonmembers" output to use the right array.
62207
62208 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62209
62210 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62211
62212 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62213 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62214 * catgets/gencat.c (read_input_file): Likewise.
62215 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62216
62217 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62218 variable definition inside #if's controlling its use.
62219
62220 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62221
62222 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62223
62224 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62225
62226 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62227 unreachable code.
62228
62229 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62230
62231 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62232 * configure: Regenerated.
62233
62234 * Makerules: Revert last change.
62235 * elf/Makefile: Likewise.
62236
62237 2011-06-09 Roland McGrath <roland@hack.frob.com>
62238
62239 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62240 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62241 (reloc-link): Likewise.
62242
62243 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62244
62245 * elf/Makefile: Add rules to build pldd.
62246 * elf/pldd.c: New file.
62247 * elf/pldd-xx.c: New file.
62248
62249 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62250
62251 * version.h: Update for 2.15 development version.
62252
62253 2011-06-07 David S. Miller <davem@davemloft.net>
62254
62255 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62256 ifuncs.
62257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62258 elf_machine_lazy_rel): Likewise.
62259 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62261 elf_machine_lazy_rel): Likewise.
62262 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62263 dl_hwcap via passed in argument.
62264 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62265 Likewise.
62266
62267 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62268
62269 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62270
62271 2011-06-06 Roland McGrath <roland@hack.frob.com>
62272
62273 [BZ #12849]
62274 * manual/fdl-1.1.texi: New file, verbatim from:
62275 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62276 * manual/lgpl-2.1.texi: New file, verbatim from:
62277 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62278 * manual/Makefile (licenses): New variable, list those new file names.
62279 (texis): Use it.
62280 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62281
62282 * manual/fdl.texi: File removed.
62283 * manual/lesser.texi: File removed.
62284 * manual/libc.texinfo (Copying, Documentation License):
62285 Use new @include file names, put @appendix directive before @include.
62286
62287 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62288
62289 [BZ #12841]
62290 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62291 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62292 (mq_open): Add __NTH.
62293
62294 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62295
62296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62297 Assume Intel Core i3/i5/i7 processor if AVX is available.
62298
62299 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62300
62301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62302 typo.
62303
62304 2011-05-31 Andreas Schwab <schwab@redhat.com>
62305
62306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62307 memory. Use alloca_account. Fix memory leak when retrying.
62308
62309 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62310
62311 * version.h (RELEASE): Bump for 2.14 release.
62312 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62313
62314 * config.make.in (RANLIB): Remove entry.
62315
62316 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62317
62318 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62319 (libc.pot): Work around missing support for .ksh extension in xgettext.
62320
62321 [BZ #12684]
62322 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62323 if both request failed.
62324 (send_dg): In case of server errors clear resplen or *resplen2.
62325
62326 [BZ #12454]
62327 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62328 when there are multiple maps.
62329 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62330 (_dl_fini): Remove test here.
62331
62332 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62333
62334 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62335
62336 [BZ #12350]
62337 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62338 bit from old_res_options.
62339 (gaih_inet): Likewise.
62340
62341 [BZ #11099]
62342 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62343 as signed.
62344
62345 * resolv/res_init.c (res_setoptions): Make the code more compact.
62346
62347 [BZ #11558]
62348 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62349 set RES_USEVC.
62350
62351 [BZ #11634]
62352 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62353
62354 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62355
62356 [BZ #11781]
62357 * malloc/malloc.h: Declare malloc hook variables as volatile.
62358
62359 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62360 in last patch.
62361
62362 [BZ #11799]
62363 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62364 raise in the comment.
62365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62367 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62368
62369 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62370
62371 [BZ #12811]
62372 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62373 grow the buffers more if it already has to be sufficient.
62374 (build_wcs_upper_buffer): Likewise.
62375 * posix/regexec.c (check_matching): Likewise.
62376 (clean_state_log_if_needed): Likewise.
62377 (extend_buffers): Don't enlarge buffers beyond size of the input
62378 buffer.
62379 Patches mostly by Emil Wojak <emil@wojak.eu>.
62380 * posix/bug-regex32.c: New file.
62381 * posix/Makefile (tests): Add bug-regex32.
62382
62383 * locale/findlocale.c (_nl_find_locale): Return right away if
62384 _nl_explode_name failed.
62385 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62386
62387 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62388
62389 * debug/xtrace.sh: Unify messages.
62390 * malloc/memusage.sh: Likewise.
62391
62392 [BZ #12813]
62393 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62394 time symbol from vDSO. Substitute with vsyscall if not available.
62395 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62396 __vdso_time.
62397
62398 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62399 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62400 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62401 Add sendmmsg and internal_sendmmsg.
62402 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62403 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62404 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62405
62406 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62407 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62409
62410 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62411
62412 [BZ #12813]
62413 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62414 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62415 available.
62416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62417 __vdso_getcpu.
62418
62419 [BZ #12814]
62420 * iconvdata/Makefile (tests): Add bug-iconv9.
62421 * iconvdata/bug-iconv9.c: New file.
62422
62423 2011-05-27 Andreas Schwab <schwab@redhat.com>
62424
62425 [BZ #12814]
62426 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62427
62428 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62429
62430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62431 (struct user_regs_struct): Change intcs field back to cs.
62432
62433 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62434
62435 * po/ja.po: Update from translation team.
62436
62437 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62438
62439 [BZ #12795]
62440 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62441 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62442
62443 2011-05-20 Andreas Schwab <schwab@redhat.com>
62444
62445 * stdlib/longlong.h: Update from GCC.
62446
62447 2011-05-23 Andreas Schwab <schwab@redhat.com>
62448
62449 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62450 parameter name.
62451 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62452 Add parameter name.
62453 (__sysconf): Pass it down.
62454
62455 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62456
62457 [BZ #12671]
62458 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62459 some situations.
62460 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62461 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62462 add in in __libc_use_alloca calls. Adjust callers.
62463 (glob): Use malloc in some situations.
62464
62465 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62466 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62467 pltexit.
62468
62469 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62470
62471 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62472 and CLOCK_BOOTTIME_ALARM.
62473
62474 [BZ #12782]
62475 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62476 is returned.
62477
62478 * string/_strerror.c (__strerror_r): Print negative errors as signed
62479 numbers.
62480
62481 [BZ #12777]
62482 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62483 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62484 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62485
62486 * configure.in: Fix typo in redirection and correct removal of test
62487 files in two cases.
62488
62489 [BZ #12788]
62490 * locale/setlocale.c (new_composite_name): Fix test to check for
62491 identical name of all categories.
62492
62493 [BZ #12792]
62494 * libio/filedoalloc.c (local_isatty): New function.
62495 (_IO_file_doallocate): Use local_isatty.
62496 * stdio-common/perror.c (perror): In case a new stream is used
62497 forward the stream error.
62498 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62499 error flag.
62500
62501 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62502
62503 [BZ #11869]
62504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62505 alloca.
62506 * include/alloca.h (extend_alloca_account): Define.
62507
62508 [BZ #11857]
62509 * posix/regex.h: Fix comments with documentation of user-accessible
62510 fields after compilation and describe correct free'ing of pattern
62511 after re_compile_pattern.
62512 Patch by Reuben Thomas <rrt@sc3d.org>.
62513
62514 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62515
62516 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62517 and -mno-altivec to prevent the compiler from using Altivec and/or
62518 VSX instructions when the corresponding registers are not available.
62519
62520 2011-05-19 Andreas Schwab <schwab@redhat.com>
62521
62522 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62523
62524 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62525
62526 * libio/freopen.c (freopen): Use __dup2, not dup2.
62527 * libio/freopen64.c (freopen64): Likewise.
62528
62529 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62530
62531 [BZ #12775]
62532 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62533 * math/Makefile (tests): Add test-powl.
62534 (CFLAGS-test-powl.c): Define.
62535 * math/test-powl.c: New file.
62536
62537 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62538
62539 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62540
62541 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62542
62543 [BZ #11837]
62544 * iconvdata/gb18030.c: Update to GB18020-2005.
62545
62546 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62547
62548 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62549 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62550 Patch by Aharon Robbins <arnold@skeeve.com>.
62551
62552 [BZ #11892]
62553 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62554 on the stack.
62555
62556 [BZ #11895]
62557 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62558 through underflows.
62559
62560 [BZ #12766]
62561 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62562 point to strings before performing equality test for error_one_per_line
62563 mode.
62564
62565 [BZ #11697]
62566 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62567
62568 [BZ #11820]
62569 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62570 (struct user_fpregs_struct): Avoid __uint*_t types.
62571
62572 [BZ #6420]
62573 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62574 symbol info. Use it instead of calling _dl_addr locally.
62575 (lock_and_info): New function.
62576 (tr_freehook): Call lock_and_info and pass symbol info as additional
62577 parameter to tr_where.
62578 (tr_mallochook): Likewise.
62579 (tr_reallochook): Likewise.
62580 (tr_memalignhook): Likewise.
62581
62582 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62583 used and couldn't be at all thread-safe.
62584
62585 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62586
62587 * libio/freopen.c (freopen): Don't close old file descriptor
62588 before the new one is opened. Instead dup the new file descriptor
62589 to the old one after the new stream is created.
62590 * libio/freopen64.c (freopen64): Likewise.
62591 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62592 * libio/fileops.c (_IO_new_file_close_it): Handle new
62593 _IO_FLAGS2_NOCLOSE flag.
62594 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62595 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62596 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62597 _IO_FLAGS2_NOCLOSE flag.
62598 * include/unistd.h: Add hidden_proto for dup3.
62599 Define __have_dup3.
62600 * io/dup3.c: Define hidden symbol.
62601 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62602
62603 [BZ #7101]
62604 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62605 when an incomplete long option is used.
62606 * posix/tst-getopt_long1.c: New file.
62607 * posix/Makefile (tests): Add tst-getopt_long1.
62608
62609 [BZ #10138]
62610 * scripts/config.guess: Update from autoconf-2.68.
62611 * scripts/config.sub: Likewise.
62612
62613 [BZ #10157]
62614 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62615 tests into ...
62616 (has_cpuclock): ...this. New function.
62617 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62618 macro here based on has_cpuclock code.
62619
62620 [BZ #10149]
62621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62622 First byte (not low byte) is now always NUL.
62623 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62624
62625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62626 Use non-cancelable interfaces.
62627
62628 [BZ #9809]
62629 * locale/iso-639.def: Add entry for Sorani.
62630
62631 [BZ #11901]
62632 * include/stdlib.h: Move include protection to the right place.
62633 Define abort_msg_s. Declare __abort_msg with it.
62634 * stdlib/abort.c (__abort_msg): Adjust type.
62635 * assert/assert.c (__assert_fail_base): New function. Majority
62636 of code from __assert_fail. Allocate memory for __abort_msg with
62637 mmap.
62638 (__assert_fail): Now call __assert_fail_base.
62639 * assert/assert-perr.c: Remove bulk of implementation. Use
62640 __assert_fail_base.
62641 * include/assert.hL Declare __assert_fail_base.
62642 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62643 mmap.
62644 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62645
62646 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62647
62648 [BZ #11952]
62649 [BZ #12453]
62650 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62651 until all modules are registered in the DTV.
62652 * elf/Makefile: Add rules to build and run tst-tls19.
62653 * elf/tst-tls19.c: New file.
62654 * elf/tst-tls19mod1.c: New file.
62655 * elf/tst-tls19mod2.c: New file.
62656 * elf/tst-tls19mod3.c: New file.
62657 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62658
62659 [BZ #12083]
62660 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62661 correctly.
62662
62663 [BZ #12601]
62664 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62665 two-byte sequence errors.
62666 * iconvdata/Makefile (tests): Add bug-iconv8.
62667 * iconvdata/bug-iconv8.c: New file.
62668
62669 [BZ #12626]
62670 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62671 buf2 definition.
62672
62673 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62674
62675 [BZ #12432]
62676 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62677 (dummy_getcfa): New function.
62678 (init): Get _Unwind_GetCFA address, use dummy if not found.
62679 (backtrace_helper): In recursion check, also check whether CFA changes.
62680 (__backtrace): Completely initialize arg.
62681
62682 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62683 storing incomplete byte sequence in state object. Avoid testing for
62684 guaranteed too small input if we know there is enough data available.
62685
62686 2011-05-11 Andreas Schwab <schwab@redhat.com>
62687
62688 * Makeconfig (+link-pie): Indent.
62689 * Rules (binaries-pie): Define if $(have-fpie) and
62690 $(build-shared).
62691 (binaries-shared): Also filter out $(binaries-pie).
62692 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62693 * nscd/Makefile (others-pie): Add nscd.
62694 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62695 ($(objpfx)nscd): Remove command override.
62696 * login/Makefile (others-pie): Add pt_chown.
62697 ($(objpfx)pt_chown): Remove command override.
62698 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62699 remove command overrides.
62700
62701 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62702
62703 * libio/tst_putwc.c: Fix error messages.
62704
62705 [BZ #12724]
62706 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62707 currently writing and seek to current position when not.
62708 * libio/Makefile (tests): Add bug-fclose1.
62709 * libio/bug-fclose1.c: New file.
62710
62711 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62712
62713 [BZ #12511]
62714 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62715 don't set DF_1_NODELETE here.
62716 (do_lookup_x): When entering new entry test for copy relocation
62717 and if necessary set DF_1_NODELETE flag.
62718 * elf/tst-unique4.cc: New file.
62719 * elf/tst-unique4.h: New file.
62720 * elf/tst-unique4lib.cc: New file.
62721 * elf/Makefile: Add rules to build and run tst-unique4.
62722 Patch by Piotr Bury <pbury@goahead.com>.
62723
62724 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62725
62726 [BZ #12052]
62727 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62728
62729 [BZ #12625]
62730 * misc/mntent_r.c (addmntent): Flush the stream after the output
62731
62732 [BZ #12393]
62733 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62734 (is_trusted_path_normalize): Skip initial colon. Append slash
62735 to empty buffer. Duplicate is_trusted_path code but allow
62736 constructed patch to be prefix.
62737 (is_dst): Allow $ORIGIN followed by /.
62738 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62739 Correct testing of result of is_trusted_path_normalize
62740 (decompose_rpath): Fix warning.
62741
62742 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62743
62744 [BZ #11257]
62745 * grp/initgroups.c (internal_getgrouplist): When we found the service
62746 list through the initgroups entry in nsswitch.conf do not always
62747 continue on a successful lookup. Don't always use the
62748 __nss_group_database value if it is set.
62749 * nss/nsswitch.conf (initgroups): Change action for successful db
62750 lookup to continue for compatibility.
62751
62752 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62753
62754 [BZ #11532]
62755 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62756 and CP774 modules.
62757 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62758 and CP774 modules.
62759 * iconvdata/tst-tables.sh: Likewise.
62760 * iconvdata/cp770.c: New file.
62761 * iconvdata/cp771.c: New file.
62762 * iconvdata/cp772.c: New file.
62763 * iconvdata/cp773.c: New file.
62764 * iconvdata/cp774.c: New file.
62765 * iconvdata/testdata/CP770: New file.
62766 * iconvdata/testdata/CP770..UTF8: New file.
62767 * iconvdata/testdata/CP771: New file.
62768 * iconvdata/testdata/CP771..UTF8: New file.
62769 * iconvdata/testdata/CP772: New file.
62770 * iconvdata/testdata/CP772..UTF8: New file.
62771 * iconvdata/testdata/CP773: New file.
62772 * iconvdata/testdata/CP773..UTF8: New file.
62773 * iconvdata/testdata/CP774: New file.
62774 * iconvdata/testdata/CP774..UTF8: New file.
62775
62776 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62777 END CHARMAP line.
62778 * iconvdata/gen-8bit-gap.sh: Likewise.
62779 * iconvdata/gen-8bit.sh: Likewise.
62780
62781 * locale/iso-639.def: Add ary entry.
62782
62783 [BZ #11258]
62784 * locale/C-translit.h.in: Add U20A1 transliteration.
62785
62786 [BZ #12178]
62787 * locale/iso-639.def: Add wae entry.
62788 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62789
62790 [BZ #12545]
62791 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62792 for n.
62793
62794 [BZ #12711]
62795 * locale/C-translit.h.in: Add entry for U20B9.
62796 Patch by pravin.d.s@gmail.com.
62797
62798 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62799
62800 [BZ #12713]
62801 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62802 ENAMETOOLONG use generic getcwd.
62803 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62804 in rtld. Use *stat64.
62805 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62806 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62807 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62808 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62809 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62810 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62811 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62812 __fstatat64 macros.
62813 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62814 * dirent/rewinddir.c: Add libc_hidden_def.
62815 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62816 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62817
62818 * include/dirent.h (__alloc_dir): Add flags parameter.
62819 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62820 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62821 __alloc_dir.
62822 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62823 from fdopendir if O_CLOEXEC is already set.
62824
62825 2011-03-15 Alan Modra <amodra@gmail.com>
62826
62827 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62828 l_tls_firstbyte_offset non-zero. Save padding offset in
62829 l_tls_firstbyte_offset for later use.
62830 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62831 freeing static tls block.
62832
62833 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62834
62835 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62836 where #ifdef was intended. The intent is to prevent ARG_MAX from
62837 being defined by the kernel headers.
62838
62839 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62840
62841 [BZ #12734]
62842 * resolv/resolv.h: Define RES_NOTLDQUERY.
62843 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62844 no-tld-query and set RES_NOTLDQUERY.
62845 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62846 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62847 modern BIND to search name as TLD unless forbidden.
62848
62849 2011-05-07 Petr Baudis <pasky@suse.cz>
62850 Ulrich Drepper <drepper@gmail.com>
62851
62852 [BZ #12393]
62853 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62854 (is_trusted_path): ...to here.
62855 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62856 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62857 using is_trusted_path_normalize() in setuid scripts.
62858
62859 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62860
62861 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62862 __BEGIN/__END_DECLS.
62863
62864 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62865
62866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62867 NSS_STATUS_NOTFOUND if no record was found.
62868
62869 2011-05-05 Andreas Schwab <schwab@redhat.com>
62870
62871 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62872 (headers-not-in-tirpc): Remove rpc/netdb.h
62873 * resolv/netdb.h: Revert last change.
62874
62875 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62876
62877 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62878 circular dependency between libgcc.a and libc.a.
62879
62880 2011-05-05 Andreas Schwab <schwab@redhat.com>
62881
62882 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62883 * nis/Makefile: Don't install rpcsvc/*.
62884 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62885 instead of <rpc/types.h>.
62886 (MAXHOSTNAMELEN): Define.
62887
62888 2011-05-03 Andreas Schwab <schwab@redhat.com>
62889
62890 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62891
62892 2011-04-28 Maciej Babinski <mbabinski@google.com>
62893
62894 [BZ #12714]
62895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62896 gethostbyname4_r when IPv6 results are possible.
62897
62898 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62899
62900 [BZ #12723]
62901 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62902 _PC_PIPE_BUF handling.
62903
62904 2011-04-30 Bruno Haible <bruno@clisp.org>
62905
62906 [BZ #12717]
62907 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62908 * resolv/netdb.h (getnameinfo): Change type of flags parameter
62909 to 'int'.
62910 * inet/getnameinfo.c (getnameinfo): Likewise.
62911
62912 2011-04-29 Ulrich Drepper <drepper@gmail.com>
62913
62914 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62915 to groups setting in database lookup.
62916 * nss/nsswitch.conf: Add initgroups entry.
62917
62918 2011-04-22 Ulrich Drepper <drepper@gmail.com>
62919
62920 [BZ #12685]
62921 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62922 mode string.
62923 Patch by Eric Blake <eblake@redhat.com>.
62924
62925 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
62926
62927 * sunrpc/Makefile (need-export-routines): Add svc_run.
62928 (routines): Remove svc_run.
62929 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62930 * sunrpc/clnt_perr.c (clnt_perrno): Export.
62931 * sunrpc/svc_run.c (svc_run): Likewise.
62932 * sunrpc/svc_udp.c (svcudp_create): Likewise.
62933
62934 2011-04-21 Ulrich Drepper <drepper@gmail.com>
62935
62936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62937 problem in reallocation in last patch.
62938
62939 2011-04-20 Ulrich Drepper <drepper@gmail.com>
62940
62941 * sunrpc/Makefile: Move inclusion of Rules.
62942
62943 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62944
62945 * nss/nss_files/files-initgroups.c: New file.
62946 * nss/Makefile (libnss_files-routines): Add files-initgroups.
62947 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62948 _nss_files_initgroups_dyn.
62949
62950 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
62951
62952 * elf/elf.h (R_ARM_IRELATIVE): Define.
62953
62954 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62955
62956 * po/ru.po: Update from translation team.
62957
62958 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62959
62960 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62961 dependencies.
62962
62963 2011-02-06 Mike Frysinger <vapier@gentoo.org>
62964
62965 [BZ #12653]
62966 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62967 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62969 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62971
62972 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
62973
62974 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62975 differing bytes.
62976 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62979
62980 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62981
62982 [BZ #12420]
62983 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62984 storing it.
62985 * stdlib/bug-getcontext.c: New file.
62986 * stdlib/Makefile: Add rules to build and run bug-getcontext.
62987
62988 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62989
62990 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62991 instructions into .machine "z9-109".
62992 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62993 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62994
62995 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62996
62997 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62998 between environment variables and auxiliary vector.
62999
63000 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63001
63002 * Makefile: Add rules to build linkobj/libc.so.
63003 * include/libc-symbols.h: Define libc_hidden_nolink.
63004 * include/rpc/auth.h: Mark functions which are to be hidden.
63005 * include/rpc/auth_des.h: Likewise.
63006 * include/rpc/auth_unix.h: Likewise.
63007 * include/rpc/clnt.h: Likewise.
63008 * include/rpc/des_crypt.h: Likewise.
63009 * include/rpc/key_prot.h: Likewise.
63010 * include/rpc/pmap_clnt.h: Likewise.
63011 * include/rpc/pmap_prot.h: Likewise.
63012 * include/rpc/pmap_rmt.h: Likewise.
63013 * include/rpc/rpc_msg.h: Likewise.
63014 * include/rpc/svc.h: Likewise.
63015 * include/rpc/svc_auth.h: Likewise.
63016 * include/rpc/xdr.h: Likewise.
63017 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63018 * nss/Makefile: Likewise.
63019 * sunrpc/Makefile: Don't install headers. Build library with normal
63020 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63021 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63022 for the compat linking library. Remove use of INTDEF/INTUSE.
63023 * sunrpc/auth_none.c: Likewise.
63024 * sunrpc/auth_unix.c: Likewise.
63025 * sunrpc/authdes_prot.c: Likewise.
63026 * sunrpc/authuxprot.c: Likewise.
63027 * sunrpc/clnt_gen.c: Likewise.
63028 * sunrpc/clnt_perr.c: Likewise.
63029 * sunrpc/clnt_raw.c: Likewise.
63030 * sunrpc/clnt_simp.c: Likewise.
63031 * sunrpc/clnt_tcp.c: Likewise.
63032 * sunrpc/clnt_udp.c: Likewise.
63033 * sunrpc/clnt_unix.c: Likewise.
63034 * sunrpc/des_crypt.c: Likewise.
63035 * sunrpc/des_soft.c: Likewise.
63036 * sunrpc/get_myaddr.c: Likewise.
63037 * sunrpc/key_call.c: Likewise.
63038 * sunrpc/key_prot.c: Likewise.
63039 * sunrpc/netname.c: Likewise.
63040 * sunrpc/pm_getmaps.c: Likewise.
63041 * sunrpc/pm_getport.c: Likewise.
63042 * sunrpc/pmap_clnt.c: Likewise.
63043 * sunrpc/pmap_prot.c: Likewise.
63044 * sunrpc/pmap_prot2.c: Likewise.
63045 * sunrpc/pmap_rmt.c: Likewise.
63046 * sunrpc/publickey.c: Likewise.
63047 * sunrpc/rpc_cmsg.c: Likewise.
63048 * sunrpc/rpc_common.c: Likewise.
63049 * sunrpc/rpc_dtable.c: Likewise.
63050 * sunrpc/rpc_prot.c: Likewise.
63051 * sunrpc/rpc_thread.c: Likewise.
63052 * sunrpc/rtime.c: Likewise.
63053 * sunrpc/svc.c: Likewise.
63054 * sunrpc/svc_auth.c: Likewise.
63055 * sunrpc/svc_authux.c: Likewise.
63056 * sunrpc/svc_raw.c: Likewise.
63057 * sunrpc/svc_run.c: Likewise.
63058 * sunrpc/svc_simple.c: Likewise.
63059 * sunrpc/svc_tcp.c: Likewise.
63060 * sunrpc/svc_udp.c: Likewise.
63061 * sunrpc/svc_unix.c: Likewise.
63062 * sunrpc/svcauth_des.c: Likewise.
63063 * sunrpc/xcrypt.c: Likewise.
63064 * sunrpc/xdr.c: Likewise.
63065 * sunrpc/xdr_array.c: Likewise.
63066 * sunrpc/xdr_float.c: Likewise.
63067 * sunrpc/xdr_intXX_t.c: Likewise.
63068 * sunrpc/xdr_mem.c: Likewise.
63069 * sunrpc/xdr_rec.c: Likewise.
63070 * sunrpc/xdr_ref.c: Likewise.
63071 * sunrpc/xdr_sizeof.c: Likewise.
63072 * sunrpc/xdr_stdio.c: Likewise.
63073
63074 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63075
63076 [BZ #12650]
63077 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63078 * sysdeps/ia64/dl-tls.h: Likewise.
63079 * sysdeps/powerpc/dl-tls.h: Likewise.
63080 * sysdeps/s390/dl-tls.h: Likewise.
63081 * sysdeps/sh/dl-tls.h: Likewise.
63082 * sysdeps/sparc/dl-tls.h: Likewise.
63083 * sysdeps/x86_64/dl-tls.h: Likewise.
63084 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63085
63086 2011-03-14 Andreas Schwab <schwab@redhat.com>
63087
63088 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63089 rpath element also skip the following colon.
63090 (expand_dynamic_string_token): Add is_path parameter and pass
63091 down to DL_DST_REQUIRED and _dl_dst_substitute.
63092 (decompose_rpath): Call expand_dynamic_string_token with
63093 non-zero is_path. Ignore empty rpaths.
63094 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63095 with zero is_path.
63096
63097 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63098
63099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63100 Make cancelable.
63101
63102 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63103
63104 [BZ #12655]
63105 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63106 Patch by Filipe David Manana <fdmanana@apache.org>.
63107
63108 2011-04-07 Andreas Schwab <schwab@redhat.com>
63109
63110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63111 Maintain aligned stack.
63112 (CHECK_RSP): Remove unused macro.
63113
63114 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63115
63116 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63118
63119 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63120
63121 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63122
63123 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63124
63125 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63126
63127 [BZ #12518]
63128 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63129 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63130 * sysdeps/x86_64/memmove.c: New file.
63131 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63132 (memcpy): Renamed to ...
63133 (__new_memcpy): This.
63134 (memcpy): Provide GLIBC_2_14 memcpy.
63135 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63136 (memcpy): Provide GLIBC_2_2_5 memcpy.
63137
63138 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63139
63140 [BZ #12631]
63141 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63142
63143 2011-03-30 Andreas Schwab <schwab@redhat.com>
63144
63145 * misc/syncfs.c: New file.
63146 * misc/Makefile (routines): Add syncfs.
63147 * posix/unistd.h: Declare syncfs.
63148 * sysdeps/unix/syscalls.list: Add syncfs.
63149
63150 2011-04-01 Andreas Schwab <schwab@redhat.com>
63151
63152 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63153 open_by_handle_at.
63154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63155 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63159 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63161
63162 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63163
63164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63168 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63171
63172 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63173 sync_file_range.c with -fexceptions.
63174 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63175 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63176 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63177 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63178 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63179 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63181 sync_file_range as cancellation point
63182 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63183 now a wrapper around __call_sync_file_range with cancellation handling.
63184 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63186 function name to __call_sync_file_range.
63187 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63188 Add call_sync_file_range.
63189
63190 2011-04-01 Andreas Schwab <schwab@redhat.com>
63191
63192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63193 bits/timex.h.
63194
63195 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63196
63197 * iconv/iconv.h: Fix typo in comment.
63198 * io/fcntl.h: Likewise.
63199 * libio/stdio.h: Likewise.
63200 * posix/spawn.h: Likewise.
63201 * posix/unistd.h: Likewise.
63202 * stdlib/stdlib.h: Likewise.
63203 * time/time.h: Likewise.
63204 * wcsmbs/wchar.h: Likewise.
63205
63206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63207 open_by_handle): Add.
63208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63209 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63210 Augment a few comments.
63211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63216 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63217 open_by_handle.
63218
63219 * io/fcntl.h (AT_EMPTY_PATH): Define.
63220
63221 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63222
63223 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63224 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63225 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63226 to...
63227 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63228 * Versions.def: Add GLIBC_2.14.
63229 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63230 Export.
63231
63232 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63233
63234 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63235 round counter.
63236 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63237
63238 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63239
63240 [BZ #12597]
63241 * string/test-strncmp.c (do_page_test): New function.
63242 (check2): Likewise.
63243 (test_main): Call check2.
63244 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63245
63246 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63247
63248 [BZ #12587]
63249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63250 Handle cache information in CPU leaf 4.
63251 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63252
63253 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63254
63255 [BZ #12583]
63256 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63257 character representation.
63258 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63259
63260 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63261
63262 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63263 END(__isnan) to END(__isnanf) to match function entry point/label
63264 EALIGN(__isnanf,...).
63265
63266 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63267
63268 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63269
63270 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63271
63272 [BZ #12510]
63273 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63274 copy from the symbol referenced in the relocation to initialize the
63275 used variable.
63276 Patch by Piotr Bury <pbury@goahead.com>.
63277 * elf/Makefile: Add rules to build and tst-unique3.
63278 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63279 * elf/tst-unique3.cc: New file.
63280 * elf/tst-unique3.h: New file.
63281 * elf/tst-unique3lib.cc: New file.
63282 * elf/tst-unique3lib2.cc: New file.
63283
63284 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63285
63286 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63287
63288 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63289 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63290 to _start.
63291
63292 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63293
63294 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63295 to-be-loaded object along a path to loader is ld.so.
63296
63297 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63298 Ulrich Drepper <drepper@gmail.com>
63299
63300 * sysdeps/x86_64/memset.S: After aligning destination, code
63301 branches to different locations depending on the value of
63302 misalignment, when multiarch is enabled. Fix this.
63303
63304 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63305
63306 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63307 Set _x86_64_preferred_memory_instruction for AMD processsors.
63308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63309 Set bit_Prefer_SSE_for_memop for AMD processors.
63310
63311 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63312
63313 * libio/fmemopen.c (fmemopen): Optimize a bit.
63314
63315 2011-03-03 Andreas Schwab <schwab@redhat.com>
63316
63317 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63318
63319 2011-03-03 Roland McGrath <roland@redhat.com>
63320
63321 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63322
63323 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63324
63325 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63326 __bzero_ultra1 instead of __memset_ultra1.
63327
63328 2011-02-23 Andreas Schwab <schwab@redhat.com>
63329 Ulrich Drepper <drepper@gmail.com>
63330
63331 [BZ #12509]
63332 * include/link.h (struct link_map): Add l_orig_initfini.
63333 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63334 returning unsuccessfully.
63335 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63336 close of a file loaded at startup, restore the original l_initfini
63337 list.
63338 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63339 list, store the pointer.
63340 * elf/Makefile ($(objpfx)noload-mem): New rule.
63341 (noload-ENV): Define.
63342 (tests): Add $(objpfx)noload-mem.
63343 * elf/noload.c: Include <memcheck.h>.
63344 (main): Call mtrace. Close all opened handles.
63345
63346 2011-02-17 Andreas Schwab <schwab@redhat.com>
63347
63348 [BZ #12454]
63349 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63350 dependencies are missing.
63351
63352 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63353
63354 Fix __if_freereq crash: Unlike the generic version which uses free,
63355 Hurd needs munmap.
63356 * sysdeps/mach/hurd/ifreq.h: New file.
63357
63358 2011-01-27 Petr Baudis <pasky@suse.cz>
63359 Ulrich Drepper <drepper@gmail.com>
63360
63361 [BZ 12445]#
63362 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63363 to extend_alloca().
63364 * stdio-common/bug23.c: New file.
63365 * stdio-common/Makefile (tests): Add bug23.
63366
63367 2010-09-28 Andreas Schwab <schwab@redhat.com>
63368 Ulrich Drepper <drepper@gmail.com>
63369
63370 [BZ #12489]
63371 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63372 before performing relro protection. At old place add assertion
63373 to make sure nothing changed.
63374
63375 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63376 Glauber de Oliveira Costa <glommer@gmail.com>
63377
63378 * elf/elf.h: Add new ARM TLS relocs.
63379
63380 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63381
63382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63383 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63384 cast from r3.
63385 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63386 'tests' variable.
63387 * sysdeps/wordsize-64/tst-writev.c: New file.
63388
63389 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63390
63391 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63392 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63393 insns in _dl_start to prevent a TOC reference before relocs are
63394 resolved.
63395
63396 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63397
63398 [BZ #12469]
63399 * Makeconfig: Remove RANLIB definition.
63400 * Makerules: Don't use RANLIB.
63401 * aclocal.m4: Remove ranlib test.
63402 * configure.in: No need to check for ranlib.
63403 * elf/rtld-Rules: Don't use RANLIB.
63404
63405 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63406
63407 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63408 protection macro.
63409 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63410 inclusion protection macro.
63411
63412 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63413 SIGRTMIN and SIGRTMAX and print information in that case only when
63414 SIGRTMIN is defined.
63415
63416 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63417
63418 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63419 arginfo fn returning -1.
63420
63421 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63422 and thousands string is zero terminated.
63423
63424 2011-02-03 Andreas Schwab <schwab@redhat.com>
63425
63426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63427 sysdeps/unix/sysv/linux/bits/socket.h.
63428
63429 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63430
63431 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63432 (__CPU_COUNT): Remove old macros.
63433 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63434 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63435 (__CPU_ALLOC, __CPU_FREE): Add macros.
63436 (__sched_cpualloc, __sched_cpufree): Add declarations.
63437
63438 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63439
63440 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63441 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63442 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63443 (readdhstai): Return value of addhstaiX call.
63444 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63445 (addgrbyX): Return value returned by cache_addgr.
63446 (readdgrbyname): Return value returned by addgrbyX.
63447 (readdgrbygid): Likewise.
63448 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63449 (addpwbyX): Return value returned by cache_addpw.
63450 (readdpwbyname): Return value returned by addhstbyX.
63451 (readdpwbyuid): Likewise.
63452 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63453 (addservbyX): Return value returned by cache_addserv.
63454 (readdservbyname): Return value returned by addservbyX:
63455 (readdservbyport): Likewise.
63456 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63457 (addhstbyX): Return value returned by cache_addhst.
63458 (readdhstbyname): Return value returned by addhstbyX.
63459 (readdhstbyaddr): Likewise.
63460 (readdhstbynamev6): Likewise.
63461 (readdhstbyaddrv6): Likewise.
63462 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63463 (readdinitgroups): Return value returned by addinitgroupsX.
63464 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63465 (prune_cache): Keep track of timeout value of re-added entries.
63466 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63467 * nscd/nscd.h: Adjust prototypes of readd* functions.
63468
63469 2011-02-04 Roland McGrath <roland@redhat.com>
63470
63471 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63472 (nis_stats): Likewise.
63473 * nis/nis_modify.c (nis_modify): Likewise.
63474 * nis/nis_remove.c (nis_remove): Likewise.
63475 * nis/nis_add.c (nis_add): Likewise.
63476
63477 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63478
63479 * posix/fnmatch_loop.c: Add some consts.
63480
63481 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63482
63483 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63484
63485 [BZ #12460]
63486 * config.make.in (config-cflags-novzeroupper): Define.
63487 * configure.in: Substitute libc_cv_cc_novzeroupper.
63488 * elf/Makefile (AVX-CFLAGS): Define.
63489 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63490 (CFLAGS-tst-auditmod4a.c): Likewise.
63491 (CFLAGS-tst-auditmod4b.c): Likewise.
63492 (CFLAGS-tst-auditmod6b.c): Likewise.
63493 (CFLAGS-tst-auditmod6c.c): Likewise.
63494 (CFLAGS-tst-auditmod7b.c): Likewise.
63495 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63496
63497 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63498
63499 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63500 function to the callback.
63501 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63502
63503 2011-02-02 Andreas Schwab <schwab@redhat.com>
63504
63505 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63506 of errno.
63507
63508 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63509
63510 [BZ #11724]
63511 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63512 of constructors.
63513 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63514 of destructors.
63515 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63516
63517 [BZ #11724]
63518 * elf/Makefile: Add rules to build and run new test.
63519 * elf/tst-initorder.c: New file.
63520 * elf/tst-initorder.exp: New file.
63521 * elf/tst-initordera1.c: New file.
63522 * elf/tst-initordera2.c: New file.
63523 * elf/tst-initordera3.c: New file.
63524 * elf/tst-initordera4.c: New file.
63525 * elf/tst-initorderb1.c: New file.
63526 * elf/tst-initorderb2.c: New file.
63527 * elf/tst-order-a1.c: New file.
63528 * elf/tst-order-a2.c: New file.
63529 * elf/tst-order-a3.c: New file.
63530 * elf/tst-order-a4.c: New file.
63531 * elf/tst-order-b1.c: New file.
63532 * elf/tst-order-b2.c: New file.
63533 * elf/tst-order-main.c: New file.
63534 New test case by George Gensure <werkt0@gmail.com>.
63535
63536 2010-10-01 Andreas Schwab <schwab@redhat.com>
63537
63538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63539 decoding ACE if AI_CANONIDN.
63540
63541 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63542
63543 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63544
63545 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63546
63547 * version.h (RELEASE): Bump for 2.13 release.
63548 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63549
63550 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63551
63552 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63553 MADV_NOHUGEPAGE.
63554 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63555 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63560
63561 * posix/getconf.c: Update copyright year.
63562 * catgets/gencat.c: Likewise.
63563 * csu/version.c: Likewise.
63564 * debug/catchsegv.sh: Likewise.
63565 * debug/xtrace.sh: Likewise.
63566 * elf/ldconfig.c: Likewise.
63567 * elf/ldd.bash.in: Likewise.
63568 * elf/sprof.c (print_version): Likewise.
63569 * iconv/iconv_prog.c: Likewise.
63570 * iconv/iconvconfig.c: Likewise.
63571 * locale/programs/locale.c: Likewise.
63572 * locale/programs/localedef.c: Likewise.
63573 * malloc/memusage.sh: Likewise.
63574 * malloc/mtrace.pl: Likewise.
63575 * nscd/nscd.c (print_version): Likewise.
63576 * nss/getent.c: Likewise.
63577
63578 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63579 PF_CAIF, and PF_ALG.
63580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63581
63582 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63583
63584 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63585 (modules-names): Use them.
63586 (ifunc-test-modules, ifunc-pie-tests): Define.
63587 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63588 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63589 (test-extras): Likewise.
63590 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63591 $(compile-command.c).
63592 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63593 (all-built-dso): Define.
63594 (check-textrel.out, check-execstack.out): Depend on it.
63595
63596 * configure.in: Don't override --enable-multi-arch.
63597
63598 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63599
63600 [BZ #6812]
63601 * nscd/hstcache.c (tryagain): Define.
63602 (cache_addhst): Return tryagain not notfound for temporary errors.
63603 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63604 failed.
63605
63606 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63607
63608 [BZ #10563]
63609 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63610 to make the syscall.
63611 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63612
63613 [BZ #12378]
63614 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63615 and fall back to matching as normal character if the string ends before
63616 the matching ']' is found. This is what POSIX requires.
63617 * posix/testfnm.c: Adjust test result.
63618 * posix/globtest.sh: Adjust test result. Add new test.
63619 * posix/tst-fnmatch.input: Likewise.
63620 * posix/tst-fnmatch2.c: Add new test.
63621
63622 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63623
63624 * elf/Makefile (check-execstack): Revert last change. Depend on
63625 check-execstack.h.
63626 (check-execstack.h): New target.
63627 (generated): Add check-execstack.h.
63628 * elf/check-execstack.c: Include "check-execstack.h".
63629 (main): Revert last change.
63630 (handle_file): Return zero if GNU_STACK is absent and
63631 DEFAULT_STACK_PERMS doesn't include PF_X.
63632
63633 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63634
63635 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63636 in child fails because the descriptor is already closed.
63637 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63638 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63639 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63640
63641 [BZ #12397]
63642 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63643 syscall.
63644
63645 [BZ #10484]
63646 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63647 temporary buffer used to handle multi lookups locally.
63648 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63649
63650 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63651
63652 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63653 loader is ld.so.
63654
63655 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63656
63657 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63658 alignment for SSE2.
63659
63660 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63661
63662 [BZ #12394]
63663 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63664 characters. When rounding increased number of integer digits recompute
63665 number of groups.
63666 * stdio-common/tst-grouping.c: New file.
63667 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63668
63669 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63670
63671 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63672 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63673
63674 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63675 void.
63676 * bits/select.h: Likewise.
63677
63678 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63679
63680 * po/ja.po: Update from translation team.
63681
63682 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63683
63684 [BZ #11155]
63685 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63686 implementation just like for lxstat, fxstatat, et al.
63687
63688 2010-12-27 Jim Meyering <meyering@redhat.com>
63689
63690 [BZ #12348]
63691 * posix/regexec.c (build_trtable): Return failure indication upon
63692 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63693
63694 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63695
63696 [BZ #12201]
63697 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63698 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63699 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63701
63702 [BZ #12207]
63703 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63704
63705 [BZ #12204]
63706 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63707 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63708
63709 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63710
63711 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63712 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63713 script has SORT_BY_INIT_PRIORITY.
63714 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63715 NO_CTORS_DTORS_SECTIONS is defined.
63716 * elf/soinit.c: Likewise.
63717 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63718 NO_CTORS_DTORS_SECTIONS is defined.
63719 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63720 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63721 * sysdeps/sh/init-first.c: Likewise.
63722 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63723
63724 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63725
63726 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63727 always use the slow path.
63728
63729 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63730
63731 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63732 similar rule which adds the sysdep directories to the header search in
63733 order to pick up the correct platform stackinfo.h.
63734 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63735 perform test if it is, otherwise return successfully without testing.
63736 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63737 DEFAULT_STACK_PERMS define in stackinfo.h.
63738 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63739 defined in stackinfo.h.
63740 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63741 DEFAULT_STACK_PERMS defined in stackinfo.h.
63742 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63743 * sysdeps/ia64/stackinfo.h: Likewise.
63744 * sysdeps/s390/stackinfo.h: Likewise.
63745 * sysdeps/sh/stackinfo.h: Likewise.
63746 * sysdeps/sparc/stackinfo.h: Likewise.
63747 * sysdeps/x86_64/stackinfo.h: Likewise.
63748 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63749 PF_X for powerpc64. Retain PF_X for powerpc32.
63750
63751 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63752
63753 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63754 accurately.
63755 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63756 GETDENTS_64BIT_ALIGNED.
63757
63758 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63759
63760 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63761
63762 2010-12-10 Andreas Schwab <schwab@redhat.com>
63763
63764 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63765 _GNU_SOURCE.
63766
63767 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63768 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63769 Remove __restrict.
63770 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63771 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63772
63773 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63774
63775 [BZ #11655]
63776 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63777 are initialized.
63778
63779 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63780
63781 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63782
63783 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63784
63785 * po/it.po: Update from translation team.
63786
63787 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63788
63789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63790 unused codes.
63791
63792 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63793
63794 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63795
63796 2010-11-24 Andreas Schwab <schwab@redhat.com>
63797
63798 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63799 specially.
63800 (gaih_getanswer_slice): Likewise.
63801
63802 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63803
63804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63805
63806 2010-05-31 Petr Baudis <pasky@suse.cz>
63807
63808 [BZ #11149]
63809 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63810 silently even in the chroot mode.
63811
63812 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63813
63814 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63815 last patch a bit. Pretty printing
63816
63817 2010-05-31 Petr Baudis <pasky@suse.cz>
63818
63819 [BZ #10085]
63820 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63821 initialization of skip_initgroups_dyn.
63822
63823 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63824
63825 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63826 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63827
63828 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63829
63830 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63831
63832 2010-11-11 Andreas Schwab <schwab@redhat.com>
63833
63834 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63835 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63836 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63837 ($(objpfx)tst-fnmatch-mem): New rule.
63838 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63839 * posix/tst-fnmatch.c (main): Call mtrace.
63840
63841 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63842
63843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63844 Support Intel processor model 6 and model 0x2c.
63845
63846 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63847
63848 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63849 signed comparison.
63850
63851 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63852
63853 [BZ #12205]
63854 * string/test-strncasecmp.c (check_result): New function.
63855 (do_one_test): Use it.
63856 (check1): New function.
63857 (test_main): Use it.
63858 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63859 Support strcasecmp and strncasecmp.
63860
63861 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63862
63863 [BZ #12194]
63864 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63865 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63866
63867 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63868
63869 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63870 IFUNC support.
63871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63872 memset-x86-64.
63873 * sysdeps/x86_64/multiarch/bzero.S: New file.
63874 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63875 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63876 * sysdeps/x86_64/multiarch/memset.S: New file.
63877 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63879 Set bit_Prefer_SSE_for_memop for Intel processors.
63880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63881 Define.
63882 (index_Prefer_SSE_for_memop): Define.
63883 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63884
63885 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63886
63887 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63888 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63889
63890 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63891
63892 [BZ #12191]
63893 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63894 (__x86_64_raw_data_cache_size_half): Likewise.
63895 (__x86_64_raw_shared_cache_size): Likewise.
63896 (__x86_64_raw_shared_cache_size_half): Likewise.
63897
63898 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63899 (__x86_64_raw_data_cache_size_half): Likewise.
63900 (__x86_64_raw_shared_cache_size): Likewise.
63901 (__x86_64_raw_shared_cache_size_half): Likewise.
63902 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63903 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63904 and __x86_64_raw_shared_cache_size_half. Round
63905 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63906 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63907 to multiple of 256 bytes.
63908
63909 2010-11-03 Ulrich Drepper <drepper@gmail.com>
63910
63911 [BZ #12167]
63912 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63913 of inacessible symlinks. Verify result of symlink before returning it.
63914 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63915 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63916
63917 2010-10-28 Erich Ritz <erichritz@gmail.com>
63918
63919 * math/math.h (isinf): Fix typo in comment.
63920
63921 2010-11-01 Ulrich Drepper <drepper@gmail.com>
63922
63923 * po/da.po: Update from translation team.
63924
63925 2010-10-26 Ulrich Drepper <drepper@gmail.com>
63926
63927 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63928 is added to the list.
63929
63930 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63931 Ulrich Drepper <drepper@gmail.com>
63932
63933 * elf/dl-object.c (_dl_new_object): Don't append the new object to
63934 the global list here. Move code to...
63935 (_dl_add_to_namespace_list): ...here. New function.
63936 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63937 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63938 * elf/dl-load.c (lose): Don't remove the element from the list.
63939 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63940 (_dl_map_object): Likewise.
63941
63942 2010-10-25 Ulrich Drepper <drepper@gmail.com>
63943
63944 [BZ #12159]
63945 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63946 into all bytes of SSE register.
63947 Patch by Richard Li <richardpku@gmail.com>.
63948
63949 2010-10-24 Ulrich Drepper <drepper@gmail.com>
63950
63951 [BZ #12140]
63952 * malloc/malloc.c (_int_free): Fill correct number of bytes when
63953 perturbing.
63954
63955 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
63956
63957 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63958 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63959 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63960 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63962 submachine.
63963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63964
63965 2010-10-22 Andreas Schwab <schwab@redhat.com>
63966
63967 * include/dlfcn.h (__RTLD_SECURE): Define.
63968 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
63969 mode & __RTLD_SECURE instead.
63970 (open_path): Rename preloaded parameter to secure.
63971 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63972 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63973 * elf/dl-deps.c (openaux): Likewise.
63974 * elf/rtld.c (struct map_args): Remove is_preloaded.
63975 (map_doit): Don't use it.
63976 (dl_main): Likewise.
63977 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63978 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63979
63980 2010-09-09 Andreas Schwab <schwab@redhat.com>
63981
63982 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63983 (sysd-rules-targets): Remove duplicates.
63984 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63985 rtld-%.$o dependency.
63986
63987 2010-10-18 Andreas Schwab <schwab@redhat.com>
63988
63989 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63990 _dl_map_object do it.
63991
63992 2010-10-19 Ulrich Drepper <drepper@gmail.com>
63993
63994 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63995 fast fma builtins, define the macros in the C99 standard.
63996 (FP_FAST_FMAF): Likewise.
63997 (FP_FAST_FMAL): Likewise.
63998 * sysdeps/x86_64/bits/mathdef.h: Likewise.
63999
64000 * bits/mathdef.h: Update copyright year.
64001 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64002
64003 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64004
64005 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64006 builtins, define the macros in the C99 standard.
64007 (FP_FAST_FMAF): Likewise.
64008 (FP_FAST_FMAL): Likewise.
64009 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64010 multiply/add.
64011 (FP_FAST_FMAF): Likewise.
64012
64013 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64014
64015 [BZ #3268]
64016 * math/libm-test.inc (fma_test): Some new testcases.
64017 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64019 y and infinite z. Do multiplication by C already in long double.
64020 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64022 y and infinite z. Do bitwise or of inexact bit into u.d.
64023 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64024 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64025 * sysdeps/i386/fpu/s_fma.S: Removed.
64026 * sysdeps/i386/fpu/s_fmal.S: Removed.
64027
64028 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64029
64030 [BZ #3268]
64031 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64033 computation is not scheduled after fetestexcept. Fix value
64034 of minimum denormal long double.
64035
64036 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64037
64038 [BZ #3268]
64039 * math/libm-test.inc (fma_test): Add some more tests.
64040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64041 correctly.
64042
64043 2010-10-15 Andreas Schwab <schwab@redhat.com>
64044
64045 * scripts/data/localplt-s390-linux-gnu.data: New file.
64046 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64047
64048 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64049
64050 [BZ #3268]
64051 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64052 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64053 instead of dbl-64.
64054 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64055 inlines.
64056 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64058 if one of x and y is very large and the other is subnormal.
64059 * sysdeps/s390/fpu/s_fmaf.c: New file.
64060 * sysdeps/s390/fpu/s_fma.c: New file.
64061 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64062 * sysdeps/powerpc/fpu/s_fma.S: New file.
64063 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64064 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64065 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64066
64067 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64068
64069 [BZ #3268]
64070 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64071 fma tests.
64072 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64073 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64074 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64075 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64076 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64077 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64078 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64079
64080 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64081
64082 [BZ #12078]
64083 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64084 * posix/bug-regex31.input: Add test case.
64085
64086 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64087
64088 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64089 * posix/bug-regex31.input: New file.
64090
64091 [BZ #12078]
64092 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64093 (parse_sub_exp): Fix last change, use postorder.
64094
64095 * posix/bug-regex31.c: New file.
64096 * posix/Makefile: Add rules to build and run bug-regex31.
64097
64098 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64099
64100 [BZ #12078]
64101 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64102
64103 [BZ #12108]
64104 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64105 to have entries in sys_siglist.
64106
64107 [BZ #12093]
64108 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64109 be NULL.
64110
64111 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64112
64113 [BZ #3268]
64114 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64115 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64116 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64117 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64118 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64119 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64120 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64121 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64122 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64123 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64124 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64125 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64126 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64127 * math/ftestexcept.c (fetestexcept): Likewise.
64128 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64129 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64130 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64131 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64132 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64133 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64135
64136 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64137
64138 [BZ #12107]
64139 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64140 newline.
64141
64142 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64143
64144 * string/bug-strstr1.c: New file.
64145 * string/Makefile: Add rules to build and run bug-strstr1.
64146
64147 2010-10-05 Eric Blake <eblake@redhat.com>
64148
64149 [BZ #12092]
64150 * string/str-two-way.h (two_way_long_needle): Always clear memory
64151 when skipping input due to the shift table.
64152
64153 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64154
64155 [BZ #12005]
64156 * malloc/mcheck.c: Handle large requests.
64157
64158 [BZ #12077]
64159 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64160 for strncmp and strncasecmp.
64161 * string/stratcliff.c: Add tests for strcmp and strncmp.
64162 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64163
64164 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64165
64166 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64167 __set_fpscr.
64168
64169 2010-09-30 Andreas Jaeger <aj@suse.de>
64170
64171 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64172 (CGROUP_SUPER_MAGIC): Define.
64173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64174 Handle btrfs and cgroup file systems.
64175 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64176 Likewise.
64177
64178 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64179
64180 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64181 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64182
64183 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64184
64185 [BZ #12067]
64186 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64187 trying to locate the ELF header.
64188
64189 2010-09-27 Andreas Schwab <schwab@redhat.com>
64190
64191 [BZ #11611]
64192 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64193 Mask out sign-bit copies when constructing f_fsid.
64194
64195 2010-09-24 Petr Baudis <pasky@suse.cz>
64196
64197 * debug/stack_chk_fail_local.c: Add missing licence exception.
64198 * debug/warning-nop.c: Likewise.
64199
64200 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64201
64202 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64203 implementing getdents64 using getdents syscall, set d_type if
64204 __ASSUME_GETDENTS32_D_TYPE.
64205
64206 2010-09-16 Andreas Schwab <schwab@redhat.com>
64207
64208 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64209 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64210
64211 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64212
64213 [BZ #12037]
64214 * posix/unistd.h: Undo change of feature selection for ftruncate from
64215 2010-01-11.
64216
64217 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64218
64219 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64220 detection.
64221
64222 2010-09-20 Andreas Schwab <schwab@redhat.com>
64223
64224 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64225 fanotify_mark.
64226 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64227
64228 2010-09-14 Andreas Schwab <schwab@redhat.com>
64229
64230 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64231 variables after CHECK_SP call.
64232 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64233
64234 2010-09-13 Andreas Schwab <schwab@redhat.com>
64235 Ulrich Drepper <drepper@redhat.com>
64236
64237 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64238 re-relocationg ld.so.
64239 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64240 _dl_init_paths call.
64241 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64242 here anymore.
64243
64244 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64245
64246 * resolv/res_init.c (__res_vinit): Count the default server we added.
64247
64248 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64249 Ulrich Drepper <drepper@redhat.com>
64250
64251 [BZ #11968]
64252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64253 (____longjmp_chk): Use %ebx for saving value across system call.
64254 Add unwind info.
64255
64256 2010-09-06 Andreas Schwab <schwab@redhat.com>
64257
64258 * manual/Makefile: Don't mix pattern rules with normal rules.
64259
64260 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64261
64262 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64263 operation.
64264 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64265 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64266 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64267 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64269 Likewise.
64270
64271 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64272
64273 [BZ #11979]
64274 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64275 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64276
64277 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64278
64279 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64280 * sysdeps/x86_64/addmul_1.S: Likewise.
64281 * sysdeps/x86_64/lshift.S: Likewise.
64282 * sysdeps/x86_64/mul_1.S: Likewise.
64283 * sysdeps/x86_64/rshift.S: Likewise.
64284 * sysdeps/x86_64/sub_n.S: Likewise.
64285 * sysdeps/x86_64/submul_1.S: Likewise.
64286
64287 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64288
64289 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64290 Define __sched_param instead of SCHED_* and sched_param when
64291 <bits/sched.h> is included with __need_schedparam defined.
64292 * bits/sched.h [__need_schedparam]
64293 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64294 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64295 (__defined_schedparam): Define to 1.
64296 (__sched_param): New structure, identical to sched_param.
64297 (__need_schedparam): Undefine.
64298
64299 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64300
64301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64302 (epoll_create1): Declare.
64303
64304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64305
64306 2010-08-31 Andreas Schwab <schwab@redhat.com>
64307
64308 [BZ #7066]
64309 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64310 shifting retval into place.
64311
64312 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64313
64314 * nis/rpcsvc/nis.h: Update copyright notice.
64315 * nis/rpcsvc/nis.x: Likewise.
64316 * nis/rpcsvc/nis_callback.h: Likewise.
64317 * nis/rpcsvc/nis_callback.x: Likewise.
64318 * nis/rpcsvc/nis_object.x: Likewise.
64319 * nis/rpcsvc/nis_tags.h: Likewise.
64320 * nis/rpcsvc/yp.h: Likewise.
64321 * nis/rpcsvc/yp.x: Likewise.
64322 * nis/rpcsvc/ypupd.h: Likewise.
64323 * nis/yp_xdr.c: Likewise.
64324 * nis/ypupdate_xdr.c: Likewise.
64325
64326 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64327 mainly the body of pmap_getport. Add parameters to specify timeouts.
64328 (pmap_getport): Use __libc_rpc_getport.
64329 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64330 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64331 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64332
64333 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64334
64335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64336 fanotify_mark.
64337
64338 2010-08-27 Roland McGrath <roland@redhat.com>
64339
64340 * sysdeps/i386/i686/multiarch/Makefile
64341 (CFLAGS-varshift.c): New variable.
64342
64343 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64344
64345 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64346 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64347
64348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64349
64350 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64351
64352 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64353
64354 * sysdeps/x86_64/strlen.S: Unroll the loop.
64355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64356 strlen-sse2 strlen-sse2-bsf.
64357 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64358 __strlen_no_bsf if bit_Slow_BSF is set.
64359 (__strlen_sse42): Removed.
64360 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64361 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64362
64363 2010-08-25 Roland McGrath <roland@redhat.com>
64364
64365 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64366 * sysdeps/x86_64/multiarch/varshift.c: New file.
64367 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64368 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64369 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64370 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64371
64372 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64373
64374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64375 strlen-sse2 strlen-sse2-bsf.
64376 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64377 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64378 (__strlen_sse2): Removed.
64379 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64382 bit_Slow_BSF for Atom.
64383 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64384 (index_Slow_BSF): Define.
64385 (HAS_SLOW_BSF): Define.
64386
64387 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64388
64389 [BZ #10851]
64390 * resolv/res_init.c (__res_vinit): When no server address at all
64391 is given default to loopback.
64392
64393 2010-08-24 Roland McGrath <roland@redhat.com>
64394
64395 * configure.in: Remove config-name.h generation.
64396 * configure: Regenerated.
64397 * config-name.in: File removed.
64398 * scripts/config-uname.sh: New file.
64399 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64400 ($(objdir)config-name.h): New target.
64401
64402 * sunrpc/rpc_parse.h: Avoid nested comment.
64403
64404 2010-08-24 Richard Henderson <rth@redhat.com>
64405 Ulrich Drepper <drepper@redhat.com>
64406 H.J. Lu <hongjiu.lu@intel.com>
64407
64408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64410 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64411 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64412 _mm_alignr_epi8 with _mm_loadu_si128.
64413 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64414 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64415 (__m128i_shift_right): Removed.
64416 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64417 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64418 * sysdeps/x86_64/multiarch/varshift.h: New file.
64419 * sysdeps/x86_64/multiarch/varshift.S: New file.
64420
64421 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64422
64423 * configure.in: Move assembler checks to before sysdep dir checking.
64424
64425 2010-08-20 Petr Baudis <pasky@suse.cz>
64426
64427 * LICENSES: Sync the sunrpc license.
64428
64429 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64430
64431 * sunrpc/auth_des.c: Update copyright notice once again.
64432 * sunrpc/auth_none.c: Likewise.
64433 * sunrpc/auth_unix.c: Likewise.
64434 * sunrpc/authdes_prot.c: Likewise.
64435 * sunrpc/authuxprot.c: Likewise.
64436 * sunrpc/bindrsvprt.c: Likewise.
64437 * sunrpc/clnt_gen.c: Likewise.
64438 * sunrpc/clnt_perr.c: Likewise.
64439 * sunrpc/clnt_raw.c: Likewise.
64440 * sunrpc/clnt_simp.c: Likewise.
64441 * sunrpc/clnt_tcp.c: Likewise.
64442 * sunrpc/clnt_udp.c: Likewise.
64443 * sunrpc/clnt_unix.c: Likewise.
64444 * sunrpc/des_crypt.c: Likewise.
64445 * sunrpc/des_soft.c: Likewise.
64446 * sunrpc/get_myaddr.c: Likewise.
64447 * sunrpc/getrpcport.c: Likewise.
64448 * sunrpc/key_call.c: Likewise.
64449 * sunrpc/key_prot.c: Likewise.
64450 * sunrpc/openchild.c: Likewise.
64451 * sunrpc/pm_getmaps.c: Likewise.
64452 * sunrpc/pm_getport.c: Likewise.
64453 * sunrpc/pmap_clnt.c: Likewise.
64454 * sunrpc/pmap_prot.c: Likewise.
64455 * sunrpc/pmap_prot2.c: Likewise.
64456 * sunrpc/pmap_rmt.c: Likewise.
64457 * sunrpc/rpc/auth.h: Likewise.
64458 * sunrpc/rpc/auth_unix.h: Likewise.
64459 * sunrpc/rpc/clnt.h: Likewise.
64460 * sunrpc/rpc/des_crypt.h: Likewise.
64461 * sunrpc/rpc/key_prot.h: Likewise.
64462 * sunrpc/rpc/netdb.h: Likewise.
64463 * sunrpc/rpc/pmap_clnt.h: Likewise.
64464 * sunrpc/rpc/pmap_prot.h: Likewise.
64465 * sunrpc/rpc/pmap_rmt.h: Likewise.
64466 * sunrpc/rpc/rpc.h: Likewise.
64467 * sunrpc/rpc/rpc_des.h: Likewise.
64468 * sunrpc/rpc/rpc_msg.h: Likewise.
64469 * sunrpc/rpc/svc.h: Likewise.
64470 * sunrpc/rpc/svc_auth.h: Likewise.
64471 * sunrpc/rpc/types.h: Likewise.
64472 * sunrpc/rpc/xdr.h: Likewise.
64473 * sunrpc/rpc_clntout.c: Likewise.
64474 * sunrpc/rpc_cmsg.c: Likewise.
64475 * sunrpc/rpc_common.c: Likewise.
64476 * sunrpc/rpc_cout.c: Likewise.
64477 * sunrpc/rpc_dtable.c: Likewise.
64478 * sunrpc/rpc_hout.c: Likewise.
64479 * sunrpc/rpc_main.c: Likewise.
64480 * sunrpc/rpc_parse.c: Likewise.
64481 * sunrpc/rpc_parse.h: Likewise.
64482 * sunrpc/rpc_prot.c: Likewise.
64483 * sunrpc/rpc_sample.c: Likewise.
64484 * sunrpc/rpc_scan.c: Likewise.
64485 * sunrpc/rpc_scan.h: Likewise.
64486 * sunrpc/rpc_svcout.c: Likewise.
64487 * sunrpc/rpc_tblout.c: Likewise.
64488 * sunrpc/rpc_util.c: Likewise.
64489 * sunrpc/rpc_util.h: Likewise.
64490 * sunrpc/rpcinfo.c: Likewise.
64491 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64492 * sunrpc/rpcsvc/key_prot.x: Likewise.
64493 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64494 * sunrpc/rpcsvc/mount.x: Likewise.
64495 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64496 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64497 * sunrpc/rpcsvc/rex.x: Likewise.
64498 * sunrpc/rpcsvc/rstat.x: Likewise.
64499 * sunrpc/rpcsvc/rusers.x: Likewise.
64500 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64501 * sunrpc/rpcsvc/spray.x: Likewise.
64502 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64503 * sunrpc/rtime.c: Likewise.
64504 * sunrpc/svc.c: Likewise.
64505 * sunrpc/svc_auth.c: Likewise.
64506 * sunrpc/svc_authux.c: Likewise.
64507 * sunrpc/svc_raw.c: Likewise.
64508 * sunrpc/svc_run.c: Likewise.
64509 * sunrpc/svc_simple.c: Likewise.
64510 * sunrpc/svc_tcp.c: Likewise.
64511 * sunrpc/svc_udp.c: Likewise.
64512 * sunrpc/svc_unix.c: Likewise.
64513 * sunrpc/svcauth_des.c: Likewise.
64514 * sunrpc/xcrypt.c: Likewise.
64515 * sunrpc/xdr.c: Likewise.
64516 * sunrpc/xdr_array.c: Likewise.
64517 * sunrpc/xdr_float.c: Likewise.
64518 * sunrpc/xdr_mem.c: Likewise.
64519 * sunrpc/xdr_rec.c: Likewise.
64520 * sunrpc/xdr_ref.c: Likewise.
64521 * sunrpc/xdr_sizeof.c: Likewise.
64522 * sunrpc/xdr_stdio.c: Likewise.
64523
64524 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64525 handling.
64526
64527 2010-08-19 Andreas Schwab <schwab@redhat.com>
64528
64529 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64530
64531 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64532
64533 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64535 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64536 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64537 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64538 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64539 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64540 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64541 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64542 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64543 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64544 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64545 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64546 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64547
64548 2010-07-26 Anton Blanchard <anton@samba.org>
64549
64550 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64551 * malloc/arena.c (heap_trim): Likewise.
64552
64553 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64554
64555 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64556 here. Not...
64557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64558 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64559
64560 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64561
64562 * sysdeps/i386/elf/Makefile: New file.
64563
64564 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64565
64566 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64567 from fanotify_init.
64568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64570
64571 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64572
64573 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64574 of strncasecmp_l.
64575 * sysdeps/multiarch/strcmp.S: Likewise.
64576
64577 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64578
64579 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64580 strncase_l-nonascii.
64581 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64582 Add strncase_l-ssse3.
64583 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64584 * sysdeps/x86_64/strcmp.S: Likewise.
64585 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64586 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64587 * sysdeps/x86_64/strncase.S: New file.
64588 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64589 * sysdeps/x86_64/strncase_l.S: New file.
64590 * string/Makefile (strop-tests): Add strncasecmp.
64591 * string/test-strncasecmp.c: New file.
64592
64593 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64594 warning.
64595
64596 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64597 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64598
64599 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64600
64601 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64602
64603 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64604
64605 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64606 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64607 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64608
64609 2010-05-01 Alan Modra <amodra@gmail.com>
64610
64611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64612 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64613 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64614 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64615 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64616 tidying. Don't tail-call __sigjmp_save for static lib.
64617 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64618 save location.
64619 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64620 (CALL_MCOUNT): Add eh info, and nop after bl.
64621 (TAIL_CALL_SYSCALL_ERROR): New macro.
64622 (PSEUDO_RET): Use it.
64623 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64624 Correct save location of integer regs and cr.
64625 (_dl_profile_resolve): Correct cr save location. Delete nops
64626 after bl when SHARED. Reduce cfi size a little by better
64627 placement of cfi directives.
64628 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64629 make a stack frame. Instead use parm save area as a temp.
64630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64631 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64633 Don't make a stack frame for parent, use parm save area.
64634 Increase child stack frame to 112 bytes. Don't save unused reg,
64635 and adjust reg usage. Set up cfi on error recovery and
64636 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64638 (__makecontext): Add dummy nop after jump to exit.
64639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64640 Use correct parm save area and cr save, reduce stack frame.
64641 Correct cfi for possible PSEUDO_RET frame setup.
64642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64643 Branch to local label emitted by PSEUDO_RET rather than
64644 __syscall_error.
64645
64646 2010-08-12 Andreas Schwab <schwab@redhat.com>
64647
64648 [BZ #11904]
64649 * locale/programs/locale.c (print_assignment): New function.
64650 (show_locale_vars): Use it.
64651
64652 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64653
64654 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64655 field.
64656 (struct statfs64): Likewise.
64657 (_STATFS_F_FLAGS): Define.
64658 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64659 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64660 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64661 (ST_VALID): Define locally.
64662 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64663 __statvfs_getflags, use the provided value.
64664 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64665 __ASSUME_STATFS_F_FLAGS.
64666
64667 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64668
64669 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64670 Add sys/fanotify.h.
64671 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64672 fanotify_mask for GLIBC_2.13.
64673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64674 fanotify_init and fanotify_mark.
64675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64676 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64677
64678 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64679 Add prlimit.
64680 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64681 prlimit64 for GLIBC_2.13.
64682 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64683 prlimit64.
64684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64685 syscall.
64686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64687 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64688 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64689 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64691 add prlimit alias.
64692 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64693
64694 [BZ #11903]
64695 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64696 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64697
64698 * nss/Makefile: Add rules to build and run tst-nss-test1.
64699 * shlib-versions: Add entry for libnss_test1.
64700 * nss/nss_test1.c: New file.
64701 * nss/tst-nss-test1.c: New file.
64702
64703 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64704 (__nss_configure_lookup): Set appropriate entry in
64705 __nss_configure_lookup to true.
64706 * nss/nsswitch.h: Define enum with indeces of databases in
64707 databases and __nss_database_custom arrays. Declare
64708 __nss_database_custom.
64709 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64710 to avoid using nscd when custom rules are installed.
64711 * nss/getXXbyYY_r.c: Likewise.
64712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64713
64714 * nss/nss_files/files-parse.c: Whitespace fixes.
64715
64716 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64717
64718 [BZ #11883]
64719 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64720 * posix/fnmatch_loop.c: Likewise.
64721
64722 2010-07-17 Andi Kleen <ak@linux.intel.com>
64723
64724 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64725 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64726 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64727 * Versions.def [GLIBC_2.13]: Add.
64728
64729 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64730
64731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64732 Also fail if tpwd after pwuid call is NULL.
64733
64734 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64735
64736 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64737 when converting to ms.
64738
64739 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64740
64741 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64742 EOPNOTSUPP errors with ENOTTY.
64743 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64744 EOPNOTSUPP errors with ENOTTY.
64745
64746 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64747
64748 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64749 Add strcasecmp_l-ssse3.
64750 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64751 strcasecmp.
64752 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64753 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64754 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64755
64756 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64757
64758 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64759
64760 * string/Makefile (strop-tests): Add strcasecmp.
64761 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64762 strcasecmp_l-nonascii.
64763 (gen-as-const-headers): Add locale-defines.sym.
64764 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64765 * sysdeps/x86_64/strcasecmp.S: New file.
64766 * sysdeps/x86_64/strcasecmp_l.S: New file.
64767 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64768 * sysdeps/x86_64/locale-defines.sym: New file.
64769 * string/test-strcasecmp.c: New file.
64770
64771 * string/test-strcasestr.c: Test both ends of the range of characters.
64772 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64773
64774 2010-07-29 Roland McGrath <roland@redhat.com>
64775
64776 [BZ #11856]
64777 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64778
64779 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64780
64781 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64782 for ld.so.
64783
64784 2010-07-27 Andreas Schwab <schwab@redhat.com>
64785
64786 * manual/memory.texi (Malloc Tunable Parameters): Document
64787 M_PERTURB.
64788
64789 2010-07-26 Roland McGrath <roland@redhat.com>
64790
64791 [BZ #11840]
64792 * configure.in (-fgnu89-inline check): Set and substitute
64793 gnu89_inline, not libc_cv_gnu89_inline.
64794 * configure: Regenerated.
64795 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64796
64797 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64798
64799 * string/test-strnlen.c: New file.
64800 * string/Makefile (strop-tests): Add strnlen.
64801 * string/tester.c (test_strnlen): Add a few more test cases.
64802 * string/tst-strlen.c: Better error reporting.
64803
64804 * sysdeps/x86_64/strnlen.S: New file.
64805
64806 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64807
64808 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64809 lower-latency instructions.
64810
64811 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64812
64813 * string/test-strcasestr.c: New file.
64814 * string/test-strstr.c: New file.
64815 * string/Makefile (strop-tests): Add strstr and strcasestr.
64816 * string/str-two-way.h: Don't undefine MAX.
64817 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64818
64819 2010-07-21 Andreas Schwab <schwab@redhat.com>
64820
64821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64822 strcasestr-nonascii.
64823 (CFLAGS-strcasestr-nonascii.c): Define.
64824 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64825 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64826 Remove unused attribute.
64827
64828 2010-07-20 Roland McGrath <roland@redhat.com>
64829
64830 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64831 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64832 ld.so.cache was broken. With it, there is no way to disable dsocaps
64833 like LD_HWCAP_MASK can disable hwcaps.
64834
64835 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64836
64837 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64838
64839 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64840
64841 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64842 call in strcasestr.
64843 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64844 __strcasestr_sse42_nonascii.
64845 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64846 strcasestr-nonascii.c.
64847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64848
64849 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64850
64851 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64852 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64853 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64854 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64855
64856 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64857
64858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64859 fcntl.
64860
64861 2010-07-06 Andreas Schwab <schwab@redhat.com>
64862
64863 [BZ #11577]
64864 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64865 dl_signal_cerror.
64866
64867 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64868
64869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64870 _PC_PIPE_BUF using F_GETPIPE_SZ.
64871
64872 2010-07-05 Roland McGrath <roland@redhat.com>
64873
64874 * manual/arith.texi (Rounding Functions): Fix rint description
64875 implicit in round description.
64876
64877 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64878
64879 * elf/Makefile: Fix linking for a few tests to make recent linker
64880 happy.
64881
64882 2010-06-30 Andreas Schwab <schwab@redhat.com>
64883
64884 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64885 $(common-objpfx)libc_nonshared.a.
64886
64887 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64888
64889 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64890 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64891 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64892 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64893 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64894 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64895 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64896 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64911 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64912 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64913 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64914 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64915 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64916 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64917 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64918 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64919 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64920 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64921 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64922 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64937
64938 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
64939
64940 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64941 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
64942 * string/memmove.c (memmove): Renamed to ...
64943 (MEMMOVE): ...this. Default to memmove.
64944 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64945 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64946 (END_CHK): Define.
64947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64948 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64949 mempcpy-ssse3-back memmove-ssse3-back.
64950 * sysdeps/x86_64/multiarch/bcopy.S: New file .
64951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64953 * sysdeps/x86_64/multiarch/memcpy.S: New file.
64954 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64955 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64956 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64957 * sysdeps/x86_64/multiarch/memmove.c: New file.
64958 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64959 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64960 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64961 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64962 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64964 Define.
64965 (index_Fast_Copy_Backward): Define.
64966 (HAS_ARCH_FEATURE): Define.
64967 (HAS_FAST_REP_STRING): Define.
64968 (HAS_FAST_COPY_BACKWARD): Define.
64969
64970 2010-06-21 Andreas Schwab <schwab@redhat.com>
64971
64972 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64973 Restore proper fallback handling.
64974
64975 2010-06-19 Ulrich Drepper <drepper@redhat.com>
64976
64977 [BZ #11701]
64978 * posix/group_member.c (__group_member): Correct checking loop.
64979
64980 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64981 OOM in getpwuid_r correctly. Return error number when the caller
64982 should return, otherwise -1.
64983 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64984 call returning > 0 value.
64985 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64986
64987 2010-06-07 Andreas Schwab <schwab@redhat.com>
64988
64989 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64990 libc_nonshared.a from targets in modules-names.
64991
64992 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
64993
64994 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64995 requires it.
64996
64997 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
64998
64999 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65000 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65003
65004 2010-06-02 Andreas Schwab <schwab@redhat.com>
65005
65006 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65007
65008 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65009
65010 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65011 and F_GETPIPE_SZ.
65012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65017 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65018
65019 2010-06-14 Roland McGrath <roland@redhat.com>
65020
65021 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65022
65023 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65024
65025 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65026 __REDIRECT followed by __THROW.
65027 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65028 * posix/getopt.h (getopt): Likewise.
65029
65030 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65031
65032 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65033 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65034 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65035 in AT_FLAGS.
65036 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65037 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65038
65039 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65040
65041 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65042
65043 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65044
65045 [BZ #11640]
65046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65047 Properly check family and model.
65048
65049 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65050
65051 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65052
65053 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65054
65055 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65056
65057 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65058
65059 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65060 symbol reference.
65061
65062 2010-05-19 Andreas Schwab <schwab@redhat.com>
65063
65064 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65065 symbol reference.
65066
65067 2010-05-21 Andreas Schwab <schwab@redhat.com>
65068
65069 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65070 and internal_recvmmsg.
65071 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65072 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65073 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65074 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65075
65076 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65077 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65078 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65079
65080 2010-05-20 Andreas Schwab <schwab@redhat.com>
65081
65082 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65083
65084 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65085
65086 POWER7 optimizations.
65087 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65088 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65089
65090 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65091
65092 * version.h: Update for 2.13 development version.
65093
65094 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65095
65096 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65097 exceptions. Return 0.
65098
65099 2010-05-07 Roland McGrath <roland@redhat.com>
65100
65101 * elf/ldconfig.c (main): Add a const.
65102
65103 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65104
65105 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65106 (args_options): Add no-idn option.
65107 (ahosts_keys_int): Add idn_flags to ai_flags.
65108 (parse_option): Handle 'i' option to clear idn_flags.
65109
65110 * malloc/malloc.c (_int_free): Possible race in the most recently
65111 added check. Only act on the data if no current modification
65112 happened.
65113
65114 See ChangeLog.17 for earlier changes.