]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix localplt test breakage with new readelf
[thirdparty/glibc.git] / ChangeLog
1 2015-03-03 Alan Modra <amodra@gmail.com>
2
3 [BZ #16512]
4 * scripts/localplt.awk: Strip off symbol version.
5 * NEWS: Mention bug fix.
6
7 2015-03-02 Roland McGrath <roland@hack.frob.com>
8
9 * sysdeps/pthread/timer_routines.c
10 (timer_free_list, thread_free_list, thread_active_list): Make static.
11
12 2015-03-02 Joseph Myers <joseph@codesourcery.com>
13
14 [BZ #17779]
15 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17 Undefine.
18 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20 Likewise.
21 * sysdeps/unix/sysv/linux/sh/kernel-features.h
22 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23 Likewise.
24
25 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26
27 [BZ #18036]
28 * posix/fnmatch_loop.c (END): Detect invalid pattern.
29 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30
31 2015-03-02 Andreas Schwab <schwab@suse.de>
32
33 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34 variable name.
35
36 2015-03-02 Florian Weimer <fweimer@redhat.com>
37
38 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39 Return error status.
40
41 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
42
43 [BZ #15969]
44 * locale/findlocale.c (_nl_find_locale): Introduce const
45 version of loc_name and drop unsafe type casts.
46
47 2015-02-27 Roland McGrath <roland@hack.frob.com>
48
49 * dlfcn/tststatic2.c (main): Converted to ...
50 (do_test): ... this.
51 (TEST_FUNCTION): New macro.
52 Include test-skeleton.c.
53
54 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
55
56 [BZ #17711]
57 * elf/Makefile (tests): Add vismain only if PIE is enabled.
58 (tests-pie): Add vismain.
59 (CFLAGS-vismain.c): New.
60 * elf/vismain.c: Add comments for PIE requirement.
61
62 2015-02-27 Joseph Myers <joseph@codesourcery.com>
63
64 [BZ #18046]
65 [BZ #18047]
66 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
67 0x1p-56L as threshold for just returning the argument.
68 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
69 0x1p-32L as threshold for just returning the argument.
70 * math/auto-libm-test-in: Add more tests of atanh.
71 * math/auto-libm-test-out: Regenerated.
72 * sysdeps/i386/fpu/libm-test-ulps: Update.
73 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
74
75 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
76
77 * string/bcopy.c (bcopy): Call memmove for performance.
78
79 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
80
81 * string/bzero.c (__bzero): Call memset for performance.
82
83 2015-02-27 John David Anglin <dave.anglin@bell.net>
84
85 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
86 to 00100000.
87
88 2015-02-27 Joseph Myers <joseph@codesourcery.com>
89
90 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
91
92 2015-02-26 Joseph Myers <joseph@codesourcery.com>
93
94 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
95 (__kernel_standard): Use CSTR macro when setting exc.name.
96 * sysdeps/ieee754/Makefile [$(subdir) = math]
97 (CFLAGS-k_standard.c): Remove variable.
98
99 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
100 setting p and q from "else if" to "else".
101 (qzero): Likewise.
102 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
103 (qone): Likewise.
104 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
105 (qzerof): Likewise.
106 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
107 (qonef): Likewise.
108 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
109 (qzero): Likewise.
110 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
111 (qone): Likewise.
112
113 [BZ #18038]
114 [BZ #18039]
115 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
116 return pi/2 for arguments below 0x1p-113L.
117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
118 return pi/2 for arguments below 0x1p-106L.
119 * math/auto-libm-test-in: Add more tests of acos.
120 * math/auto-libm-test-out: Regenerated.
121
122 [BZ #16351]
123 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
124 (MO): New macro.
125 (__ieee754_asin): Force underflow exception for results with small
126 absolute value.
127 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
128 (MO): New macro.
129 (__ieee754_asinf): Force underflow exception for results with
130 small absolute value.
131 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
132 (__ieee754_asin): Force underflow exception for results with small
133 absolute value.
134 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
135 (__ieee754_asinf): Force underflow exception for results with
136 small absolute value.
137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
138 (__ieee754_asinl): Force underflow exception for results with
139 small absolute value.
140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
141 (__ieee754_asinl): Force underflow exception for results with
142 small absolute value.
143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
144 (__ieee754_asinl): Force underflow exception for results with
145 small absolute value.
146 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
147 Include <math.h>.
148 * math/auto-libm-test-in: Do not mark underflow exceptions as
149 possibly missing for bug 16351.
150 * math/auto-libm-test-out: Regenerated.
151
152 [BZ #18030]
153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
154 of power of 2 down when low part has opposite sign.
155 * math/libm-test.inc (logb_test_data): Add more tests.
156
157 2015-02-26 Andreas Schwab <schwab@suse.de>
158
159 [BZ #18032]
160 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
161 over collating symbol inside a bracket expression. Minor cleanup.
162 * posix/tst-fnmatch3.c (do_test): Add test case.
163
164 2015-02-26 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #18029]
167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
168 Adjust exponent of power of 2 down when low part has opposite
169 sign.
170 * math/libm-test.inc (ilogb_test_data): Add more tests.
171
172 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
173
174 [BZ #15969]
175 * locale/findlocale.c (_nl_find_locale): Fix constness error in
176 the previous change.
177
178 [BZ #15969]
179 * locale/findlocale.c (_nl_find_locale): Retry archive search
180 after alias expansion.
181
182 2015-02-25 Roland McGrath <roland@hack.frob.com>
183
184 * iconv/tst-iconv3.c (main): Converted to ...
185 (do_test): ... this.
186 (TEST_FUNCTION): New macro.
187 Include test-skeleton.c.
188
189 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
190 (convert): Make function static.
191 (test_unalign): Likewise. Add const to argument pointee types.
192 (main): Replace with static function do_test.
193 Print "Succeeded." only if RET is zero.
194 (TEST_FUNCTION): New macro.
195 Include test-skeleton.c.
196
197 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
198 returns a null pointer.
199
200 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
203 to __memcpy_ppc only for static builds.
204
205 2015-02-25 Joseph Myers <joseph@codesourcery.com>
206
207 [BZ #18020]
208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
209 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
210 * math/auto-libm-test-in: Add more tests of asinh.
211 * math/auto-libm-test-out: Regenerated.
212 * sysdeps/i386/fpu/libm-test-ulps: Update.
213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214
215 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
216
217 [BZ #15850]
218 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
219 and ip6_mtuinfo definitions here.
220 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
221 in this define too. Update comment.
222
223 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
224
225 * elf/sprof.c (load_shobj): Tweak error message to match others.
226
227 2015-02-24 Kevin Easton <kevin@guarana.org>
228
229 [BZ #16145] (partial fix)
230 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
231 to reduce lock contention.
232
233 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
234
235 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
236 (struct timex): Update time comment.
237 (ADJ_SETOFFSET): Define.
238
239 2015-02-24 Joseph Myers <joseph@codesourcery.com>
240
241 [BZ #18019]
242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
243 2**56 not 2**28 as threshold for log (2x) formula.
244 * math/auto-libm-test-in: Add more tests of acosh.
245 * math/auto-libm-test-out: Regenerated.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248
249 2015-02-24 Mike Frysinger <vapier@gentoo.org>
250
251 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
252 parenthesis around the buf assignment.
253 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
254
255 2015-02-24 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #16783]
258 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
259 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
260 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
261 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
262 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
263 * math/libm-test.inc (scalb_test_data): Add more tests.
264
265 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
266
267 [BZ #17916]
268 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
269 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
270
271 2015-02-24 Eric Rannaud <e@nanocritical.com>
272
273 [BZ #17523]
274 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
275 * io/bits/fcntl2.h (open): Use it.
276 (openat): Likewise.
277 * io/open.c (__libc_open): Likewise.
278 * io/open64.c (__libc_open64): Likewise.
279 * io/open64_2.c (__open64_2): Likewise.
280 * io/open_2.c (__open_2): Likewise.
281 * io/openat.c (__openat): Likewise.
282 * io/openat64.c (__openat64): Likewise.
283 * io/openat64_2.c (__openat64_2): Likewise.
284 * io/openat_2.c (__openat_2): Likewise.
285 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
286 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
287 * sysdeps/posix/open64.c (__libc_open64): Likewise.
288 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
289 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
290 (__open_nocancel): Likewise.
291 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
292 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
293 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
294
295 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
296
297 [BZ #14841]
298 * resolv/gethnamaddr.c (getanswer): Skip logging if
299 RES_USE_DNSSEC is set.
300 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
301
302 2015-02-24 Mike Frysinger <vapier@gentoo.org>
303
304 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
305
306 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
307
308 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
309 201304L, for Unicode 7.
310
311 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
312
313 [BZ #17836]
314 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
315 shared library. Add gmon-start.os otherwise.
316 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
317 $(objpfx)gmon-start.os if builing shared library.
318 ($(objpfx)g$(static-start-installed-name)): Likewise.
319
320 2015-02-23 Andreas Schwab <schwab@suse.de>
321
322 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
323
324 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
325
326 [BZ #17269]
327 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
328 (enlarge_userbuf): Likewise.
329
330 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
331
332 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
333 * math/atest-exp.c (TIMEOUT): Adjust to 200.
334 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
335 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
336
337 2015-02-20 Joseph Myers <joseph@codesourcery.com>
338
339 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
340 expression inside statement expression.
341
342 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
343
344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
345 <sysdeps/nptl/lowlevellock.h> and remove macros and
346 functions that are now defined there.
347 (SYS_futex): Remove.
348 (lll_compare_and_swap): Remove.
349 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
350
351 2015-02-19 Joseph Myers <joseph@codesourcery.com>
352
353 [BZ #17999]
354 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
355 instead of scandirat.
356 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
357 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
358 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
359 __scandirat.
360 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
361 (__scandirat): Declare. Use libc_hidden_proto.
362 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
363 Remove variable.
364 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
365
366 2015-02-18 Joseph Myers <joseph@codesourcery.com>
367
368 [BZ #15319]
369 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
370 (MO): New macro.
371 (__ieee754_atan2): For results with small absolute value, force
372 underflow exception and remove excess range and precision from
373 return value.
374 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
375 (MO): New macro.
376 (__ieee754_atan2f): For results with small absolute value, force
377 underflow exception and remove excess range and precision from
378 return value.
379 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
380 (MO): New macro.
381 (__atan): For results with small absolute value, force underflow
382 exception and remove excess range and precision from return value.
383 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
384 (MO): New macro.
385 (__atanf): For results with small absolute value, force underflow
386 exception and remove excess range and precision from return value.
387 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
388 <math.h>.
389 (__ieee754_atan2): Force underflow exception for results with
390 small absolute value.
391 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
392 <math_private.h>.
393 (atan): Force underflow exception for results with small absolute
394 value.
395 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
396 (__atanf): Force underflow exception for results with small
397 absolute value.
398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
399 <math.h>.
400 (__atanl): Force underflow exception for results with small
401 absolute value.
402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
403 (__atanl): Force underflow exception for results with small
404 absolute value.
405 * sysdeps/x86/fpu/bits/mathinline.h
406 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
407 (__ieee754_atan2): Only define inline for long double.
408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
409 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
410 * math/auto-libm-test-in: Do not mark underflow exceptions as
411 possibly missing for bug 15319. Add more tests of atan2.
412 * math/auto-libm-test-out: Regenerated.
413 * math/libm-test.inc (casin_test_data): Do not mark underflow
414 exceptions as possibly missing for bug 15319.
415 (casinh_test_data): Likewise.
416 * sysdeps/i386/fpu/libm-test-ulps: Update.
417
418 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
419
420 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
421 * sysdeps/mips/bits/endian.h: Fix comments.
422
423 2015-02-18 Joseph Myers <joseph@codesourcery.com>
424
425 [BZ #17996]
426 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
427 (hdestroy_r): Likewise.
428 (hsearch_r): Likewise.
429 (__hcreate_r): Declare and use libc_hidden_proto.
430 (__hdestroy_r): Likewise.
431 (__hsearch_r): Likewise.
432 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
433 (hcreate): Call __hcreate_r instead of hcreate_r.
434 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
435 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
436 as weak alias of __hcreate_r.
437 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
438 __hdestroy_r.
439 (hsearch_r): Rename to __hsearch_r and define as weak alias of
440 __hsearch_r.
441 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
442 Remove variable.
443 (test-xfail-XPG4/search.h/linknamespace): Likewise.
444 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
445 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
446 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
447
448 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
449
450 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
451 arena_lock into a single arena_get.
452
453 2015-02-17 Carlos O'Donell <carlos@redhat.com>
454
455 * dl-reloc.c: Inlucde libc-internal.h.
456 (_dl_try_allocate_static_tls): Call ALIGN_UP.
457 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
458 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
459 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
460 (grow_heap): Likewise.
461 * malloc/malloc.c: Include libc-internal.h.
462 (do_check_malloc): Call powerof2.
463 (sysmalloc): Use pagesize. Call ALIGN_UP.
464 (systrim): Use pagesize.
465 (mremap_chunk): Use pagesize. Call ALIGN_UP.
466 (__libc_valloc): Use pagesize.
467 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
468
469 2015-02-17 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #17991]
472 * include/sys/resource.h (__getrlimit64): Declare. Use
473 libc_hidden_proto.
474 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
475 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
476 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
477 getrlimit64.
478 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
479 __getrlimit64.
480 [!getrlimit64] (getrlimit64): Define as weak alias of
481 __getrlimit64. Use libc_hidden_weak.
482 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
483 using __getrlimit64 not __new_getrlimit64.
484 (__GI_getrlimit64): Likewise.
485 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
486 Likewise.
487 (__GI_getrlimit64): Likewise.
488 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
490 (getrlimit): Add __getrlimit64 alias.
491 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
492 Likewise.
493 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
494 Remove variable.
495 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
496 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
497
498 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
499
500 * libio/fileops.c: Add missing sys/mman.h
501 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
502
503 2015-02-17 Joseph Myers <joseph@codesourcery.com>
504
505 * manual/math.texi (Errors in Math Functions): Clarify goals
506 regarding inexact and underflow exceptions.
507
508 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
509
510 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
511 * sysdeps/mips/memset.S: Ditto.
512
513 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
514
515 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
516
517 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
518
519 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
520 (__v1longjmp): Remove versioned symbol.
521 (__v1siglongjmp): Remove alias and versioned symbol.
522 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
523 (__v2siglongjmp): Likewise.
524
525 2015-02-16 Torvald Riegel <triegel@redhat.com>
526
527 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
528
529 2015-02-16 Mike Frysinger <vapier@gentoo.org>
530
531 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
532
533 2015-02-16 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #17987]
536 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
537 zero result does not depend on the sign resulting from
538 subtraction.
539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
540 Likewise.
541 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
542 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
544 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
545 * math/libm-test.inc (remquo_test_data): Add more tests.
546
547 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
548
549 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
550 Problem reported by J William Piggott.
551
552 2015-02-16 Joseph Myers <joseph@codesourcery.com>
553
554 [BZ #17978]
555 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
556 products 4 * y and 2 * y where those would overflow.
557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
558 Likewise.
559 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
560 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
561 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
562 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
563 * math/libm-test.inc (remquo_test_data): Add more tests.
564
565 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
566
567 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
568 [defined _COMPILING_NEWLIB].
569 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
570 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
571
572 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
573 [!defined __mips_isa_rev || __mips_isa_rev < 6].
574
575 2015-02-16 Torvald Riegel <triegel@redhat.com>
576
577 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
578 acquired.
579
580 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
581
582 [BZ #17792]
583 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
584 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
585 HOST_STACK_END_ADDR): Likewise.
586
587 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
588
589 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
590 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
591 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
592
593 2015-02-13 Roland McGrath <roland@hack.frob.com>
594
595 * sysdeps/generic/c++-types.data: New file.
596 * sysdeps/generic/ld.abilist: New file.
597 * sysdeps/generic/libBrokenLocale.abilist: New file.
598 * sysdeps/generic/libanl.abilist: New file.
599 * sysdeps/generic/libc.abilist: New file.
600 * sysdeps/generic/libcrypt.abilist: New file.
601 * sysdeps/generic/libdl.abilist: New file.
602 * sysdeps/generic/libm.abilist: New file.
603 * sysdeps/generic/libpthread.abilist: New file.
604 * sysdeps/generic/libresolv.abilist: New file.
605 * sysdeps/generic/librt.abilist: New file.
606
607 2015-02-13 Joseph Myers <joseph@codesourcery.com>
608
609 [BZ #17569]
610 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
611 Compute absolute value of x as modified by fmod, not original
612 value of x.
613 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
614 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
615 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
616 RUN_TEST_ffI_f1_mod8.
617 (remquo_test_data): Add more tests.
618
619 2015-02-13 Roland McGrath <roland@hack.frob.com>
620
621 * sysdeps/init_array/pt-crti.S: New file.
622
623 2015-02-13 Joseph Myers <joseph@codesourcery.com>
624
625 [BZ #17967]
626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
627 __builtin_fmaf instead of relying on contraction of a * b + c.
628
629 2015-02-12 J William Piggott <elseifthen@gmx.com>
630
631 [BZ #17969]
632 * manual/time.texi: correct the zoneinfo path in the TZ Variable
633 node.
634
635 2015-02-12 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #17964]
638 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
639 __builtin_fma instead of relying on contraction of a * b + c.
640
641 2015-02-12 Roland McGrath <roland@hack.frob.com>
642
643 * Makeconfig (ASFLAGS): Add -Werror=undef.
644 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
645 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
646 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
647
648 * Makeconfig (after-link): New variable.
649 (+link-pie, +link-pie-tests): Use it.
650 (+link-static, +link-static-tests): Likewise.
651 (+link, +link-tests): Likewise.
652 * Makerules (build-module, build-module-asneeded): Likewise.
653 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
654 Likewise.
655 * elf/Makefile ($(objpfx)ld.so): Likewise.
656
657 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
658
659 [BZ #17965]
660 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
661 both struct timeval and struct timespec.
662
663 2015-02-12 Joseph Myers <joseph@codesourcery.com>
664
665 [BZ #16560]
666 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
667 and redefine.
668 (__ieee754_exp2l): Do not multiply small fractional parts by
669 M_LN2l.
670 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
671 small argument.
672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
673 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
674 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
675 * math/auto-libm-test-in: Add more tests of exp2.
676 * math/auto-libm-test-out: Regenerated.
677
678 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
679
680 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
681 unaligned path.
682
683 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684
685 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
686 little endian.
687
688 2015-02-12 Andreas Schwab <schwab@suse.de>
689
690 [BZ #15790]
691 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
692 Filter out elision flags from value returned in kind.
693 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
694 * nptl/tst-pthread-mutexattr.c: New file.
695
696 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
697
698 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
699 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
700 into gnu-gnu, and update comment to refer to abi-tags.
701
702 2015-02-11 Joseph Myers <joseph@codesourcery.com>
703
704 [BZ #15467]
705 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
706 (__sincos): Set errno to EDOM for infinite argument.
707 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
708 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
709 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
710 (__sincosl): Set errno to EDOM for infinite argument.
711 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
712 (__sincosl): Set errno to EDOM for infinite argument.
713 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
714 (__sincosl): Set errno to EDOM for infinite argument.
715 * math/libm-test.inc (sincos_test_data): Test errno setting.
716
717 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
718
719 * string/strxfrm_l.c: Remove #define STRCMP.
720 * string/strcoll_l.c: Remove #define STRLEN.
721 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
722 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
723
724 2015-02-10 Joseph Myers <joseph@codesourcery.com>
725
726 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
727 * sysdeps/mips/mips32/sfp-machine.h: ... here.
728 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
729 * sysdeps/mips/mips64/Makefile: ... here.
730 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
731 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
732 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
733 * sysdeps/mips/mips64/sfp-machine.h: ... here.
734 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
735 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
736 * sysdeps/mips/mips64/n64/Implies: Likewise.
737
738 2015-02-10 Roland McGrath <roland@hack.frob.com>
739
740 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
741 <sys/time.h>, <string.h>, and <errno.h>.
742 (dest_offset, dest_address, value, zero): Remove unused variables.
743 (ldouble): Remove typedef.
744 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
745 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
746 1). Fix code style.
747 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
748 (check): Function removed.
749 (CHECK): New macro.
750 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
751 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
752 Don't call set_sigaction_FP and remove_sigaction_FP here.
753 (ldouble_test): Just use 'long double' as macro argument, no need for
754 the 'ldouble' typedef.
755 (do_test): Set up SIGFPE handler at start, using plain signal rather
756 than sigaction. Fix code style.
757
758 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
759
760 [BZ #17949]
761 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
762 jump label.
763
764 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
765
766 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
768
769 * sysdeps/powerpc/configure.ac: Remove file.
770 * sysdeps/powerpc/configure: Likewise.
771
772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
773 [sysdep_routines]: Remove wordcopy-power6 object.
774 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
775 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
776 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
777 (__memmove_ppc32): Likewise.
778 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
779 file.
780 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
781 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
782 Remove preprocessor.
783
784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
785 [sysdep_routines]: Remove wide chars objects.
786 [wcsmbs]: New rule for wide char objects.
787
788 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
789 Remove wordcopy-power6 obejct.
790 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
791 Use local call for wordcopy and memcpy symbols.
792 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
793 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
794 implementation for loader.
795 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
796
797 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
798 Remove wordcopy-power7 object.
799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
801 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
802 (_wordcopy_fwd_dest_aligned): Likewise.
803 (_wordcopy_bwd_aligned): Likewise.
804 (_wordcopy_bwd_dest_aligned): Likewise.
805
806 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
807 Rewrite to call __memmove_ppc instead of include default
808 implementation.
809
810 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
811 Remove wide chars objects.
812 [wcsmbs]: New rule for wide char objects.
813
814 2015-02-09 Andreas Schwab <schwab@suse.de>
815
816 [BZ #17912]
817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
818 in terms of __O_DIRECTORY.
819
820 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
821
822 * time/getdate.c: Include <stdbool.h>.
823 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
824 call PTR_MANGLE.
825 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
826 PTR_DEMANGLE.
827
828 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
829
830 Add ersatz _Static_assert on older C hosts
831 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
832 pre-C11 C platform that is not known to support _Static_assert.
833
834 2015-02-07 Richard Braun <rbraun@sceen.net>
835
836 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
837 sigstate.
838 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
839
840 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
841
842 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
843 priority against unexistent AIO_PRIO_DELTA_MAX.
844 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
845 instead of int.
846 * misc/fchflags.c (fchflags): Likewise.
847 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
848 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
849 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
850 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
851 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
852 Declare macros.
853 [__USE_MISC] (chflags, fchflags): Declare functions.
854 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
855 EINVAL when nfds is greater than FD_SETSIZE.
856 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
857 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
858 45.
859 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
860 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
861 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
862 MACH_RCV_TIMED_OUT.
863 * hurd/hurd/signal.h (_hurd_self_sigstate,
864 _hurd_critical_section_lock, _hurd_critical_section_unlock):
865 Explicit casts from void *.
866 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
867 * abi-tags: Rename gnu-gnu os into gnu.
868
869 [BZ #4719]
870 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
871 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
872 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
873 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
874 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
875 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
876
877 [BZ #17944]
878 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
879 duplicates ADDR->sun_path with sockaddr LEN limitation.
880 * sysdeps/mach/hurd/connect.c: Include <string.h>
881 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
882 * sysdeps/mach/hurd/sendmsg.c: Likewise.
883 * sysdeps/mach/hurd/sendto.c: Likewise.
884 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
885 implementing it by hand.
886
887 2015-02-06 Roland McGrath <roland@hack.frob.com>
888
889 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
890 Use sfi_breg on ldr.
891 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
892 Likewise.
893
894 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
895 it's defined.
896 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
897 Test SIGSETXID only if it's defined.
898
899 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
900
901 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
902 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
903
904 * nptl/tst-align2.c: Moved ...
905 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
906 * nptl/Makefile (tests): Remove tst-align2.
907 * sysdeps/unix/sysv/linux/Makefile
908 [$(subdir) = nptl] (tests): Add tst-align-clone.
909 * nptl/tst-getpid1.c: Moved ...
910 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
911 * nptl/tst-getpid2.c: Moved ...
912 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
913 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
914 * sysdeps/unix/sysv/linux/Makefile
915 [$(subdir) = nptl] (tests): ... here.
916 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
917 * sysdeps/unix/sysv/linux/Makefile
918 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
919
920 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
921 Drop trailing \n from perror argument. Use return rather than exit.
922
923 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
924 on [SA_SIGINFO].
925 * nptl/tst-cancel21.c (do_test): Likewise.
926 * debug/tst-backtrace6.c: Include <signal.h> first thing.
927 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
928 [!SA_SIGINFO]: Make it a stub test.
929
930 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
931 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
932
933 * posix/tst-getlogin.c: Move to ...
934 * login/tst-getlogin.c: ... here.
935 * posix/Makefile (tests): Move tst-getlogin to ...
936 * login/Makefile (tests): ... here.
937
938 * libio/tst-atime.c (do_test): Move local variables SV and E
939 inside [ST_NOATIME] conditional.
940
941 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
942
943 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
944
945 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
946 (wait_code): New function replaces macro.
947 Call nanosleep rather than syscall.
948
949 * nptl/pt-system.c: Rewritten. Put everything under
950 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
951 Use IFUNC to redirect when possible.
952
953 * nptl/pt-longjmp.c: Rewritten. Put everything under
954 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
955 Use IFUNC to redirect when possible.
956
957 * nptl/pt-fork.c: Rewritten. Put everything under
958 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
959 Use IFUNC to redirect when possible.
960 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
961
962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
963 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
964 unconditionally nowadays. This included the only reference to
965 __vdso_clock_gettime that appears outside libc proper.
966 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
967 Remove version set (containing only __vdso_clock_gettime).
968 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
969 Add attribute_hidden.
970 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
971 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
972 libc_hidden_data_def.
973 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
974 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
975
976 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
977 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
978 setrpcent, and getrpcport to ...
979 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
980 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
981 getrpcbynumber_r, and getrpcent_r to ...
982 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
983 * inet/getrpcbyname.c: Moved ...
984 * sunrpc/getrpcbyname.c: ... here.
985 * inet/getrpcbyname_r.c: Moved ...
986 * sunrpc/getrpcbyname_r.c: ... here.
987 * inet/getrpcbynumber.c: Moved ...
988 * sunrpc/getrpcbynumber.c: ... here.
989 * inet/getrpcbynumber_r.c: Moved ...
990 * sunrpc/getrpcbynumber_r.c: ... here.
991 * inet/getrpcent.c: Moved ...
992 * sunrpc/getrpcent.c: ... here.
993 * inet/getrpcent_r.c: Moved ...
994 * sunrpc/getrpcent_r.c: ... here.
995 * inet/Makefile (routines): Move those to ...
996 * sunrpc/Makefile (routines): ... here.
997 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
998 the $(subdirs) list.
999 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1000 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1001 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1002 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1003
1004 * elf/Makefile (routines): Include $(all-dl-routines), not just
1005 $(dl-routines).
1006 (rtld-routines): Likewise. Use = rather than :=.
1007 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1008 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1009 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1010 * sysdeps/arm/Makefile: Likewise.
1011 * sysdeps/i386/Makefile: Likewise.
1012 * sysdeps/x86_64/Makefile: Likewise.
1013 * sysdeps/hppa/Makefile [$(subdir) = elf]
1014 (sysdep_routines, sysdep-rtld-routines): Don't add
1015 $(sysdep-dl-routines) to these.
1016 * sysdeps/ia64/Makefile: Likewise.
1017 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1018 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1019 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1020 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1021 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1022 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1024 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1025 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1026 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1027 these; sysdep-dl-routines alone is enough.
1028
1029 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1030
1031 [BZ #17932]
1032 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1033 where multiplication results in zero and third argument is finite
1034 and nonzero.
1035 * math/auto-libm-test-in: Add more tests of fma.
1036 * math/auto-libm-test-out: Regenerated.
1037
1038 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1039 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1040 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1041 (_FP_CMP_EQ): Likewise.
1042 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1043
1044 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1045 extra argument CHECK_NAN. Redefine as wrapper around
1046 _FP_EXTEND_CNAN.
1047
1048 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1049
1050 * version.h (RELEASE): Set to "stable".
1051 (VERSION): Set to "2.21"
1052 * include/features.h (__GLIBC_MINOR__): Set to 21.
1053
1054 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1055
1056 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1057 Paul Eggert <eggert@cs.ucla.edu>
1058
1059 [BZ #16618]
1060 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1062 size in bytes. Store needed elements in wpmax. Use needed size
1063 in bytes for extend_alloca.
1064
1065 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1066
1067 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1068 binutls 2.25, and texinfo 5.2.
1069 * INSTALL: Regenerate.
1070 * sysdeps/nios2/configure: Regenerate.
1071 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1072 * manual/contrib.texi: Update.
1073 * po/be.po: Update.
1074 * po/bg.po: Update.
1075 * po/ca.po: Update.
1076 * po/cs.po: Update.
1077 * po/da.po: Update.
1078 * po/de.po: Update.
1079 * po/el.po: Update.
1080 * po/eo.po: Update.
1081 * po/es.po: Update.
1082 * po/fi.po: Update.
1083 * po/fr.po: Update.
1084 * po/gl.po: Update.
1085 * po/hr.po: Update.
1086 * po/hu.po: Update.
1087 * po/ia.po: Update.
1088 * po/id.po: Update.
1089 * po/it.po: Update.
1090 * po/ja.po: Update.
1091 * po/ko.po: Update.
1092 * po/lt.po: Update.
1093 * po/nb.po: Update.
1094 * po/nl.po: Update.
1095 * po/pl.po: Update.
1096 * po/pt_BR.po: Update.
1097 * po/ru.po: Update.
1098 * po/rw.po: Update.
1099 * po/sk.po: Update.
1100 * po/sl.po: Update.
1101 * po/sv.po: Update.
1102 * po/tr.po: Update.
1103 * po/uk.po: Update.
1104 * po/vi.po: Update.
1105 * po/zh_CN.po: Update.
1106 * po/zh_TW.po: Update.
1107
1108 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1109 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1110 * sysdeps/hppa/dl-irel.h: Remove #warning.
1111 * sysdeps/hppa/entry.h: Provide prototype for
1112 __canonicalize_funcptr_for_compare and cast argument.
1113 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1114 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1115 * sysdeps/hppa/sotruss-lib.c: New file.
1116 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1117 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1118 (atomic_compare_and_exchange_bool_acq): Likewise.
1119 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1120 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1121
1122 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1123 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1124 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1125
1126 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1127
1128 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1129 called function in non-PIC case.
1130
1131 2015-01-31 David S. Miller <davem@davemloft.net>
1132
1133 * sysdeps/sparc/sparc32/bits/atomic.h
1134 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1135 unlock not after it.
1136 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1137 volatile register usage warnings from the compiler.
1138
1139 * sysdeps/sparc/nptl/sem_init.c: Delete.
1140 * sysdeps/sparc/nptl/sem_post.c: Delete.
1141 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1142 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1143 * sysdeps/sparc/sparc32/sem_init.c: New file.
1144 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1145 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1146 padding explicitly initialized.
1147 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1148 padding for in-semaphore spinlock.
1149 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1150 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1151 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1152 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1153 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1154 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1155 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1156 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1157 version.
1158 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1159 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1160
1161 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 [BZ #17801]
1164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1165 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1166 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1167 New.
1168 (index_AVX_Fast_Unaligned_Load): Likewise.
1169 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1170 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1171 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1172 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1173 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1174 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1175 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1176 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1177 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1178
1179 2015-01-29 Andreas Schwab <schwab@suse.de>
1180
1181 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1182
1183 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
1185 [BZ #17892]
1186 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1187
1188 2015-01-28 Martin Sebor <msebor@redhat.com>
1189
1190 * math/README.libm-test: Clarify. Add "How to read the test output."
1191
1192 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1193
1194 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1195 Define to 0.
1196
1197 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1198
1199 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1200 (__HAVE_64B_ATOMICS): Define to 0.
1201
1202 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1203
1204 [BZ #17885]
1205 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1206 value to set as new flag.
1207
1208 [BZ #16576]
1209 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1210 and use _ARCH_PPCSQ instead.
1211 (__ieee754_sqrt): Likewise.
1212 (__ieee754_sqrtf): Likewise.
1213 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1214 _ARCH_PPCSQ is defined.
1215 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1216 fsqrt instruction.
1217 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1218 _ARCH_PPCSQ is defined.
1219 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1220 fsqrts instruction.
1221 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1222
1223 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1224
1225 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1226 bug (GCC BZ #64739).
1227
1228 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1229
1230 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1231 Mark _retval as used.
1232 (lll_futex_wake_unlock): Likewise.
1233 (lll_futex_timed_wait_requeue_pi): Likewise.
1234
1235 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1236 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1237 register variables.
1238
1239 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1240 libm_hidden_def.
1241
1242 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1243 (__bswap_64): Mark as __always_inline.
1244
1245 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1246
1247 [BZ #15378]
1248 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1249 when none of the search directories exist.
1250
1251 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1252
1253 [BZ #17869]
1254 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1255 power8 in .machine directive.
1256
1257 [BZ #17868]
1258 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1259 set dependency from opd value.
1260
1261 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1264 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1265 architecture.
1266
1267 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1268
1269 [BZ #17870]
1270 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1271 with uint64_t.
1272 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1273 (uint64_t) 1.
1274 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1275 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1276 Replace 1UL with (uint64_t) 1.
1277 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1278 int with uint64_t.
1279
1280 2015-01-23 Roland McGrath <roland@hack.frob.com>
1281
1282 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1283 (if_freenameindex): Likewise.
1284
1285 * resource/getrlimit64.c: Add missing libc_hidden_def.
1286
1287 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1288
1289 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1290 __label__.
1291 (_FP_FMA): Likewise.
1292 (_FP_TO_INT_ROUND): Likewise.
1293 (_FP_FROM_INT): Likewise.
1294
1295 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296
1297 [BZ #16418]
1298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1299 Make code racy and cancel safe.
1300
1301 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1302
1303 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1304 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1305 attribution.
1306
1307 * pwd/tst-getpw.c: Rewrite.
1308
1309 [BZ #17702]
1310 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1311 (modules-names): Add moddummy1 and moddummy2.
1312 ($(objpfx)tst-rec-dlopen): Define.
1313 * dlfcn/moddummy1.c: New file.
1314 * dlfcn/moddummy2.c: New file.
1315 * dlfcn/tst-rec-dlopen.c: New file.
1316 * elf/dl-cache.c (_dl_load_cache_lookup):
1317 Return char*. Copy result with alloca/strcpy/strdup.
1318 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1319 returns char*. Free cached. If not saving realname
1320 free cached.
1321 * elf/dl-open.c (dl_open_worker): Do not assert that
1322 _r_debug->r_state is RT_CONSISTENT.
1323 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1324 returns char*.
1325
1326 2015-01-21 Torvald Riegel <triegel@redhat.com>
1327 Carlos O'Donell <carlos@redhat.com>
1328
1329 [BZ #12674]
1330 * nptl/sem_waitcommon.c: New file.
1331 * nptl/sem_wait.c: Include sem_waitcommon.c.
1332 (__sem_wait_cleanup, do_futex_wait): Remove.
1333 (__new_sem_wait): Adapt.
1334 (__new_sem_trywait): New function.
1335 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1336 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1337 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1338 (sem_timedwait): Adapt.
1339 * nptl/sem_post.c (__new_sem_post): Adapt.
1340 (futex_wake): New function.
1341 (__old_sem_post): Add release MO fence.
1342 * nptl/sem_open.c (sem_open): Adapt.
1343 * nptl/sem_init.c (__new_sem_init): Adapt.
1344 (futex_private_if_supported): New function.
1345 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1346 (__old_sem_getvalue): Add using previous code.
1347 * sysdeps/nptl/internaltypes.h: Adapt.
1348 * nptl/tst-sem13.c (do_test): Adapt.
1349 * nptl/tst-sem11.c (main): Adapt.
1350 * nptl/sem_trywait.c: Remove.
1351 * nptl/DESIGN-sem.txt: Remove.
1352 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1353 (gen-as-const-headers): Remove structsem.sym.
1354 * nptl/structsem.sym: Remove.
1355 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1356 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1357 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1358 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1359 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1360 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1361 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1362 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1363 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1364 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1365 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1366 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1367 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1368 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1369 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1370 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1371 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1372 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1373 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1374 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1375 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1376 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1377
1378 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1379
1380 * INSTALL: Regenerated.
1381
1382 * po/libc.pot: Regenerated.
1383
1384 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1385 Sandra Loosemore <sandra@codesourcery.com>
1386 Andrew Jenner <andrew@codesourcery.com>
1387 Joseph Myers <joseph@codesourcery.com>
1388 Nathan Sidwell <nathan@codesourcery.com>
1389
1390 * NEWS: Mention new Nios II port.
1391 * sysdeps/nios2/Implies: New file.
1392 * sysdeps/nios2/Makefile: New file.
1393 * sysdeps/nios2/Subdirs: New file.
1394 * sysdeps/nios2/Versions: New file.
1395 * sysdeps/nios2/__longjmp.S: New file.
1396 * sysdeps/nios2/abort-instr.h: New file.
1397 * sysdeps/nios2/backtrace.c: New file.
1398 * sysdeps/nios2/bits/endian.h: New file.
1399 * sysdeps/nios2/bits/fenv.h: New file.
1400 * sysdeps/nios2/bits/link.h: New file.
1401 * sysdeps/nios2/bits/setjmp.h: New file.
1402 * sysdeps/nios2/bsd-_setjmp.S: New file.
1403 * sysdeps/nios2/bsd-setjmp.S: New file.
1404 * sysdeps/nios2/configure: New generated file.
1405 * sysdeps/nios2/configure.ac: New file.
1406 * sysdeps/nios2/crti.S: New file.
1407 * sysdeps/nios2/crtn.S: New file.
1408 * sysdeps/nios2/dl-init.c: New file.
1409 * sysdeps/nios2/dl-machine.h: New file.
1410 * sysdeps/nios2/dl-sysdep.h: New file.
1411 * sysdeps/nios2/dl-tls.h: New file.
1412 * sysdeps/nios2/dl-trampoline.S: New file.
1413 * sysdeps/nios2/gccframe.h: New file.
1414 * sysdeps/nios2/gmp-mparam.h: New file.
1415 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1416 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1417 * sysdeps/nios2/ldsodefs.h: New file.
1418 * sysdeps/nios2/libc-tls.c: New file.
1419 * sysdeps/nios2/libm-test-ulps: New file.
1420 * sysdeps/nios2/machine-gmon.h: New file.
1421 * sysdeps/nios2/math-tests.h: New file.
1422 * sysdeps/nios2/math_private.h: New file.
1423 * sysdeps/nios2/memusage.h: New file.
1424 * sysdeps/nios2/nptl/Makefile: New file.
1425 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1426 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1427 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1428 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1429 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1430 * sysdeps/nios2/nptl/tls.h: New file.
1431 * sysdeps/nios2/preconfigure: New file.
1432 * sysdeps/nios2/s_fma.c: New file.
1433 * sysdeps/nios2/s_fmaf.c: New file.
1434 * sysdeps/nios2/setjmp.S: New file.
1435 * sysdeps/nios2/sfp-machine.h: New file.
1436 * sysdeps/nios2/sotruss-lib.c: New file.
1437 * sysdeps/nios2/stackguard-macros.h: New file.
1438 * sysdeps/nios2/stackinfo.h: New file.
1439 * sysdeps/nios2/start.S: New file.
1440 * sysdeps/nios2/sysdep.h: New file.
1441 * sysdeps/nios2/tls-macros.h: New file.
1442 * sysdeps/nios2/tst-audit.h: New file.
1443 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1444 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1445 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1446 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1447 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1448 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1449 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1450 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1451 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1452 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1453 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1454 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1455 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1456 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1457 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1458 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1459 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1460 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1461 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1462 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1463 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1464 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1465 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1466 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1467 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1468 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1469 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1470 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1471 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1472 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1473 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1474 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1475 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1476 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1477 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1478 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1479 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1480 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1481 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1482 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1483 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1484 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1485 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1486 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1487
1488 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1489
1490 [BZ #17844]
1491 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1492 (getutent): Use weak_alias in non SHARED case
1493 and default_symbol_version in SHARED case.
1494 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1495 (getutent_r, pututline): Likewise.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1497 (getutid): Likewise.
1498 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1499 (getutid_r): Likewise.
1500 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1501 (getutline): Likewise.
1502 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1503 (getutline_r): Likewise.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1505 (updwtmp): Likewise.
1506
1507 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1508
1509 [BZ #17848]
1510 * sysdeps/s390/s390-32/memcmp.S
1511 (memcmp_g5): Rename to __memcmp_g5.
1512 * sysdeps/s390/s390-32/memcpy.S
1513 (memcpy_g5): Rename to __memcpy_g5.
1514 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1515 (memcpy_mvcle) Rename to __memcpy_mvcle.
1516 * sysdeps/s390/s390-32/memset.S
1517 (memset_g5): Rename to __memset_g5.
1518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1519 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1520 and use prefixed functions.
1521 * sysdeps/s390/s390-32/multiarch/memcmp.S
1522 (memcmp_z196): Rename to __memcmp_z196.
1523 (memcmp_z10): Rename to __memcmp_z10.
1524 (memcmp): Set alias to __memcmp_g5.
1525 (bcmp): Set alias to __memcmp_g5.
1526 * sysdeps/s390/s390-32/multiarch/memcpy.S
1527 (memcpy_z196): Rename to __memcpy_z196.
1528 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1529 (memcpy_z10): Rename to __memcpy_z10.
1530 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1531 (memcpy): Set alias to __memcpy_g5.
1532 * sysdeps/s390/s390-32/multiarch/memset.S
1533 (memset_z196): Rename to __memset_z196.
1534 Jump to __memset_mvcle instead of memset_mvcle.
1535 (memset_z10): Rename to __memset_z10.
1536 Jump to __memset_mvcle instead of memset_mvcle.
1537 (memset_mvcle) Rename to __memset_mvcle.
1538 (memset): Set alias to __memset_g5.
1539 * sysdeps/s390/s390-64/memcmp.S
1540 (memcmp_z900): Rename to __memcmp_z900.
1541 * sysdeps/s390/s390-64/memcpy.S
1542 (memcpy_z900): Rename to __memcpy_z900.
1543 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1544 (memcpy_mvcle) Rename to __memcpy_mvcle.
1545 * sysdeps/s390/s390-64/memset.S
1546 (memset_z900): Rename to __memset_z900.
1547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1548 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1549 and use prefixed functions.
1550 * sysdeps/s390/s390-64/multiarch/memcmp.S
1551 (memcmp_z196): Rename to __memcmp_z196.
1552 (memcmp_z10): Rename to __memcmp_z10.
1553 (memcmp): Set alias to __memcmp_z900.
1554 (bcmp): Set alias to __memcmp_z900.
1555 * sysdeps/s390/s390-64/multiarch/memcpy.S
1556 (memcpy_z196): Rename to __memcpy_z196.
1557 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1558 (memcpy_z10): Rename to __memcpy_z10.
1559 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1560 (memcpy): Set alias to __memcpy_z900.
1561 * sysdeps/s390/s390-64/multiarch/memset.S
1562 (memset_z196): Rename to __memset_z196.
1563 Jump to __memset_mvcle instead of memset_mvcle.
1564 (memset_z10): Rename to __memset_z10.
1565 Jump to __memset_mvcle instead of memset_mvcle.
1566 (memset_mvcle) Rename to __memset_mvcle.
1567 (memset): Set alias to __memset_z900.
1568
1569 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #17748]
1572 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1573 __fesetenv instead of fesetenv.
1574
1575 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1576
1577 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1578 macro.
1579
1580 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1583 regression on LE.
1584
1585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1586 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1587 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1588 strncmp-power8 object.
1589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1590 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1591 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1592 * NEWS: Update.
1593
1594 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596
1597 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1598 trailing byte check.
1599
1600 2015-01-13 David S. Miller <davem@davemloft.net>
1601
1602 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1603
1604 2015-01-13 Roland McGrath <roland@hack.frob.com>
1605
1606 * login/logout.c (logout): Use memset rather than bzero.
1607 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1608 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1609 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1610 (_gethtbyaddr): Likewise.
1611 * locale/programs/simple-hash.c (bcopy): Macro removed.
1612
1613 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1616 Add strcmp-power8 object.
1617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1618 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1619 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1621 __strcmp_power8 implementation.
1622 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1623 * NEWS: Update.
1624
1625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1626 Add strncpy-power8 and stpncpy-power8 objects.
1627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1628 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1629 implementations.
1630 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1632 __stpncpy_power8 implementation.
1633 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1635 __strncpy_power8 implementation.
1636 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1637 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1638 * NEWS: Update.
1639
1640 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1641 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1642 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1643
1644 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1645 strncat-power8 object.
1646 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1647 __strcat_power8 implementation.
1648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1649 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1650 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1651 optimized strcat for power8.
1652
1653 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1654 strcpy-power8 and stpcpy-power8 objects.
1655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1656 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1657 implementations.
1658 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1659 multiarch stpcpy implementation for POWER8.
1660 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1661 multiarch strcpy implementation for POWER8.
1662 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1663 __strcpy_power8 function.
1664 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1665 stpcpy for POWER8.
1666 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1667 strcpy for POWER8.
1668 * NEWS: Update.
1669
1670 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1671
1672 [BZ #16009]
1673 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1674 weights and rules. Use do_xfrm_cached if data fits in cache,
1675 do_xfrm otherwise. Moved former main loop to...
1676 * (do_xfrm_cached): New function.
1677 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1678 find_idx, find_position and stack_push.
1679 * (find_idx): New function.
1680 * (find_position): Likewise.
1681 * localedata/sort-test.sh: Added test run for do_xfrm.
1682 * localedata/xfrm-test.c (main): Added command line option
1683 -nocache to run the test with strings that are too large for
1684 the STRXFRM cache.
1685
1686 2015-01-13 Torvald Riegel <triegel@redhat.com>
1687
1688 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1689 variable to lll_futex_wake call, not the value itself.
1690
1691 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1692
1693 [BZ #17803]
1694 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1695 twom64. Adjust value to 0x1p-64L.
1696 (__scalblnl): Only return standard underflowing result for K <=
1697 -64 not K <= -63; adjust exponent for underflowing result by 64
1698 not 63.
1699 * math/libm-test.inc (scalbn_test_data): Add more tests.
1700 (scalbln_test_data): Likewise.
1701
1702 [BZ #17834]
1703 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1704 0x1p63L.
1705 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1706 not HX.
1707 * math/libm-test.inc (scalbn_test_data): Add more tests.
1708 (scalbln_test_data): Likewise.
1709
1710 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711 Stefani Seibold <stefani@seibold.net>
1712
1713 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1714 (sysdep_routines): Add dl-vdso here, ...
1715 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1716 (sysdep_routines): ... not here.
1717 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1718 fallback when vDSO is not presented.
1719 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1720 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1721 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1722 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1723 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1725 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1726 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1727 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1729 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1730 fallback configurable symbol when vDSO is not available.
1731 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1732 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1733 be able to redefine fallback symbol when vDSO is not available.
1734 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1735 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1736
1737 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738
1739 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1740 (TLS_INIT_TP): Add tm_capable initialization.
1741 (TLS_DEFINE_INIT_TP): Likewise.
1742 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1743 TCB.
1744 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1745 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1746 calculation.
1747 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1748 transactoion is lock elision is built and TCB tm_capable is set.
1749 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1751 (INTERNAL_SYSCALL_NCS): Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1753 (INTERNAL_SYSCALL_NCS): Likewise.
1754 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1755
1756 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1757 for powerpc.
1758 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1759 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1760 and remove it for 32 bits case.
1761 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1763 initialization.
1764 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1765 Disable lock elision with rdlocks if elision is not available.
1766
1767 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1768 (sysdep_routines): Add lock elision objects.
1769 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1770 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1771 [pthread_mutex_t] (__elision): Add field.
1772 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1773 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1774 elision definitions for powerpc.
1775 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1776 implementation of lock elision for powerpc.
1777 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1778 implementation of timed lock elision for powerpc.
1779 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1780 implementation of trylock with lock elision for powerpc.
1781 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1782 implementaion of unlock for lock elision for powerpc.
1783 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1784 automatic enable lock elision for mutexes.
1785 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1786 transaction execution definitions for powerpc.
1787 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1788 definitions.
1789 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1790 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1791 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1793 * NEWS: Update.
1794
1795 2015-01-09 Roland McGrath <roland@hack.frob.com>
1796
1797 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1798 for #include of <shm-directory.h>.
1799
1800 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1801
1802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1803 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1804
1805 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1806
1807 [BZ #17791]
1808 * NEWS: Mention bug fix.
1809 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1810 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1811 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1812
1813 2015-01-09 Torvald Riegel <triegel@redhat.com>
1814
1815 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1816
1817 2015-01-09 Torvald Riegel <triegel@redhat.com>
1818
1819 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1820
1821 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1822
1823 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1824 pointer and cast to uintptr_t.
1825
1826 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1827
1828 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1829 removed.
1830 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1831
1832 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1833
1834 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1835 of 0.
1836
1837 2015-01-08 Roland McGrath <roland@hack.frob.com>
1838
1839 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1840 <nptl/pthreadP.h> instead.
1841 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1842
1843 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1844 already defined.
1845 [__SIGRTMIN] (init): Function removed.
1846 [__SIGRTMIN] (initialized): Variable removed.
1847 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1848 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1849 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1850 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1851 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1852 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1853 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1854 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1855 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1856 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1857 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1858 * sysdeps/nptl/allocrtsig.c: New file.
1859 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1860 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1861 * sysdeps/generic/testrtsig.h: File removed.
1862
1863 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1864 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1865
1866 * nptl/nptl-init.c (pthread_functions): Conditionalize
1867 .ptr__nptl_setxid initialization on [SIGSETXID].
1868
1869 * sysdeps/nptl/sys/procfs.h: New file.
1870 * nptl_db/Makefile (headers): Add it.
1871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1872
1873 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1874 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1875 * nptl/pthread_attr_setaffinity.c: Include it.
1876 * nptl/pthread_setattr_default_np.c: Likewise.
1877 * nptl/check-cpuset.h: New file.
1878
1879 2015-01-08 Richard Henderson <rth@redhat.com>
1880
1881 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1882 (CFLAGS-tst-execstack-prog.c): Likewise.
1883 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1884
1885 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1886 Sandra Loosemore <sandra@codesourcery.com>
1887 Andrew Jenner <andrew@codesourcery.com>
1888 Joseph Myers <joseph@codesourcery.com>
1889 Nathan Sidwell <nathan@codesourcery.com>
1890
1891 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1892 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1893 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1894 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1895 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1896 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1897 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1898 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1899 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1900 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1901 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1902 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1903 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1904 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1905 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1906 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1907 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1908
1909 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910
1911 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1912 timespec struct member in syscall macro.
1913 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1914 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1915 first timeval struct member in syscall macro.
1916 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1917
1918 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1919
1920 [BZ #17748]
1921 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1922 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1923 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1924 __feupdateenv and define as weak alias of __feupdateenv. Use
1925 libm_hidden_weak.
1926 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1927 libm_hidden_def.
1928 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1929 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1930 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1931 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1932 libm_hidden_def.
1933 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1934 __feupdateenv and define as weak alias of __feupdateenv. Use
1935 libm_hidden_weak.
1936 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1937 libm_hidden_def.
1938 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1939 __feupdateenv and define as weak alias of __feupdateenv. Use
1940 libm_hidden_weak.
1941 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1942 libm_hidden_def.
1943 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1944 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1945 (__feupdateenv): Likewise.
1946 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1947 __feupdateenv and define as weak alias of __feupdateenv. Use
1948 libm_hidden_weak.
1949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1950 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1951 libm_hidden_def.
1952 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1953 function.
1954 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1955 libm_hidden_def.
1956 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1957 __feupdateenv instead of feupdateenv.
1958 (default_libc_feupdateenv_test): Likewise.
1959 (libc_feresetround_ctx): Likewise.
1960
1961 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1964 prototype.
1965
1966 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1967
1968 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1969 COLL_SYM in a couple of places to avoid uninitialized variable
1970 wanings on tilegx gcc 4.8.2.
1971
1972 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1973
1974 * sysdeps/aarch64/strcpy.S: New file.
1975 * sysdeps/aarch64/stpcpy.S: New file.
1976 * NEWS: Updated.
1977
1978 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1979
1980 * sysdeps/aarch64/strrchr.S: New file.
1981 * NEWS: Updated.
1982
1983 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1984
1985 [BZ #17658]
1986 * stdlib/setenv.c: Fix memory leak when setting large,
1987 duplicate string.
1988
1989 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1990
1991 [BZ #17273]
1992 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1993 and tabs from buffer before parsing fstab entry.
1994 * misc/tst-mntent.c (main): Add test for mount entry with
1995 trailing spaces and tabs.
1996
1997 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1998
1999 [BZ #17748]
2000 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2001 * math/fesetround.c (fesetround): Rename to __fesetround and
2002 define as weak alias of __fesetround. Use libm_hidden_weak.
2003 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2004 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2005 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2006 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2007 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2008 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2009 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2010 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2011 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2012 __fesetround_inline.
2013 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2014 __fesetround_inline instead of __fesetround.
2015 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2016 __fesetround and define as weak alias of __fesetround. Use
2017 libm_hidden_weak. Call __fesetround_inline instead of
2018 __fesetround.
2019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2020 __fesetround and define as weak alias of __fesetround. Use
2021 libm_hidden_weak.
2022 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2023 Likewise.
2024 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2025 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2026 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2027 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2028 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2029 __fesetround and define as weak alias of __fesetround. Use
2030 libm_hidden_weak.
2031 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2032 __fesetround instead of fesetround.
2033 (default_libc_feholdexcept_setround): Likewise.
2034 (libc_feholdsetround_ctx): Likewise.
2035 (libc_feholdsetround_noex_ctx): Likewise.
2036
2037 [BZ #17748]
2038 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2039 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2040 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2041 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2042 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2043 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2044 define as weak alias of __fesetenv. Use libm_hidden_weak.
2045 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2046 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2047 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2048 define as weak alias of __fesetenv. Use libm_hidden_weak.
2049 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2050 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2051 define as weak alias of __fesetenv. Use libm_hidden_weak.
2052 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2053 libm_hidden_def.
2054 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2055 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2056 Likewise.
2057 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2058 define as weak alias of __fesetenv. Use libm_hidden_weak.
2059 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2060 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2061 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2062 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2063 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2064 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2065 __fesetenv instead of fesetenv.
2066 (libc_feresetround_noex_ctx): Likewise.
2067 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2068 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2069 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2071 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2072 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2073 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2074 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2075 (__feupdateenv): Likewise.
2076 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2077 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2078 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2079 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2080
2081 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2082
2083 [BZ #17806]
2084 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2085 addresses have been freed.
2086
2087 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2088
2089 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2090 and nservall.
2091
2092 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2093
2094 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2095 Clean up check_pf allocation pattern. addresses
2096
2097 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098
2099 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2100 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2101 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2102 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2103 * nptl/pthread_join.c (pthread_join): Likewise.
2104 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2105 * sysdeps/posix/waitid.c (__waitid): Likewise.
2106 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2107 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2108 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2109 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2110 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2111 Likewise.
2112 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2113 (__libc_pread64): Likewise.
2114 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2115 (__libc_pwrite): Likewise.
2116 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2117 (__libc_pwrite64): Likewsie.
2118 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2119 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2120 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2121 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2122 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2123 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2124 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2128 (__libc_pread64): Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2132 (__libc_pwrite64): Likewise.
2133 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2134 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2135 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2136 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2137 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2138 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2139 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2140 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2141 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2142 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2143 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2144 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2145 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2146 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2148 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2149 Likewise.
2150
2151 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2152
2153 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2154 (CFLAGS-test-double.c): Likewise.
2155 (CFLAGS-test-ldouble.c): Likewise.
2156 (CPPFLAGS-test-ifloat.c): Likewise.
2157 (CPPFLAGS-test-idouble.c): Likewise.
2158 (CPPFLAGS-test-ildoubl.c): Likewise.
2159 (CFLAGS-test-test-fenv.c): Remove variable.
2160 (CFLAGS-test-misc.c): Likewise.
2161
2162 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 [BZ #17797]
2165 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2166 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2167 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2168 CLOCKS_PER_SEC == 1000000.
2169 * time/clocktest.c (main): Replace %ld with %jd and cast to
2170 intmax_t.
2171
2172 2015-01-05 Roland McGrath <roland@hack.frob.com>
2173
2174 * sysdeps/generic/unwind-resume.h: New file.
2175 * sysdeps/gnu/unwind-resume.c: Include it.
2176 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2177 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2178 argument list.
2179 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2180 global rather than static.
2181 (_Unwind_Resume): Update user.
2182 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2183 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2184 rather than static. Add __attribute__ ((cold)).
2185 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2186 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2187 * sysdeps/arm/arm-unwind-resume.S: New file.
2188 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2189 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2190 * sysdeps/arm/Makefile [$(subdir) = csu]
2191 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2192 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2193 Add rt-arm-unwind-resume.
2194 [$(subdir) = nptl]
2195 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2196 Add pt-arm-unwind-resume.
2197 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2198 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2199
2200 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2201
2202 [BZ #17748]
2203 * include/fenv.h (__feholdexcept): Declare. Use
2204 libm_hidden_proto.
2205 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2206 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2207 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2208 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2209 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2210 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2211 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2212 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2213 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2214 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2215 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2216 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2217 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2218 (feholdexcept): Likewise.
2219 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2220 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2221 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2222 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2223 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2224 __feholdexcept instead of feholdexcept.
2225 (default_libc_feholdexcept_setround): Likewise.
2226
2227 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2228
2229 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2230 to avoid using stl/str to align destination.
2231
2232 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2233
2234 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2235
2236 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2237
2238 [BZ #17796]
2239 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2240 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2241 Define as weak alias not strong alias.
2242
2243 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2244
2245 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2246 bltzal with addiupc.
2247 (RTLD_START): Ditto.
2248
2249 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2250
2251 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2252 for __vdso_* functions in declarations.
2253 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2254 definitions.
2255 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2256 INTERNAL_VSYSCALL): Use struct return types to check for error.
2257
2258 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2259 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2260 function with cast from llround().
2261 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2262 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2263 Define.
2264
2265 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2266
2267 [BZ #17793]
2268 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2269 Define as weak alias not strong alias.
2270
2271 [BZ #17635]
2272 * ctype/ctype-c99.c: New file. isblank implementation moved from
2273 ...
2274 * ctype/ctype-extn.c: ... here.
2275 (__isblank_l): Move to ...
2276 * ctype/ctype-c99_l.c: ... here. New file.
2277 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2278 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2279 Remove variable.
2280 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2281 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2282 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2283 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2284 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2285
2286 [BZ #17777]
2287 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2288 (posix_fadvise64): Define as weak alias not strong alias.
2289 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2290 (posix_fallocate64): Likewise.
2291 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2292 Remove variable.
2293 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2294 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2295 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2296 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2297 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2298
2299 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2300
2301 [BZ #16191]
2302 * NEWS: Mention bug fix.
2303 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2304 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2305 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2306 (HOST_STACK_END_ADDR): Likewise.
2307
2308 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2309
2310 [BZ #17748]
2311 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2312 * math/fegetround.c (fegetround): Rename to __fegetround and
2313 define as weak alias of __fegetround. Use libm_hidden_weak.
2314 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2315 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2316 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2317 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2318 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2319 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2320 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2321 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2322 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2323 Undefine after rather than before function definition; use
2324 parentheses around function name in definition.
2325 (__fegetround): Also undefine macro after function definition.
2326 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2327 __fegetround and define as weak alias of __fegetround. Use
2328 libm_hidden_weak. Do not undefine as macro.
2329 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2330 Likewise.
2331 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2332 __fegetround and define as weak alias of __fegetround. Use
2333 libm_hidden_weak.
2334 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2335 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2336 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2337 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2338 __fegetround and define as weak alias of __fegetround. Use
2339 libm_hidden_weak.
2340 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2341 __fegetround instead of fegetround.
2342
2343 [BZ #17782]
2344 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2345 Condition macro definition on [__USE_MISC].
2346
2347 [BZ #17781]
2348 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2349 (struct sigaction): Change type of sa_flags field to int.
2350
2351 [BZ #17780]
2352 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2353 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2354 __glibc_reserved0.
2355
2356 * nptl/version.c (banner): Use single year in copyright notice.
2357
2358 * NEWS: Update copyright dates.
2359 * catgets/gencat.c (print_version): Likewise.
2360 * csu/version.c (banner): Likewise.
2361 * debug/catchsegv.sh: Likewise.
2362 * debug/pcprofiledump.c (print_version): Likewise.
2363 * debug/xtrace.sh (do_version): Likewise.
2364 * elf/ldconfig.c (print_version): Likewise.
2365 * elf/ldd.bash.in: Likewise.
2366 * elf/pldd.c (print_version): Likewise.
2367 * elf/sotruss.sh: Likewise.
2368 * elf/sprof.c (print_version): Likewise.
2369 * iconv/iconv_prog.c (print_version): Likewise.
2370 * iconv/iconvconfig.c (print_version): Likewise.
2371 * locale/programs/locale.c (print_version): Likewise.
2372 * locale/programs/localedef.c (print_version): Likewise.
2373 * login/programs/pt_chown.c (print_version): Likewise.
2374 * malloc/memusage.sh (do_version): Likewise.
2375 * malloc/memusagestat.c (print_version): Likewise.
2376 * malloc/mtrace.pl: Likewise.
2377 * manual/libc.texinfo: Likewise.
2378 * nptl/version.c (banner): Likewise.
2379 * nscd/nscd.c (print_version): Likewise.
2380 * nss/getent.c (print_version): Likewise.
2381 * nss/makedb.c (print_version): Likewise.
2382 * posix/getconf.c (main): Likewise.
2383 * scripts/test-installation.pl: Likewise.
2384 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2385
2386 2015-01-02 Will Newton <will.newton@linaro.org>
2387
2388 * sysdeps/arm/armv7/configure: Removed.
2389 * sysdeps/arm/armv7/configure.ac: Likewise.
2390
2391 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2392
2393 * All files with FSF copyright notices: Update copyright dates
2394 using scripts/update-copyrights.
2395 * intl/plural.c: Regenerated.
2396 * locale/programs/charmap-kw.h: Likewise.
2397 * locale/programs/locfile-kw.h: Likewise.
2398
2399 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2400
2401 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2402
2403 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2404
2405 [BZ #17748]
2406 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2407 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2408 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2409 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2410 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2411 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2412 define as weak alias of __fegetenv. Use libm_hidden_weak.
2413 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2414 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2415 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2416 define as weak alias of __fegetenv. Use libm_hidden_weak.
2417 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2418 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2419 define as weak alias of __fegetenv. Use libm_hidden_weak.
2420 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2421 libm_hidden_def.
2422 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2423 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2424 Likewise.
2425 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2426 define as weak alias of __fegetenv. Use libm_hidden_weak.
2427 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2428 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2429 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2430 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2431 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2432 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2433 __fegetenv instead of fegetenv.
2434 (libc_feholdsetround_noex_ctx): Likewise.
2435
2436 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2437
2438 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2439 (Elf_MIPS_ABIFlags_v0): New structure.
2440 (EF_MIPS_FP64): Define.
2441 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2442 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2443 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2444 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2445 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2446 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2447 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2448 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2449 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2450 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2451 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2452 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2453 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2454 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2455 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2456 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2457 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2458 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2459 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2460 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2461 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2462 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2463 field.
2464 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2465 EF_MIPS_FP64.
2466 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2467 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2468 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2469 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2470 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2471 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2472 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2473 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2474 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2475 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2477 record the current FP ABI extension.
2478 (mips-mode-switch): Define to show if kernel headers support mode
2479 switching.
2480 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2481 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2482 supported SYSV ABI version to 3.
2483 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2484 feature.
2485
2486 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2487 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488
2489 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2490 path.
2491 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2492
2493 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2494
2495 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2496 __fegetround and redefine to call __fegetround. Remove condition
2497 on [!__NO_MATH_INLINES].
2498 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2499 function.
2500 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2502 Remove macro.
2503 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2504 instead of <fenv_libc.h>.
2505 (__llrintl): Call fegetround instead of __fegetround.
2506 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2507 instead of <fenv_libc.h>.
2508 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2509 (__lrintl): Call fegetround instead of __fegetround.
2510 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2511 instead of <fenv_libc.h>.
2512 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2513 (__rintl): Call fegetround instead of __fegetround.
2514
2515 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2516
2517 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2518 arrays.
2519
2520 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2521
2522 [BZ #17775]
2523 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2524 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2525 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2526
2527 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2528
2529 * sysdeps/i386/tls-macros.h: Include <features.h>.
2530 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2531 (TLS_IE): Likewise.
2532 (TLS_LD): Likewise.
2533 (TLS_GD): Likewise.
2534 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2535 define for GCC >= 5.0.
2536
2537 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2538
2539 * math/test-fenv.c (test_single_exception, set_single_exc,
2540 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2541 feexcp_mask_test, feenable_test, fe_single_test): Add
2542 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2543 case where they are not used.
2544 * math/libm-test.inc: Likewise.
2545 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2546 unused in the absence of FP rounding/exception support.
2547 * stdio-common/tst-printf-round.c: Likewise.
2548 * stdlib/tst-strtod-round.c: Likewise.
2549 * stdlib/tst-strtod-underflow.c: Likewise.
2550
2551 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2552
2553 [BZ #17723]
2554 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2555 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2556 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2557 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2558 libm_hidden_weak.
2559 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2560 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2561 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2562 libm_hidden_def.
2563 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2564 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2565 libm_hidden_weak.
2566 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2567 Likewise.
2568 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2569 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2570 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2571 libm_hidden_weak.
2572 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2573 libm_hidden_def.
2574 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2575 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2576 (__feraiseexcept): Likewise.
2577 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2578 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2579 libm_hidden_weak.
2580 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2581 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2582 libm_hidden_def.
2583 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2584 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2585 Use libm_hidden_def.
2586 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2587 libm_hidden_def.
2588 (feraiseexcept): Define as weak not strong alias. Use
2589 libm_hidden_weak.
2590 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2591 New inline function. Factored out of ...
2592 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2593 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2594 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2595 feraiseexcept.
2596 * math/w_acos.c (__acos): Likewise.
2597 * math/w_asin.c (__asin): Likewise.
2598 * math/w_ilogb.c (__ilogb): Likewise.
2599 * math/w_j0.c (y0): Likewise.
2600 * math/w_j1.c (y1): Likewise.
2601 * math/w_jn.c (yn): Likewise.
2602 * math/w_log.c (__log): Likewise.
2603 * math/w_log10.c (__log10): Likewise.
2604 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2605 * sysdeps/aarch64/fpu/math_private.h
2606 (libc_feupdateenv_test_aarch64): Likewise.
2607 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2608 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2609 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2611 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2612 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2613 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2614 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2615 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2616 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2617
2618 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 [BZ #17732]
2621 * io/test-utime.c (main): Replace %ld with %jd and cast to
2622 intmax_t.
2623 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2624 * nptl/tst-mutex5.c: Include <stdint.h>.
2625 (do_test): Replace %ld with %jd and cast to intmax_t.
2626 * posix/tst-regex.c (run_test): Likewise.
2627 (run_test_backwards): Likewise.
2628 * rt/tst-clock.c: Include <stdint.h>.
2629 (clock_test): Replace %ld with %jd and cast to intmax_t.
2630 * rt/tst-cpuclock1.c: Include <stdint.h>.
2631 (do_test): Replace %lu with %ju and cast to uintmax_t.
2632 * rt/tst-cpuclock2.c: Include <stdint.h>.
2633 (do_test): Replace %lu with %ju and cast to uintmax_t.
2634 * rt/tst-mqueue1.c: Include <stdint.h>.
2635 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2636 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2637 intmax_t.
2638 * rt/tst-mqueue4.c (do_test): Likewise.
2639 * rt/tst-timer4.c: Include <stdint.h>.
2640 (check_ts): Replace %ld with %jd and cast to intmax_t.
2641 (do_test): Likewise.
2642 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2643 and cast to intmax_t.
2644 * sysdeps/pthread/tst-timer.c (main): Likewise.
2645 * time/clocktest.c (main): Likewise.
2646 * time/tst-posixtz.c (do_test): Likewise.
2647 * timezone/tst-timezone.c (main): Likewise.
2648
2649 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2650 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2653 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2657 version if bit_Fast_Unaligned_Load is set.
2658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2665 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2666 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2667 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2668 to 4.
2669 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2670 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2671 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2672 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2673
2674 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2675
2676 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2677 instead of #if to avoid a Wundef warning.
2678 * stdlib/tst-limits.c (do_test): Likewise.
2679
2680 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2681 parallel other exception macros.
2682 (fegetenv): Convert from macro to extern inline so that it applies
2683 retroactively to inline functions already seen by the compiler.
2684 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2685
2686 * posix/Makefile (before-compile): Use $(objpfx) for
2687 posix-conf-vars-def.h.
2688
2689 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2690
2691 * posix/getconf.c (main): Use size_t for type of I.
2692 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2693 NSPEC.
2694
2695 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2696 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2697 * posix/posix-envs.def: Likewise.
2698 * sysdeps/posix/sysconf.c: Likewise.
2699 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2700 (specs): Remove array.
2701 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2702 array.
2703
2704 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2705 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2706 (__sysconf): Use CONF_IS_* macros.
2707
2708 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2709 ($(objpfx)posix-conf-vars-def.h): New target.
2710 * posix/posix-conf-vars.list: New file.
2711 * posix/posix-conf-vars.h: New file.
2712 * posix/confstr.c: Include posix-conf-vars.h.
2713 (confstr): Use CONF_IS_* macros.
2714 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2715 CONF_IS_* macros.
2716 * scripts/gen-posix-conf-vars.awk: New file.
2717
2718 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2719
2720 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2721 fegetround): Add no-op macros to avoid linknamespace issues.
2722
2723 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2724 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2725
2726 * sysdeps/unix/sysv/linux/tile/sysdep.h
2727 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2728 assembly-specific section to avoid a redefinition warning.
2729
2730 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2731 long before casting to pointer to avoid a cast warning.
2732
2733 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2734
2735 * sysdeps/tile/tilegx/Implies: New file.
2736
2737 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2738
2739 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2740
2741 2014-12-23 Florian Weimer <fweimer@redhat.com>
2742
2743 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2744
2745 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2746
2747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2748 not define.
2749 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2750 <kernel-features.h>.
2751 (__utimes) [__NR_utimes]: Make code unconditional.
2752 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2753 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2754 (__ASSUME_UTIMES): Do not undefine.
2755 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2756 (__ASSUME_UTIMES): Likewise.
2757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2758 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2759 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2760 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2761
2762 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2763
2764 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2765
2766 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2767
2768 [BZ #17747]
2769 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2770 alias to weak alias for j0l, y0l.
2771 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2772 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2773
2774 [BZ #17746]
2775 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2776 conversion.
2777
2778 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2779
2780 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2781 to zero if not already defined.
2782
2783 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2784
2785 [BZ #17724]
2786 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2787 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2788 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2789 (char *) casts added.
2790 * sysdeps/ieee754/k_standardf.c: New file.
2791 * sysdeps/ieee754/k_standardl.c: Likewise.
2792 * math/Makefile (libm-support): Remove k_standard.
2793 (libm-calls): Add k_standard.
2794
2795 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2796
2797 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2798 Optimize to avoid an unnecessary FPCR read.
2799
2800 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2801
2802 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2803 Optimize to reduce FPCR/FPSR accesses.
2804
2805 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2806
2807 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2808 Call libc_fetestexcept_aarch64.
2809
2810 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2811
2812 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2813 Call libc_fesetround_aarch64.
2814
2815 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2816
2817 [BZ #17733]
2818 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2819 (__bind): Do not define as weak alias.
2820 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2821 define.
2822 (__getsockname): Do not define as weak alias.
2823
2824 2014-12-22 Will Newton <will.newton@linaro.org>
2825
2826 * manual/install.texi: Document that we require bison 2.7
2827 or above.
2828 * INSTALL: Regenerate.
2829 * configure.ac: Use AC_CHECK_PROG_VER instead of
2830 AC_PATH_PROG when checking for bison and check for
2831 version 2.7 or above.
2832 * configure: Regenerate.
2833
2834 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2835
2836 [BZ #17745]
2837 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2838 * sysdeps/tile/ffsll.c (ffsll): To here.
2839
2840 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2841
2842 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2843
2844 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2845 if not defined.
2846 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2847 definition.
2848 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2849 hidden ___tls_get_addr.
2850 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2851 hidden __tls_get_addr.
2852 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2853 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2854 Likewise.
2855
2856 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2857
2858 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2859 _dl_init call.
2860
2861 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2864 from "call _dl_init@PLT".
2865 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2866
2867 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2868
2869 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2870 guarantees.
2871
2872 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2873
2874 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2875
2876 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2877
2878 [BZ #17744]
2879 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2880 strnlen.
2881
2882 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2883
2884 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2885 of multu on MIPSr6.
2886 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2887 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2888 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2889 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2890 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2891
2892 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2893
2894 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2895 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2896 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2897 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2898 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2899 mips32r6/mips64r6.
2900 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2901
2902 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2903
2904 * string/strncat.c (STRNCAT): Simplify implementation.
2905
2906 2014-12-19 David S. Miller <davem@davemloft.net>
2907
2908 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2909 access the quad as both a long double and as a series of 4 words.
2910
2911 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2912 link_map->l_info array access.
2913
2914 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2915
2916 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2917
2918 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2919 * math/atest-exp2.c (TIMEOUT): Likewise.
2920 * math/atest-sincos.c (TIMEOUT): Likewise.
2921
2922 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2925 -Wno-error with -fno-builtin-lround.
2926
2927 2014-12-19 Torvald Riegel <triegel@redhat.com>
2928
2929 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2930 Contains futex constants and functions moved over from ...
2931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2932 <lowlevellock-futex.h>.
2933 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2934 (lll_timedwait_tid): Add comments and parentheses around macro
2935 arguments.
2936
2937 2014-12-19 Torvald Riegel <triegel@redhat.com>
2938
2939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2940 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2941 (__lll_private_flag): Remove.
2942 (lll_futex_wait): Likewise.
2943 (lll_futex_timed_wait): Likewise.
2944 (lll_futex_wake): Likewise.
2945 (lll_futex_requeue): Likewise.
2946 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2947 (__lll_timedwait_tid): Spell out argument names.
2948 (lll_timedwait_tid): Add comments and parentheses around macro
2949 arguments.
2950 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2951 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2952
2953 2014-12-19 Torvald Riegel <triegel@redhat.com>
2954
2955 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2956 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2957 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2958 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2959 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2960 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2961 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2962 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2963 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2964 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2965 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2966 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2967 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2969 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2970 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2971 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2974
2975 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * sysdeps/x86_64/x32/Makefile: New file.
2978
2979 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2982 1L with (mp_limb_t) 1.
2983
2984 2014-12-17 Roland McGrath <roland@hack.frob.com>
2985
2986 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2987 * nptl/libc_pthread_init.c: ... here.
2988 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2989 * nptl/register-atfork.c: ... here.
2990
2991 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2992 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2993 Use assert_perror to check its return value.
2994 (__gai_create_helper_thread): Likewise.
2995
2996 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2997
2998 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2999
3000 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3001
3002 [BZ #17725]
3003 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3004 __profil_counter.
3005 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3006 Likewise.
3007 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3010 Likewise.
3011 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3012 (profil_counter): Likewise.
3013 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3014 (profil_counter): Likewise.
3015 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3016 Likewise.
3017 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3018 Likewise.
3019 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3020 (profil_counter): Likewise.
3021 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3022 Likewise.
3023 [!__profil_counter] (profil_counter): Define as weak alias of
3024 __profil_counter.
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3026 (profil_counter): Rename to __profil_counter.
3027 [!__profil_counter] (profil_counter): Define as weak alias of
3028 __profil_counter.
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3030 (profil_counter): Rename to __profil_counter.
3031 [!__profil_counter] (profil_counter): Define as weak alias of
3032 __profil_counter.
3033 * sysdeps/posix/profil.c: Update comment referring to
3034 profil_counter.
3035 (__profil): Use __profil_counter instead of profil_counter.
3036 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3037 __profil_counter. Use __profil_counter_ushort and
3038 __profil_counter_uint in definitions.
3039 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3040 instead of profil_counter_uint and profil_counter_ushort.
3041
3042 [BZ #17722]
3043 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3044 define as weak alias of __inet_makeaddr.
3045 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3046 as weak alias of __inet_addr.
3047 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3048 as weak alias of __inet_pton. Use libc_hidden_weak.
3049 * include/arpa/inet.h (__inet_pton): Declare. Use
3050 libc_hidden_proto.
3051 (inet_makeaddr): Don't use libc_hidden_proto.
3052 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3053 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3054 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3055 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3056 Remove variable.
3057 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3058 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3059
3060 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3061
3062 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3063
3064 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3065
3066 * stdio-common/bug-vfprintf-nargs.c (do_test):
3067 Cast value to intptr_t to avoid format warning
3068 for usage with PRIdPTR printing macro.
3069
3070 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3071
3072 * libio/tst-widetext.c (do_test):
3073 Use format type %td instead of %Zd for ptrdiff_t
3074 in order to avoid format warning.
3075
3076 2014-12-17 Andreas Schwab <schwab@suse.de>
3077
3078 * nscd/mem.c (gc): Add size_t cast to match printf format.
3079
3080 2014-12-16 Roland McGrath <roland@hack.frob.com>
3081
3082 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3083 (init): Apply PTR_MANGLE to pointers before storing them.
3084 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3085 before using them.
3086
3087 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3088
3089 [BZ #17719]
3090 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3091 define as weak alias of __memrchr.
3092 (__memrchr): Do not define as strong alias of memrchr.
3093 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3094 Remove variable.
3095 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3096 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3097 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3098
3099 [BZ #17717]
3100 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3101 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3102 (if_indextoname): Rename to __if_indextoname and define as weak
3103 alias of __if_indextoname. Use libc_hidden_weak.
3104 (if_freenameindex): Rename to __if_freenameindex and define as
3105 weak alias of __if_freenameindex.
3106 (if_nameindex): Rename to __if_nameindex and define as weak alias
3107 of __if_nameindex.
3108 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3109 __if_nametoindex and define as weak alias of __if_nametoindex.
3110 Use libc_hidden_weak.
3111 (if_freenameindex): Rename to __if_freenameindex and define as
3112 weak alias of __if_freenameindex.
3113 (if_nameindex): Rename to __if_nameindex and define as weak alias
3114 of __if_nameindex.
3115 (if_indextoname): Rename to __if_indextoname and define as weak
3116 alias of __if_indextoname. Use libc_hidden_weak.
3117 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3118 __if_nametoindex and define as weak alias of __if_nametoindex.
3119 Use libc_hidden_weak.
3120 (if_freenameindex): Rename to __if_freenameindex and define as
3121 weak alias of __if_freenameindex. Use libc_hidden_weak.
3122 (if_nameindex_netlink): Use __if_freenameindex instead of
3123 if_freenameindex.
3124 (if_nameindex): Rename to __if_nameindex and define as weak alias
3125 of __if_nameindex. Use libc_hidden_weak.
3126 (if_indextoname): Rename to __if_indextoname and define as weak
3127 alias of __if_indextoname. Use libc_hidden_weak.
3128 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3129 libc_hidden_proto.
3130 [!_ISOMAC] (__if_freenameindex): Likewise.
3131 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3132 if_nametoindex.
3133 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3134 variable.
3135 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3136 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3137 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3138 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3139 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3140 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3141 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3142
3143 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3144 Remove variable.
3145 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3146 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3147
3148 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
3150 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3151 subscript above bounds'
3152
3153 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3154 bounds.
3155
3156 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3157
3158 * libio/tst-fopenloc.c: Use test-skeleton.c.
3159
3160 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3161 (entry): Rename to ITEM.
3162 (do_test, comp): Adjust.
3163
3164 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3165
3166 2014-12-16 Torvald Riegel <triegel@redhat.com>
3167
3168 * string/tester.c: Include <libc-internal.h>.
3169 (test_memset): Ignore -Wmemset-transposed-args.
3170
3171 2014-12-16 Torvald Riegel <triegel@redhat.com>
3172
3173 * misc/tst-mntent2.c (do_test): Fix warning.
3174
3175 2014-12-16 Torvald Riegel <triegel@redhat.com>
3176
3177 * elf/tst-unique4lib.cc(a): Mark as used.
3178
3179 2014-12-16 Florian Weimer <fweimer@redhat.com>
3180
3181 [BZ #17630]
3182 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3183 names.
3184
3185 2014-12-16 Allan McRae <allan@archlinux.org>
3186
3187 * stdio-common/Makefile (tests): Re-add bug26.
3188
3189 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3190
3191 [BZ #17657]
3192 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3193 static array.
3194
3195 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3196
3197 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3198 (__lll_lock_wait): Likewise.
3199 (__lll_timedlock_wait): Likewise.
3200 (__lll_timedwait_tid): Likewise.
3201 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3202 (__lll_robust_timedlock_wait): Likewise.
3203 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3204 (lll_cond_trylock): Likewise.
3205 (__lll_lock): Likewise.
3206 (__lll_robust_lock): Likewise.
3207 (__lll_cond_lock): Likewise.
3208 (lll_robust_cond_lock): Likewise.
3209 (__lll_timedlock): Likewise.
3210 (__lll_robust_timedlock): Likewise.
3211 (__lll_unlock): Likewise.
3212 (__lll_robust_unlock): Likewise.
3213 (lll_wait_tid): Likewise.
3214 (lll_timedwait_tid): Likewise.
3215
3216 2014-12-15 Torvald Riegel <triegel@redhat.com>
3217
3218 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3219
3220 2014-12-15 Torvald Riegel <triegel@redhat.com>
3221
3222 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3223
3224 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3225
3226 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3227 * stdio-common/tst-sprintf.c: Likewise.
3228
3229 2014-12-15 Torvald Riegel <triegel@redhat.com>
3230
3231 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3232
3233 2014-12-15 Jeff Law <law@redhat.com>
3234
3235 [BZ #16617]
3236 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3237 on the heap. (CVE-2012-3406)
3238 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3239 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3240 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3241
3242 2014-12-15 Will Newton <will.newton@linaro.org>
3243
3244 * manual/install.texi: Bump required version of texinfo
3245 to 4.7 from 4.5.
3246 * INSTALL: Regenerated.
3247 * configure.ac: Check for makeinfo version 4.7 and above.
3248 * configure: Regenerated.
3249
3250 2014-12-12 Roland McGrath <roland@hack.frob.com>
3251
3252 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3253 PREFIX, string constant to insert between directory and name.
3254 * sysdeps/posix/shm_open.c: Update caller.
3255 * sysdeps/posix/shm_unlink.c: Likewise.
3256 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3257 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3258 (SEM_SHM_PREFIX): New macro.
3259 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3260 [$(have-thread-library) = no].
3261 * nptl/Makefile (libpthread-routines): Add shm-directory.
3262 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3263 * sysdeps/nptl/shm-directory.h: New file.
3264 * sysdeps/posix/shm-directory.c
3265 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3266 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3267 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3268 INTERNAL_SYSCALL.
3269 (__where_is_shmfs): Function removed.
3270 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3271 Variables removed.
3272 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3273 Use SHM_GET_NAME.
3274 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3275
3276 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3277 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3278 unconditional for use inside libpthread.
3279 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3280
3281 2014-12-12 Roland McGrath <roland@hack.frob.com>
3282
3283 * nptl/pthread_getaffinity.c: New file.
3284 * nptl/pthread_setaffinity.c: New file.
3285 * nptl/pthread_getname.c: New file.
3286 * nptl/pthread_setname.c: New file.
3287
3288 * nptl/pthread_create.c (START_THREAD_DEFN)
3289 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3290
3291 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3292 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293
3294 * resolv/res_send.c (send_vc): Disable warning resplen may
3295 be used uninitialized.
3296
3297 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * nptl/tst-mutex6.c
3300 (ATTR_NULL): New define checks ATTR against NULL.
3301 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3302 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3303
3304 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3305
3306 [BZ #17581]
3307 * malloc/hooks.c
3308 (mem2mem_check): Revert my previous change.
3309 (malloc_check_get_size): Revert my previous change.
3310 (mem2chunk_check): Revert my previous change.
3311
3312 2014-12-11 Roland McGrath <roland@hack.frob.com>
3313
3314 * sysdeps/posix/shm-directory.c: New file.
3315 * sysdeps/posix/shm-directory.h: New file.
3316 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3317 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3318 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3319 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3320 Transmute EPERM to EACCES.
3321 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3322 from ...
3323 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3324 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3325
3326 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3327
3328 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3329 pointer and cast to uintptr_t.
3330 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3331 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3332 Add cast to avoid warning.
3333 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3334
3335 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3336
3337 * nptl/semaphore.h: Move to ...
3338 * sysdeps/pthread/semaphore.h: ... here.
3339 * Makefile (installed-headers): Change nptl/semaphore.h to
3340 sysdeps/pthread/semaphore.h.
3341
3342 2014-12-11 Roland McGrath <roland@hack.frob.com>
3343
3344 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3345 generated error format strings.
3346
3347 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3348 -Wformat-extra-args warnings for scanf formats.
3349 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3350 test of zero-length format (duh).
3351 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3352 corner-case scanf format test.
3353 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3354 generated fprintf format string.
3355 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3356 corner-case sprintf format tests.
3357 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3358 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3359 -Wformat-extra-args warnings throughout.
3360 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3361 (CFLAGS-scanf4.c): Likewise.
3362 (CFLAGS-scanf7.c): Likewise.
3363 (CFLAGS-tst-sprintf.c): Likewise.
3364 (CFLAGS-tst-printf.c): Likewise.
3365 (CFLAGS-tst-printfsz.c): Likewise.
3366
3367 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3368
3369 * include/cpio.h: New file.
3370 * include/fmtmsg.h: Likewise.
3371
3372 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3373 corresponding format argument to size_t.
3374 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3375 arguments.
3376 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3377 corresponding format argument to size_t.
3378 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3379 arguments.
3380 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3381 corresponding format argument to size_t.
3382 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3383 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3384 (CFLAGS-tst-mbswcs2.c): Likewise.
3385 (CFLAGS-tst-mbswcs3.c): Likewise.
3386 (CFLAGS-tst-mbswcs4.c): Likewise.
3387 (CFLAGS-tst-mbswcs5.c): Likewise.
3388 (CFLAGS-tst-trans.c): Likewise
3389
3390 2014-12-11 Roland McGrath <roland@hack.frob.com>
3391
3392 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3393 rather than assuming they won't contain any '%'s.
3394
3395 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3396
3397 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3398 inhibit_loop_to_libcall to avoid recursive calls.
3399 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3400 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3401
3402 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3403
3404 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3405 prototype.
3406
3407 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3408
3409 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3410 integer value instead of boolean.
3411
3412 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3413
3414 * malloc/malloc.c: Fix powerof2 check.
3415
3416 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3417
3418 * locale/programs/locfile.h (maybe_swap_uint32):
3419 Remove inline and add unused attribute.
3420
3421 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3422
3423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3424 Truncating assembler expression to a .long expression.
3425
3426 2014-12-11 Andreas Schwab <schwab@suse.de>
3427
3428 * elf/rtld.c (struct map_args): Constify str member.
3429 (do_preload): Constify fname argument.
3430
3431 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3434 constants definition.
3435
3436 2014-12-11 Andreas Schwab <schwab@suse.de>
3437
3438 [BZ #16657]
3439 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3440 FORCE_ELISION instead of DO_ELISION.
3441 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3442 Remove.
3443 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3444 Likewise.
3445
3446 * iconvdata/gconv-modules: Remove duplicate entry.
3447
3448 2014-12-11 Will Newton <will.newton@linaro.org>
3449
3450 Merge gettext 0.19.3 into intl/.
3451
3452 This involves a number of cosmetic changes to comments
3453 and ANSI function definitions and prototypes throughout
3454 all the files. The gettext copyright header is used but
3455 with the date ranges taken from the glibc copy.
3456
3457 * NEWS: Add gettext merge to 2.21.
3458 * intl/bindtextdom.c: Switch to gettext copyright.
3459 Use ANSI definitions and prototypes.
3460 Use gl_* locking primitives rather than __libc_* ones.
3461 Use __builtin_expect rather than __glibc_likely/unlikely.
3462 * intl/dcgettext.c: Switch to gettext copyright.
3463 Use ANSI definitions and prototypes.
3464 * intl/dcigettext.c: Switch to gettext copyright.
3465 Use ANSI definitions and prototypes.
3466 (INTDIV0_RAISES_SIGFPE): New define.
3467 Use gl_* locking primitives rather than __libc_* ones.
3468 Include eval-plural.h instead of plural-eval.c.
3469 Use __builtin_expect rather than __glibc_likely/unlikely.
3470 * intl/dcngettext.c: Switch to gettext copyright.
3471 Use ANSI definitions and prototypes.
3472 * intl/dgettext.c: Likewise.
3473 * intl/dngettext.c: Likewise.
3474 * intl/plural-eval.c: Renamed to...
3475 * intl/eval-plural.h: ...this.
3476 * intl/explodename.c: Switch to gettext copyright.
3477 Use ANSI definitions and prototypes.
3478 (_nl_explode_name): Use strchr instead of __rawmemchr.
3479 * intl/finddomain.c: Switch to gettext copyright.
3480 Use ANSI definitions and prototypes.
3481 Use gl_* locking primitives rather than __libc_* ones.
3482 (_nl_find_domain): Use malloc rather than alloca for
3483 allocation of temporary locale name.
3484 * intl/gettext.c: Switch to gettext copyright.
3485 Use ANSI definitions and prototypes.
3486 * intl/gettextP.h: Switch to gettext copyright.
3487 Use ANSI definitions and prototypes.
3488 Use gl_* locking primitives rather than __libc_* ones.
3489 * intl/gmo.h: Switch to gettext copyright.
3490 (struct sysdep_string): Move struct segment_pair outside of
3491 struct definition.
3492 * intl/hash-string.c: Use ANSI definitions and prototypes.
3493 * intl/hash-string.h: Switch to gettext copyright.
3494 Use ANSI definitions and prototypes.
3495 * intl/l10nflist.c: Switch to gettext copyright.
3496 Use ANSI definitions and prototypes.
3497 (_nl_normalize_codeset): Avoid integer overflow.
3498 * intl/loadinfo.h: Switch to gettext copyright.
3499 Use ANSI definitions and prototypes.
3500 (LIBINTL_DLL_EXPORTED): New define.
3501 (PATH_SEPARATOR): New define.
3502 * intl/loadmsgcat.c: Switch to gettext copyright.
3503 * intl/localealias.c: Switch to gettext copyright.
3504 Use ANSI definitions and prototypes.
3505 (_nl_expand_alias): Use PATH_SEPARATOR.
3506 * intl/ngettext.c: Switch to gettext copyright.
3507 Use ANSI definitions and prototypes.
3508 * intl/plural-exp.c: Likewise.
3509 * intl/plural-exp.h: Switch to gettext copyright.
3510 Use ANSI definitions and prototypes.
3511 (struct expression): Move definition of enum operator outside
3512 of struct definition.
3513 * intl/plural.c: Regenerate.
3514 * intl/plural.y: Switch to gettext copyright.
3515 Use ANSI definitions and prototypes.
3516 Port to bison 3.0.
3517 * intl/textdomain.c: Switch to gettext copyright.
3518 Use ANSI definitions and prototypes.
3519 Use gl_* locking primitives rather than __libc_* ones.
3520
3521 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3522
3523 * debug/warning-nop.c: Add used atrribute.
3524
3525 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3526
3527 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3528
3529 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3530 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3531 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3532
3533 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3534 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 [BZ #17634]
3537 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3538 Undefine after defining function. Define as weak alias of
3539 __wcschr. Use libc_hidden_weak.
3540 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3541 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3542 (libc_hidden_def): Also define __GI___wcschr alias.
3543 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3544 __wcschr and define as weak alias of __wcschr.
3545 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3546 __wcschr.
3547 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3548 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3549 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3550 libc_hidden_weak. Do not use libc_hidden_def.
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3552 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3553 __GI___wcschr alias.
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3555 [IS_IN (libc)] (wcschr): Define as macro expanding to
3556 __redirect_wcschr.
3557 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3558 [IS_IN (libc)] (__wcschr_power6): Likewise.
3559 [IS_IN (libc)] (__wcschr_power7): Likewise.
3560 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3561 instead of wcschr.
3562 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3563 __libc_wcschr.
3564 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3565 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3566 __wcschr and define as weak alias of __wcschr. Use
3567 libc_hidden_builtin_def.
3568 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3569 as weak alias of __wcschr. Use libc_hidden_weak.
3570 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3571 wcschr.
3572 * time/era.c (_nl_init_era_entries): Likewise.
3573 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3574 variable.
3575 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3576 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3577
3578 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3579
3580 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3581 format for long int variable.
3582
3583 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3584
3585 [BZ #10672]
3586 * manual/search.texi: (Array Sort Function): Remove claim how to make
3587 qsort stable.
3588
3589 2014-12-10 Andreas Schwab <schwab@suse.de>
3590
3591 [BZ #12847]
3592 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3593 user-controlled locks.
3594
3595 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3596
3597 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3598 register.
3599
3600 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3601
3602 * configure.ac (--disable-werror): New configure option.
3603 (enable_werror): New AC_SUBST.
3604 * configure: Regenerated.
3605 * config.make.in (enable-werror): New variable.
3606 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3607 -Wno-error=undef.
3608 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3609 * manual/install.texi (Configuring and compiling): Document
3610 --disable-werror.
3611 * INSTALL: Regenerated.
3612 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3613 (CFLAGS-tst-chk2.c): Likewise.
3614 (CFLAGS-tst-chk3.c): Likewise.
3615 (CFLAGS-tst-chk4.cc): Likewise.
3616 (CFLAGS-tst-chk5.cc): Likewise.
3617 (CFLAGS-tst-chk6.cc): Likewise.
3618 (CFLAGS-tst-lfschk1.c): Likewise.
3619 (CFLAGS-tst-lfschk2.c): Likewise.
3620 (CFLAGS-tst-lfschk3.c): Likewise.
3621 (CFLAGS-tst-lfschk4.cc): Likewise.
3622 (CFLAGS-tst-lfschk5.cc): Likewise.
3623 (CFLAGS-tst-lfschk6.cc): Likewise.
3624
3625 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3626 (main): Disable -Wdeprecated-declarations around calls to
3627 register_printf_function.
3628
3629 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3630 (do_test): Disable -Wdiv-by-zero around some calls to
3631 fwrite_unlocked and fread_unlocked.
3632
3633 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3634 (DIAG_POP_NEEDS_COMMENT): Likewise.
3635 (_DIAG_STR1): Likewise.
3636 (_DIAG_STR): Likewise.
3637 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3638 * stdio-common/bug21.c: Include <libc-internal.h>.
3639 (do_test): Disable -Wformat around call to sscanf.
3640 * stdio-common/scanf14.c: Include <libc-internal.h>.
3641 (main): Disable -Wformat around some calls to scanf functions.
3642
3643 2014-12-09 Torvald Riegel <triegel@redhat.com>
3644
3645 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3646
3647 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648
3649 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3650 stack variable alignment.
3651
3652 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3653
3654 [BZ #17682]
3655 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3656 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3657 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3658 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3659 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3660 __getrlimit instead of getrlimit.
3661 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3662 __gettimeofday instead of gettimeofday.
3663 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3664 Likewise.
3665 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3666 Likewise.
3667 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3668 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3669 Remove variable.
3670 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3671 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3672
3673 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3674
3675 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3676 for wide-character tests.
3677
3678 2014-12-04 Roland McGrath <roland@hack.frob.com>
3679
3680 * io/openat64.c: #include <libc-internal.h>
3681 (__openat64): Prototypify. Use ignore_value on MODE.
3682 * io/openat.c: Likewise.
3683 * misc/reboot.c: #include <libc-internal.h>
3684 (reboot): Prototypify. Use ignore_value on HOWTO.
3685 * misc/ptrace.c: #include <libc-internal.h>
3686 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3687
3688 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3689
3690 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3691 XPG4, UNIX98 and XOPEN2K.
3692 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3693 Remove variable.
3694 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3695
3696 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3697
3698 * libio/fileops.c: Use ISO C style for function definitions.
3699 * libio/iofopen.c: Likewise.
3700 * libio/wfileops.c: Likewise.
3701
3702 [BZ #17653]
3703 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3704 offset on EOF.
3705 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3706 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3707 (fgets_func): Function pointer to fgets and fgetws.
3708 (do_ftell_test): Add test to verify ftell value after read
3709 EOF.
3710 (do_test): Set fgets_func.
3711
3712 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3713 O_TRUNC flag for w and w+ modes.
3714 (do_rewind_test): Likewise.
3715 (do_ftell_test): Likewise.
3716 (do_write_test): Likewise.
3717
3718 [BZ #17647]
3719 * libio/fileops.c (do_ftell): Seek only when there are
3720 unflushed writes.
3721 * libio/wfileops.c (do_ftell_wide): Likewise.
3722 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3723 test case.
3724 (do_one_test): Call it.
3725
3726 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3727
3728 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3729 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3730 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3731 Remove variable.
3732 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3733 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3734 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3735
3736 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3737
3738 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3739 Remove variable.
3740 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3741
3742 [BZ #17668]
3743 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3744 as weak alias of __getifaddrs. Use libc_hidden_weak.
3745 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3746 __freeifaddrs. Use libc_hidden_weak.
3747 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3748 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3749 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3750 __freeifaddrs. Use libc_hidden_weak.
3751 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3752 __getifaddrs and define as weak alias of __getifaddrs. Use
3753 libc_hidden_weak.
3754 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3755 __freeifaddrs. Use libc_hidden_weak.
3756 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3757 Remove variable.
3758 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3759 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3760
3761 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3762
3763 [BZ #17601]
3764 * sysdeps/mips/start.S (__start): Use indirect jump to call
3765 __libc_start_main.
3766
3767 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3768
3769 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3770
3771 * nptl/tst-mutex1.c: Include <stdbool.h>.
3772 [!ATTR] (ATTR_NULL): New macro.
3773 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3774 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3775 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3776
3777 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3778 to char *.
3779
3780 [BZ #17665]
3781 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3782 Change conditional to [__USE_MISC].
3783
3784 [BZ #17664]
3785 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3786 fgets_unlocked.
3787 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3788 __fgets_unlocked.
3789 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3790 fgets_unlocked.
3791 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3792 Remove variable.
3793 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3794 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3795 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3796 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3797 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3798 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3799 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3800 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3801 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3802
3803 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3804
3805 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3806
3807 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3808 Remove strpbrk objects.
3809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3810 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3811 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3812 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3813 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3814 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3815
3816 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3817 Remove strcspn objects.
3818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3819 (__libc_ifunc_impl_list): Remove strcspn implementation.
3820 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3821 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3822 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3823 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3824
3825 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3826 Remove strspn objetcs.
3827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3828 (__libc_ifunc_impl_list): Remove strspn implementation.
3829 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3830 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3832 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3833
3834 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3835
3836 [BZ #17581]
3837 * malloc/hooks.c
3838 (mem2mem_check): Add a terminator to the chain of checking blocks.
3839 (malloc_check_get_size): Use it here.
3840 (mem2chunk_check): Ditto.
3841
3842 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3843
3844 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3845 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3846
3847 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3848
3849 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3850
3851 * nptl/nptl-init.c: Include libc-internal.h.
3852 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3853
3854 * elf/ldconfig.c (search_dir): Expand comment.
3855
3856 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3857
3858 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3859 variable.
3860 (linknamespace-symlist-stdlibs-tests): Likewise.
3861 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3862 instead of $(objpfx)symlist-stdlibs.
3863 (linknamespace-libs-isoc): New variable.
3864 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3865 (linknamespace-libs-ISO): New variable.
3866 (linknamespace-libs-ISO99): Likewise.
3867 (linknamespace-libs-ISO11): Likewise.
3868 (linknamespace-libs-XPG3): Likewise.
3869 (linknamespace-libs-XPG4): Likewise.
3870 (linknamespace-libs-POSIX): Likewise.
3871 (linknamespace-libs-UNIX98): Likewise.
3872 (linknamespace-libs-XOPEN2K): Likewise.
3873 (linknamespace-libs-POSIX2008): Likewise.
3874 (linknamespace-libs-XOPEN2K8): Likewise.
3875 ($(objpfx)symlist-stdlibs): Replace by
3876 $(linknamespace-symlist-stdlibs-tests). Use
3877 $(linknamespace-libs-$*) as set of libraries.
3878 ($(linknamespace-header-tests)): Update dependencies. Use
3879 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3880 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3881 * conform/linknamespace.pl: Remove comment about considering
3882 definitions of symbols from irrelevant libraries.
3883
3884 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3885
3886 [BZ #13862]
3887 * elf/dl-tls.c: Include <atomic.h>.
3888 (oom): Remove #ifdef SHARED/#endif.
3889 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3890 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3891 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3892 big enough.
3893 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3894 * nptl/Makefile (tests): Add tst-stack4.
3895 (modules-names): Add tst-stack4mod.
3896 ($(objpfx)tst-stack4): New.
3897 (tst-stack4mod.sos): Likewise.
3898 ($(objpfx)tst-stack4.out): Likewise.
3899 ($(tst-stack4mod.sos)): Likewise.
3900 (clean): Likewise.
3901 * nptl/tst-stack4.c: New file.
3902 * nptl/tst-stack4mod.c: Likewise.
3903
3904 2014-11-27 J. Brown <jb999@gmx.de>
3905
3906 * sysdeps/x86/bits/string.h: Add recent CPUs.
3907
3908 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3909
3910 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3911 sigblock.
3912
3913 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3914 feof.
3915
3916 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3917 variable.
3918
3919 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3920
3921 * nscd/connections.c: Include libc-internal.h because of macro
3922 usage ignore_value.
3923
3924 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3925
3926 * string/bits/string3.h (__warn_memset_zero_len): Don't
3927 declare for gcc newer than 5.0.
3928 (memset): Don't test for zero-length __LEN for gcc newer than
3929 5.0.
3930
3931 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3932
3933 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3934 size_t for %zu format.
3935
3936 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3937 difference, not %ju.
3938
3939 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3940
3941 * include/libc-internal.h (ignore_value): New macro.
3942 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3943 with ignore_value.
3944
3945 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3946 definition.
3947
3948 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3949 pthread_cleanup_push to void *.
3950
3951 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3952 Undefine.
3953
3954 [BZ #16619]
3955 [BZ #16740]
3956 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3957 instead of 1L << 52.
3958
3959 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3960 * libio/bug-rewind2.c (do_test): Likewise.
3961
3962 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3963 * debug/test-strcpy_chk-ifunc.c: Likewise.
3964 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3965 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3966 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3967 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3968 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3969 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3970 * Rules [$(multi-arch) = no] (tests): Do not filter out
3971 $(tests-ifunc).
3972 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3973 * debug/Makefile (tests-ifunc): Remove variable.
3974 (tests): Do not add $(tests-ifunc).
3975 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3976 (tests): Do not add $(tests-ifunc).
3977 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3978 [TEST_IFUNC]: Remove conditionals.
3979 * string/test-string.h (TEST_IFUNC): Remove macro.
3980 [TEST_IFUNC]: Remove conditionals.
3981
3982 * string/test-strchr.c [!WIDE] (L): New macro.
3983 [WIDE] (L): Likewise.
3984 (check1): Use CHAR instead of char. Use L on string and character
3985 constants.
3986
3987 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3988
3989 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3990 tests.
3991 * sysdeps/powerpc/bits/atomic.h
3992 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3993 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3994 (atomic_exchange_and_add_acq): Likewise.
3995 (atomic_exchange_and_add_rel): Likewise.
3996 * sysdeps/powerpc/powerpc32/bits/atomic.h
3997 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3998 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3999 * sysdeps/powerpc/powerpc64/bits/atomic.h
4000 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4001 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4002
4003 2014-11-26 Torvald Riegel <triegel@redhat.com>
4004
4005 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4006 Change synchronization of __sched_fifo_min_prio and
4007 __sched_fifo_max_prio.
4008 * nptl/pthread_mutexattr_getprioceiling.c
4009 (pthread_mutexattr_getprioceiling): Likewise.
4010 * nptl/pthread_mutexattr_setprioceiling.c
4011 (pthread_mutexattr_setprioceiling): Likewise.
4012 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4013 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4014 Likewise.
4015
4016 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4017
4018 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4019 void.
4020
4021 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4022
4023 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4024 third argument const.
4025
4026 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4027
4028 fnmatch: work around GCC compiler warning bug with uninit var
4029 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4030 This works around a bug with x86-64 GCC 4.9.2 and earlier
4031 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4032 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4033 used uninitialized in this function [-Wmaybe-uninitialized]".
4034
4035 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4036
4037 * posix/bug-regex31.c (main): Return RES not 0.
4038
4039 2014-11-25 Anton Blanchard <anton@samba.org>
4040
4041 * sysdeps/powerpc/bits/atomic.h
4042 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4043
4044 2014-11-24 Sterling Augustine <saugustine@google.com>
4045
4046 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4047
4048 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4049
4050 [BZ #17608]
4051 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4052
4053 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4054
4055 [BZ #17633]
4056 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4057 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4058 variable.
4059 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4060 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4061
4062 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4063
4064 * string/strncpy.c (strncpy): Improve performance by using memset.
4065
4066 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4067
4068 * string/strcpy.c (strcpy):
4069 Improve performance by using strlen and memcpy.
4070
4071 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4072
4073 * string/strcoll_l.c (get_next_seq): __always_inline.
4074 * string/strcoll_l.c (do_compare): __always_inline.
4075
4076 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4077
4078 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4079 defined.
4080 * include/mqueue.h: Likewise.
4081 * include/stdlib.h: Likewise.
4082
4083 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4084 (get_null_defines): Adjust.
4085 * sunrpc/Makefile: Adjust comment.
4086 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4087 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4088 (CFLAGS-interp.c): Likewise.
4089 (CFLAGS-ldconfig.c): Likewise.
4090 (CPPFLAGS-.os): Likewise.
4091 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4092 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4093 * extra-modules.mk (extra-modules.mk): Likewise.
4094 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4095 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4096 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4097 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4098 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4099 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4100 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4101 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4102 * iconvdata/Makefile (CPPFLAGS): Likewise.
4103 (cpp-srcs-left): Add libof for all iconvdata routines.
4104 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4105 * include/assert.h: Likewise.
4106 * include/ctype.h: Likewise.
4107 * include/errno.h: Likewise.
4108 * include/libc-symbols.h: Likewise.
4109 * include/math.h: Likewise.
4110 * include/netdb.h: Likewise.
4111 * include/resolv.h: Likewise.
4112 * include/stdio.h: Likewise.
4113 * include/stdlib.h: Likewise.
4114 * include/string.h: Likewise.
4115 * include/sys/stat.h: Likewise.
4116 * include/wctype.h: Likewise.
4117 * intl/l10nflist.c: Likewise.
4118 * libidn/idn-stub.c: Likewise.
4119 * libio/libioP.h: Likewise.
4120 * nptl/libc_multiple_threads.c: Likewise.
4121 * nptl/pthreadP.h: Likewise.
4122 * posix/regex_internal.h: Likewise.
4123 * resolv/res_hconf.c: Likewise.
4124 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4125 * sysdeps/arm/memmove.S: Likewise.
4126 * sysdeps/arm/sysdep.h: Likewise.
4127 * sysdeps/generic/_itoa.h: Likewise.
4128 * sysdeps/generic/symbol-hacks.h: Likewise.
4129 * sysdeps/gnu/errlist.awk: Likewise.
4130 * sysdeps/gnu/errlist.c: Likewise.
4131 * sysdeps/i386/i586/memcpy.S: Likewise.
4132 * sysdeps/i386/i586/memset.S: Likewise.
4133 * sysdeps/i386/i686/memcpy.S: Likewise.
4134 * sysdeps/i386/i686/memmove.S: Likewise.
4135 * sysdeps/i386/i686/mempcpy.S: Likewise.
4136 * sysdeps/i386/i686/memset.S: Likewise.
4137 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4138 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4139 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4140 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4143 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4144 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4153 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4154 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4155 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4156 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4157 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4158 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4162 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4163 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4164 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4166 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4167 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4168 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4173 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4174 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4175 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4177 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4179 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4180 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4181 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4182 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4183 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4185 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4192 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4193 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4194 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4195 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4196 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4197 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4198 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4199 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4200 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4201 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4202 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4203 * sysdeps/posix/closedir.c: Likewise.
4204 * sysdeps/posix/opendir.c: Likewise.
4205 * sysdeps/posix/readdir.c: Likewise.
4206 * sysdeps/posix/rewinddir.c: Likewise.
4207 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4208 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4209 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4210 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4211 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4215 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4219 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4220 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4221 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4222 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4224 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4227 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4228 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4230 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4235 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4242 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4243 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4245 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4247 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4248 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4249 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4250 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4251 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4252 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4253 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4255 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4256 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4257 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4258 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4259 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4262 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4264 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4265 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4270 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4271 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4272 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4274 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4275 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4276 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4282 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4283 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4284 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4285 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4286 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4287 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4288 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4289 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4290 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4291 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4292 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4293 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4294 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4295 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4296 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4297 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4298 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4299 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4303 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4305 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4306 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4308 * sysdeps/unix/alpha/sysdep.S: Likewise.
4309 * sysdeps/unix/alpha/sysdep.h: Likewise.
4310 * sysdeps/unix/make-syscalls.sh: Likewise.
4311 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4313 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4314 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4315 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4316 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4317 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4318 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4319 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4321 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4322 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4324 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4325 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4326 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4327 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4329 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4330 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4331 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4332 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4333 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4334 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4336 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4340 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4341 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4345 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4350 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4351 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4353 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4354 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4363 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4364 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4367 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4369 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4370 * sysdeps/x86_64/memcpy.S: Likewise.
4371 * sysdeps/x86_64/memmove.c: Likewise.
4372 * sysdeps/x86_64/memset.S: Likewise.
4373 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4375 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4376 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4377 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4380 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4381 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4382 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4383 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4384 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4385 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4388 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4390 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4391 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4392 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4393 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4394 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4397 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4398 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4399 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4400 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4401 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4402 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4403 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4404 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4405 * sysdeps/x86_64/strcmp.S: Likewise.
4406
4407 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4408
4409 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4410 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4411 * elf/rtld-Rules: Likewise.
4412 * elf/setup-vdso.h: Likewise.
4413 * include/assert.h: Likewise.
4414 * include/bits/stdlib-float.h: Likewise.
4415 * include/errno.h: Likewise.
4416 * include/sys/stat.h: Likewise.
4417 * include/unistd.h: Likewise.
4418 * sysdeps/aarch64/setjmp.S: Likewise.
4419 * sysdeps/alpha/setjmp.S: Likewise.
4420 * sysdeps/arm/__longjmp.S: Likewise.
4421 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4422 * sysdeps/arm/setjmp.S: Likewise.
4423 * sysdeps/arm/sysdep.h: Likewise.
4424 * sysdeps/generic/_itoa.h: Likewise.
4425 * sysdeps/generic/dl-sysdep.h: Likewise.
4426 * sysdeps/generic/ldsodefs.h: Likewise.
4427 * sysdeps/i386/dl-tls.h: Likewise.
4428 * sysdeps/i386/setjmp.S: Likewise.
4429 * sysdeps/m68k/setjmp.c: Likewise.
4430 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4431 * sysdeps/mach/hurd/opendir.c: Likewise.
4432 * sysdeps/posix/getcwd.c: Likewise.
4433 * sysdeps/posix/opendir.c: Likewise.
4434 * sysdeps/posix/profil.c: Likewise.
4435 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4439 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4441 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4442 * sysdeps/s390/dl-tls.h: Likewise.
4443 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4444 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4445 * sysdeps/sh/sh3/setjmp.S: Likewise.
4446 * sysdeps/sh/sh4/setjmp.S: Likewise.
4447 * sysdeps/unix/alpha/sysdep.h: Likewise.
4448 * sysdeps/unix/arm/sysdep.S: Likewise.
4449 * sysdeps/unix/i386/sysdep.S: Likewise.
4450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4451 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4452 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4453 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4455 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4456 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4457 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4458 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4459 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4460 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4461 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4465 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4469 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4470 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4473 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4474 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4475 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4478 * sysdeps/x86_64/setjmp.S: Likewise.
4479
4480 * include/math.h: Use IS_IN instead of IS_IN_libm.
4481 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4493 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4501 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4502 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4503 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4504 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4505 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4506 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4508 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4509 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4510 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4511 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4512 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4515 Likewise.
4516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4517 Likewise.
4518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4519 Likewise.
4520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4521 Likewise.
4522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4523 Likewise.
4524 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4529 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4535 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4536 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4537 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4538 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4539 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4540 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4543 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4545 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4548 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4550 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4551
4552 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4553 * nptl/pthreadP.h: Likewise.
4554 * nptl_db/structs.def: Likewise.
4555 * sysdeps/arm/sysdep.h: Likewise.
4556 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4557 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4558 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4559 * sysdeps/unix/alpha/sysdep.h: Likewise.
4560 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4562 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4564 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4565 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4567 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4568 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4569 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4570 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4571 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4572 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4573 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4581 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4582 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4583 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4584 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4585 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4586
4587 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4588 * nptl/pthreadP.h: Likewise.
4589 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4590 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4591 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4592 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4593 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4594 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4595 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4597 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4598 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4599 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4600 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4602 Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4604 Likewise.
4605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4610 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4611 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4612 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4613
4614 * dlfcn/dladdr.c: Use IS_IN.
4615 * dlfcn/dladdr1.c: Likewise.
4616 * dlfcn/dlclose.c: Likewise.
4617 * dlfcn/dlerror.c: Likewise.
4618 * dlfcn/dlinfo.c: Likewise.
4619 * dlfcn/dlmopen.c: Likewise.
4620 * dlfcn/dlopen.c: Likewise.
4621 * dlfcn/dlsym.c: Likewise.
4622 * dlfcn/dlvsym.c: Likewise.
4623
4624 * include/ifaddrs.h: Use IS_IN.
4625 * inet/check_pf.c: Likewise.
4626 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4627 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4628
4629 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4630 IS_IN_ldconfig.
4631 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4632 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4633
4634 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4635 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4636 IS_IN (libc).
4637
4638 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4639
4640 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4641 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4642 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4643 * include/libc-symbols.h (IS_IN_LIB): New macro.
4644 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4645 * include/netdb.h: Likewise.
4646 * include/stap-probe.h: Remove all uses of IN_LIB.
4647
4648 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4649 instead of IN_MODULE.
4650 * include/libc-symbols.h (IN_MODULE): Define using
4651 MODULE_NAME.
4652 (PASTE_NAME, PASTE_NAME1): New macros.
4653 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4654 of IN_LIB.
4655 (STAP_PROBE_ASM): Likewise.
4656
4657 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4658
4659 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4660 __mach_init in dlopened libc.
4661
4662 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4663
4664 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4665 * sysdeps/arm/preconfigure: Regenerate.
4666
4667 2014-11-21 Roland McGrath <roland@hack.frob.com>
4668
4669 * nptl/pthread_create.c (__pthread_create_2_1): Set
4670 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4671 when copying values from IATTR into PD.
4672
4673 2014-11-21 Will Newton <will.newton@linaro.org>
4674 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4675
4676 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4677 Refactor inline-asm. Also add comment.
4678
4679 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4680 ElfW macro instead of hardcoded Elf64 types.
4681 (la_aarch64_gnu_pltenter): Likewise.
4682 * sysdeps/aarch64/dl-machine.h
4683 (elf_machine_runtime_setup): Use ElfW(Addr).
4684
4685 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4686 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4687 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4688 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4689 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4690 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4691 (R_AARCH64_TLS_DTPMOD): This.
4692 (R_AARCH64_TLS_DTPREL64): Rename to ...
4693 (R_AARCH64_TLS_DTPREL): This.
4694 (R_AARCH64_TLS_TPREL64): Rename to ...
4695 (R_AARCH64_TLS_TPREL): This.
4696 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4697 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4698 R_AARCH64_TLS_TPREL64.
4699 (elf_machine_rela): Likewise.
4700
4701 2014-11-21 Torvald Riegel <triegel@redhat.com>
4702
4703 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4704 by setting it to 0. 64b atomics are not supported currently.
4705
4706 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4707
4708 [BZ #16469]
4709 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4710 search domain names.
4711
4712 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4713
4714 [BZ #16469]
4715 * NEWS: Update.
4716 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4717 trailing dot.
4718 * posix/tst-getaddrinfo5.c: New.
4719 * posix/Makefile (tests): Add it.
4720
4721 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4722
4723 [BZ #14498]
4724 * NEWS: Fixed.
4725 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4726 after parsing line but before break_if_match.
4727 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4728 if there is a protocol mismatch.
4729
4730 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4731
4732 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4733 because the potential race is on the user-supplied stream.
4734
4735 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4736
4737 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4738 string literal if not passed a buffer.
4739 * manual/job.texi (ctermid): Update reasoning, note deviation
4740 from posix, suggest mtasurace when not passed a buffer, for
4741 future non-preliminary safety notes.
4742
4743 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4744
4745 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4746 of not passing it a buffer.
4747 Reported by Peng Haitao.
4748
4749 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4750
4751 * manual/Makefile ($(objpfx)stamp-summary): Require
4752 check-safety.sh to pass.
4753 * manual/check-safety.sh: Wish for verification that every
4754 @deftypefn and @deftypefun is followed by a @safety remark.
4755
4756 2014-11-20 Roland McGrath <roland@hack.frob.com>
4757
4758 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4759
4760 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4761 PTHREAD_CANCEL_ASYNCHRONOUS.
4762 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4763 send SIGCANCEL.
4764
4765 * nptl/default-sched.h: New file.
4766 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4767 * nptl/pthread_create.c: Include it.
4768 (__pthread_create_2_1): Use collect_default_sched instead of making
4769 Linux syscalls here directly.
4770
4771 2014-11-20 Torvald Riegel <triegel@redhat.com>
4772
4773 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4774 __pthread_once): Use C11 atomics.
4775
4776 2014-11-20 Torvald Riegel <triegel@redhat.com>
4777
4778 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4779
4780 2014-11-20 Torvald Riegel <triegel@redhat.com>
4781
4782 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4783 atomic_thread_fence_acquire, atomic_thread_fence_release,
4784 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4785 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4786 atomic_compare_exchange_weak_relaxed,
4787 atomic_compare_exchange_weak_acquire,
4788 atomic_compare_exchange_weak_release,
4789 atomic_exchange_acquire, atomic_exchange_release,
4790 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4791 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4792 atomic_fetch_and_acquire,
4793 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4794
4795 2014-11-20 Torvald Riegel <triegel@redhat.com>
4796
4797 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4798 USE_ATOMIC_COMPILER_BUILTINS): Define.
4799 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4801 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4803 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4805 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4807 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4809 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4811 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4813 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4815 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4817 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4818 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4819 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4821 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4823 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4824 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4825 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4827 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4829 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4831 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4833 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4834 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4835 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4837 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4839
4840 2014-11-19 Roland McGrath <roland@hack.frob.com>
4841
4842 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4843 the sched_priority value here. It was already checked when the user
4844 called pthread_attr_setschedparam.
4845
4846 * nptl/tst-bad-schedattr.c: New file.
4847 * nptl/Makefile (tests): Add it.
4848
4849 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4850 Florian Weimer <fweimer@redhat.com>
4851 Joseph Myers <joseph@codesourcery.com>
4852 Adam Conrad <adconrad@0c3.net>
4853 Andreas Schwab <schwab@suse.de>
4854 Brooks <bmoses@google.com>
4855
4856 [BZ #17625]
4857 * wordexp-test.c (__dso_handle): Add prototype.
4858 (__register_atfork): Likewise.
4859 (__app_register_atfork): New function.
4860 (registered_forks): New global.
4861 (register_fork): New function.
4862 (test_case): Add 3 new tests for WRDE_CMDSUB.
4863 (main): Call __app_register_atfork.
4864 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4865 fork count is non-zero fail the test.
4866 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4867 is set.
4868 (parse_dollars): Remove check for WRDE_NOCMD.
4869 (parse_dquote): Likewise.
4870
4871 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4872
4873 * Makeconfig (built-modules): List non-library modules to be
4874 built.
4875 (module-cppflags): Include libc-modules.h for
4876 everything except shlib-versions.v.i.
4877 (CPPFLAGS): Use it.
4878 (before-compile): Add libc-modules.h.
4879 ($(common-objpfx)libc-modules.h,
4880 $(common-objpfx)libc-modules.stmp): New targets.
4881 (common-generated): Add libc-modules.h and libc-modules.stmp.
4882 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4883 * include/libc-symbols.h: Don't include libc-modules.h.
4884 * include/libc-modules.h: Remove file.
4885 * scripts/gen-libc-modules.awk: New script to generate
4886 libc-modules.h.
4887 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4888 Depend on libc-modules.stmp.
4889
4890 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4891
4892 * Makeconfig (in-module): Get value of libof set for the
4893 translation unit.
4894 (CPPFLAGS): Use $(in-module).
4895 * Makerules: Don't suffix routine names for nonlib.
4896 * include/libc-modules.h: New file.
4897 * include/libc-symbols.h: Include libc-modules.h
4898 (IS_IN): New macro to replace IS_IN_* macros.
4899 * elf/Makefile: Set libof-* for each routine.
4900 * elf/rtld-Rules: Likewise.
4901 * extra-modules.mk: Likewise.
4902 * iconv/Makefile: Likewise.
4903 * iconvdata/Makefile: Likewise.
4904 * locale/Makefile: Likewise.
4905 * malloc/Makefile: Likewise.
4906 * nss/Makefile: Likewise.
4907 * sysdeps/gnu/Makefile: Likewise.
4908 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4909 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4910 * sysdeps/s390/s390-64/Makefile: Likewise.
4911 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4912 CPPFLAGS for nscd instead of nonlib.
4913
4914 2014-11-18 Roland McGrath <roland@hack.frob.com>
4915
4916 * nptl/createthread.c: New file.
4917
4918 * nptl/createthread.c: Moved ...
4919 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4920
4921 * nptl/createthread.c: Add proper top-line comment.
4922 (do_clone): Folded into ...
4923 (create_thread): ... here. Take new arguments STOPPED_START and
4924 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4925 increment __nptl_threads, do event-reporting logic, do
4926 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4927 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4928 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4929 just send SIGCANCEL.
4930 * nptl/pthread_create.c: Forward-declare create_thread before
4931 including createthread.c.
4932 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4933 declaration, and new macro START_THREAD_SELF to replace argument.
4934 Remove return statement.
4935 (report_thread_creation): New function.
4936 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4937 synchronization logic, and __nptl_nthreads increment here, around
4938 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4939 PD->parent_cancelhandling here, before create_thread. When
4940 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4941 __deallocate_stack, and ENOMEM translation here.
4942
4943 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4944
4945 [BZ #17616]
4946 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4947 (mptwo): Rename to __mptwo.
4948 (__inv): Use __mptwo instead of mptwo.
4949 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4950 (mptwo): Rename to __mptwo.
4951 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4952 of mpone and __mptwo instead of mptwo.
4953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4954 instead of mpone.
4955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4956 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4957 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4958 of mpone and __mptwo instead of mptwo.
4959 (__mpranred): Use __mpone instead of mpone.
4960 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4961 variable.
4962 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4963 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4964 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4965 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4966 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4967 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4968 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4969 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4970 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4971 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4972 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4973 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4974 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4975 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4976 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4977 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4978 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4979 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4980 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4981
4982 2014-11-18 Tom de Vries <tom@codesoucery.com>
4983
4984 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4985 replace BSD Handler xref with BSD Signal Handling.
4986
4987 2014-11-17 Richard Henderson <rth@redhat.com>
4988
4989 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4990 (_FP_PACK_RAW_2): Remove.
4991 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4992 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4993 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4994 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4995 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4996 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4997 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4998 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4999 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5000 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5001 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5002 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5003 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5004 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5005 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5006 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5007
5008 2014-11-14 Roland McGrath <roland@hack.frob.com>
5009
5010 * signal/signal.h [__USE_MISC]
5011 (struct sigvec): Remove type.
5012 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5013 (sigvec): Remove declaration.
5014 * sysdeps/posix/sigvec.c: Moved ...
5015 * signal/sigvec.c: ... here, replacing old file.
5016 (struct sigvec): New type, copied from old signal.h definition.
5017 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5018 (__sigvec): Convert definition to prototype.
5019 (sigvec): Replace weak_alias with compat_symbol.
5020 * signal/Versions (libc: GLIBC_2.21): New version set.
5021 * include/signal.h: Remove __sigvec declaration.
5022 * sysdeps/unix/bsd/sigvec.c: Remove file.
5023 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5024 * manual/signal.texi (BSD Handler): Remove subsection.
5025 Move siginterrupt up to ...
5026 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5027 (Blocking in BSD): Fold subsection into its parent.
5028 * NEWS: Mention sigvec removal.
5029
5030 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5031
5032 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5033 (DLA_FMS): Make definition conditional only on [__FMA4__].
5034 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5035 definition.
5036
5037 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5038 Make definition conditional only on [PROF].
5039 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5040 definition.
5041 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5042 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5043
5044 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5045 !__GNUC__].
5046 * include/signal.h (__sigpause): Move declaration above call to
5047 libc_hidden_proto.
5048 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5049 variable.
5050 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5051 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5052
5053 2014-11-14 David S. Miller <davem@davemloft.net>
5054
5055 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5056 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5057
5058 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5059
5060 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5061 * configure: Regenerated.
5062 * manual/install.texi (Tools for Compilation): Document a
5063 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5064 compiler verified to work.
5065 * INSTALL: Regenerated.
5066
5067 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5068 redeclare with asm name.
5069 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5070 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5071 including <string.h>.
5072 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5073 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5074 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5076 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5078 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5079
5080 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5081
5082 * stdlib/strtol.c (__strtol): Use prototype definition.
5083
5084 [BZ #17594]
5085 * stdlib/strtol.c (SYM__): New macro.
5086 (SYM__1): Likewise.
5087 (__strtol): Likewise.
5088 (strtol): Rename to __strtol and define as weak alias of
5089 __strtol. Use libc_hidden_weak.
5090
5091 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5092
5093 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5094 Use numbered labels in inline assembly.
5095
5096 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5097
5098 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5099 Add setjmp LIBC_PROBE.
5100 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5101 Likewise.
5102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5103 Add longjmp, longjmp_target LIBC_PROBE.
5104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5105 Likewise.
5106
5107 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5108
5109 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5110 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5111 to get rid of unused variable warning.
5112
5113 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5114
5115 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5116 Check for unwind_backtrace == NULL only in SHARED case.
5117 (__backchain_backtrace): Compile only in SHARED case.
5118 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5119 Likewise.
5120 (__backchain_backtrace): Declare as static.
5121
5122 2014-11-12 Roland McGrath <roland@hack.frob.com>
5123
5124 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5125 (__libc_multiple_threads_ptr): Variable moved ...
5126 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5127
5128 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5129
5130 * conform/GlibcConform.pm: New file.
5131 * conform/conformtest.pl: Use GlibcConform module.
5132 * conform/linknamespace.pl: New file.
5133 * conform/list-header-symbols.pl: Likewise.
5134 * conform/Makefile (linknamespace-symlists-base): New variable.
5135 (linknamespace-symlists-tests): Likewise.
5136 (linknamespace-header-base): Likewise.
5137 (linknamespace-header-tests): Likewise.
5138 (tests-special): Add new tests.
5139 ($(linknamespace-symlists-tests)): New rule.
5140 (linknamespace-libs): New variable.
5141 ($(objpfx)symlist-stdlibs): New rule.
5142 ($(linknamespace-header-tests)): Likewise.
5143 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5144 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5145 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5146 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5147 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5148 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5149 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5150 (test-xfail-ISO/math.h/linknamespace): Likewise.
5151 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5152 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5153 (test-xfail-ISO/time.h/linknamespace): Likewise.
5154 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5155 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5156 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5157 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5158 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5159 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5160 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5161 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5162 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5163 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5164 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5165 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5166 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5167 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5168 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5169 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5170 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5171 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5172 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5173 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5174 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5175 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5176 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5177 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5178 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5179 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5180 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5181 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5182 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5183 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5184 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5185 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5186 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5187 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5188 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5189 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5190 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5191 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5192 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5193 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5194 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5195 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5196 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5197 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5198 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5199 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5200 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5201 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5202 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5203 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5204 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5205 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5206 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5207 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5208 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5209 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5210 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5211 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5212 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5213 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5214 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5215 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5216 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5217 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5218 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5219 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5220 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5221 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5222 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5223 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5224 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5225 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5226 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5227 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5228 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5229 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5230 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5231 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5232 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5233 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5234 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5235 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5236 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5237 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5238 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5239 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5240 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5241 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5242 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5243 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5244 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5245 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5246 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5247 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5248 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5249 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5250 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5251 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5252 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5253 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5254 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5255 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5256 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5257 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5258 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5259 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5260 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5261 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5262 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5263 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5264 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5265 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5266 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5267 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5268 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5269 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5270 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5271 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5272 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5273 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5274 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5275 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5276 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5277 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5278 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5279 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5280 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5281 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5282 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5283 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5284 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5285 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5286 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5287 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5288 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5289 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5290 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5291 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5292 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5293 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5294 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5295 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5296 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5297 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5298 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5299 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5300 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5301 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5302 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5303 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5304
5305 [BZ #17589]
5306 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5307 of fgets_unlocked.
5308
5309 [BZ #17585]
5310 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5311 (memmem): Rename to __memmem and define as weak alias of
5312 __memmem. Use libc_hidden_weak.
5313 (__memmem): Use libc_hidden_def.
5314 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5315 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5316 memmem.
5317
5318 [BZ #17582]
5319 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5320 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5321 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5322 and define as weak alias of __fgets_unlocked. Use
5323 libc_hidden_weak.
5324 (__fgets_unlocked): Use libc_hidden_def.
5325 * include/stdio.h (__fgets_unlocked): Declare. Use
5326 libc_hidden_proto.
5327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5328 __fgets_unlocked instead of fgets_unlocked.
5329 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5330 (GET_NPROCS_CONF_PARSER): Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5332 (GET_NPROCS_CONF_PARSER): Likewise.
5333
5334 [BZ #17574]
5335 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5336 weak alias of __wmemset. Use libc_hidden_weak.
5337 (__wmemset): Use libc_hidden_def.
5338 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5339 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5340 of wmemset.
5341
5342 [BZ #17573]
5343 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5344 with asm name __mempcpy.
5345 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5346
5347 [BZ #17572]
5348 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5349 and define as weak alias of __rawmemchr.
5350 (__rawmemchr): Do not define as strong alias of rawmemchr.
5351
5352 [BZ #17571]
5353 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5354 alias of __qsort_r.
5355 (qsort): Call __qsort_r instead of qsort_r.
5356 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5357 (__qsort_r): Declare. Call libc_hidden_proto.
5358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5359 instead of qsort_r.
5360 * nscd/gai.c (__qsort_r): Define to qsort_r.
5361 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5362 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5363 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5364
5365 [BZ #17570]
5366 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5367 define as weak alias of __malloc_info.
5368
5369 [BZ #17584]
5370 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5371 as weak alias of __rewinddir. Don't use libc_hidden_def.
5372 (__rewinddir): Use libc_hidden_def.
5373 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5374 as weak alias of __rewinddir. Don't use libc_hidden_def.
5375 (__rewinddir): Use libc_hidden_def.
5376 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5377 weak alias of __rewinddir. Don't use libc_hidden_def.
5378 (__rewinddir): Use libc_hidden_def.
5379 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5380 (__rewinddir): Use libc_hidden_proto.
5381 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5382 rewinddir.
5383 (__getcwd): Use __rewinddir instead of rewinddir.
5384
5385 [BZ #17583]
5386 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5387 alias of __fileno. Use libc_hidden_weak.
5388 (__fileno): Use libc_hidden_def.
5389 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5390 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5391 alias of __ftello.
5392 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5393 __ftello.
5394 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5395 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5396 libc_hidden_def.
5397 (fread_unlocked): Don't use libc_hidden_ver.
5398 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5399 and define as weak alias of __fread_unlocked. Don't use
5400 libc_hidden_def.
5401 (__fread_unlocked): Use libc_hidden_def.
5402 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5403 (ftello): Don't use libc_hidden_proto.
5404 (__ftello): Declare. Use libc_hidden_proto.
5405 (fread_unlocked): Don't use libc_hidden_proto.
5406 (__fread_unlocked): Declare. Use libc_hidden_proto.
5407 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5408 and __ftello instead of fileno, fread_unlocked and ftello.
5409
5410 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5411
5412 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5413 GOT12.
5414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5415 Likewise.
5416 (_dl_start_user): Likewise.
5417 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5418
5419 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5420 Siddhesh Poyarekar <siddhesh@redhat.com>
5421
5422 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5423 Move argv and envp down instead of moving argc up.
5424 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5425
5426 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5427
5428 [BZ #17506]
5429 * test-skeleton.c (main): Return successful if one of
5430 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5431 * string/tst-strcoll-overflow.c: Define expected status.
5432
5433 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5434
5435 [BZ #17475]
5436 * locale/iso-639.def: Define Bhili and Tulu language codes.
5437
5438 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5439
5440 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5441
5442 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5443
5444 [BZ #17555]
5445 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5446
5447 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5448
5449 * configure.ac: Updated check of minimal required version to
5450 2.22.
5451 * manual/install.texi (Tools for Compilation): Updated version
5452 number.
5453 * configure: Regenerated.
5454 * INSTALL: Likewise.
5455
5456 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5457
5458 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5459 __tls_get_addr.
5460
5461 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5462
5463 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5464 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5465 (__waitpid): Don't define as alias. Use libc_hidden_def not
5466 libc_hidden_weak.
5467 (waitpid): Define as alias of __waitpid.
5468 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5469 __waitpid.
5470 (__waitpid): Don't define as alias. Use libc_hidden_def not
5471 libc_hidden_weak.
5472 (waitpid): Define as alias of __waitpid.
5473 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5474 __libc_waitpid alias.
5475 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5476 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5477 Likewise.
5478 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5480 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5481 alias.
5482 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5483 __waitpid.
5484 (__waitpid): Don't define as alias. Use libc_hidden_def not
5485 libc_hidden_weak.
5486 (waitpid): Define as alias of __waitpid.
5487
5488 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5489
5490 * manual/llio.texi: Add comment that write safety has been
5491 fixed in Linux.
5492
5493 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5494 (localplt-build-dso): Add elf/ld.so.
5495 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5496 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5497 and free for ld.so.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5499 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5501 Likewise.
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5503 Likewise.
5504 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5505 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5506 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5507 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5508 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5509 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5510 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5511 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5512 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5513 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5515
5516 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5517
5518 [BZ #14132]
5519 * include/libc-symbols.h (INTUSE): Remove macro.
5520 (INTDEF): Likewise.
5521 (INTVARDEF): Likewise.
5522 (_INTVARDEF): Likewise.
5523 (INTDEF2): Likewise.
5524 (INTVARDEF2): Likewise.
5525 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5526 rtld_hidden_def instead of INTVARDEF.
5527 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5528 (_dl_starting_up_internal): Remove declaration.
5529 (_dl_starting_up): Use rtld_hidden_proto.
5530 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5531 declaration.
5532 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5533 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5534 _dl_starting_up.
5535 * elf/dl-writev.h (_dl_writev): Likewise.
5536 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5537 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5538 _dl_starting_up_internal.
5539
5540 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541
5542 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5543 test-skeleton.c.
5544
5545 2014-11-05 Will Newton <will.newton@linaro.org>
5546
5547 * benchtests/Makefile: (bench-malloc): Add malloc thread
5548 scalability benchmark.
5549 * benchtests/bench-malloc-threads.c: New file.
5550
5551 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5552
5553 * sysdeps/aarch64/strchrnul.S: New file.
5554
5555 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556
5557 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5558 definition.
5559 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5560 Likwise.
5561 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5562 Likewise.
5563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5564 Likewise.
5565 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5566 Likewise.
5567 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5568 Likewise.
5569
5570 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5571
5572 * catgets/test-gencat.c: Use test-skeleton.c.
5573 * catgets/tst-catgets.c: Likewise.
5574 * csu/tst-empty.c: Likewise.
5575 * elf/tst-audit2.c: Likewise.
5576 * elf/tst-global1.c: Likewise.
5577 * elf/tst-pathopt.c: Likewise.
5578 * elf/tst-piemod1.c: Likewise.
5579 * elf/tst-tls10.c: Likewise.
5580 * elf/tst-tls11.c: Likewise.
5581 * elf/tst-tls12.c: Likewise.
5582 * gnulib/tst-gcc.c: Likewise.
5583 * iconvdata/tst-e2big.c: Likewise.
5584 * iconvdata/tst-loading.c: Likewise.
5585 * iconv/tst-iconv1.c: Likewise.
5586 * iconv/tst-iconv2.c: Likewise.
5587 * inet/test-inet6_opt.c: Likewise.
5588 * inet/tst-gethnm.c: Likewise.
5589 * inet/tst-network.c: Likewise.
5590 * inet/tst-ntoa.c: Likewise.
5591 * intl/tst-codeset.c: Likewise.
5592 * intl/tst-gettext2.c: Likewise.
5593 * intl/tst-gettext3.c: Likewise.
5594 * intl/tst-ngettext.c: Likewise.
5595 * intl/tst-translit.c: Likewise.
5596 * io/test-stat.c: Likewise.
5597 * libio/test-fmemopen.c: Likewise.
5598 * libio/tst-freopen.c: Likewise.
5599 * libio/tst-sscanf.c: Likewise.
5600 * libio/tst-ungetwc1.c: Likewise.
5601 * libio/tst-ungetwc2.c: Likewise.
5602 * libio/tst-widetext.c: Likewise.
5603 * localedata/tst-ctype.c: Likewise.
5604 * localedata/tst-digits.c: Likewise.
5605 * localedata/tst-leaks.c: Likewise.
5606 * localedata/tst-mbswcs1.c: Likewise.
5607 * localedata/tst-mbswcs2.c: Likewise.
5608 * localedata/tst-mbswcs3.c: Likewise.
5609 * localedata/tst-mbswcs4.c: Likewise.
5610 * localedata/tst-mbswcs5.c: Likewise.
5611 * localedata/tst-setlocale.c: Likewise.
5612 * localedata/tst-trans.c: Likewise.
5613 * localedata/tst-wctype.c: Likewise.
5614 * localedata/tst-xlocale1.c: Likewise.
5615 * login/tst-grantpt.c: Likewise.
5616 * malloc/tst-calloc.c: Likewise.
5617 * malloc/tst-malloc.c: Likewise.
5618 * malloc/tst-mallocstate.c: Likewise.
5619 * malloc/tst-mcheck.c: Likewise.
5620 * malloc/tst-mtrace.c: Likewise.
5621 * malloc/tst-obstack.c: Likewise.
5622 * math/atest-exp2.c: Likewise.
5623 * math/atest-exp.c: Likewise.
5624 * math/atest-sincos.c: Likewise.
5625 * math/test-matherr.c: Likewise.
5626 * math/test-misc.c: Likewise.
5627 * math/test-powl.c: Likewise.
5628 * math/tst-definitions.c: Likewise.
5629 * misc/tst-dirname.c: Likewise.
5630 * misc/tst-efgcvt.c: Likewise.
5631 * misc/tst-fdset.c: Likewise.
5632 * misc/tst-hsearch.c: Likewise.
5633 * misc/tst-mntent2.c: Likewise.
5634 * nptl/tst-sem7.c: Likewise.
5635 * nptl/tst-sem8.c: Likewise.
5636 * nptl/tst-sem9.c: Likewise.
5637 * nss/test-netdb.c: Likewise.
5638 * posix/tst-fnmatch.c: Likewise.
5639 * posix/tst-getlogin.c: Likewise.
5640 * posix/tst-gnuglob.c: Likewise.
5641 * posix/tst-mmap.c: Likewise.
5642 * pwd/tst-getpw.c: Likewise.
5643 * resolv/tst-inet_ntop.c: Likewise.
5644 * rt/tst-timer.c: Likewise.
5645 * stdio-common/test-fseek.c: Likewise.
5646 * stdio-common/test-popen.c: Likewise.
5647 * stdio-common/test-vfprintf.c: Likewise.
5648 * stdio-common/tst-cookie.c: Likewise.
5649 * stdio-common/tst-fileno.c: Likewise.
5650 * stdio-common/tst-gets.c: Likewise.
5651 * stdio-common/tst-obprintf.c: Likewise.
5652 * stdio-common/tst-perror.c: Likewise.
5653 * stdio-common/tst-sprintf2.c: Likewise.
5654 * stdio-common/tst-sprintf3.c: Likewise.
5655 * stdio-common/tst-sprintf.c: Likewise.
5656 * stdio-common/tst-swprintf.c: Likewise.
5657 * stdio-common/tst-tmpnam.c: Likewise.
5658 * stdio-common/tst-unbputc.c: Likewise.
5659 * stdio-common/tst-wc-printf.c: Likewise.
5660 * stdlib/tst-environ.c: Likewise.
5661 * stdlib/tst-fmtmsg.c: Likewise.
5662 * stdlib/tst-limits.c: Likewise.
5663 * stdlib/tst-rand48-2.c: Likewise.
5664 * stdlib/tst-rand48.c: Likewise.
5665 * stdlib/tst-random2.c: Likewise.
5666 * stdlib/tst-random.c: Likewise.
5667 * stdlib/tst-strtol.c: Likewise.
5668 * stdlib/tst-strtoll.c: Likewise.
5669 * stdlib/tst-tls-atexit.c: Likewise.
5670 * stdlib/tst-xpg-basename.c: Likewise.
5671 * string/test-ffs.c: Likewise.
5672 * string/tst-bswap.c: Likewise.
5673 * string/tst-inlcall.c: Likewise.
5674 * string/tst-strtok.c: Likewise.
5675 * string/tst-strxfrm.c: Likewise.
5676 * sysdeps/x86_64/tst-audit10.c: Likewise.
5677 * sysdeps/x86_64/tst-audit3.c: Likewise.
5678 * sysdeps/x86_64/tst-audit4.c: Likewise.
5679 * sysdeps/x86_64/tst-audit5.c: Likewise.
5680 * time/tst-ftime_l.c: Likewise.
5681 * time/tst-getdate.c: Likewise.
5682 * time/tst-mktime3.c: Likewise.
5683 * time/tst-mktime.c: Likewise.
5684 * time/tst-posixtz.c: Likewise.
5685 * time/tst-strptime2.c: Likewise.
5686 * time/tst-strptime3.c: Likewise.
5687 * wcsmbs/tst-btowc.c: Likewise.
5688 * wcsmbs/tst-mbrtowc.c: Likewise.
5689 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5690 * wcsmbs/tst-wchar-h.c: Likewise.
5691 * wcsmbs/tst-wcpncpy.c: Likewise.
5692 * wcsmbs/tst-wcrtomb.c: Likewise.
5693 * wcsmbs/tst-wcsnlen.c: Likewise.
5694 * wcsmbs/tst-wcstof.c: Likewise.
5695
5696 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5697
5698 [BZ #14132]
5699 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5700 INTDEF.
5701 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5702 declaration.
5703 (_dl_mcount): Use rtld_hidden_proto.
5704 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5705 _dl_mcount.
5706 * elf/rtld.c (_rtld_global_ro): Likewise.
5707
5708 [BZ #14132]
5709 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5710 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5711 of _dl_init_internal.
5712 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5713 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5714 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5715 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5716 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5717 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5718 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5719 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5720 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5721 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5722 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5723 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5724 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5725 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5726 * sysdeps/tile/dl-start.S (_start): Likewise.
5727 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5728 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5729
5730 [BZ #14132]
5731 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5732 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5733 (rtld_progname): Make macro definition unconditional.
5734 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5735 INTDEF.
5736 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5737 (dl_main): Likewise.
5738 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5739 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5740 instead of _dl_argv_internal.
5741 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5742 __GI__dl_argv instead of INTUSE(_dl_argv).
5743 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5744 __GI__dl_argv instead of _dl_argv_internal.
5745
5746 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5747 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5748 macro.
5749 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5750 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5751 New macro.
5752 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5753 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5754 macro.
5755 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5756 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5757
5758 2014-11-04 Andreas Schwab <schwab@suse.de>
5759
5760 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5761
5762 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5763
5764 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5765 mtvsrd instruction in binary form.
5766
5767 2014-11-03 Andreas Schwab <schwab@suse.de>
5768
5769 [BZ #17522]
5770 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5771 for less than MB_LEN_MAX use a local buffer of that size.
5772 * libio/tst-fputws.c: New file.
5773 * libio/Makefile (tests): Add tst-fputws.
5774
5775 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5776
5777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5778 the size of the fpu_fr.fpu_dregs[] array.
5779
5780 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5781
5782 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5783 (__nanosleep): Do not define as alias.
5784 (nanosleep): Define as alias of __nanosleep.
5785 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5786 __libc_nanosleep name.
5787
5788 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5789
5790 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5791 install.texi in comment.
5792
5793 2014-10-31 Torvald Riegel <triegel@redhat.com>
5794
5795 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5796 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5797 ... add here and use lwsync or sync ...
5798 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5799 ... and add here using lwsync.
5800
5801 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5802
5803 * elf/dl-machine-reject-phdr.h: New file.
5804 * elf/dl-load.c: #include that.
5805 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5806 if that returned true.
5807
5808 2014-10-31 Roland McGrath <roland@hack.frob.com>
5809
5810 [BZ #17496]
5811 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5812 gen-as-const-headers chunk. Add a big scare comment after the last
5813 safe place to touch before-compile.
5814
5815 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5816
5817 * manual/install.texi (Tools for Compilation): Update autoconf
5818 version requirements.
5819 * INSTALL: Regenerated.
5820
5821 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5822 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5823 (__libc_pselect): Likewise.
5824
5825 [BZ #14138]
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5830
5831 2014-10-31 Torvald Riegel <triegel@redhat.com>
5832
5833 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5834 correct barrier instruction.
5835 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5836 Likewise.
5837 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5838 Likewise.
5839
5840 2014-10-30 Roland McGrath <roland@hack.frob.com>
5841
5842 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5843 after defining inlines. Instead, just use parens to defeat macro
5844 expansion of __isctype in its declaration.
5845
5846 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5847
5848 * include/sys/uio.h (__libc_readv): Remove declaration.
5849 (__libc_writev): Likewise.
5850 * misc/readv.c (__libc_readv): Rename to __readv.
5851 (__readv): Do not define as alias.
5852 (readv): Define as alias of __readv.
5853 * misc/writev.c (__libc_writev): Rename to __writev.
5854 (__writev): Do not define as alias.
5855 (writev): Define as alias of __writev.
5856 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5857 (__readv): Do not define as alias.
5858 (readv): Define unconditionally as alias of __readv.
5859 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5860 (__writev): Do not define as alias.
5861 (writev): Define unconditionally as alias of __writev.
5862 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5863 name.
5864 (writev): Do not define __libc_writev name.
5865
5866 2014-10-30 Roland McGrath <roland@hack.frob.com>
5867
5868 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5869 (convert_charseq): New function, broken out of ...
5870 (use_from_charmap): ... here. Call it.
5871 (use_to_charmap): Use convert_charseq and free instead of duplicating
5872 its code with a variable-length stack struct.
5873
5874 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5875
5876 * include/fcntl.h (__libc_creat): Remove declaration.
5877 * io/creat.c (__libc_creat): Rename to creat.
5878 (creat): Do not define as alias.
5879 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5880 of creat instead of __libc_creat.
5881 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5882 to creat.
5883 (creat): Do not define as alias.
5884 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5885 __libc_creat.
5886 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5887 __libc_creat name.
5888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5889 Likewise.
5890
5891 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5892
5893 * manual/llio.texi: Add comments discussing why write() may be
5894 considered MT-unsafe on Linux.
5895
5896 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5897
5898 * dl-load.c (local_strdup): Remove.
5899 (expand_dynamic_string_token): Use __strdup.
5900 (decompose_rpath): Likewise.
5901 (_dl_map_object): Likewise.
5902
5903 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5904
5905 [BZ #14132]
5906 * sysdeps/generic/unwind-dw2-fde.c
5907 (__register_frame_info_bases_internal): Do not declare.
5908 (__register_frame_info_table_bases_internal): Likewise.
5909 (__deregister_frame_info_bases_internal): Likewise.
5910 (__register_frame_info_bases): Declare and use hidden_proto before
5911 definition. Use hidden_def instead of INTDEF.
5912 (__register_frame_info_table_bases): Likewise.
5913 (__deregister_frame_info_bases): Likewise.
5914 (__register_frame_info): Do not use INTUSE.
5915 (__register_frame): Likewise.
5916 (__register_frame_info_table): Likewise.
5917 (__register_frame_table): Likewise.
5918 (__deregister_frame_info): Likewise.
5919 (__deregister_frame): Likewise.
5920
5921 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5922
5923 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5924 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5925 not undefine.
5926 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5927 Likewise.
5928 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5929 Likewise.
5930
5931 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5932
5933 [BZ #14138]
5934 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5935 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5936 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5937 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5938 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5939 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5940 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5941 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5942 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5943 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5944 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5945 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5946 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5947 syscall.
5948 (setfsuid): Likewise.
5949 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5950 (setfsuid): Likewise.
5951 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5952 (setfsuid): Likewise.
5953 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5954 Likewise.
5955 (setfsuid): Likewise.
5956 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5957 (setfsuid): Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5959 Likewise.
5960 (setfsuid): Likewise.
5961
5962 2014-10-27 Andreas Schwab <schwab@suse.de>
5963
5964 [BZ #17501]
5965 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5966 check for Slow_SSE4_2 feature bit.
5967 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5968 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5969 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5970 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5971
5972 2014-10-24 Roland McGrath <roland@hack.frob.com>
5973
5974 * configure.ac: Validate compiler version with a empirical test of
5975 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5976 $CC -v output.
5977 * configure: Regenerated.
5978
5979 * inet/htons.c (htons): Prototypify.
5980 * inet/htonl.c (htonl): Likewise.
5981
5982 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5983
5984 * string/strncat.c (strncat): Improve performance by using strlen.
5985
5986 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5987
5988 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5989
5990 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5991
5992 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5993 Call libc_fetestexcept_aarch64.
5994
5995 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5996
5997 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5998 Call libc_feholdexcept_aarch64.
5999
6000 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6001
6002 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6003 Call get_rounding_mode.
6004
6005 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6006
6007 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6008 Simplify logic.
6009
6010 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6011
6012 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6013 Simplify logic.
6014
6015 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14138]
6018 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6019 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6020 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6021 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6022 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6023 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6024 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6025 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6026 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6027 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6028 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6029 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6030 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6031 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6032 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6033 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6034 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6035 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6036 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6037 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6038 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6041 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6042 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6043 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6044 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6045 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6046 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6047 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6048 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6049 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6050 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6051 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6052 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6054 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6055 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6058 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6059 syscall.
6060 (geteuid): Likewise.
6061 (getgid): Likewise.
6062 (getuid): Likewise.
6063 (getresgid): Likewise.
6064 (getresuid): Likewise.
6065 (getgroups): Likewise.
6066 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6067 (geteuid): Likewise.
6068 (getgid): Likewise.
6069 (getuid): Likewise.
6070 (getresgid): Likewise.
6071 (getresuid): Likewise.
6072 (getgroups): Likewise.
6073 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6074 (geteuid): Likewise.
6075 (getgid): Likewise.
6076 (getuid): Likewise.
6077 (getresgid): Likewise.
6078 (getresuid): Likewise.
6079 (getgroups): Likewise.
6080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6081 Likewise.
6082 (geteuid): Likewise.
6083 (getgid): Likewise.
6084 (getuid): Likewise.
6085 (getresgid): Likewise.
6086 (getresuid): Likewise.
6087 (getgroups): Likewise.
6088 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6089 (geteuid): Likewise.
6090 (getgid): Likewise.
6091 (getuid): Likewise.
6092 (getresgid): Likewise.
6093 (getresuid): Likewise.
6094 (getgroups): Likewise.
6095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6096 Likewise.
6097 (geteuid): Likewise.
6098 (getgid): Likewise.
6099 (getuid): Likewise.
6100 (getgroups): Likewise.
6101
6102 [BZ #14138]
6103 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6104 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6105 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6107 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6109 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6110 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6111 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6115 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6116 __chown.
6117 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6118 (lchown): Likewise.
6119 (fchown): Likewise.
6120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6121 Likewise.
6122 (lchown): Likewise.
6123 (fchown): Likewise.
6124 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6125 (lchown): Likewise.
6126 (fchown): Likewise.
6127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6128 Likewise.
6129 (lchown): Likewise.
6130 (fchown): Likewise.
6131
6132 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6133
6134 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6135 Simplify logic.
6136
6137 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6138
6139 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6140 Cleanup logic.
6141
6142 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6143
6144 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6145 Remove unused include.
6146
6147 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6148
6149 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6150 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6151 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6152 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6153
6154 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6155 Helge Deller <deller@gmx.de>
6156
6157 [BZ #17508]
6158 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6159 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6160 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6161
6162 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6163
6164 [BZ #14132]
6165 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6166 Remove macro definition.
6167 (__ashrdi3_v_glibc20): Likewise.
6168 (__lshrdi3_v_glibc20): Likewise.
6169 (__cmpdi2_v_glibc20): Likewise.
6170 (__ucmpdi2_v_glibc20): Likewise.
6171 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6172 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6173 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6174 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6175 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6176 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6177
6178 2014-10-22 Roland McGrath <roland@hack.frob.com>
6179
6180 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6181 old GNU extension [0] syntax.
6182 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6183 alloca rather than an array member with variable length.
6184 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6185 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6186 (parse_opt): ... here. Likewise use alloca there.
6187 Validate the -i argument before checking for rootness.
6188 (send_shutdown): New function, broken out of ...
6189 (parse_opt): ... here.
6190
6191 2014-10-22 Roland McGrath <roland@hack.frob.com>
6192
6193 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6194 macro to get at the _rt_local_ro field.
6195 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6196 ([PIC] case) or _dl_hwcap ([!PIC] case).
6197 * sysdeps/arm/setjmp.S: Likewise.
6198
6199 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6200 * sysdeps/arm/configure.ac: New check to define it.
6201 * sysdeps/arm/configure: Regenerated.
6202 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6203 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6204 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6205 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6206 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6207 Use move/movt pair instead of a load.
6208 (LDST_GLOBAL): Macro removed.
6209 (LDR_GLOBAL): New macro replaces it.
6210 (LDR_HIDDEN): New macro.
6211 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6212 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6213
6214 * setjmp/tst-setjmp-static.c: New file.
6215 * setjmp/Makefile (tests): Add it.
6216 (tests-static): New variable.
6217
6218 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6219
6220 [BZ #17485]
6221 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6222
6223 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6224
6225 [BZ #14132]
6226 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6227
6228 2014-10-21 Roland McGrath <roland@hack.frob.com>
6229
6230 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6231
6232 2014-10-20 Roland McGrath <roland@hack.frob.com>
6233
6234 * io/fts.c (dirent_not_directory): New function.
6235 (fts_build): Call it.
6236
6237 2014-10-20 Roland McGrath <roland@hack.frob.com>
6238
6239 * nptl/version.c (__nptl_main): Use normal __write rather than
6240 INTERNAL_SYSCALL.
6241 (banner): Update copyright years.
6242
6243 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6244 gettimeofday.
6245 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6246 * nptl/pthread_cond_timedwait.c: Likewise.
6247 * nptl/pthread_mutex_timedlock.c: Likewise.
6248 * nptl/sem_timedwait.c: Likewise.
6249
6250 * sysdeps/nptl/bits/libc-lock.h
6251 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6252 (__libc_lock_init_recursive): Return void, not 0.
6253 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6254 (__libc_rwlock_init): Likewise.
6255 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6256
6257 2014-10-20 Torvald Riegel <triegel@redhat.com>
6258
6259 [BZ #15215]
6260 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6261 (__pthread_once_slow): ... here.
6262 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6263 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6264
6265 2014-10-20 Torvald Riegel <triegel@redhat.com>
6266
6267 [BZ #15215]
6268 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6269 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6270 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6271 * nptl/pthread_once.c (__pthread_once): Likewise.
6272 Update comments.
6273
6274 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #14138]
6277 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6278 name.
6279 (writev): Use __libc_writev as strong name.
6280 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6281 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6282
6283 2014-10-17 Roland McGrath <roland@hack.frob.com>
6284
6285 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6286
6287 * sysdeps/i386/nptl/tls.h
6288 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6289 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6290 New macros.
6291 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6292 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6293 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6294 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6295 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6296 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6297
6298 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6299 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6300 on [__NR_futex].
6301 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6302 broken out of ...
6303 (__pthread_mutex_init): ... here. Call it.
6304 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6305 Conditionalize PI cases on [__NR_futex].
6306 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6307 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6308 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6309
6310 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6311 conditional on [SIGSETXID].
6312 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6313 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6314 is defined. Likewise for SIGSETXID.
6315 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6316 Conditionalize definitions on [SIGSETXID].
6317 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6318 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6319 unblocking on [SIGCANCEL].
6320
6321 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6322 [__NR_set_robust_list].
6323
6324 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6325
6326 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6327 (do_compare): Likewise.
6328
6329 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6330
6331 [BZ #15884]
6332 * string/strcoll_l.c: Don't include stdio.h.
6333 (coll_seq): Remove members idxarr and rulearr.
6334 (get_next_seq_cached): Remove function.
6335 (get_next_seq): Likewise.
6336 (get_next_seq_nocache): Rename to get_next_seq.
6337 (do_compare): Remove function.
6338 (do_compare_nocache): Rename to do_compare.
6339 (STRCOLL): Remove weight and rules cache.
6340
6341 2014-10-16 Roland McGrath <roland@hack.frob.com>
6342
6343 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6344 * sysdeps/arm/sfp-machine.h: ... to here.
6345 * sysdeps/arm/Implies: Remove arm/soft-fp.
6346
6347 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6348
6349 * conform/data/sys/utsname.h-data (*_t): Allow.
6350 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6351 [POSIX] (WEXITED): Do not expect constant.
6352 [POSIX] (WSTOPPED): Likewise.
6353 [POSIX] (WNOHANG): Likewise.
6354 [POSIX] (WNOWAIT): Likewise.
6355 [POSIX] (siginfo_t): Do not expect type or elements.
6356 [POSIX] (pid_t): Do not expect type.
6357 [POSIX] (signal.h): Do not allow header.
6358 [POSIX] (sys/resource.h): Likewise.
6359 [POSIX] (si_*): Do not allow pattern.
6360 [POSIX] (W*): Likewise.
6361 [POSIX] (P_*): Likewise.
6362 [POSIX] (BUS_*): Likewise.
6363 [POSIX] (CLD_*): Likewise.
6364 [POSIX] (FPE_*): Likewise.
6365 [POSIX] (ILL_*): Likewise.
6366 [POSIX] (POLL_*): Likewise.
6367 [POSIX] (SEGV_*): Likewise.
6368 [POSIX] (SI_*): Likewise.
6369 [POSIX] (TRAP_*): Likewise.
6370 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6371 variable.
6372
6373 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6374
6375 [BZ #12926]
6376 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6377 infinite loop when __recvmsg returns 0.
6378
6379 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6380
6381 * CANCEL-FCT-WAIVE: Remove file.
6382 * CANCEL-FILE-WAIVE: Likewise.
6383
6384 [BZ #14132]
6385 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6386 instead of INTVARDEF.
6387 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6388 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6389 rtld_hidden_data_def instead of INTVARDEF.
6390 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6391 * elf/dl-deps.c (expand_dst): Likewise.
6392 * elf/dl-load.c (_dl_dst_count): Likewise.
6393 (_dl_dst_substitute): Likewise.
6394 (decompose_rpath): Likewise.
6395 (_dl_init_paths): Likewise.
6396 (open_path): Likewise.
6397 (_dl_map_object): Likewise.
6398 * elf/rtld.c (dl_main): Likewise.
6399 (process_dl_audit): Likewise.
6400 (process_envvars): Likewise.
6401 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6402 Remove declaration.
6403 (__libc_enable_secure): Use rtld_hidden_proto.
6404
6405 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6406
6407 * elf/dl-load.c
6408 (add_path): New function broken out of _dl_rtld_di_serinfo.
6409 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6410
6411 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6412
6413 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6414 parentheses around macro arguments.
6415 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6416 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6418 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6422 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6426 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6427 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6428 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6429 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6430 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6431 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6434 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6438 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6440 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6442 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6444 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6445 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6446 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6447 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6448 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6449 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6450 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6451 Likewise.
6452 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6453 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6455 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6456 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6457 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6459 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6460 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6461 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6462 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6463 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6464 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6473 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6477 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6478 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6479 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6480 (_FP_FRAC_SRS_1): Likewise.
6481 (_FP_FRAC_CLZ_1): Likewise.
6482 (_FP_MUL_MEAT_1_imm): Likewise.
6483 (_FP_MUL_MEAT_1_wide): Likewise.
6484 (_FP_MUL_MEAT_1_hard): Likewise.
6485 (_FP_SQRT_MEAT_1): Likewise.
6486 (_FP_FRAC_ASSEMBLE_1): Likewise.
6487 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6488 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6489 (__FP_CLZ_2): Likewise.
6490 (_FP_MUL_MEAT_2_wide): Likewise.
6491 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6492 (_FP_MUL_MEAT_2_gmp): Likewise.
6493 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6494 (_FP_SQRT_MEAT_2): Likewise.
6495 (_FP_FRAC_ASSEMBLE_2): Likewise.
6496 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6497 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6498 (_FP_FRAC_CLZ_4): Likewise.
6499 (_FP_MUL_MEAT_4_wide): Likewise.
6500 (_FP_MUL_MEAT_4_gmp): Likewise.
6501 (_FP_SQRT_MEAT_4): Likewise.
6502 (_FP_FRAC_ASSEMBLE_4): Likewise.
6503 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6504 * soft-fp/op-common.h (_FP_CMP): Likewise.
6505 (_FP_CMP_EQ): Likewise.
6506 (_FP_CMP_UNORD): Likewise.
6507 (_FP_TO_INT): Likewise.
6508 (_FP_FROM_INT): Likewise.
6509 [!__FP_CLZ] (__FP_CLZ): Likewise.
6510 (_FP_DIV_HELP_imm): Likewise.
6511 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6512 Likewise.
6513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6516 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6517 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6518 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6519 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6520 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6521 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6522 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6523 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6524 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6525 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6526 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6527 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6528 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6529 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6534 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6535 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6536 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6537 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6538 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6539 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6540 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6541 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6542 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6543 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6544 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6545 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6546 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6547 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6548 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6549 (FP_UNPACK_RAW_SP): Likewise.
6550 (FP_PACK_RAW_S): Likewise.
6551 (FP_PACK_RAW_SP): Likewise.
6552 (FP_UNPACK_S): Likewise.
6553 (FP_UNPACK_SP): Likewise.
6554 (FP_UNPACK_SEMIRAW_S): Likewise.
6555 (FP_UNPACK_SEMIRAW_SP): Likewise.
6556 (FP_PACK_S): Likewise.
6557 (FP_PACK_SP): Likewise.
6558 (FP_PACK_SEMIRAW_S): Likewise.
6559 (FP_PACK_SEMIRAW_SP): Likewise.
6560 (_FP_SQRT_MEAT_S): Likewise.
6561 (FP_CMP_S): Likewise.
6562 (FP_CMP_EQ_S): Likewise.
6563 (FP_CMP_UNORD_S): Likewise.
6564 (FP_TO_INT_S): Likewise.
6565 (FP_FROM_INT_S): Likewise.
6566
6567 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6568
6569 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6570 (FP_EX_INVALID_IMZ): Likewise.
6571 (FP_EX_INVALID_IMZ_FMA): Likewise.
6572 (FP_EX_INVALID_ISI): Likewise.
6573 (FP_EX_INVALID_ZDZ): Likewise.
6574 (FP_EX_INVALID_IDI): Likewise.
6575 (FP_EX_INVALID_SQRT): Likewise.
6576 (FP_EX_INVALID_CVI): Likewise.
6577 (FP_EX_INVALID_VC): Likewise.
6578 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6579 "invalid" exceptions.
6580 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6581 (_FP_ADD_INTERNAL): Likewise.
6582 (_FP_MUL): Likewise.
6583 (_FP_FMA): Likewise.
6584 (_FP_DIV): Likewise.
6585 (_FP_CMP_CHECK_NAN): Likewise.
6586 (_FP_SQRT): Likewise.
6587 (_FP_TO_INT): Likewise.
6588 (FP_EXTEND): Likewise.
6589
6590 2014-10-09 Allan McRae <allan@archlinux.org>
6591
6592 * po/fr.po: Update French translation from translation project.
6593
6594 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #14132]
6597 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6598 of INTDEF.
6599 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6600 (__cxa_atexit): Use libc_hidden_proto.
6601 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6602
6603 [BZ #14132]
6604 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6605 declaration.
6606 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6607 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6608 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6609 [!_ISOMAC] (__iswctype_internal): Likewise.
6610 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6611 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6612 alias.
6613 (fcntl): Remove __fcntl_internal alias.
6614 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6615 __connect_internal alias.
6616 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6617 Likewise.
6618
6619 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6620 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6621 FP_DENORM_ZERO.
6622 (_FP_CHECK_FLUSH_ZERO): New macro.
6623 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6624 (_FP_CMP): Likewise.
6625 (_FP_CMP_EQ): Likewise.
6626 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6627 FP_DENORM_ZERO.
6628 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6629 (FP_TRUNC): Likewise.
6630
6631 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6632 treated as invalid conversion, not as normal exponent.
6633
6634 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6635 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6636 (_FP_CMP_EQ): Likewise.
6637 (_FP_CMP_UNORD): Likewise.
6638 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6639 (FP_CMP_EQ_D): Likewise.
6640 (FP_CMP_UNORD_D): Likewise.
6641 * soft-fp/extended.h (FP_CMP_E): Likewise.
6642 (FP_CMP_EQ_E): Likewise.
6643 (FP_CMP_UNORD_E): Likewise.
6644 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6645 (FP_CMP_EQ_Q): Likewise.
6646 (FP_CMP_UNORD_Q): Likewise.
6647 * soft-fp/single.h (FP_CMP_S): Likewise.
6648 (FP_CMP_EQ_S): Likewise.
6649 (FP_CMP_UNORD_S): Likewise.
6650 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6651 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6652 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6653 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6654 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6655 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6656 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6657 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6658 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6659 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6660 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6661 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6662 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6663 to FP_CMP_Q.
6664 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6665 FP_CMP_Q.
6666 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6667 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6668 FP_CMP_EQ_Q.
6669 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6670 FP_CMP_Q.
6671 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6672 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6673 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6674 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6675 FP_CMP_EQ_Q.
6676 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6677 FP_CMP_Q.
6678 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6679 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6680 FP_CMP_EQ_Q.
6681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6682 FP_CMP_Q.
6683 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6684 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6685 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6686 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6687 FP_CMP_EQ_Q.
6688
6689 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6690 a subnormal result, set the underflow exception if trapping on
6691 underflow is enabled.
6692 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6693 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6694 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6695 redefine to 0.
6696 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6697 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6698 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6699 * soft-fp/extendxftf2.c (__extendxftf2): Use
6700 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6701
6702 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6703 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6704 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6705 FP_HANDLE_EXCEPTIONS.
6706 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6707 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6708 FP_HANDLE_EXCEPTIONS.
6709 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6710 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6711 FP_HANDLE_EXCEPTIONS.
6712 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6713 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6714 FP_HANDLE_EXCEPTIONS.
6715
6716 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6717
6718 [BZ #14132]
6719 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6720 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6721 use INTUSE.
6722 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6723 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6724 Remove alias.
6725 (__adjtimex): Define using libc_hidden_ver.
6726 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6727 Remove declaration.
6728 (ntp_gettime): Call __adjtimex directly.
6729 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6730 Remove declaration.
6731 (ntp_gettimex): Call __adjtimex directly.
6732 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6733 __adjtimex_internal alias.
6734
6735 2014-10-08 Roland McGrath <roland@hack.frob.com>
6736
6737 [BZ #17460]
6738 * nscd/nscd.c (more_help): Rewrite list of tables collection
6739 using xstrdup and asprintf.
6740
6741 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6742
6743 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6744 Roland McGrath <roland@hack.frob.com>
6745
6746 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6747 (do_lookup_unique): ... local function 'enter' here; update callers.
6748
6749 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6750
6751 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6752 compat_symbol calls on [SHARED].
6753 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6754 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6755 Remove.
6756 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6757 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6758 (oldsetrlimit): Remove.
6759 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6761 (lchown): New syscall entry.
6762 (oldsetrlimit): Remove.
6763 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6765 (oldsetrlimit): Remove.
6766 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6767
6768 [BZ #14138]
6769 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6770 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6771 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6772 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6773 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6774 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6775 (fchown): Likewise.
6776 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6777 (fchown): Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6779 Likewise.
6780
6781 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782
6783 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6784 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6785 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6786 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6787 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6788 Likewise.
6789 (__old_sem_post): Likewise.
6790
6791 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6792
6793 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6794 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6795 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6796 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6797 Use INLINE_VSYSCALL macro.
6798 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6799 __vdso_clock_gettime.
6800 * sysdeps/unix/sysv/linux/tile/init-first.c
6801 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6802 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6803 __vdso_clock_gettime.
6804
6805 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6806 to set up frame more cleanly.
6807
6808 * sysdeps/tile/memcmp.c: New file.
6809
6810 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6811
6812 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6813 * sysdeps/tile/tilegx/strcasestr.c: New file.
6814 * sysdeps/tile/tilegx/strnlen.c: New file.
6815 * sysdeps/tile/tilegx/strstr.c: New file.
6816
6817 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6818
6819 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6820
6821 * nptl/tst-setuid3.c: Write errors to stdout.
6822
6823 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6824
6825 * elf/dl-deps.c
6826 (preload): New functions broken out of _dl_map_object_deps.
6827 (_dl_map_object_deps): Remove a nested function. Update call sites.
6828
6829 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6830
6831 [BZ #14138]
6832 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6833 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6834
6835 2014-10-01 Steve Ellcey <sellcey@mips.com>
6836
6837 * sysdeps/mips/strcmp.S: New.
6838
6839 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6840
6841 [BZ #14138]
6842 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6843 (linkat): Likewise.
6844 (mkdirat): Likewise.
6845 (readlinkat): Likewise.
6846 (renameat): Likewise.
6847 (symlinkat): Likewise.
6848 (unlinkat): Likewise.
6849 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6850 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6851 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6852 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6853 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6854 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6855 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6856
6857 2014-09-30 Will Newton <will.newton@linaro.org>
6858
6859 * math/math.h: Define long double math functions if
6860 _LIBC_TEST is defined.
6861 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6862
6863 * localedata/Makefile: Move assignment to tests-special
6864 into an ifdef testing run-built-tests.
6865 * timezone/Makefile: Likewise.
6866
6867 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6868
6869 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6870 with $(BASH) not $(SHELL).
6871
6872 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6873 Matthew LeGendre <legendre1@llnl.gov>
6874
6875 [BZ #17411]
6876 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6877 l_reloc_result.
6878
6879 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6880
6881 * stdio-common/printf_fp.c
6882 (hack_digit): New function, broken out of ...
6883 (__printf_fp): ... local function here. Update call sites.
6884 hack_digit now takes an additional parameter that is a pointer
6885 to a struct of the referenced locals. Those locals moved inside
6886 the struct and references updated.
6887
6888 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6889
6890 * aclocal.m4: Require autoconf 2.69.
6891 * configure: Regenerated.
6892 * sysdeps/aarch64/configure: Likewise.
6893 * sysdeps/alpha/configure: Likewise.
6894 * sysdeps/arm/armv7/configure: Likewise.
6895 * sysdeps/arm/configure: Likewise.
6896 * sysdeps/ia64/configure: Likewise.
6897 * sysdeps/mach/configure: Likewise.
6898 * sysdeps/mips/configure: Likewise.
6899 * sysdeps/s390/configure: Likewise.
6900 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6902
6903 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6904 file.
6905 * sysdeps/ia64/configure.ac: Likewise.
6906
6907 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6908
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6910 specify symbol version for ld.so. Do not include entry for
6911 libpthread.
6912 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6913 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6914 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6915
6916 [BZ #14171]
6917 * Makeconfig [$(build-shared) = yes]
6918 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6919 makefiles.
6920 [$(build-shared) = yes && $(soversions.mk-done) = t]
6921 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6922 [$(build-shared) = yes && $(soversions.mk-done) = t]
6923 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6924 to Makerules.
6925 [$(build-shared) = yes && $(soversions.mk-done) = t]
6926 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6927 here.
6928 [$(build-shared) = yes && $(soversions.mk-done) = t]
6929 (common-generated): Don't append gnu/lib-names.h and
6930 gnu/lib-names.stmp here.
6931 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6932 (lib-names-h-abi): New variable.
6933 [$(build-shared) = yes && $(soversions.mk-done) = t]
6934 (lib-names-stmp-abi): Likewise.
6935 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6936 abi-variants] (before-compile): Append
6937 $(common-objpfx)$(lib-names-h-abi).
6938 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6939 abi-variants] (common-generated): Append gnu/lib-names.h.
6940 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6941 abi-variants] (install-others-nosubdir): Depend on
6942 $(inst_includedir)/$(lib-names-h-abi).
6943 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6944 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6945 [$(build-shared) = yes && $(soversions.mk-done) = t]
6946 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6947 [$(build-shared) = yes && $(soversions.mk-done) = t]
6948 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6949 [$(build-shared) = yes && $(soversions.mk-done) = t]
6950 (common-generated): Append $(lib-names-h-abi) and
6951 $(lib-names-stmp-abi).
6952 * scripts/lib-names.awk: Do not handle multi being set.
6953 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6954 Remove variable.
6955 (abi-lp64_be-ld-soname): Likewise.
6956 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6957 Likewise.
6958 (abi-hard-ld-soname): Likewise.
6959 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6960 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6961 Remove variable.
6962 (abi-o32_hard-ld-soname): Likewise.
6963 (abi-o32_soft_2008-ld-soname): Likewise.
6964 (abi-o32_hard_2008-ld-soname): Likewise.
6965 (abi-n32_soft-ld-soname): Likewise.
6966 (abi-n32_hard-ld-soname): Likewise.
6967 (abi-n32_soft_2008-ld-soname): Likewise.
6968 (abi-n32_hard_2008-ld-soname): Likewise.
6969 (abi-n64_soft-ld-soname): Likewise.
6970 (abi-n64_hard-ld-soname): Likewise.
6971 (abi-n64_soft_2008-ld-soname): Likewise.
6972 (abi-n64_hard_2008-ld-soname): Likewise.
6973 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6974 Likewise.
6975 (abi-64-v2-ld-soname): Likewise.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6977 ld.so entries.
6978 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6979 variable.
6980 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6981 entry.
6982 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6983 variable.
6984 (abi-64-ld-soname): Likewise.
6985 (abi-x32-ld-soname): Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6987 entry.
6988 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6989
6990 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6991
6992 [BZ #14138]
6993 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6994 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6995 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6998 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6999 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7000 syscall entry for GLIBC_2.2 symbol version.
7001 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7002 Likewise.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7004 (setrlimit): Likewise.
7005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7006 Likewise.
7007
7008 2014-09-23 Will Newton <will.newton@linaro.org>
7009
7010 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7011 _LINUX_ARM_SYSDEP_H include guard too.
7012 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7013 define.
7014
7015 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7016
7017 * sysdeps/unix/sysv/linux/eventfd.c:
7018 Make first argument unsigned.
7019 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7020 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7021
7022 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7023
7024 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7025 * socket/sys/socket.h: Likewise
7026 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7027
7028 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7029
7030 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7031
7032 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7033
7034 * time/tst-ftime.c: New test.
7035 * time/Makefile (tests): Add tst-ftime.
7036
7037 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7038
7039 * soft-fp/extended.h: Fix comment formatting.
7040 * soft-fp/op-1.h: Likewise.
7041 * soft-fp/op-2.h: Likewise.
7042 * soft-fp/op-4.h: Likewise.
7043 * soft-fp/op-8.h: Likewise.
7044 * soft-fp/op-common.h: Likewise.
7045 * soft-fp/soft-fp.h: Likewise.
7046
7047 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7048
7049 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7050
7051 [BZ #6652]
7052 * Makeconfig (soversions-default-setname): Remove variable.
7053 ($(common-objpfx)soversions.i): Don't pass default_setname to
7054 soversions.awk.
7055 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7056 oldest_abi to abi-versions.awk.
7057 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7058 * config.make.in (oldest-abi): Remove variable.
7059 * configure.ac (--enable-oldest-abi): Remove configure option.
7060 * configure: Regenerated.
7061 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7062 text.
7063 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7064 * scripts/soversions.awk: Do not handle default_setname variable.
7065 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7066 variable.
7067 * sysdeps/mach/hurd/configure: Regenerated.
7068 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7069 variable.
7070 * sysdeps/unix/sysv/linux/configure: Regenerated.
7071
7072 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7073
7074 * elf/Makefile (CFLAGS-interp.c): Remove.
7075 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7076 path string.
7077 * elf/interp.c: Include generated runtime-linker.h
7078
7079 * Makerules (lib%.so): Don't include $(+interp) in
7080 prerequisites.
7081 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7082 * dlfcn/eval.c: Remove file.
7083
7084 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7085 macros.
7086
7087 [BZ #17266]
7088 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7089 4.2 and newer.
7090
7091 [BZ #17370]
7092 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7093
7094 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7095 Jakub Jelinek <jakub@redhat.com>
7096
7097 [BZ #17266]
7098 * libio/stdio.h: Check definition of __fortify_function
7099 instead of __extern_always_inline to include bits/stdio2.h.
7100 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7101 check if __extern_always_inline is defined.
7102 [__USE_MISC || __USE_XOPEN]: Likewise.
7103 [__USE_ISOC99] Likewise.
7104 * misc/sys/cdefs.h (__fortify_function): Define only if
7105 __extern_always_inline is defined.
7106 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7107 __extern_always_inline and __extern_inline only for g++-4.3
7108 and newer or a compatible gcc.
7109
7110 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7111
7112 [BZ #17371]
7113 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7114 last change to handle zero prefix length.
7115
7116 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7117
7118 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7119 _SC_REGEX_VERSION.
7120
7121 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7122 _POSIX_RAW_SOCKETS.
7123
7124 2014-09-13 Allan McRae <allan@archlinux.org>
7125
7126 * po/ru.po: Update Russian translation from translation project.
7127
7128 2014-09-12 Roland McGrath <roland@hack.frob.com>
7129
7130 * locale/programs/locale.c (show_locale_vars): Inline local function
7131 into its sole call site. Clean up some style nits.
7132 (print_item): New function, broken out of ...
7133 (show_info): ... local function here. Clean up style nits.
7134
7135 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7136 out of ...
7137 (set_class_defaults): ... local function set_default here.
7138 Define set_default as a macro locally to pass constant parameters.
7139 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7140 rather than a shared local.
7141
7142 * stdlib/rpmatch.c (try): New function, broken out of ...
7143 (rpmatch): ... local function here. Also, prototypify definition.
7144
7145 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7146
7147 * scripts/soversions.awk: Do not handle configuration names.
7148 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7149 vendor and os variables to soversions.awk.
7150 * configure.ac: Do not modify gnu-* host_os.
7151 * configure: Regenerated
7152 * shlib-versions: Remove first column with configuration names.
7153 * nptl/shlib-versions: Likewise.
7154 * nptl_db/shlib-versions: Likewise.
7155 * sysdeps/hppa/shlib-versions: Likewise.
7156 * sysdeps/m68k/shlib-versions: Likewise.
7157 * sysdeps/mach/hurd/shlib-versions: Likewise.
7158 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7159 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7160 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7161 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7162 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7163 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7164 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7165 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7167 Likewise.
7168 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7169 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7170 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7173 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7174 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7175 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7176
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7178 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7180 Regenerated.
7181 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7183 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7184
7185 * shlib-versions: Remove OS-specific entries. Moved to files in
7186 sysdeps.
7187 * sysdeps/mach/hurd/shlib-versions: New file.
7188 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7189
7190 * nptl/shlib-versions: Remove architecture-specific entries.
7191 Moved to files in sysdeps.
7192 * shlib-versions: Likewise.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7194 file.
7195 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7196 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7198 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7199
7200 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7201 (UDP_NO_CHECK6_RX): Likewise.
7202
7203 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
7205 * sysdeps/posix/sysconf.c (__sysconf): Spell
7206 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7207
7208 2014-08-12 Florian Weimer <fweimer@redhat.com>
7209
7210 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7211 loading.
7212 * iconv/Versions (__gconv_transliterate): Export for use from
7213 gconv modules.
7214 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7215 (struct __gconv_trans_data, __gconv_trans_fct,
7216 __gconv_trans_context_fct, __gconv_trans_query_fct,
7217 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7218 definitions.
7219 (struct __gconv_step_data): Remove __trans member.
7220 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7221 longer hidden. Remove unused trans_data argument.
7222 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7223 (__gconv_translit_find): Remove declaration.
7224 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7225 prototype.
7226 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7227 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7228 trans_data argument. Add hidden definition.
7229 (__gconv_translit_find): Remove.
7230 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7231 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7232 * iconv/skeleton.c: Remove transliteration initialization.
7233 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7234 __gconv_step_data initialization.
7235 * libio/iofwide.c (__libio_translit_): Remove.
7236 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7237 * wcsmbs/btowc.c (__btowc): Likewise.
7238 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7239 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7240 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7241 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7242 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7243 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7244 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7245 * wcsmbs/wctob.c (wctob): Likewise.
7246
7247 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7248
7249 [BZ #16194]
7250 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7251 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7252 register usage.
7253 * sysdeps/x86/Makefile: Adjust.
7254
7255 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7256 Roland McGrath <roland@hack.frob.com>
7257
7258 * locale/weight.h: Add include guard.
7259 (findidx): Make static rather than auto; take new parameters
7260 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7261 * locale/weightwc.h: Likewise.
7262 * posix/fnmatch_loop.c
7263 (FCT): Change type of EXTRA from int32_t to wint_t.
7264 Don't include either header inside the function.
7265 Call FINDIDX rather than findidx, and pass new arguments.
7266 #undef FINDIDX at the end of the file.
7267 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7268 FINDIDX before including fnmatch_loop.c for the non-wide version.
7269 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7270 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7271 for the wide version.
7272 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7273 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7274 Pass new arguments to findidx.
7275 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7276 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7277 Don't #include it inside the function. Pass new arguments to findidx.
7278 * posix/regex_internal.h
7279 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7280 (re_string_elem_size_at): Don't #include it inside the function.
7281 Pass new arguments to findidx.
7282 * string/strcoll_l.c: #include WEIGHT_H at top level.
7283 (get_next_seq): Don't #include it inside the function.
7284 Pass new arguments to findidx.
7285 (get_next_seq_nocache): Likewise.
7286 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7287 (STRXFRM): Don't #include it inside the function.
7288 Pass new arguments to findidx.
7289
7290 2014-09-11 Florian Weimer <fweimer@redhat.com>
7291
7292 [BZ #17344]
7293 * malloc/malloc.c (unlink): Turn asserts into a call to
7294 malloc_printerr.
7295
7296 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7297
7298 [BZ #17370]
7299 * libio/wfileops (do_ftell_wide): Free OUT.
7300
7301 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7302
7303 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7304
7305 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 [BZ #17363]
7308 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7309 group if the current group is empty.
7310
7311 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312
7313 * benchtests/bench-memset.c (test_main): Add more test from size
7314 from 32 to 512 bytes.
7315 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7316 Add POWER8 memset object.
7317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7318 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7319 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7320 implementation.
7321 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7322 Likewise.
7323 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7324 multiarch POWER8 memset optimization.
7325 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7326 POWER8 memset optimization.
7327
7328 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7329 Remove bzero multiarch objects.
7330 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7333 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7334 Remove define.
7335 [__bzero]: Redefine to specific name.
7336 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7337 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7338 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7339 define.
7340 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7341 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7342
7343 2014-09-10 Florian Weimer <fweimer@redhat.com>
7344
7345 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7346 warnings into errors.
7347
7348 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7349 __cxa_thread_atexit_impl prototype.
7350
7351 2014-09-09 Steve Ellcey <sellcey@mips.com>
7352
7353 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7354 Fix capitalization of error message.
7355
7356 2014-09-09 Steve Ellcey <sellcey@mips.com>
7357
7358 * sysdeps/mips/preconfigure: Modify ABI tests.
7359
7360 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7361
7362 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7363
7364 2014-09-07 Roland McGrath <roland@hack.frob.com>
7365 Carlos O'Donell <carlos@systemhalted.org>
7366
7367 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7368 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7369 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7370 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7371 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7372 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7373 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7374 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7375 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7376 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7377 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7378 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7379 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7380 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7381 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7382 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7383 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7384 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7385 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7386 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7387 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7388 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7389 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7390 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7391 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7392 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7393 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7394 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7395 Deconditionalize the code that was previously under [RESET_PID].
7396 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7397 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7398 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7399 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7400 include sysdep.h.
7401
7402 2014-09-08 Allan McRae <allan@archlinux.org>
7403
7404 * version.h (RELEASE): Set to "development".
7405 (VERSION): Set to "2.20.90"
7406
7407 2014-09-07 Allan McRae <allan@archlinux.org
7408
7409 * version.h (RELEASE): Set to "stable".
7410 (VERSION): Set to "2.20"
7411 * include/features.h (__GLIBC_MINOR__): Set to 20.
7412
7413 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7414 Liebler.
7415
7416 * po/ko.po: Update Korean translation from translation project.
7417
7418 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7419
7420 [BZ #17354]
7421 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7422 macro for handling signed relocations.
7423
7424 2014-09-03 Florian Weimer <fweimer@redhat.com>
7425
7426 [BZ #17325]
7427 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7428 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7429 assert.
7430 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7431 * iconvdata/ibm935.c (BODY): Likewise.
7432 * iconvdata/ibm937.c (BODY): Likewise.
7433 * iconvdata/ibm939.c (BODY): Likewise.
7434 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7435 assert.
7436 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7437 script.
7438 * iconvdata/run-iconv-test.sh: New test loop for checking for
7439 decoder crashers.
7440
7441 2014-09-02 Khem Raj <raj.khem@gmail.com>
7442
7443 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7444 libm_hidden_ver.
7445
7446 2014-09-01 Allan McRae <allan@archlinux.org>
7447
7448 * po/eo.po: Update Esperanto translation from translation project.
7449
7450 * po/ca.po: Update Catalan translation from translation project.
7451
7452 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7453
7454 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7455 __proc_dostop call.
7456
7457 2014-08-27 Mark Wielaard <mjw@redhat.com>
7458
7459 [BZ #17319]
7460 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7461 to call set_thread_area instead of hand written asm.
7462 (__NR_set_thread_area): Removed define.
7463 (TLS_FLAG_WRITABLE): Likewise.
7464 (__ASSUME_SET_THREAD_AREA): Remove check.
7465 (TLS_EBX_ARG): Remove define.
7466 (TLS_LOAD_EBX): Likewise.
7467
7468 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7469
7470 Simplify atomicity of socket creation in bind.
7471
7472 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7473 looking up the name after linking the file.
7474
7475 2014-08-27 Allan McRae <allan@archlinux.org>
7476
7477 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7478
7479 2014-08-26 Florian Weimer <fweimer@redhat.com>
7480
7481 [BZ #17187]
7482 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7483 trans_compare, open_translit, __gconv_translit_find):
7484 Remove module loading code.
7485
7486 2014-08-26 Allan McRae <allan@archlinux.org>
7487
7488 * po/vi.po: Update Vietnamese translation from translation project.
7489
7490 * po/uk.po: Update Ukrainian translation from translation project.
7491
7492 * po/fr.po: Update French translation from translation project.
7493
7494 * po/ru.po: Update Russian translation from translation project.
7495
7496 * po/pl.po: Update Polish translation from translation project.
7497
7498 * po/cs.po: Update Czech translation from translation project.
7499
7500 * po/de.po: Update German translation from translation project.
7501
7502 * po/bg.po: Update Bulgarian translation from translation project.
7503
7504 * po/sv.po: Update Sweedish translation from translation project.
7505
7506 * po/nl.po: Update Dutch translation from translation project.
7507
7508 * po/es.po: Update Spanish translation from translation project.
7509
7510 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
7512 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7513
7514 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7515 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7516 (CPPFLAGS-iconvconfig): Likewise.
7517 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7518
7519 * include/libc-symbols.h: Remove unnecessary check for
7520 NOT_IN_libc.
7521 * nptl/pthreadP.h: Likewise.
7522 * sysdeps/aarch64/setjmp.S: Likewise.
7523 * sysdeps/alpha/setjmp.S: Likewise.
7524 * sysdeps/arm/sysdep.h: Likewise.
7525 * sysdeps/i386/setjmp.S: Likewise.
7526 * sysdeps/m68k/setjmp.c: Likewise.
7527 * sysdeps/posix/getcwd.c: Likewise.
7528 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7530 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7531 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7532 * sysdeps/sh/sh3/setjmp.S: Likewise.
7533 * sysdeps/sh/sh4/setjmp.S: Likewise.
7534 * sysdeps/unix/alpha/sysdep.h: Likewise.
7535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7536 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7537 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7538 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7543 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7546 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7548 * sysdeps/x86_64/setjmp.S: Likewise.
7549
7550 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7551
7552 [BZ #17263]
7553 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7554 <stdint.h>.
7555 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7556 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7557
7558 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7559
7560 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7561
7562 [BZ #17262]
7563 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7564 and __x86_64__ when disabling x87 inline functions.
7565
7566 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 [BZ #17259]
7569 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7570 asm statement with __cpuid_count.
7571
7572 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7573
7574 * configure.ac: Change __ehdr_start code to dereference the struct.
7575 Run readelf on the output to look for relocations.
7576 * configure: Regenerated.
7577
7578 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7579
7580 [BZ #17261]
7581 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7582 value to 0.
7583 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7584
7585 2014-08-12 Roland McGrath <roland@hack.frob.com>
7586
7587 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7588
7589 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7590
7591 [BZ #16892]
7592 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7593 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7594
7595 2014-08-12 Sean Anderson <seanga2@gmail.com>
7596
7597 * malloc/malloc.c: Fix typo in comment.
7598
7599 2014-08-09 Allan McRae <allan@archlinux.org>
7600
7601 * Regenerate libc.po.
7602
7603 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7604
7605 * intl/tst-gettext2.sh: Check every lang file for creation.
7606
7607 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7608
7609 * sysdeps/aarch64/fpu/math_private.h
7610 (libc_feholdsetround_noex_aarch64_ctx): New function.
7611
7612 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7613
7614 * sysdeps/arm/armv6/strcpy.S (strcpy):
7615 Fix performance issue in misaligned cases.
7616
7617 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7618
7619 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7620 Move definition from termios.h.
7621 (struct termio): Likewise.
7622 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7623 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7624 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7625 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7626 Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7628 Move definition to ioctl-types.h
7629 (struct termio): Likewise.
7630 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7631 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7632 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7633 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7634 Likewise.
7635
7636 2014-08-05 Richard Henderson <rth@redhat.com>
7637
7638 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7639 exceptions.
7640 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7641 Add fraiseexcpt.
7642 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7643 Use __feraiseexcept.
7644 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7645 Protect libm symbols with IS_IN_libm.
7646
7647 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7648
7649 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7650
7651 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7652
7653 2014-08-04 Will Newton <will.newton@linaro.org>
7654
7655 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7656 file.
7657
7658 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7659
7660 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7661 variants for each function.
7662
7663 2014-08-04 Roland McGrath <roland@hack.frob.com>
7664
7665 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7666 appended ...
7667 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7668 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7669 appended ...
7670 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7671 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7672 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7673 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7674 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7675 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7676 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7677 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7678 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7679 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7680 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7681 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7682 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7683 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7684 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7686 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7687 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7688 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7692 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7693 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7694 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7695 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7696 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7697 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7698 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7699 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7700 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7702 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7703 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7704 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7705 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7706 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7707 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7708 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7709 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7710 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7711 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7712 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7713 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7714 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7715 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7716 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7717 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7718 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7719 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7720 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7721 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7722 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7723 Update #include.
7724 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7725 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7726
7727 2014-08-04 Roland McGrath <roland@hack.frob.com>
7728
7729 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7730 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7731 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7732 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7733 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7734 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7735
7736 2014-08-04 Roland McGrath <roland@hack.frob.com>
7737
7738 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7739 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7740 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7741 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7742
7743 2014-08-04 Roland McGrath <roland@hack.frob.com>
7744
7745 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7746 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7747 (__libc_vfork): Define function under this name.
7748 (__vfork): Define as an alias.
7749 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7750 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7751
7752 2014-08-04 Roland McGrath <roland@hack.frob.com>
7753
7754 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7755 that was previously under [RESET_PID].
7756 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7757
7758 2014-08-04 Andreas Schwab <schwab@suse.de>
7759
7760 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7761
7762 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7763
7764 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7765 (main): Likewise.
7766
7767 2014-08-01 Roland McGrath <roland@hack.frob.com>
7768
7769 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7770
7771 2014-08-01 Richard Henderon <rth@redhat.com>
7772
7773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7774 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7775 typo in exact zero test.
7776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7779
7780 2014-08-01 Roland McGrath <roland@hack.frob.com>
7781
7782 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7783 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7784 * sysdeps/arm/sysdep.h: ... here.
7785 [!__ASSEMBLER__]: Include <stdint.h>.
7786
7787 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7788
7789 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7790 (HAVE_WCTYPE_H): Likewise.
7791 (HAVE_ISWCTYPE): Likewise.
7792 (ENABLE_NLS): Likewise.
7793 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7794 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7795
7796 * posix/regex_internal.c: Check if DEBUG is defined and is
7797 set.
7798
7799 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7800 (HAVE_MBSRTOWCS): Likewise.
7801 * posix/fnmatch.c: Include string.h unconditionally.
7802
7803 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7804
7805 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7806 reversal.
7807
7808 2014-07-31 Roland McGrath <roland@hack.frob.com>
7809
7810 * sysdeps/generic/safe-fatal.h: New file.
7811 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7812 * nptl/forward.c: Include it.
7813 (__pthread_unwind): Use __safe_fatal as default action, rather
7814 than a bogus use of INTERNAL_SYSCALL that could never work.
7815
7816 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7817 * configure.ac (libc_cv_builtin_trap): New test.
7818 * configure: Regenerated.
7819 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7820 (ABORT_INSTRUCTION): Define using __builtin_trap.
7821
7822 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7823 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7824 * sysdeps/nptl/nptl-signals.h: New file.
7825 * nptl/pthreadP.h: Include <nptl-signals.h>.
7826
7827 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7828
7829 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7830 (ONE_DIRECTION): Define.
7831 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7832 (ONE_DIRECTION): Define.
7833 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7834 (ONE_DIRECTION): Define.
7835
7836 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7837
7838 * sysdeps/s390/Makefile: Delete file.
7839 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7840 * sysdeps/s390/__longjmp.c: Delete file.
7841 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7842 Remove fields __flags and __reserved.
7843 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7844 and add versioning.
7845 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7846 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7847 * sysdeps/s390/rtld-setjmp.S: Likewise.
7848 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7849 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7850 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7851 * sysdeps/s390/s390-32/setjmp.S: ... here.
7852 Add versioning.
7853 (__sigsetjmp): Remove setting __flags field.
7854 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7855 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7856 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7857 * sysdeps/s390/s390-64/setjmp.S: ... here.
7858 Add versioning.
7859 (__sigsetjmp): Remove setting __flags field.
7860 * sysdeps/s390/setjmp.S: Delete file.
7861 * sysdeps/s390/sigjmp.c: Likewise.
7862 * sysdeps/s390/v1-longjmp.c: Likewise.
7863 * sysdeps/s390/v1-setjmp.h: Likewise.
7864 * sysdeps/s390/v1-sigjmp.c: Likewise.
7865 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7866 Remove v1-longjmp_chk.
7867 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7868 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7869 Include debug/longjmp_chk.c and add versioning.
7870 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7871 Include nptl/pt-longjmp.c and add versioning.
7872 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7873 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7874 Include __longjmp.c.
7875 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7876 Move to ...
7877 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7878 (__getcontext): Remove setting __flags field.
7879 Add versioning.
7880 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7881 Don't restore upper high grps.
7882 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7883 Likewise.
7884 (__swapcontext): Remove setting uc_flags field.
7885 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7886 Delete file.
7887 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7888 Include __longjmp.c.
7889 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7890 Move to ...
7891 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7892 (__getcontext): Remove setting __flags field.
7893 Add versioning.
7894 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7895 (__swapcontext): Remove setting uc_flags field.
7896 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7897 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7898 Remove fields uc_high_gprs and __reserved.
7899 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7900 New file with reverted content.
7901 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7902 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7903 Regenerated.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7905 Regenerated.
7906
7907 2014-07-31 Andreas Schwab <schwab@suse.de>
7908
7909 * config.h.in (HAVE_IFUNC): Define to 0.
7910 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7911 definedness.
7912
7913 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7914
7915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7916 memmove-avx-unaligned, memcpy-avx-unaligned and
7917 mempcpy-avx-unaligned.
7918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7919 Add tests for AVX memcpy functions.
7920 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7921 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7922 memcpy_chk.
7923 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7924 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7925 memmove_chk.
7926 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7927 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7928 mempcpy_chk.
7929 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7930 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7931 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7932
7933 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7934
7935 [BZ #17213]
7936 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7937 powerpc64le.
7938
7939 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7940
7941 [BZ #16839]
7942 * manual/llio.texi: Add section about open file description locks.
7943 * manual/examples/ofdlocks.c: Example of open file description
7944 lock usage.
7945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7946 F_OFD_SETLK, and F_OFD_SETLKW.
7947
7948 2014-07-23 Allan McRae <allan@archlinux.org>
7949
7950 * po/es.po: Update Spanish translation from translation project.
7951
7952 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7953
7954 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7955
7956 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7957
7958 [BZ #17078]
7959 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7960 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7961 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7962
7963 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7964
7965 [BZ #17088]
7966 * math/fesetenv.c (__fesetenv)
7967 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7968 * math/feupdateenv.c (__feupdateenv)
7969 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7970
7971 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7972 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7973 (__ASSUME_SOCKETCALL): Do not define.
7974
7975 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7976 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7977 (__ASSUME_SOCKETCALL): Do not define.
7978 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7979 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7980 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7981 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7982 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7983 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7984 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7985 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7986
7987 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7988 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7989 (__ASSUME_SOCKETCALL): Do not define.
7990 (__ASSUME_IPC64): Define unconditionally.
7991 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7992 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7993 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7994 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7995 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7996 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7997 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7998 Likewise.
7999
8000 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8001 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8002 (__ASSUME_SOCKETCALL): Do not define.
8003 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8004 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8005 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8006 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8007 (__ASSUME_REQUEUE_PI): Define unconditionally.
8008 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8009 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8010 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8011 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8012 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8013 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8014
8015 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8016 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8017 (__ASSUME_SOCKETCALL): Do not define.
8018 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8019 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8020 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8021 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8022 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8023 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8024
8025 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8026 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8027 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8028 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8029 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8030 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8031 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8032 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8033 (__ASSUME_GETCPU_SYSCALL): Likewise.
8034
8035 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8036 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8037 cases for individual architectures.
8038 * sysdeps/gnu/configure: Regenerated.
8039 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8040 LIBC_SLIBDIR_RTLDDIR.
8041 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8042 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8043 LIBC_SLIBDIR_RTLDDIR.
8044 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8046 LIBC_SLIBDIR_RTLDDIR.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8048 Regenerated.
8049 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8050 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8051 file.
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8053 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8054 file.
8055 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8056 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8057 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8058 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8059
8060 * sysdeps/aarch64/shlib-versions: Move to ...
8061 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8062 * sysdeps/alpha/shlib-versions: Move to ...
8063 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8064 * sysdeps/arm/shlib-versions: Move to ...
8065 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8066 * sysdeps/hppa/shlib-versions: Move all contents except for
8067 libgcc_s entry to ...
8068 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8069 entry from ...
8070 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8071 * sysdeps/ia64/shlib-versions: Move to ...
8072 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8073 entry from ...
8074 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8075 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8076 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8077 * sysdeps/microblaze/shlib-versions: Move to ...
8078 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8079 * sysdeps/mips/shlib-versions: Move to ...
8080 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8081 entry from ...
8082 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8083 * sysdeps/tile/shlib-versions: Move to ...
8084 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8085 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8086 from ...
8087 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8089 entry from ...
8090 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8091
8092 2014-07-17 Will Newton <will.newton@linaro.org>
8093
8094 * sysdeps/arm/bits/atomic.h
8095 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8096 (__arch_compare_and_exchange_bool_16_int): Likewise.
8097 (__arch_compare_and_exchange_bool_64_int): Likewise.
8098
8099 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8100 into an #else block.
8101
8102 2014-07-16 Roland McGrath <roland@hack.frob.com>
8103
8104 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8105 just Linux configurations. Test empirically that the compiler sets
8106 __ARM_EABI__, rather than using the tuple to decide.
8107 * sysdeps/arm/preconfigure: Regenerated.
8108 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8109 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8110 contents appended ...
8111 * sysdeps/arm/configure.ac: ... here.
8112 * sysdeps/arm/configure: Regenerated.
8113
8114 2014-07-15 Roland McGrath <roland@hack.frob.com>
8115
8116 * nptl/pthread_kill.c: New file.
8117 * nptl/pthread_sigmask.c: New file.
8118 * nptl/pthread_sigqueue.c: New file.
8119
8120 * sysdeps/nptl/lowlevellock.h: New file.
8121 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8122 * sysdeps/nptl/lowlevellock-futex.h: New file.
8123
8124 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8125 Remove dead declarations.
8126
8127 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8128
8129 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8130 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8131 config-cflags-avx2.
8132 * sysdeps/x86_64/configure.ac: Likewise.
8133 * sysdeps/i386/configure: Regenerated.
8134 * sysdeps/x86_64/configure: Likewise.
8135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8136 memset-avx2 only if config-cflags-avx2 is yes.
8137 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8138 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8139 defined.
8140 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8141 only if HAVE_AVX2_SUPPORT is defined.
8142 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8143
8144 2014-07-14 Alan Modra <amodra@gmail.com>
8145
8146 [BZ #17153]
8147 * elf/elf.h (DT_PPC64_NUM): Correct value.
8148 * NEWS: Add to fixed bug list.
8149
8150 2014-07-13 Jim Meyering <meyering@fb.com>
8151
8152 [BZ 17150]
8153 regex: don't deref NULL upon heap allocation failure
8154 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8155 failure in one more place.
8156 To trigger the segfault, configure grep -with-included-regex,
8157 build it, and run these commands:
8158 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8159
8160 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8161
8162 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8163
8164 2014-07-11 Richard Henderson <rth@redhat.com>
8165
8166 * sysdeps/aarch64/libm-test-ulps: Update.
8167
8168 2014-07-10 Florian Weimer <fweimer@redhat.com>
8169
8170 [BZ #17135]
8171 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8172 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8173 (__nptl_setxid): Initialize error member. Call
8174 __nptl_setxid_error.
8175 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8176 * nptl/descr.h (struct xid_command): Add error member.
8177 * nptl/tst-setuid3.c: New file.
8178 * nptl/Makefile (tests): Add it.
8179
8180 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181
8182 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8183 New define.
8184 (__lll_trylock): Use __lll_base_trylock.
8185 (__lll_cond_trylock): Likewise.
8186
8187 2014-07-10 Roland McGrath <roland@hack.frob.com>
8188
8189 * nptl/pthread_create.c (start_thread): Use atomic_or and
8190 lll_futex_wake directly rather than lll_robust_dead.
8191 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8192 (lll_robust_dead): Macro removed.
8193 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8194 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8195 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8196 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8197 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8198 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8199 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8200 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8201 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8203 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8204 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8206 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8207 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8208
8209 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8210 Use atomic_compare_and_exchange_val_acq directly rather than
8211 lll_robust_trylock.
8212 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8213 (__lll_robust_trylock, lll_robust_trylock): Removed.
8214 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8215 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8216 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8217 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8218 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8219 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8220 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8221 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8222 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8223 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8226 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8228
8229 2014-07-02 Florian Weimer <fweimer@redhat.com>
8230
8231 * manual/locale.texi (Locale Names): New section documenting
8232 locale name syntax. Adjust menu and node chaining accordingly.
8233 (Choosing Locale): Reference Locale Names, Locale Categories.
8234 Mention setting LC_ALL=C. Reflect that name syntax is now
8235 documented.
8236 (Locale Categories): New section title. Reference Locale Names.
8237 LC_ALL is an environment variable, but not a category.
8238 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8239 description, now in Locale Name. Reference that section. Locale
8240 name syntax is now documented.
8241
8242 2014-07-02 Florian Weimer <fweimer@redhat.com>
8243
8244 [BZ #17137]
8245 * locale/findlocale.c (name_present, valid_locale_name): New
8246 functions.
8247 (_nl_find_locale): Use the loc_name variable to store name
8248 candidates. Call name_present and valid_locale_name to check and
8249 validate locale names. Return an error if the locale is invalid.
8250
8251 2014-07-02 Florian Weimer <fweimer@redhat.com>
8252
8253 * locale/setlocale.c (setlocale): Use strdup for allocating
8254 composite name copy.
8255
8256 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8257
8258 Sync up with gnulib.
8259 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8260 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8261 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8262 and _GL_ARG_NONNULL.
8263 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8264 [!_LIBC]: Include code for Windows and Cygwin.
8265 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8266 Include prototype for int strerror_r.
8267 [!_LIBC] (is_open): New function.
8268 (flush_stdout): New function.
8269 (print_errno_message): Use it.
8270 (error): Likewise.
8271 (error_at_line): Likewise.
8272 (error_tail) Add function attribute macros. Use
8273 __builtin_expect.
8274
8275 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8276
8277 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8278
8279 * io/ftw.c: Include sys/param.h unconditionally.
8280
8281 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8282
8283 [BZ #17125]
8284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8285 libc_freeres_ptr.
8286 (freecache): New function to free CACHE on exit.
8287
8288 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8289 initialization.
8290
8291 2014-07-09 David S. Miller <davem@davemloft.net>
8292
8293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8294
8295 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8296 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8297 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8298 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8299 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8300 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8301 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8302 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8303 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8304 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8305 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8306 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8307 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8308
8309 2014-07-09 Andreas Schwab <schwab@suse.de>
8310
8311 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8312 output.
8313 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8314 (do_test): Likewise.
8315
8316 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8317
8318 2014-07-09 Will Newton <will.newton@linaro.org>
8319
8320 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8321 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8322 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8323 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8324 * sysdeps/hppa/start.S (_start): Likewise.
8325
8326 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8329
8330 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8331 defined.
8332
8333 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8334
8335 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8336 after checking that it is non-NULL.
8337
8338 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8339
8340 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 * sysdeps/powerpc/memmove.c: Remove file.
8343 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8344 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8346 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8348 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8349 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8350 string memmove instead of removed powerpc one.
8351
8352 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8353 [weak_alias]: Fix compiler warning due trailing data.
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8355 [weak_alias]: Likewise.
8356 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8357 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8358
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8360 (__libc_ifunc_impl_list): Add memmove functions.
8361
8362 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8363
8364 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8365 Remove code.
8366 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8367 Likewise
8368 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8369 Likewise
8370 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8371 Likewise
8372 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8373 Likewise
8374 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8375 Likewise
8376 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8377 Likewise
8378 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8379 Likewise
8380 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8381 Likewise
8382 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8383 Likewise
8384 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8385 Likewise
8386 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8387 Likewise
8388 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8389 Likewise
8390 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8391 Likewise
8392 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8393 Likewise
8394 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8395 Likewise
8396 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8397 Likewise
8398
8399 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8400
8401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8402 to avoid alignment traps in non-cacheable memory.
8403 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8404
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8406 multiarch objects.
8407 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8408 file: multiarch power7 memmove.
8409 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8410 multiarch default memmove.
8411 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8412 multiarch memove for powerpc32/power4.
8413
8414 * string/bcopy.c: Use full path to include memmove.c.
8415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8416 multiarch objects.
8417 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8418 bcopy for powerpc64.
8419 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8420 bcopy for powerpc64.
8421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8422 and memmove implementations.
8423 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8424 optimized multiarch memmove for POWER7/powerpc64.
8425 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8426 default multiarch memmove for powerpc64.
8427 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8428 multiarch for powerpc64.
8429 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8430 for POWER7/powerpc64.
8431 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8432 memmove for POWER7/powerpc64.
8433
8434 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8435 glibc default one.
8436
8437 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8438 __ELF_NATIVE_CLASS equal to 64.
8439
8440 2014-07-07 Roland McGrath <roland@hack.frob.com>
8441
8442 * sysdeps/nptl/lowlevellock.h: File removed.
8443
8444 * NEWS: NPTL is no longer an add-on!
8445 * nptl/internaltypes.h: Moved ...
8446 * sysdeps/nptl/internaltypes.h: ... here.
8447 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8448 * sysdeps/nptl/fork.c: Likewise.
8449 * sysdeps/nptl/gai_misc.h: Likewise.
8450 * sysdeps/nptl/librt-cancellation.c: Likewise.
8451 * sysdeps/nptl/jmp-unwind.c: Likewise.
8452 * sysdeps/nptl/setxid.h: Likewise.
8453 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8454 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8455 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8456 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8457 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8458 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8459 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8460 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8461 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8462 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8463 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8464 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8465 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8466 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8467 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8468 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8469 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8470 * nptl/Makeconfig: Moved ...
8471 * sysdeps/nptl/Makeconfig: ... here.
8472 * nptl/configure: File removed.
8473 * nptl/ANNOUNCE: File removed.
8474 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8475 * sysdeps/unix/sysv/linux/configure: Regenerated.
8476
8477 * nptl/Makefile (routines): Add libc_pthread_init,
8478 libc_multiple_threads, register-atfork and unregister-atfork.
8479 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8480 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8481 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8482 pthread-pi-defines.sym, structsem.sym.
8483 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8484 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8485 [$(subdir) = nptl] (tests): Add tst-setgetname.
8486 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8487 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8488 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8489 [!LIBC_SIGACTION]: Remove aliases.
8490 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8491 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8492 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8493 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8494 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8495 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8497 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8499 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8500 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8501 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8502 __libc_allocate_rtsig_private.
8503 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8504 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8505 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8506 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8507 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8508 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8509 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8510 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8511 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8512 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8513 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8514 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8515 * nptl/internaltypes.h: ... here.
8516 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8517 * sysdeps/nptl/jmp-unwind.c: ... here.
8518 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8519 * nptl/libc-lowlevellock.c: ... here.
8520 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8521 * nptl/libc_multiple_threads.c: ... here.
8522 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8523 * nptl/libc_pthread_init.c: ... here.
8524 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8525 * nptl/lowlevelbarrier.sym: ... here.
8526 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8527 * nptl/lowlevelcond.sym: ... here.
8528 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8529 * nptl/lowlevellock.c: ... here.
8530 * nptl/lowlevellock.h: Moved ...
8531 * sysdeps/nptl/lowlevellock.h: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8533 * nptl/lowlevelrobustlock.c: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8535 * nptl/lowlevelrobustlock.sym: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8537 * nptl/lowlevelrwlock.sym: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8539 * nptl/pt-fork.c: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8541 * nptl/pthread-pi-defines.sym: ... here.
8542 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8543 * nptl/pthread_attr_getaffinity.c: ... here.
8544 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8545 * nptl/pthread_attr_setaffinity.c: ... here.
8546 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8547 * nptl/pthread_mutex_cond_lock.c: ... here.
8548 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8549 Update #include.
8550 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8551 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8552 * nptl/pthread_once.c: ... here, replacing old file.
8553 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8554 * nptl/pthread_yield.c: ... here.
8555 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8556 * nptl/register-atfork.c: ... here.
8557 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8558 * nptl/sem_post.c: ... here.
8559 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8560 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8561 * nptl/sem_timedwait.c: ... here.
8562 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8563 * nptl/sem_trywait.c: ... here.
8564 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8565 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8566 * nptl/sem_wait.c: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8568 * nptl/structsem.sym: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8570 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8571 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8572 * nptl/unregister-atfork.c: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8574 * nptl/unwindbuf.sym: ... here.
8575 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8576 * sysdeps/nptl/fork.c: ... here.
8577 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8578 * sysdeps/nptl/fork.h: ... here.
8579 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8580 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8581 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8582 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8583 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8584 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8585 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8586 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8587 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8588 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8589 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8590 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8591 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8592 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8593 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8594 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8595 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8596 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8597 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8598 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8599 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8601 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8602 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8603 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8604 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8605 * sysdeps/unix/sysv/linux/raise.c: ... here.
8606 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8607 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8608 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8609 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8610 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8611 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8612 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8613 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8614 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8615 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8616 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8617 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8618 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8619 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8620 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8621
8622 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8623
8624 * sysdeps/generic/memcopy.h: Add comment for
8625 MEMCPY_OK_FOR_FWD_MEMMOVE.
8626
8627 2014-07-04 Will Newton <will.newton@linaro.org>
8628
8629 * string/memchr.c: Merge from gnulib.
8630 [_LIBC]: Remove conditionals.
8631 (__ptr_t): Remove define.
8632 (LONG_MAX_32_BITS): Likewise.
8633 (LONG_MAX): Likewise.
8634 (MEMCHR): Use ANSI prototype and optimize algorithm.
8635
8636 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8637
8638 2014-07-03 Roland McGrath <roland@hack.frob.com>
8639
8640 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8641 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8642
8643 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8644 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8645 in a bare environment with no <stdlib.h> installed.
8646 * sysdeps/nptl/configure: Regenerated.
8647
8648 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8649
8650 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8651 AC_EGREP_CPP for kernel header checks, so they only succeed if
8652 including <linux/version.h> actually works right.
8653 * sysdeps/unix/sysv/linux/configure: Regenerated.
8654
8655 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8656 value so it's not diagnosed as unused.
8657
8658 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8659 thing) with "ifeq ($(subdir),rt)".
8660
8661 2014-07-03 Richard Henderson <rth@redhat.com>
8662
8663 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8664 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8665 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8666
8667 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8668 (math_force_eval): New.
8669
8670 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8671 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8672
8673 * sysdeps/alpha/fpu/s_round.c: Remove file.
8674 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8675
8676 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8677 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8678 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8679 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8680 (_dl_start, print_statistics): Likewise.
8681 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8682 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8683
8684 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8685 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8686 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8687 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8689 (HP_SMALL_TIMING_AVAIL): Define.
8690 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8691 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8692 (HP_SMALL_TIMING_AVAIL): Define.
8693 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8694 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8695
8696 * sysdeps/aarch64/hp-timing.h: New file.
8697
8698 * sysdeps/generic/hp-timing.h: Remove dead comment.
8699 * sysdeps/generic/hp-timing-common.h: New file.
8700 * sysdeps/alpha/hp-timing.h: Include it.
8701 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8702 * sysdeps/i386/i686/hp-timing.h: Likewise.
8703 * sysdeps/ia64/hp-timing.h: Likewise.
8704 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8707 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8708 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8709 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8710 (hp_timing_t): New.
8711
8712 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8713 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8714 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8715 * elf/rtld.c (_dl_start_final): Likewise.
8716 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8717 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8718 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8719 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8720 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8722 (HP_TIMING_DIFF_INIT): Remove.
8723 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8724 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8725 (HP_TIMING_DIFF_INIT): Remove.
8726 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8727 * sysdeps/i386/i686/hp-timing.c: Remove file.
8728 * sysdeps/x86_64/hp-timing.c: Remove file.
8729 * sysdeps/ia64/hp-timing.c: Remove file.
8730 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8731 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8733 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8734
8735 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8736 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8737 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8738 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8740 (HP_TIMING_ACCUM): Remove.
8741 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8742 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8743 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8744
8745 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8746 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8747 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8748 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8749 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8750 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8751 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8752 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8753
8754 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8755
8756 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8757
8758 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8759
8760 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8761
8762 Sync up with gettext.
8763 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8764 [_MSC_VER]: Include malloc.h
8765 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8766 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8767 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8768 TEMP_FAILURE_RETRY. Cast return of alloca.
8769 [!_LIBC] Call gl_rwlock_init.
8770 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8771
8772 2014-07-02 Roland McGrath <roland@hack.frob.com>
8773
8774 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8775 before checking its value.
8776
8777 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8778
8779 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8780
8781 * debug/memcpy_chk.c: Don't include pagecopy.h.
8782 * debug/mempcpy_chk.c: Likewise.
8783 * string/memcpy.c: Likewise.
8784 * string/memmove.c: Likewise.
8785 * sysdeps/powerpc/memmove.c: Likewise.
8786 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8787 definition of PAGE_COPY_FWD_MAYBE here...
8788 * sysdeps/generic/pagecopy.h: ... from here.
8789 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8790
8791 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8792 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8793
8794 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8796 optimizations.
8797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8798 (__libc_ifunc_impl_list): Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8800 multiarch strcat for PPC64.
8801 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8802 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8803
8804 2014-07-02 Roland McGrath <roland@hack.frob.com>
8805
8806 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8807
8808 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
8810 * intl/loadmsgcat.c: Remove declaration of
8811 get_sysdep_segment_value.
8812 (get_sysdep_segment_value): Use ISO C style.
8813 (_nl_load_domain): Use ISO C style. Get rid of redundant
8814 semicolon. Fix typo and formatting in comment.
8815 (_nl_unload_domain): Use ISO C style.
8816
8817 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8818
8819 2014-07-02 Will Newton <will.newton@linaro.org>
8820
8821 * malloc/obstack.c: Merge from gnulib master.
8822 [HAVE_CONFIG_H]: Remove conditional code.
8823 [!_LIBC]: Include config.h.
8824 [!ELIDE_CODE]: Don't include inttypes.h, include
8825 stdint.h unconditionally.
8826 (print_and_abort): Mark as _Noreturn.
8827 (_obstack_allocated_p): Mark as __attribute_pure__.
8828 (obstack_free): Rename to __obstack_free.
8829 [!__attribute__]: Remove conditional code.
8830 * malloc/obstack.h: Merge from gnulib master.
8831 [__cplusplus]: Move conditional down.
8832 [!__attribute_pure__]: Define __attribute_pure__ here
8833 if it is not already defined.
8834 (_obstack_memory_used): Mark as __attribute_pure__.
8835 [!__obstack_free]: Define as obstack_free.
8836 [__GNUC__]: Remove check for ancient NeXT gcc.
8837
8838 2014-07-02 Will Newton <will.newton@linaro.org>
8839 Paul Eggert <eggert@cs.ucla.edu>
8840
8841 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8842
8843 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8844
8845 * resolv/gethnamaddr.c: Add comment warning that the file is
8846 not maintained.
8847
8848 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8849
8850 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8851 entries.
8852
8853 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8854 entry for aio_cancel and aio_cancel64.
8855 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8856 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8857 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8858 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8859 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8860 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8862 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8863 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8864 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8865 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8866 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8867 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8868
8869 2014-07-01 Roland McGrath <roland@hack.frob.com>
8870
8871 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8872 * nptl/pthread_mutex_lock.c: Likewise.
8873 * nptl/pthread_mutex_timedlock.c: Likewise.
8874 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8875
8876 2014-07-01 Richard henderson <rth@redhat.com>
8877
8878 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8879 (__isnan, __isnanl): Remove.
8880 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8881
8882 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8883
8884 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8885
8886 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8887
8888 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8889
8890 * resolv/nss_dns/dns-host.c (getanswer_r)
8891 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8892
8893 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8894
8895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8896 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8897 undefine.
8898 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8899 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8900
8901 2014-07-01 Roland McGrath <roland@hack.frob.com>
8902
8903 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8904 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8905
8906 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8907 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8908
8909 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8910 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8911 ... here.
8912 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8913 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8914
8915 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8916 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8917 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8918 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8919
8920 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8921 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8922 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8923 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8925 Moved ...
8926 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8927 ... here.
8928 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8931 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8932 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8933 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8935 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8937 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8939 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8941 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8942 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8943 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8944 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8947 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8948 ... here.
8949 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8952 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8953 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8954 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8955 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8956 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8957
8958 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8959
8960 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8961 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8962 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8963 Add sysdep.
8964
8965 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8966
8967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8968
8969 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8970
8971 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8972 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8973
8974 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8975
8976 * sysdeps/arm/libm-test-ulps: Regenerated.
8977
8978 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8979 Roland McGrath <roland@hack.frob.com>
8980
8981 * test-skeleton.c (signal_handler): Kill the whole process group
8982 before killing the child individually.
8983 (main): Report any failure on `setpgid'.
8984
8985 2014-06-30 Roland McGrath <roland@hack.frob.com>
8986
8987 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8988 from _TLS_H to _ARM_NPTL_TLS_H.
8989 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8990 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8991
8992 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8993
8994 [BZ #16539]
8995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8996 (__expm1l): Return argument unchanged when small but not
8997 subnormal.
8998
8999 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9000 include macro name.
9001 (_FP_UNPACK_RAW_1_P): Likewise.
9002 (_FP_PACK_RAW_1): Likewise.
9003 (_FP_PACK_RAW_1_P): Likewise.
9004 (_FP_MUL_MEAT_1_wide): Likewise.
9005 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9006 (_FP_MUL_MEAT_1_hard): Likewise.
9007 (_FP_DIV_MEAT_1_imm): Likewise.
9008 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9009 (_FP_DIV_MEAT_1_udiv): Likewise.
9010 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9011 (_FP_UNPACK_RAW_2): Likewise.
9012 (_FP_UNPACK_RAW_2_P): Likewise.
9013 (_FP_PACK_RAW_2): Likewise.
9014 (_FP_PACK_RAW_2_P): Likewise.
9015 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9016 (_FP_MUL_MEAT_2_wide): Likewise.
9017 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9018 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9019 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9020 (_FP_MUL_MEAT_2_gmp): Likewise.
9021 (_FP_DIV_MEAT_2_udiv): Likewise.
9022 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9023 (_FP_FRAC_SRL_4): Likewise.
9024 (_FP_FRAC_SRST_4): Likewise.
9025 (_FP_FRAC_SRS_4): Likewise.
9026 (_FP_UNPACK_RAW_4): Likewise.
9027 (_FP_UNPACK_RAW_4_P): Likewise.
9028 (_FP_PACK_RAW_4): Likewise.
9029 (_FP_PACK_RAW_4_P): Likewise.
9030 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9031 (_FP_MUL_MEAT_4_wide): Likewise.
9032 (_FP_MUL_MEAT_4_gmp): Likewise.
9033 (umul_ppppmnnn): Likewise.
9034 (_FP_DIV_MEAT_4_udiv): Likewise.
9035 (__FP_FRAC_ADD_4): Likewise.
9036 (__FP_FRAC_SUB_3): Likewise.
9037 (__FP_FRAC_SUB_4): Likewise.
9038 (__FP_FRAC_DEC_3): Likewise.
9039 (__FP_FRAC_DEC_4): Likewise.
9040 (__FP_FRAC_ADDI_4): Likewise.
9041 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9042 (_FP_FRAC_SRL_8): Likewise.
9043 (_FP_FRAC_SRS_8): Likewise.
9044
9045 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9046 include macro name.
9047 (FP_UNPACK_RAW_EP): Likewise.
9048 (FP_PACK_RAW_E): Likewise.
9049 (FP_PACK_RAW_EP): Likewise.
9050 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9051 (_FP_ISSIGNAN): Likewise.
9052 (_FP_ADD_INTERNAL): Likewise.
9053 (_FP_FMA): Likewise.
9054 (_FP_CMP): Likewise.
9055 (_FP_SQRT): Likewise.
9056 (_FP_TO_INT): Likewise.
9057 (_FP_FROM_INT): Likewise.
9058 (FP_EXTEND): Likewise.
9059 (_FP_DIV_MEAT_N_loop): Likewise.
9060
9061 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9062
9063 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9064 throughout.
9065
9066 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9067
9068 [BZ #17097]
9069 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9070 result with correct sign in case of exponents that produce
9071 overflow except for X very close to 1.
9072
9073 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9074
9075 mktime: merge #if/#ifdef usage from glibc
9076 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9077 as that works with both Glibc's and Gnulib's style.
9078 See thread starting at Siddhesh Poyarekar's bug report at:
9079 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9080
9081 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9082
9083 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9084 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9085 * sysdeps/tile/tilegx/memmove.c: Remove file.
9086
9087 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9088
9089 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9090 abi-name definition.
9091 * scripts/soversions.awk: Do not handle or generate ABI lines.
9092 * shlib-versions: Remove ABI entries.
9093 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9094 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9095
9096 2014-06-27 Roland McGrath <roland@hack.frob.com>
9097
9098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9099 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9100 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9105 Moved ...
9106 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9107 ... here.
9108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9109 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9111 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9115 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9121 Moved ...
9122 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9124 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9125 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9126 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9128 Moved ...
9129 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9131 Moved ...
9132 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9136 Moved ...
9137 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9143 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9145 Moved ...
9146 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9148 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9149 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9150 Moved ...
9151 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9153 Moved ...
9154 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9155 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9156 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9158 Moved ...
9159 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9160 ... here.
9161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9162 Identical file removed.
9163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9164 Moved ...
9165 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9166 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9167 Identical file removed.
9168 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9171 Moved ...
9172 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9174 Identical file removed.
9175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9176 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9178 Identical file removed.
9179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9182 Identical file removed.
9183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9186 Identical file removed.
9187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9188 Moved ...
9189 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9191 Identical file removed.
9192 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9193 Moved ...
9194 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9198 Identical file removed.
9199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9200 Moved ...
9201 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9202 ... here.
9203 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9204 Identical file removed.
9205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9206 Moved ...
9207 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9209 Identical file removed.
9210 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9211 Moved ...
9212 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9214 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9221 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9222
9223 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9224 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9225 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9226 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9227 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9228
9229 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9230
9231 [BZ #17092]
9232 * nscd/nscd.c (monitor_child): Return exit status of child
9233 instead of return value from wait syscall.
9234
9235 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9236
9237 * configure.ac (libc_commonpagesize): Remove variable.
9238 (libc_relro_required): Likewise.
9239 (libc_cv_z_relro): Remove configure test.
9240 * configure: Regenerated.
9241 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9242 variable.
9243 (libc_relro_required): Likewise.
9244 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9245 (libc_relro_required): Likewise.
9246 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9247 (libc_relro_required): Likewise.
9248 * sysdeps/arm/preconfigure: Regenerated.
9249 * sysdeps/ia64/preconfigure: Remove file.
9250 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9251 variable.
9252 (libc_relro_required): Likewise.
9253
9254 [BZ #16561]
9255 [BZ #16562]
9256 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9257 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9258 recompute overflowing results in original rounding mode.
9259 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9260 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9261 recompute overflowing results in original rounding mode.
9262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9263 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9264 recompute overflowing results in original rounding mode.
9265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9266 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9267 recompute overflowing results in original rounding mode.
9268 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9269 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9270 recompute overflowing results in original rounding mode.
9271 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9272 (libc_feholdsetround_ctx): New macro.
9273 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9276
9277 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9278
9279 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9280 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9281 corresponding .cpsetup call.
9282
9283 2014-06-26 Roland McGrath <roland@hack.frob.com>
9284
9285 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9286 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9287 * sysdeps/arm/Makefile [$(subdir) = csu]
9288 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9289 (static-only-routines): Add aeabi_read_tp here.
9290 (shared-only-routines): Add libc-aeabi_read_tp here.
9291 (CFLAGS-libc-start.c): Add -fexceptions here.
9292 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9293 (sysdep_routines, static-only-routines, shared-only-routines):
9294 Don't add to these here.
9295 (CFLAGS-libc-start.c): Likewise.
9296
9297 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9298 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9299 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9300 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9301 * sysdeps/arm/Makefile [$(subdir) = rt]
9302 (librt-sysdep_routines, librt-shared-only-routines):
9303 Append rt-aeabi_unwind_cpp_pr1 here.
9304 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9305 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9306 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9307 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9308 Append nptl-aeabi_unwind_cpp_pr1 here.
9309 (tests): Filter out tst-cleanupx4 here.
9310 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9311 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9312 Don't do those here.
9313
9314 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9315
9316 * scripts/list-sources.sh: Do not handle ports specially.
9317
9318 2014-06-26 Roland McGrath <roland@hack.frob.com>
9319
9320 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9321 * sysdeps/arm/feupdateenv.c: Likewise.
9322
9323 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9324
9325 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9326
9327 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9328 trailing whitespace removed.
9329 * scripts/config.guess: Update to version 2014-03-23.
9330 * scripts/config.sub: Update to version 2014-05-01
9331 * scripts/install-sh: Update to version 2013-12-25.23.
9332 * scripts/move-if-change: Update from gnulib.
9333
9334 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9335
9336 * debug/memmove_chk.c: Remove pagecopy.h include.
9337
9338 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9339
9340 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9341 identical to gnulib mktime.
9342
9343 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9344
9345 * configure.ac: Do not test for machine being rs6000. Do not test
9346 for powerpc*-*soft.
9347 * configure: Regenerated.
9348
9349 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9350 test.
9351 * configure: Regenerated.
9352 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9353 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9354 Remove configure test.
9355 * sysdeps/arm/configure: Regenerated.
9356 * sysdeps/nptl/configure.ac: Do not check
9357 libc_cv_asm_cfi_directives.
9358 * sysdeps/nptl/configure: Regenerated.
9359 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9360 * sysdeps/x86_64/nptl/configure: Remove generated file.
9361 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9362 unconditional.
9363 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9364
9365 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9366
9367 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9368 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9369 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9370 it is defined.
9371
9372 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9373 instead of whether it is defined.
9374 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9375 * sysdeps/hppa/dl-machine.h: Likewise.
9376 * sysdeps/ia64/dl-machine.h: Likewise.
9377 * sysdeps/m68k/dl-machine.h: Likewise.
9378 * sysdeps/microblaze/dl-machine.h: Likewise.
9379 * sysdeps/mips/dl-machine.: Likewise.
9380 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9382 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9383 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9384 * sysdeps/sh/dl-machine.h: Likewise.
9385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9386 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9387 * sysdeps/tile/dl-machine.h: Likewise.
9388 * sysdeps/x86_64/dl-machine.h: Likewise.
9389
9390 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9391 code.
9392 (verify_persistent_db): Likewise.
9393
9394 2014-06-26 Roland McGrath <roland@hack.frob.com>
9395
9396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9397 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9399 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9401 Moved ...
9402 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9403 ... here.
9404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9405 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9407 Identical file removed.
9408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9411 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9413 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9419 Moved ...
9420 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9422 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9424 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9426 Moved ...
9427 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9431 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9433 Identical file removed.
9434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9435 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9439 Moved ...
9440 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9441 ... here.
9442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9453 Moved ...
9454 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9456 Moved ...
9457 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9459 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9461 Moved ...
9462 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9464 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9465
9466 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9467 folded into ...
9468 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9469 * sysdeps/unix/sysv/linux/s390/Versions
9470 (libpthread: GLIBC_2.19): New version set.
9471 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9472 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9473 (librt: GLIBC_2.3.3): New version set.
9474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9475 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9476 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9477 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9478 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9480 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9482 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9484 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9486 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9488 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9489 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9490 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9492 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9494 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9496 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9498 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9500 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9501 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9502 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9504 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9505 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9510 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9512 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9516 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9518 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9519
9520 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9521 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9522 (__libc_vfork): Define the function under this name.
9523 [!NOT_IN_libc] (__vfork): Make this an alias.
9524 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9526 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9527 (__libc_vfork): Define the function under this name.
9528 [!NOT_IN_libc] (__vfork): Make this an alias.
9529 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9530 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9531 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9533 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9534 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9535
9536 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9537 code that was previously under [RESET_PID].
9538 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9539 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9541
9542 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9543 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9544 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9545 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9546 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9547 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9548 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9549 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9550 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9551 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9552 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9553 Moved ...
9554 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9560 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9561 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9566 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9568 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9569 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9570 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9571 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9572 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9573 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9574 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9576 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9578 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9579 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9580 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9581 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9582 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9583
9584 2014-06-25 Roland McGrath <roland@hack.frob.com>
9585
9586 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9587 that was previously under [RESET_PID].
9588 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9589
9590 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9591
9592 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9593 not undefine and redefine.
9594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9595 [O_CLOEXEC]: Make code unconditional.
9596 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9597 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9598 <kernel-features.h>.
9599 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9600 conditional variable definition.
9601 (shm_open) [O_CLOEXEC]: Make code unconditional.
9602 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9603 code.
9604
9605 * configure.ac (USE_REGPARMS): Don't define here.
9606 * configure: Regenerated.
9607 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9608 * sysdeps/i386/configure: Regenerated.
9609
9610 * nptl/createthread.c: Don't include kernel-features.h.
9611 * nptl/pthread_cancel.c: Likewise.
9612 * nptl/pthread_condattr_setclock.c: Likewise.
9613 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9614 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9615 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9616 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9617 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9618 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9619 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9622 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9623 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9624 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9625 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9626 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9627 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9628 * nscd/gai.c: Likewise.
9629 * nss/nss_db/db-open.c: Likewise.
9630 * sysdeps/generic/ldsodefs.h: Likewise.
9631 * sysdeps/sh/nptl/tls.h: Likewise.
9632 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9633 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9634 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9635 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9636 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9637 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9638 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9639 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9641 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9642 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9643 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9644 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9645 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9646 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9647 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9648 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9649 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9650 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9651 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9653 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9654 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9655 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9657 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9658 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9659 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9660 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9661 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9662 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9663 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9664 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9665 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9666 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9667 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9668 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9669 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9670 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9671 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9672 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9673 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9674 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9675 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9676 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9677 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9678 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9679 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9680 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9681 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9682 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9683 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9684 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9685 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9686 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9687 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9688 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9689 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9712 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9713 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9714 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9715 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9716 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9717 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9720 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9721 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9722 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9723 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9724 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9725 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9726 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9727 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9728 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9729 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9730 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9731 * sysdeps/unix/sysv/linux/system.c: Likewise.
9732 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9733 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9734 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9735 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9736 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9737 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9738 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9739
9740 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9741 * configure: Regenerated.
9742 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9743
9744 * configure.ac (base_machine): Do not set specially for particular
9745 machines here.
9746 * configure: Regenerated.
9747 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9748 settings from configure.ac.
9749 * sysdeps/i386/preconfigure: New file.
9750 * sysdeps/s390/preconfigure: Likewise.
9751 * sysdeps/sh/preconfigure: Likewise.
9752 * sysdeps/sparc/preconfigure: Likewise.
9753
9754 2014-06-25 Roland McGrath <roland@hack.frob.com>
9755
9756 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9757 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9758 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9759 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9760 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9761 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9762 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9763 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9764 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9765 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9766 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9767 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9768 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9769 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9770 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9773 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9774 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9775
9776 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9777 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9778 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9779 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9780 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9781 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9782 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9783 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9784 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9785 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9786 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9787 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9788 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9789 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9790 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9791 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9792 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9793 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9794 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9795 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9796 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9797 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9803 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9805 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9807 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9808 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9809 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9811 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9812 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9813 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9814
9815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9816 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9822 ... here.
9823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9828 Moved ...
9829 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9837 Moved ...
9838 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9840 Moved ...
9841 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9850 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9852 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9854 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9856 Moved ...
9857 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9858 ... here.
9859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9873 Moved ...
9874 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9876 Moved ...
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9879 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9881 Moved ...
9882 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9886 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9887
9888 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9889
9890 * timezone/checktab.awk: Update from tzcode 2014e.
9891 * timezone/private.h: Likewise.
9892 * timezone/tzfile.h: Likewise.
9893 * timezone/zdump.c: Likewise.
9894 * timezone/zic.c: Likewise.
9895
9896 * sysdeps/unix/sysv/linux/kernel-features.h
9897 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9898 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9899 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9900 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9901 Remove conditional code.
9902
9903 2014-06-25 Will Newton <will.newton@linaro.org>
9904
9905 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9906 (_dl_arm_cap_flags): Add HWCAP2 values.
9907 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9908 (_DL_HWCAP_COUNT): Increase to 37.
9909 (_DL_HWCAP_LAST): New define.
9910 (_DL_HWCAP2_LAST): New define.
9911 (_dl_procinfo): Add support for printing
9912 AT_HWCAP2 entries.
9913 (_dl_string_hwcap): Use _dl_hwcap_string.
9914
9915 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9916
9917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9918
9919 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9920
9921 * README: Do not mention ports directory.
9922
9923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9924 Remove macro.
9925 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9926 <kernel-features.h>.
9927 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9928 conditional variable definition.
9929 (__futimes): Update comment.
9930 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9931 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9932
9933 [BZ #16560]
9934 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9935 arguments close to 0.
9936 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9937 Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9939 Likewise.
9940 * math/auto-libm-test-in: Add more tests of exp10.
9941 * math/auto-libm-test-out: Regenerated.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9943
9944 * sysdeps/unix/sysv/linux/kernel-features.h
9945 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9946 * sysdeps/unix/sysv/linux/readv.c: Do not include
9947 <kernel-features.h>.
9948 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9949 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9950 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9951 unconditional.
9952 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9953 conditional code.
9954 * sysdeps/unix/sysv/linux/writev.c: Do not include
9955 <kernel-features.h>.
9956 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9957 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9958 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9959 unconditional.
9960 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9961 conditional code.
9962
9963 2014-06-25 Will Newton <will.newton@linaro.org>
9964
9965 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9966 comment changes throughout the file. Remove checks
9967 for HAVE_*_H definitions that are not required.
9968 (__gen_tempname): Call abort if an unknown kind value is
9969 passed.
9970
9971 2014-06-25 Andreas Schwab <schwab@suse.de>
9972
9973 [BZ #17086]
9974 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9975 scalbln, scalblnf, scalblnl in libc.
9976
9977 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 [BZ #17086]
9980 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9981 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9982 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9983
9984 2014-06-24 Roland McGrath <roland@hack.frob.com>
9985
9986 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9987 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9988 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9989 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9990 Update #include.
9991 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9992 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9993 Update #include.
9994 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9995 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9996 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9997 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9998 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9999 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10000 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10001 * sysdeps/x86/bits/semaphore.h: ... here.
10002 * sysdeps/x86/nptl/elide.h: Moved ...
10003 * sysdeps/x86/elide.h: ... here.
10004 * sysdeps/x86_64/nptl/Implies: File removed.
10005 * sysdeps/i386/nptl/Implies: File removed.
10006
10007 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #16539]
10010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10011 return the argument for normal arguments with exponent below -64.
10012 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10013 Likewise.
10014 * math/auto-libm-test-in: Add another test of expm1.
10015 * math/auto-libm-test-out: Regenerated.
10016
10017 [BZ #16287]
10018 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10019 calling __erfcl for arguments at least 16.
10020 * math/auto-libm-test-in: Add more tests of erf.
10021 * math/auto-libm-test-out: Regenerated.
10022
10023 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10024 individual architectures.
10025 * sysdeps/unix/sysv/linux/configure: Regenerated.
10026 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10027 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10028 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10029 (ldd_rewrite_script): Define variable.
10030 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10032 file.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10034 generated file.
10035 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10036 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10037 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10038 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10039 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10040 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10041 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10042 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10043
10044 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10045
10046 [BZ #17084]
10047 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10048 Rename member __data.d to __data.__elision_data.
10049
10050 2014-06-24 Wilco <wdijkstr@arm.com>
10051
10052 * NEWS: Add 16918 to fixed bug list.
10053
10054 2014-06-24 Wilco <wdijkstr@arm.com>
10055
10056 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10057
10058 2014-06-24 Wilco <wdijkstr@arm.com>
10059
10060 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10061 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10062 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10063 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10064 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10065 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10066 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10067 Use _FPU_MASK_RM.
10068
10069 2014-06-24 Wilco <wdijkstr@arm.com>
10070
10071 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10072
10073 2014-06-24 Wilco <wdijkstr@arm.com>
10074
10075 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10076 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10077 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10078 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10079
10080 2014-06-24 Wilco <wdijkstr@arm.com>
10081
10082 [BZ #16918]
10083 * sysdeps/arm/feupdateenv.c (feupdateenv):
10084 Rewrite to reduce FPSCR accesses and fix return value.
10085
10086 2014-06-24 Wilco <wdijkstr@arm.com>
10087
10088 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10089 Optimize to avoid unnecessary FPSCR writes.
10090 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10091 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10092 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10093 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10094
10095 2014-06-24 Wilco <wdijkstr@arm.com>
10096
10097 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10098 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10099 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10100 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10101 Call libc_fetestexcept_vfp.
10102 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10103 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10104 __SOFTFP__ ifdef so that they can be built for softfp.
10105
10106 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10107
10108 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10109 argument type signed char.
10110
10111 * Makerules (check-abi): Dump diff of symlist if the test
10112 fails.
10113
10114 2014-06-23 Roland McGrath <roland@hack.frob.com>
10115
10116 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10117 using abort.
10118
10119 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10120 Remove unused variable ST.
10121
10122 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10123
10124 [BZ #16354]
10125 [BZ #17061]
10126 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10127 small arguments before calling __expm1.
10128 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10129 small arguments before calling __expm1f.
10130 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10131 small arguments before calling __expm1l.
10132 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10133 Likewise.
10134 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10135 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10136 spurious underflow for some cosh tests.
10137 * math/auto-libm-test-out: Regenerated.
10138 * sysdeps/i386/fpu/libm-test-ulps: Update.
10139
10140 [BZ #17050]
10141 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10142 (__ieee754_y1): Set errno if return value overflows.
10143 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10144 (__ieee754_y1f): Set errno if return value overflows.
10145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10146 (__ieee754_y1l): Set errno if return value overflows.
10147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10148 (__ieee754_y1l): Set errno if return value overflows.
10149 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10150 * math/auto-libm-test-out: Regenerated.
10151
10152 * math/gen-auto-libm-tests.c: Document use of
10153 ignore-zero-inf-sign.
10154 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10155 (input_flags): Add ignore-zero-inf-sign.
10156 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10157 * math/gen-libm-test.pl (generate_testfile): Handle
10158 ignore-zero-inf-sign.
10159 * math/auto-libm-test-in: Mark some cpow tests with
10160 ignore-zero-inf-sign and some with xfail-rounding.
10161 * math/auto-libm-test-out: Regenerated.
10162 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10163 * sysdeps/i386/fpu/libm-test-ulps: Update.
10164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
10166 [BZ #16315]
10167 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10168 overflowing or underflowing operations take place with sign of
10169 result.
10170 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10171 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10172 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10173 (__ieee754_pow): Recompute overflowing and underflowing results in
10174 original rounding mode.
10175 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10176 (__powl_helper): Allow negative argument X and scale negated value
10177 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10178 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10179 overflowing or underflowing operations take place with sign of
10180 result.
10181 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10182 Include <math.h>.
10183 * math/auto-libm-test-in: Add more tests of pow.
10184 * math/auto-libm-test-out: Regenerated.
10185 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10186 (pow_tonearest_test_data): Remove.
10187 (pow_test_tonearest): Likewise.
10188 (pow_towardzero_test_data): Likewise.
10189 (pow_test_towardzero): Likewise.
10190 (pow_downward_test_data): Likewise.
10191 (pow_test_downward): Likewise.
10192 (pow_upward_test_data): Likewise.
10193 (pow_test_upward): Likewise.
10194 (main): Don't call removed functions.
10195 * sysdeps/i386/fpu/libm-test-ulps: Update.
10196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10197
10198 2014-06-23 Roland McGrath <roland@hack.frob.com>
10199
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10201 Moved ...
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10204 Moved ...
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10207 Moved ...
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10210 Moved ...
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10213 File removed.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10215 File removed.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10217 File removed.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10219 File removed.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10221 File removed.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10223 File removed.
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10225 File removed.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10227 File removed.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10229 File removed.
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10231 File removed.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10233 File removed.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10235 File removed.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10237 Moved ...
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10240 Moved ...
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10242 ... here.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10244 Moved ...
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10247 Moved ...
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10250 Moved ...
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10253 Moved ...
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10256 Moved ...
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10259 Moved ...
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10262 Moved ...
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10266 ... here.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10268 Moved ...
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10271 Moved ...
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10273 ... here.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10275 Moved ...
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10277 ... here.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10279 Moved ...
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10281 ... here.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10283 Moved ...
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10286 Moved ...
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10291 Moved ...
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10293 ... here.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10295 Moved ...
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10297 ... here.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10299 Moved ...
10300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10302 Moved ...
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10305 Moved ...
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10308 Moved ...
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10311 Moved ...
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10313 ... here.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10315 Moved ...
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10318 Moved ...
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10321 Moved ...
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10324 Moved ...
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10329 Moved ...
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10332 Moved ...
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10335 Moved ...
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10337 ... here.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10339 Moved ...
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10341 ... here.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10343 Moved ...
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10345 ... here.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10347 Moved ...
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10350 Moved ...
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10353 Moved ...
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10356 Moved ...
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10358 ... here.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10360 Moved ...
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10362 ... here.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10364 Moved ...
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10366 ... here.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10368 Moved ...
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10371 Moved ...
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10373
10374 2014-06-23 Will Newton <will.newton@linaro.org>
10375 Wilco <wdijkstr@arm.com>
10376
10377 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10378 implementation. Include get-rounding-mode.h.
10379 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10380 [!libc_feholdsetround_noex_ctx]: Define
10381 libc_feholdsetround_noex_ctx.
10382 [!libc_feholdsetround_noexf_ctx]: Define
10383 libc_feholdsetround_noexf_ctx.
10384 [!libc_feholdsetround_noexl_ctx]: Define
10385 libc_feholdsetround_noexl_ctx.
10386 (libc_feholdsetround_ctx): New function.
10387 (libc_feresetround_ctx): New function.
10388 (libc_feholdsetround_noex_ctx): New function.
10389 (libc_feresetround_noex_ctx): New function.
10390
10391 2014-06-23 Roland McGrath <roland@hack.frob.com>
10392
10393 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10394 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10395 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10396 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10397 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10398 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10399
10400 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10401 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10402 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10403 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10404 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10405 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10407 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10409 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10411 Moved ...
10412 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10413 ... here.
10414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10415 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10417 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10419 Moved ...
10420 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10424 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10426 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10428 Moved ...
10429 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10431 Moved ...
10432 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10434 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10436 Moved ...
10437 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10438 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10439 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10441 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10442 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10443 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10449 ... here.
10450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10451 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10455 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10457 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10461 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10463 Moved ...
10464 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10472 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10473 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10474 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10475 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10476
10477 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10478 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10479 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10480 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10486 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10487 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10488 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10492 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10496 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10497 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10498 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10499 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10500 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10504 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10505
10506 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10507
10508 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10509 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10510 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10511 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10512 (IPV6_PMTUDISC_INTERFACE): Likewise.
10513 (IPV6_PMTUDISC_OMIT): Likewise.
10514
10515 2014-06-23 Andreas Schwab <schwab@suse.de>
10516
10517 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10518 Remove unused errout label.
10519
10520 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521
10522 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10523 macro: hardware supports Vector Crypto instructions.
10524
10525 2014-06-23 Will Newton <will.newton@linaro.org>
10526
10527 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10528 rather than __builtin_expect.
10529
10530 * elf/dl-lookup.c (undefined_msg): Remove variable.
10531 (_dl_lookup_symbol_x): Replace undefined_msg with string
10532 literal.
10533
10534 * elf/dl-lookup.c (do_lookup_unique): New function.
10535 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10536 to a separate function.
10537
10538 2014-06-23 Andreas Schwab <schwab@suse.de>
10539
10540 [BZ #17079]
10541 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10542 before reading the next line.
10543
10544 2014-06-23 Will Newton <will.newton@linaro.org>
10545
10546 * test-skeleton.c (signal_handler): Use printf and %m
10547 rather than perror. Use printf rather than fprintf to
10548 stderr. Use puts rather than fputs to stderr.
10549 (main): Likewise.
10550
10551 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10552
10553 * nscd/nscd.c (thread_info_t): Remove typedef.
10554 (thread_info): Remove variable.
10555
10556 2014-06-21 Allan McRae <allan@archlinux.org>
10557
10558 * NEWS: Mention CVE-2014-4043.
10559
10560 2014-06-20 Roland McGrath <roland@hack.frob.com>
10561
10562 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10563 * nptl/smp.h: ... here.
10564
10565 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10566
10567 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10568 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10569 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10570 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10571
10572 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10573 * nptl/stack-aliasing.h: New file.
10574 * sysdeps/i386/i686/stack-aliasing.h: New file.
10575 * sysdeps/i386/i686/nptl/Makefile: File removed.
10576 * sysdeps/x86_64/stack-aliasing.h: New file.
10577 * sysdeps/x86_64/nptl/Makefile
10578 (CFLAGS-pthread_create.c): Variable removed.
10579
10580 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10581 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10582 old file.
10583 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10584 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10585 old file.
10586
10587 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10588
10589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10590 (__ASSUME_SIGFRAME_V2): Remove macro.
10591 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10592 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10593 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10594 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10595 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10596 Declare as function. Remove conditional macro definitions.
10597 (__default_rt_sa_restorer): Likewise.
10598 (__default_sa_restorer_v1): Remove declaration.
10599 (__default_sa_restorer_v2): Likewise.
10600 (__default_rt_sa_restorer_v1): Likewise.
10601 (__default_rt_sa_restorer_v2): Likewise.
10602 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10603 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10604 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10605
10606 2014-06-20 Roland McGrath <roland@hack.frob.com>
10607
10608 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10609 (libpthread-routines): Add sysdep.
10610 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10611 * sysdeps/unix/sysv/linux/sparc/Versions
10612 (libpthread: GLIBC_2.3.3): New version set.
10613 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10614 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10616 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10617 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10618 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10619 Moved ...
10620 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10621 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10622 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10623 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10624 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10625 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10626 * sysdeps/sparc/nptl/sem_init.c: ... here.
10627 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10628 * sysdeps/sparc/nptl/sem_post.c: ... here.
10629 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10630 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10631 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10632 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10633 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10634 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10635 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10636 (libpthread-routines): Add cpu_relax.
10637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10638 File removed.
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10640 (librt: GLIBC_2.3.3): New version set.
10641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10642 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10643 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10644 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10647 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10649 Moved ...
10650 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10652 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10654 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10656 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10658 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10660 Moved ...
10661 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10662 Update #include.
10663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10664 Moved ...
10665 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10666 Update #include.
10667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10668 Moved ...
10669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10670 Update #include.
10671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10672 Moved ...
10673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10674 Update #include.
10675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10676 Moved ...
10677 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10678 Update #include.
10679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10680 Moved ...
10681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10682 Update #include.
10683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10684 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10690 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10692 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10694 Moved ...
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10700
10701 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10702
10703 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10704 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10705 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10706 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10707 * nscd/nscd.c: Likewise.
10708 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10709 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10710 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10711 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10712
10713 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10714 <kernel-features.h>.
10715 (init_mq_netlink): Remove conditional have_sock_cloexec
10716 definitions. Remove code conditional on have_sock_cloexec < 0.
10717 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10718 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10719 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10720 <kernel-features.h>.
10721 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10722 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10723
10724 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10725
10726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10727 Add tests for memset_chk and memset.
10728
10729 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10730 with AVX2_Usable.
10731
10732 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10733
10734 [BZ #16046]
10735 * elf/tst-dl-iter-static.c: New file.
10736 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10737
10738 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10739 error.
10740
10741 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10742
10743 * sysdeps/unix/sysv/linux/kernel-features.h
10744 (__ASSUME_F_GETOWN_EX): Remove macro.
10745 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10746 <kernel-features.h>.
10747 (miss_F_GETOWN_EX): Remove variable or macro.
10748 (do_fcntl): Do not check miss_F_GETOWN_EX.
10749 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10750
10751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10752 Remove macro.
10753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10754 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10755 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10756
10757 * sysdeps/unix/sysv/linux/kernel-features.h
10758 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10759 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10760 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10761 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10762
10763 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10764
10765 [BZ #17075]
10766 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10767 Fix calculation of the symbol's value.
10768 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10769 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10770 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10771 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10772 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10773 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10774 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10775 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10776 (modules-names): Add `tst-armtlsdescmod',
10777 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10778 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10779 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10780 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10781 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10782 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10783 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10784 ($(objpfx)tst-armtlsdescloc): New dependency.
10785 ($(objpfx)tst-armtlsdescextnow): Likewise.
10786 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10787 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10788 TLS scheme support.
10789 * sysdeps/arm/configure: Regenerate.
10790
10791 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10792
10793 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10794 (__atfct_seterrno_2): Likewise.
10795 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10796 <kernel-features.h>.
10797 (__ASSUME_ATFCTS): Do not undefine and redefine.
10798 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10799 (__have_atfcts): Remove conditional definition.
10800 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10801 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10802 unreachable if [__ASSUME_ATFCTS].
10803 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10804 not undefine and redefine.
10805 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10806 <kernel-features.h>.
10807 (faccessat) [__NR_faccessat]: Make code unconditional.
10808 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10809 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10810 <kernel-features.h>.
10811 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10812 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10813 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10814 <kernel-features.h>.
10815 (fchownat) [__NR_fchownat]: Make code unconditional.
10816 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10817 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10818 <kernel-features.h>.
10819 (futimesat) [__NR_futimesat]: Make code unconditional.
10820 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10821 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10822 <kernel-features.h>.
10823 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10824 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10825 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10826 <kernel-features.h>.
10827 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10828 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10829 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10830 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10831 <kernel-features.h>.
10832 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10833 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10834 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10835 <kernel-features.h>.
10836 (linkat) [__NR_linkat]: Make code unconditional.
10837 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10838 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10839 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10840 <kernel-features.h>.
10841 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10842 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10843 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10844 <kernel-features.h>.
10845 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10846 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10847 * sysdeps/unix/sysv/linux/openat.c: Do not include
10848 <kernel-features.h>.
10849 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10850 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10851 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10852 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10853 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10854 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10855 <kernel-features.h>.
10856 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10857 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10858 result of INLINE_SYSCALL directly, not via int variable.
10859 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10860 <kernel-features.h>.
10861 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10862 (renameat) [__NR_renameat]: Make code unconditional.
10863 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10865 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10866 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10867 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10868 (__ASSUME_ATFCTS): Do not undefine and redefine.
10869 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10870 <kernel-features.h>.
10871 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10872 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10873 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10874 <kernel-features.h>.
10875 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10876 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10877 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10878 (__ASSUME_ATFCTS): Do not undefine and redefine.
10879 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10880 <kernel-features.h>.
10881 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10882 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10883 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10884 <kernel-features.h>.
10885 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10886 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10887
10888 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10891
10892 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10893
10894 [BZ #17069]
10895 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10896 constructed tree before returning error.
10897 * posix/bug-regexp36.c: Expand test case.
10898
10899 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10900
10901 [BZ #6803]
10902 * math/libm-test.inc (scalbln_test_date):
10903 Add errno expectations.
10904 * math/w_scalblnf.c: New File.
10905 Add wrapper which checks for setting errno to ERANGE.
10906 Add weak_alias for corresponding scalbln function.
10907 * math/w_scalbln.c: Likewise.
10908 * math/w_scalblnl.c: Likewise.
10909 * math/Makefile (libm-calls): Add w_scalbln.
10910 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10911 Remove weak_alias for corresponding scalbln function.
10912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10916 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10917 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10918 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10919 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10920 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10921 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10922 Remove long_double_symbol for scalblnl function in libm, libc.
10923 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10924 Add wrapper which checks for setting errno to ERANGE.
10925 Add long_double_symbol for scalblnl function in libm, libc.
10926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10927 Remove long_double_symbol for scalblnl in libm.
10928 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10929 Add wrapper which checks for setting errno to ERANGE.
10930 Add long_double_symbol for scalblnl function in libm.
10931 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10932 Do not use wrapper because of own implementation.
10933
10934 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10937 3 bytes for __pad1 for x32.
10938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10939
10940 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10941 H.J. Lu <hongjiu.lu@intel.com>
10942
10943 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10944 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10945 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10946 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10947 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10948
10949 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10950
10951 [BZ #17069]
10952 * posix/regcomp.c (parse_expression): Deallocate partially
10953 constructed tree before returning error.
10954 * posix/Makefile.c (tests): Add bug-regex36.
10955 (generated): Add bug-regex36.mtrace.
10956 (tests-special): Add $(objpfx)bug-regex36-mem.out
10957 (bug-regex36-ENV): New variable.
10958 ($(objpfx)bug-regex36-mem.out): New rule.
10959 * posix/bug-regex36.c: New file.
10960
10961 2014-06-19 Will Newton <will.newton@linaro.org>
10962
10963 * malloc/malloc.c (systrim): If extra is zero then return
10964 early.
10965
10966 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10967
10968 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10969
10970 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10971
10972 * sysdeps/aarch64/strchr.S: New file.
10973
10974 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10975
10976 [BZ #17022]
10977 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10978 from arguments -2 or below.
10979 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10980 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10981
10982 2014-06-18 Andreas Schwab <schwab@suse.de>
10983
10984 [BZ #17062]
10985 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10986 of a bracket expr not to run off the end of the string.
10987 * posix/Makefile (tests): Add tst-fnmatch3.
10988 * posix/tst-fnmatch3.c: New file.
10989
10990 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10991
10992 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10993 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10994 [$(cross-compiling) = no]: Likewise.
10995 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10996 [$(cross-compiling) = no]: Likewise.
10997
10998 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10999
11000 [BZ #17031]
11001 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11002 double, adjusted for any remainder from the high double.
11003 * math/libm-test.inc (nearbyint): Add tests.
11004 (rint): Likewise.
11005
11006 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007
11008 * nptl/sysdeps/powerpc/Makefile: Moved ...
11009 * sysdeps/powerpc/nptl/Makefile: ... here.
11010 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11011 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11012 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11013 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11014 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11015 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11016 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11017 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11018 * nptl/sysdeps/powerpc/tls.h: Moved ...
11019 * sysdeps/powerpc/nptl/tls.h: ... here.
11020
11021 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11022
11023 [BZ #16681]
11024 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11025 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11026 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11027 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11028 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11029 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11030 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11031 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11032 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11033
11034 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11037
11038 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11039
11040 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11041 defined operator.
11042
11043 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11044 $TIMEOUTFACTOR.
11045
11046 2014-06-16 Florian Weimer <fweimer@redhat.com>
11047
11048 [BZ #17058]
11049 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11050 non-executed part of the test.
11051
11052 2014-06-16 Andreas Schwab <schwab@suse.de>
11053
11054 * string/bits/string2.h (strdup, strndup): Update feature guard.
11055
11056 2014-06-14 David S. Miller <davem@davemloft.net>
11057
11058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11059
11060 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11061
11062 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11063 that was previously under [RESET_PID].
11064 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11065
11066 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11067 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11068 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11070 (__libc_vfork): New strong alias.
11071 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11072
11073 2014-06-14 Andi Kleen <ak@linux.intel.com>
11074
11075 * sysdeps/generic/elide.h: New file.
11076
11077 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11078
11079 * Makefile (installed-headers): Adjust path of pthread.h header.
11080
11081 2014-06-13 Roland McGrath <roland@hack.frob.com>
11082
11083 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11084 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11086 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11087
11088 * nptl/sysdeps/s390/Makefile: Moved ...
11089 * sysdeps/s390/nptl/Makefile: ... here.
11090 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11091 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11092 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11093 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11094 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11095 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11096 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11097 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11098 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11099 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11100 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11101 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11102 * nptl/sysdeps/s390/tls.h: Moved ...
11103 * sysdeps/s390/nptl/tls.h: ... here.
11104
11105 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11106 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11107
11108 2014-06-13 David S. Miller <davem@davemloft.net>
11109
11110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11117 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11118 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11119 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11120 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11121 Remove RESET_PID cpp guards.
11122 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11123 Remove RESET_PID cpp guards.
11124 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11125
11126 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11127
11128 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11129 __sp to uintptr_t.
11130
11131 2014-06-13 Andi Kleen <ak@linux.intel.com>
11132
11133 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11134 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11135 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11136 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11137 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11138 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11139 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11144 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11145 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11150 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11153
11154 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11155 (pthread_rwlock_rdlock): Add elision.
11156 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11157 (pthread_rwlock_wrlock): Add elision.
11158 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11159 (pthread_rwlock_trywrlock): Add elision.
11160 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11161 (pthread_rwlock_tryrdlock): Add elision.
11162 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11163 (pthread_rwlock_tryrdlock): Add elision unlock.
11164 * nptl/sysdeps/pthread/pthread.h:
11165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11166 (PTHREAD_RWLOCK_INITIALIZER,
11167 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11168 Handle new elision field.
11169 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11170 * sysdeps/arm/nptl/bits/pthreadtypes.h
11171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11172 * sysdeps/sh/nptl/bits/pthreadtypes.h
11173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11174 * sysdeps/tile/nptl/bits/pthreadtypes.h
11175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11176 * sysdeps/a/nptl/bits/pthreadtypes.h
11177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11178 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11180 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11182 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11184 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11186 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11188 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11190 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11192 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11194 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11195 (elision_init): Set try_xbegin to zero when no RTM.
11196 * sysdeps/x86/nptl/bits/pthreadtypes.h
11197 (pthread_rwlock_t): Change __pad1 to __rwelision.
11198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11199
11200 2014-06-13 Andi Kleen <ak@linux.intel.com>
11201
11202 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11203 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11204 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11205 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11206
11207 2014-06-13 Meador Inge <meadori@codesourcery.com>
11208
11209 [BZ #16996]
11210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11211 that the cached result has been set before returning it.
11212
11213 2014-06-12 Roland McGrath <roland@hack.frob.com>
11214
11215 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11216 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11218 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11220 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11221
11222 * nptl/sysdeps/sparc/Makefile: Moved ...
11223 * sysdeps/sparc/nptl/Makefile: ... here.
11224 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11225 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11226 * nptl/sysdeps/sparc/tls.h: Moved ...
11227 * sysdeps/sparc/nptl/tls.h: ... here.
11228 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11229 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11230 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11231 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11232 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11233 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11234 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11235 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11236 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11237 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11238 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11239 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11240 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11241 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11242 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11243 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11244 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11245 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11246 Update #include.
11247 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11249 Update #include.
11250 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11251 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11252 Update #include.
11253 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11254 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11255 Update #include.
11256
11257 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11258
11259 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11260 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11261
11262 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11263 (struct list_links): Type removed.
11264 (struct thread_node, struct timer_node): Replace struct list_links
11265 with struct list_head.
11266 (list_unlink_ip): Likewise.
11267 * sysdeps/pthread/timer_routines.c
11268 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11269 (list_append, list_insbefore): Likewise.
11270 (list_init): Function removed.
11271 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11272 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11273 * sysdeps/pthread/Makefile: ... here, new file.
11274
11275 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11276 * sysdeps/nptl/Implies: ... here.
11277 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11278 * nptl/sysdeps/pthread/list.h: Moved ...
11279 * include/list.h: ... here.
11280 * nptl/sysdeps/pthread/createthread.c: Moved ...
11281 * nptl/createthread.c: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11283 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11284 * nptl/pt-longjmp.c: ... here.
11285 * nptl/sysdeps/pthread/Makefile: Moved ...
11286 * sysdeps/nptl/Makefile: ... here.
11287 * nptl/sysdeps/pthread/Subdirs: Moved ...
11288 * sysdeps/nptl/Subdirs: ... here.
11289 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11290 * sysdeps/nptl/aio_misc.h: ... here.
11291 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11292 * sysdeps/nptl/bits/libc-lock.h: ... here.
11293 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11294 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11295 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11296 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11297 * nptl/sysdeps/pthread/configure: Moved ...
11298 * sysdeps/nptl/configure: ... here.
11299 * nptl/sysdeps/pthread/configure.ac: Moved ...
11300 * sysdeps/nptl/configure.ac: ... here.
11301 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11302 * sysdeps/nptl/gai_misc.h: ... here.
11303 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11304 * sysdeps/nptl/librt-cancellation.c: ... here.
11305 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11306 * sysdeps/nptl/malloc-machine.h: ... here.
11307 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11308 * sysdeps/nptl/pthread-functions.h: ... here.
11309 * nptl/sysdeps/pthread/pthread.h: Moved ...
11310 * sysdeps/nptl/pthread.h: ... here.
11311 * nptl/sysdeps/pthread/setxid.h: Moved ...
11312 * sysdeps/nptl/setxid.h: ... here.
11313 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11314 * sysdeps/nptl/sigfillset.c: ... here.
11315 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11316 * sysdeps/nptl/tcb-offsets.h: ... here.
11317 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11318 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11319 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11320 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11321 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11322 * sysdeps/pthread/allocalim.h: ... here.
11323 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11324 * sysdeps/pthread/bits/sigthread.h: ... here.
11325 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11326 * sysdeps/pthread/flockfile.c: ... here.
11327 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11328 * sysdeps/pthread/ftrylockfile.c: ... here.
11329 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11330 * sysdeps/pthread/funlockfile.c: ... here.
11331 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11332 * sysdeps/pthread/posix-timer.h: ... here.
11333 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11334 * sysdeps/pthread/timer_create.c: ... here.
11335 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11336 * sysdeps/pthread/timer_delete.c: ... here.
11337 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11338 * sysdeps/pthread/timer_getoverr.c: ... here.
11339 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11340 * sysdeps/pthread/timer_gettime.c: ... here.
11341 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11342 * sysdeps/pthread/timer_routines.c: ... here.
11343 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11344 * sysdeps/pthread/timer_settime.c: ... here.
11345 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11346 * sysdeps/pthread/tst-timer.c: ... here.
11347 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11348 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11349
11350 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11351 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11352
11353 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11354 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11355 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11356 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11357 Update #include target.
11358 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11359 * sysdeps/i386/i686/nptl/Makefile: ... here.
11360 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11361 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11362 Update #include target.
11363 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11364 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11365 * nptl/sysdeps/i386/Makefile: Moved ...
11366 * sysdeps/i386/nptl/Makefile: ... here.
11367 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11368 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11369 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11370 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11371 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11372 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11373 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11374 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11375 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11376 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11377 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11378 * nptl/sysdeps/i386/tls.h: Moved ...
11379 * sysdeps/i386/nptl/tls.h: ... here.
11380
11381 * sysdeps/sh/Makefile [$(subdir) = csu]
11382 (gen-as-const-headers): Add tcb-offsets.sym.
11383 * nptl/sysdeps/sh/Makefile: File removed.
11384 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11385 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11386 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11387 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11388 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11389 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11390 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11391 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11392 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11393 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11394 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11395 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11396 * nptl/sysdeps/sh/tls.h: Moved ...
11397 * sysdeps/sh/nptl/tls.h: ... here.
11398 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11399 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11401 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11403 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11405 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11407 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11409 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11411 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11413 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11415 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11417 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11419 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11420 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11421 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11423 Moved ...
11424 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11426 Moved ...
11427 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11428 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11429 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11430 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11431 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11432 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11433 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11435 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11436 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11437 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11439 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11441 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11443 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11445 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11446
11447 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11448
11449 * posix/spawn_faction_addopen.c: Include string.h.
11450
11451 2014-06-11 Roland McGrath <roland@hack.frob.com>
11452
11453 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11454 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11455 * nptl/sysdeps/x86_64/Makefile: Moved ...
11456 * sysdeps/x86_64/nptl/Makefile: ... here.
11457 * nptl/sysdeps/x86_64/configure: Moved ...
11458 * sysdeps/x86_64/nptl/configure: ... here.
11459 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11460 * sysdeps/x86_64/nptl/configure.ac: ... here.
11461 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11462 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11463 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11464 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11465 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11466 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11467 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11468 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11469 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11470 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11471 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11472 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11473 * nptl/sysdeps/x86_64/tls.h: Moved ...
11474 * sysdeps/x86_64/nptl/tls.h: ... here.
11475 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11476 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11477 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11478 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11479
11480 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11481
11482 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11483
11484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11485
11486 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11487
11488 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11489 type.
11490 [POSIX] (off_t): Likewise.
11491 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11492 [POSIX] (S_ISBLK): Require macro.
11493 [POSIX] (S_ISCHR): Likewise.
11494 [POSIX] (S_ISDIR): Likewise.
11495 [POSIX] (S_ISFIFO): Likewise.
11496 [POSIX] (S_ISREG): Likewise.
11497 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11498 optional-macro.
11499 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11500 type.
11501 [POSIX] (time_t): Likewise.
11502 [POSIX] (timer_t): Likewise.
11503
11504 2014-06-11 Florian Weimer <fweimer@redhat.com>
11505
11506 [BZ #17048]
11507 * posix/spawn_int.h (struct __spawn_action): Make the path string
11508 non-const to support deallocation.
11509 * posix/spawn_faction_addopen.c
11510 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11511 * posix/spawn_faction_destroy.c
11512 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11513 path in all spawn_do_open actions.
11514 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11515 posix_spawn_file_actions_addopen.
11516
11517 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11518
11519 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11520 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11521 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11522 conditional code always true.
11523 (__libc_vfork): New alias.
11524
11525 2014-06-11 Roland McGrath <roland@hack.frob.com>
11526
11527 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11528 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11529
11530 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11531
11532 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11533 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11534
11535 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11536 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11537
11538 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11539 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11540
11541 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11542
11543 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11544 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11545 multiarch strcmp for PPC64.
11546 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11547 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11549 multiarch optimizations.
11550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11551 (__libc_ifunc_impl_list): Likewise.
11552
11553 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11554
11555 * benchtests/scripts/validate_benchout.py: New script.
11556 * benchtests/Makefile (bench-func): Call it.
11557 * benchtests/scripts/benchout.schema.json: New file.
11558
11559 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11560
11561 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11562 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11563 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11564 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11565 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11566 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11567 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11568 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11569 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11570 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11571 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11572 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11573 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11574 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11575 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11576 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11578 Moved ...
11579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11580 ... here.
11581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11582 Moved ...
11583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11585 Moved ...
11586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11587 ... here.
11588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11589 Moved ...
11590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11591 ... here.
11592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11593 Moved ...
11594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11596 Moved ...
11597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11598 ... here.
11599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11600 Moved ...
11601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11602 ... here.
11603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11604 Moved ...
11605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11607 Moved ...
11608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11609 ... here.
11610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11611 Moved ...
11612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11613 ... here.
11614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11615 Moved ...
11616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11617 ... here.
11618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11619 Moved ...
11620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11622 Moved ...
11623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11624 ... here.
11625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11626 Moved ...
11627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11628 ... here.
11629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11630 Moved ...
11631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11632 ... here.
11633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11634 Moved ...
11635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11637 Moved ...
11638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11639 ... here.
11640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11641 Moved ...
11642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11643 ... here.
11644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11645 Moved ...
11646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11648 Moved ...
11649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11650 ... here.
11651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11652 Moved ...
11653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11655 Moved ...
11656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11658 Moved ...
11659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11660 ... here.
11661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11662 Moved ...
11663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11664 ... here.
11665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11666 Moved ...
11667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11668 ... here.
11669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11670 Moved ...
11671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11673 Moved ...
11674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11675 ... here.
11676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11677 Moved ...
11678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11679 ... here.
11680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11681 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11683 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11685 Moved ...
11686 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11687 ... here.
11688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11689 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11691 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11693 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11695 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11697 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11698 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11699 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11701 Moved ...
11702 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11704 Moved ...
11705 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11706 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11707 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11709 Moved ...
11710 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11712 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11713 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11714 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11715 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11716 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11717
11718 2014-06-10 Wilco <wdijkstr@arm.com>
11719
11720 * math/test-fenv-return.c: New file.
11721 * math/Makefile: Add new test test-fenv-return.
11722
11723 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11724
11725 [BZ #17042]
11726 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11727 when x - 1 is zero.
11728 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11729 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11730 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11731 0.0L for an argument of 1.0L.
11732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11733 Likewise.
11734 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11735 value when x - 1 is zero.
11736 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11737 * sysdeps/i386/fpu/libm-test-ulps: Update.
11738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11739
11740 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11741
11742 [BZ #15119]
11743 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11744
11745 2014-06-09 Roland McGrath <roland@hack.frob.com>
11746
11747 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11748 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11749
11750 2014-06-09 Roland McGrath <roland@hack.frob.com>
11751
11752 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11753 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11754
11755 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11756 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11757
11758 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11759 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11760
11761 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11762 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11763
11764 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11765 if not already defined.
11766 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11767 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11768 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11769 (TLS_INIT_TP): Use it.
11770 (TLS_DEFINE_INIT_TP): New macro.
11771 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11772
11773 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11774
11775 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11776 constant.
11777 [POSIX] (IXANY): Likewise.
11778 [POSIX] (OLCUC): Likewise.
11779 [POSIX || POSIX2008] (CBAUD): Do not allow.
11780 [POSIX || POSIX2008] (DEFECHO): Likewise.
11781 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11782 [POSIX || POSIX2008] (ECHOKE): Likewise.
11783 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11784 [POSIX || POSIX2008] (EXTA): Likewise.
11785 [POSIX || POSIX2008] (EXTB): Likewise.
11786 [POSIX || POSIX2008] (FLUSHO): Likewise.
11787 [POSIX || POSIX2008] (LOBLK): Likewise.
11788 [POSIX || POSIX2008] (PENDIN): Likewise.
11789 [POSIX || POSIX2008] (SWTCH): Likewise.
11790 [POSIX || POSIX2008] (VDISCARD): Likewise.
11791 [POSIX || POSIX2008] (VDSUSP): Likewise.
11792 [POSIX || POSIX2008] (VLNEXT): Likewise.
11793 [POSIX || POSIX2008] (VREPRINT): Likewise.
11794 [POSIX || POSIX2008] (VSTATUS): Likewise.
11795 [POSIX || POSIX2008] (VWERASE): Likewise.
11796 (B*): Change to B[0123456789]*.
11797 * conform/data/time.h-data [POSIX || UNIX98]
11798 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11799 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11800 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11801 [POSIX] (tm_*): Do not allow.
11802
11803 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11804
11805 * Makefile (install): Don't set LANGUAGE.
11806 * Makefile.in (install): Likewise.
11807 * assert/Makefile (test-assert-ENV): Remove variable.
11808 (test-assert-perr-ENV): Likewise.
11809 * elf/Makefile (neededtest4-ENV): Likewise.
11810 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11811 [$(cross-compiling) = no]: Don't set LANGUAGE.
11812 * io/ftwtest-sh (LANG): Remove variable.
11813 * libio/Makefile (tst-widetext-ENV): Likewise.
11814 * manual/install.texi (Running make install): Don't refer to
11815 environment settings for make install.
11816 * INSTALL: Regenerated.
11817 * nptl/tst-tls6.sh: Don't set LANG.
11818 * posix/globtest.sh (LANG): Remove variable.
11819 * string/Makefile (tester-ENV): Likewise.
11820 (inl-tester-ENV): Likewise.
11821 (noinl-tester-ENV): Likewise.
11822 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11823 [$(cross-compiling) = no]: Don't set LANGUAGE.
11824 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11825 without explicit environment settings.
11826
11827 2014-06-06 Roland McGrath <roland@hack.frob.com>
11828
11829 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11830 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11831 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11832 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11833
11834 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11835
11836 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11837 other files in the crypt directory.
11838 * crypt/crypt.c: Remove duplicate includes.
11839 * crypt/crypt-entry.c: Likewise.
11840 * crypt/crypt_util.c: Likewise.
11841
11842 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11843
11844 * Makeconfig (run-program-env): New variable.
11845 (run-program-prefix-before-env): Likewise.
11846 (run-program-prefix-after-env): Likewise.
11847 (run-program-prefix): Define in terms of new variables.
11848 (built-program-cmd-before-env): New variable.
11849 (built-program-cmd-after-env): Likewise.
11850 (built-program-cmd): Define in terms of new variables.
11851 (test-program-prefix-before-env): New variable.
11852 (test-program-prefix-after-env): Likewise.
11853 (test-program-prefix): Define in terms of new variables.
11854 (test-program-cmd-before-env): New variable.
11855 (test-program-cmd-after-env): Likewise.
11856 (test-program-cmd): Define in terms of new variables.
11857 * Rules (make-test-out): Use $(run-program-env).
11858 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11859 (help): Do not mention environment variables. Mention
11860 --timeoutfactor option.
11861 (timeoutfactor): New variable.
11862 (blacklist_exports): Remove function.
11863 (exports): Remove variable.
11864 (command): Do not include ${exports}.
11865 * manual/install.texi (Configuring and compiling): Do not mention
11866 test wrappers preserving environment variables. Mention that last
11867 assignment to a variable must take precedence.
11868 * INSTALL: Regenerated.
11869 * benchtests/Makefile (run-bench): Use $(run-program-env).
11870 * catgets/Makefile ($(objpfx)test1.cat): Use
11871 $(built-program-cmd-before-env), $(run-program-env) and
11872 $(built-program-cmd-after-env).
11873 ($(objpfx)test2.cat): Do not specify environment variables
11874 explicitly.
11875 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11876 $(run-program-env) and $(built-program-cmd-after-env).
11877 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11878 $(run-program-env) and $(test-program-cmd-after-env).
11879 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11880 explicitly.
11881 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11882 run_program_env and test_program_cmd_after_env arguments.
11883 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11884 * elf/tst-pathopt.sh: Use run_program_env argument.
11885 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11886 $(test-wrapper-env) and $(run-program-env).
11887 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11888 run_program_env arguments.
11889 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11890 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11891 $(test-program-prefix-before-env), $(run-program-env) and
11892 $(test-program-prefix-after-env).
11893 ($(objpfx)tst-gettext2.out): Likewise.
11894 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11895 run_program_env and test_program_prefix_after_env arguments.
11896 * intl/tst-gettext2.sh: Likewise.
11897 * intl/tst-gettext4.sh: Do not set environment variables
11898 explicitly.
11899 * intl/tst-gettext6.sh: Likewise.
11900 * intl/tst-translit.sh: Likewise.
11901 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11902 $(test-program-prefix-before-env), $(run-program-env) and
11903 $(test-program-prefix-after-env).
11904 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11905 run_program_env and test_program_prefix_after_env arguments.
11906 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11907 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11908 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11909 explicitly with each use of ${test_wrapper_env}.
11910 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11911 $(test-program-prefix-before-env), $(run-program-env) and
11912 $(test-program-prefix-after-env).
11913 * posix/tst-getconf.sh: Do not set environment variables
11914 explicitly.
11915 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11916 run_program_env and test_program_prefix_after_env arguments.
11917 * stdio-common/tst-printf.sh: Do not set environment variables
11918 explicitly.
11919 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11920 $(test-program-prefix-before-env), $(run-program-env) and
11921 $(test-program-prefix-after-env).
11922 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11923 run_program_env and test_program_prefix_after_env arguments.
11924 Split $test calls into $test_pre and $test.
11925 * timezone/Makefile (build-testdata): Use
11926 $(built-program-cmd-before-env), $(run-program-env) and
11927 $(built-program-cmd-after-env).
11928
11929 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11930
11931 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11932 strlen for non SHARED builds.
11933
11934 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11935
11936 * nptl/allocatestack.c (check_list): Inlined function...
11937 (__reclaim_stacks): ... here.
11938
11939 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11940
11941 [BZ #15698]
11942 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11943 memory overrun.
11944
11945 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11946
11947 * Rules (make-test-out): Include
11948 LOCPATH=$(common-objpfx)localedata in default environment.
11949 * debug/Makefile (tst-chk1-ENV): Remove variable.
11950 (tst-chk2-ENV): Likewise.
11951 (tst-chk3-ENV): Likewise.
11952 (tst-chk4-ENV): Likewise.
11953 (tst-chk5-ENV): Likewise.
11954 (tst-chk6-ENV): Likewise.
11955 (tst-lfschk1-ENV): Likewise.
11956 (tst-lfschk2-ENV): Likewise.
11957 (tst-lfschk3-ENV): Likewise.
11958 (tst-lfschk4-ENV): Likewise.
11959 (tst-lfschk5-ENV): Likewise.
11960 (tst-lfschk6-ENV): Likewise.
11961 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11962 (tst-iconv7-ENV): Likewise.
11963 * intl/Makefile (LOCPATH-ENV): Likewise.
11964 (tst-codeset-ENV): Likewise.
11965 (tst-gettext3-ENV): Likewise.
11966 (tst-gettext5-ENV): Likewise.
11967 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11968 (tst-fopenloc-ENV): Likewise.
11969 (tst-fgetws-ENV): Remove variable.
11970 (tst-ungetwc1-ENV): Likewise.
11971 (tst-ungetwc2-ENV): Likewise.
11972 (bug-ungetwc2-ENV): Likewise.
11973 (tst-swscanf-ENV): Likewise.
11974 (bug-ftell-ENV): Likewise.
11975 (tst-fgetwc-ENV): Likewise.
11976 (tst-fseek-ENV): Likewise.
11977 (tst-ftell-partial-wide-ENV): Likewise.
11978 (tst-ftell-active-handler-ENV): Likewise.
11979 (tst-ftell-append-ENV): Likewise.
11980 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11981 (tst-regexloc-ENV): Likewise.
11982 (bug-regex1-ENV): Likewise.
11983 (tst-regex-ENV): Likewise.
11984 (tst-regex2-ENV): Likewise.
11985 (bug-regex5-ENV): Likewise.
11986 (bug-regex6-ENV): Likewise.
11987 (bug-regex17-ENV): Likewise.
11988 (bug-regex18-ENV): Likewise.
11989 (bug-regex19-ENV): Likewise.
11990 (bug-regex20-ENV): Likewise.
11991 (bug-regex22-ENV): Likewise.
11992 (bug-regex23-ENV): Likewise.
11993 (bug-regex25-ENV): Likewise.
11994 (bug-regex26-ENV): Likewise.
11995 (bug-regex30-ENV): Likewise.
11996 (bug-regex32-ENV): Likewise.
11997 (bug-regex33-ENV): Likewise.
11998 (bug-regex34-ENV): Likewise.
11999 (bug-regex35-ENV): Likewise.
12000 (tst-rxspencer-ENV): Likewise.
12001 (tst-rxspencer-no-utf8-ENV): Likewise.
12002 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12003 (tst-sscanf-ENV): Likewise.
12004 (tst-swprintf-ENV): Likewise.
12005 (tst-swscanf-ENV): Likewise.
12006 (test-vfprintf-ENV): Likewise.
12007 (scanf13-ENV): Likewise.
12008 (bug14-ENV): Likewise.
12009 (tst-grouping-ENV): Likewise.
12010 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12011 (tst-strtod3-ENV): Likewise.
12012 (tst-strtod4-ENV): Likewise.
12013 (tst-strtod5-ENV): Likewise.
12014 (testmb2-ENV): Likewise./
12015 * string/Makefile (tst-strxfrm-ENV): Likewise.
12016 (tst-strxfrm2-ENV): Likewise.
12017 (bug-strcoll1-ENV): Likewise.
12018 (test-strcasecmp-ENV): Likewise.
12019 (test-strncasecmp-ENV): Likewise.
12020 * time/Makefile (tst-strptime-ENV): Likewise.
12021 (tst-ftime_l-ENV): Likewise.
12022 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12023 (tst-mbrtowc-ENV): Likewise.
12024 (tst-wcrtomb-ENV): Likewise.
12025 (tst-mbrtowc2-ENV): Likewise.
12026 (tst-c16c32-1-ENV): Likewise.
12027 (tst-mbsnrtowcs-ENV): Likewise.
12028
12029 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12030
12031 * manual/resource.texi (How to get information about the memory
12032 subsystem?): Fix typo.
12033 Reported by Peon de la Parra Ivan <peon@keba.com>
12034
12035 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12036
12037 [BZ #16882]
12038 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12039 (pthread_spin_lock): Branch out of spin loop to proper location.
12040 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12041 (pthread_spin_lock): Likewise.
12042
12043 * nptl/tst-spin4.c: New test.
12044 * nptl/Makefile (tests): Add tst-spin4.
12045
12046 2014-06-03 Andreas Schwab <schwab@suse.de>
12047
12048 [BZ #15946]
12049 * resolv/res_send.c (send_dg): Reload file descriptor after
12050 calling reopen.
12051
12052 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12053
12054 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12055
12056 2014-06-03 Richard Henderson <rth@redhat.com>
12057
12058 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12059 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12060 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12061 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12062 in the SAVE_PID block.
12063 (__libc_vfork): New alias.
12064 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12065
12066 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12067 child in registers, not on the stack. Remove RESET_PID conditionals.
12068 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12069
12070 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12071
12072 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12073
12074 2014-06-03 Wilco <wdijkstr@arm.com>
12075
12076 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12077 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12078 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12079 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12080 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12081 Likewise.
12082
12083 2014-06-03 Wilco <wdijkstr@arm.com>
12084
12085 * sysdeps/aarch64/fpu/math_private.h
12086 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12087 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12088 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12089 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12090 Fix declarations.
12091
12092 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12093
12094 * crypt/crypt-private.h: Include ufc-crypt.h.
12095 (__b64_from_24bit): Declare extern.
12096 * crypt/crypt_util.c(__b64_from_24bit): New function.
12097 (b64t): New static const variable.
12098 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12099 (b64t): Remove variable.
12100 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12101 * crypt/sha256-crypt.c: Include crypt-private.h.
12102 (b64t): Remove variable.
12103 (__sha256_crypt_r): Remove b64_from_24bit and replace
12104 with __b64_from_24bit.
12105 * crypt/sha512-crypt.c: Likewise.
12106
12107 2014-06-02 Roland McGrath <roland@hack.frob.com>
12108
12109 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12110 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12111 Label the code __libc_vfork rather than __vfork.
12112 [!NOT_IN_libc] (vfork): Define as weak alias.
12113 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12114 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12115 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12116
12117 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12118
12119 * malloc/malloc.c (malloc_info): Fix format specifier for
12120 n_mmaps.
12121
12122 2014-06-02 Wilco <wdijkstr@arm.com>
12123
12124 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12125 FPCR write.
12126
12127 2014-06-02 Wilco <wdijkstr@arm.com>
12128
12129 [BZ #17009]
12130 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12131 Rewrite to reduce FPCR/FPSR accesses.
12132
12133 2014-06-01 David S. Miller <davem@davemloft.net>
12134
12135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12136
12137 2014-05-31 David S. Miller <davem@davemloft.net>
12138
12139 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12140 to occur in round to nearest mode when |x| >= 2.0
12141
12142 2014-05-30 Richard Henderson <rth@twiddle.net>
12143
12144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12145 (PSEUDO_RET_NOERRNO): Remove.
12146 (ret): Don't redefine.
12147 (ret_NOERRNO): Define in terms of ret.
12148 (ret_ERRVAL): Likewise.
12149
12150 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12151 use of PSEUDO_RET; perform the error check directly.
12152
12153 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12154
12155 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12156 with __int128_t.
12157
12158 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12159
12160 * malloc/malloc (malloc_info): Fix formatting.
12161
12162 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12163 Roland McGrath <roland@hack.frob.com>
12164
12165 * malloc/malloc (malloc_info): Also print mmapped statistics.
12166
12167 2014-05-30 Roland McGrath <roland@hack.frob.com>
12168
12169 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12170 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12171
12172 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12173
12174 * malloc/malloc.c (malloc_info): Inline mi_arena.
12175
12176 2014-05-29 Richard Henderson <rth@twiddle.net>
12177
12178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12179 Remove comma before expanding ASM_ARGS_##nr.
12180 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12181 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12182 of ASM_ARGS_##nr.
12183 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12184 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12185 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12186 (ASM_ARGS_1): Add leading comma.
12187
12188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12189 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12190 to __errno_location.
12191 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12192 Remove the expected plt for __errno_location.
12193
12194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12195 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12196 call to __read_tp.
12197
12198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12199 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12200 it and break it down.
12201 (DOCARGS_0, DOCARGS_1): Do nothing.
12202 (DOCARGS_2): Update to store into the new stack frame.
12203 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12204 (UNDOCARGS_1): Update to restore from the new stack frame.
12205 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12206 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12207
12208 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12209 (SINGLE_THREAD_P): New parameter for result regno.
12210 (PSEUDO): Update to match; use cbz instead of beq.
12211
12212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12213 Use ENTRY to define the _nocancel entry point. Share the syscall
12214 and syscall error check paths with the cancel path.
12215 (PSEUDO_END): New.
12216
12217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12218 whitespace; tabs before and after asm mnemonics.
12219
12220 2014-05-29 Eric Wong <normalperson@yhbt.net>
12221
12222 [BZ #15132]
12223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12224 Call fstat64 or stat64 internally, depending on arguments passed.
12225 Replace stat buffer argument with file descriptor argument.
12226 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12227 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12228 Pass fd to __internal_statvfs instead of calling fstat64.
12229 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12230 Pass fd to __internal_statvfs64 instead of calling fstat64.
12231 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12232 Pass -1 to __internal_statvfs instead of calling stat64.
12233 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12234 Pass -1 to __internal_statvfs64 instead of calling stat64.
12235
12236 2014-05-28 Roland McGrath <roland@hack.frob.com>
12237
12238 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12239 that was previously under [RESET_PID].
12240 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12241
12242 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12243 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12244
12245 2014-05-27 Roland McGrath <roland@hack.frob.com>
12246
12247 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12248
12249 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12250 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12251
12252 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12253
12254 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12255
12256 2014-05-27 Andreas Schwab <schwab@suse.de>
12257
12258 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12259 TLS_INIT_TP macro.
12260 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12261 * elf/rtld.c (init_tls, dl_main): Likewise.
12262 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12263 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12264 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12265 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12266 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12267 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12268 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12269 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12270 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12271 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12272 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12273 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12274 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12275 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12276 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12277 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12278 * sysdeps/generic/tls.h: Update description.
12279
12280 2014-05-27 Will Newton <will.newton@linaro.org>
12281
12282 [BZ #16990]
12283 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12284 and restore r2 rather than just restoring.
12285
12286 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12287
12288 [BZ #16724]
12289 * libio/tst-ftell-append.c: New test case.
12290 * libio/Makefile (tests): Add test case.
12291 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12292 append mode.
12293 * libio/wfileops.c (do_ftell_wide): Likewise.
12294
12295 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296
12297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12298
12299 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12300 ...
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12303 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12304 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12306 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12307 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12308 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12310 Moved ...
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12313 Moved ...
12314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12316 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12318 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12320 ...
12321 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12323 Moved ...
12324 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12325 here.
12326 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12327 ...
12328 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12330 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12331
12332 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12333 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12335 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12336
12337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12338 merge into ...
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12341 ...
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12344 ...
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12347 Moved ...
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12349 here.
12350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12351 Moved ...
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12354 Moved ...
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12356
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12358 conditional [RESET_PID].
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12361 removed.
12362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12363 removed.
12364
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12366 <tcb-offsets.h>.
12367 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12368 (__libc_vfork): New strong alias.
12369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12370 removed.
12371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12372 Removed.
12373
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12375 <tcb-offsets.h>.
12376 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12377 (__libc_vfork): New strong alias.
12378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12379 removed.
12380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12381 removed.
12382
12383 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12384
12385 * malloc/malloc.c (mi_arena): New function.
12386 (malloc_info): Remove nested function mi_arena. Call non-nosted
12387 function mi_arena.
12388
12389 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12390
12391 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12392 by insrwi.
12393 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12394 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12395 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12396 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12397 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12398 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12399 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12400
12401 2014-05-26 Andreas Schwab <schwab@suse.de>
12402
12403 [BZ #16984]
12404 * locale/programs/repertoire.c (repertoire_read): Add slash
12405 between I18NPATH element and file name.
12406 * locale/programs/locfile.c (locfile_read): Likewise.
12407
12408 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12409
12410 * nptl/pthread_mutexattr_settype.c
12411 (__pthread_mutexattr_settype):
12412 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12413
12414 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12415
12416 * nptl/tst-mutex5 (do_test):
12417 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12418
12419 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12420
12421 * benchtests/README: Document 'init' directive.
12422 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12423 BENCH_INIT.
12424 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12425 (parse_file): Recognize 'init' directive.
12426
12427 2014-05-26 Kyle McMartin <kyle@redhat.com>
12428
12429 [BZ #16796]
12430 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12431 alignment of struct pthread.
12432
12433 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12434
12435 [BZ #16878]
12436 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12437 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12438 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12439 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12440
12441 2014-05-25 Richard Henderson <rth@twiddle.net>
12442
12443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12444 (SINGLE_THREAD_P_PIC): Remove.
12445 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12446 (SINGLE_THREAD_P_PIC): Remove.
12447
12448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12449 branch to syscall error ...
12450 (PSEUDO): ... here.
12451 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12452 from __local_syscall_error to .Lsyscall_error.
12453 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12454 (SYSCALL_ERROR): Update label name.
12455
12456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12457 Do not use DOARGS/UNDOARGS.
12458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12459 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12460 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12461 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12462 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12463
12464 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12465 block comment.
12466
12467 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12468 define if !NOT_IN_libc.
12469 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12470 define with non-default symbol versions.
12471
12472 2014-05-23 Richard Henderson <rth@twiddle.net>
12473
12474 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12475 (vfork, __vfork): Define via compat_symbol.
12476
12477 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12478 [!HAVE_IFUNC] (vfork_compat): Remove.
12479 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12480
12481 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12482
12483 [BZ #16978]
12484 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12485 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12486 variable.
12487
12488 2014-05-23 Richard Henderson <rth@twiddle.net>
12489
12490 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12491 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12492 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12493 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12494
12495 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12496 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12497 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12498 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12499 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12500 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12501 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12502 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12503 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12504 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12505 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12506 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12507 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12508 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12509 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12510 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12511 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12512 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12514 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12515 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12516 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12517 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12518 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12519 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12521 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12522 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12523 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12524 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12525 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12526 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12527 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12528 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12529 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12530 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12531 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12532 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12533 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12534 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12535 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12536 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12537 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12538 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12539 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12540 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12542 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12544 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12546 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12548 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12550 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12551
12552 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12553 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12554 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12555 before exiting on error.
12556 (__libc_vfork): New strong alias.
12557 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12558 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12559
12560 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12561 that was previously under [RESET_PID].
12562 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12563
12564 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12565
12566 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12567
12568 [BZ #16977]
12569 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12570 value when x - 1 is zero.
12571 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12572 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12573 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12574 0.0L for an argument of 1.0L.
12575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12576 Likewise.
12577 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12578 value when x - 1 is zero.
12579 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12580 * sysdeps/i386/fpu/libm-test-ulps: Update.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12582
12583 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12584
12585 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12586 alphasort and versionsort.
12587
12588 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12589
12590 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12591 macro.
12592 [copysignf]: Likewise.
12593
12594 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12595
12596 * crypt/md5-crypt.c: Fix formatting.
12597
12598 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12599
12600 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12601 (b64_from_24bit): New function.
12602
12603 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12604
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12606 libc_hidden_builtin_def to ifunc.
12607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12608 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12609
12610 2014-05-21 Roland McGrath <roland@hack.frob.com>
12611
12612 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12613 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12614
12615 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12616
12617 * nscd/Depend (linuxthreads): Remove.
12618 (nptl): Add.
12619 * resolv/Depend (linuxthreads): Remove.
12620 * rt/Depend (linuxthreads): Remove.
12621
12622 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12623 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12624 $(common-objpfx)elf/.
12625 (link-libc-before-gnulib): Likewise.
12626 (elfobjdir): Remove variable.
12627 * Makefile (install): Use $(elf-objpfx) instead of
12628 $(common-objpfx)elf/.
12629 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12630 $(elfobjdir)/.
12631 (link-libc-deps): Likewise.
12632 ($(common-objpfx)libc.so): Likewise.
12633 ($(common-objpfx)linkobj/libc.so): Likewise.
12634 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12635 instead of $(common-objpfx)elf/.
12636 (symbolic-link-list): Likewise.
12637 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12638 [$(cross-compiling) = no]: Likewise.
12639 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12640 $(elfobjdir)/.
12641 (static-gnulib-arch): Likewise.
12642 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12643 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12644 $(common-objpfx)elf/.
12645
12646 2014-05-21 Richard Henderson <rth@redhat.com>
12647
12648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12649 (SINGLE_THREAD_P): Use the correct width load. Fold
12650 into the ldr offset.
12651
12652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12653 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12654
12655 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12656
12657 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12658 (libgcc_s_resume): Use __attribute_used__.
12659 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12660 Likewise.
12661
12662 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12663
12664 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12665 optimization when used with float constants.
12666
12667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12668
12669 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12670
12671 [BZ #16915]
12672 * locale/nl_langinfo_l.c: Make direct reference to every
12673 _nl_current_CATEGORY symbol.
12674 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12675 (tests-static): Add tst-langinfo-static.
12676 (tests-special): Add tst-langinfo-static.out.
12677 ($(objpfx)tst-langinfo.out): Redirect output.
12678 ($(objpfx)tst-langinfo-static.out): New.
12679 * localedata/tst-langinfo.sh: Send output to stdout.
12680 * localedata/tst-langinfo-static.c: New file.
12681
12682 [BZ #16965]
12683 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12684 when the shift amount is modulo the limb size.
12685
12686 2014-05-20 Richard Henderson <rth@redhat.com>
12687
12688 [BZ #16967]
12689 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12690 Change type of sa_flags from unsigned int to int.
12691
12692 [BZ #16966]
12693 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12694
12695 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12696
12697 2014-05-20 Will Newton <will.newton@linaro.org>
12698
12699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12700 Test the return value of the system call in the nocancel case.
12701
12702 2014-05-20 Will Newton <will.newton@linaro.org>
12703 Yvan Roux <yvan.roux@linaro.org>
12704
12705 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12706 #include of asm/ptrace.h.
12707 (PTRACE_GET_THREAD_AREA): Remove #undef.
12708 (PTRACE_GETHBPREGS): Likewise.
12709 (PTRACE_SETHBPREGS): Likewise.
12710 (struct user_regs_struct): New structure.
12711 (struct user_fpsimd_struct): New structure.
12712 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12713 #include of asm/ptrace.h and second #include of sys/user.h.
12714 (PTRACE_GET_THREAD_AREA): Remove #undef.
12715 (PTRACE_GETHBPREGS): Likewise.
12716 (PTRACE_SETHBPREGS): Likewise.
12717 (ELF_NGREG): Use new struct user_regs_struct.
12718 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12719
12720 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12721
12722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12724
12725 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12726
12727 [BZ #16958]
12728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12729 membar to avoid block loads/stores to overlap previous stores.
12730
12731 2014-05-17 Richard Henderson <rth@redhat.com>
12732
12733 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12734 Create the __##syscall_name##_nocancel entry point.
12735 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12736 Remove; let the sysdep-cancel.h code create it.
12737
12738 2014-05-17 David S. Miller <davem@davemloft.net>
12739
12740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12741 Protect with __USE_GNU.
12742 (TIOCSET_TEMPT): Likewise.
12743 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12744 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12745 these are already provided in bits/ioctl-types.h
12746
12747 2014-05-16 Roland McGrath <roland@hack.frob.com>
12748
12749 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12750 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12751
12752 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12753 Use wait4 regardless of [__NR_waitpid].
12754
12755 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12756
12757 PR libgcc/60166
12758 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12759 (_FP_NANSIGN_Q): Set the quiet bit.
12760
12761 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12762
12763 * benchtests/Makefile
12764 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12765 not $(common-objpfx)math/libm.so.
12766 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12767 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12768 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12769 $(common-objpfx)dlfcn/libdl.so.
12770 ($(objpfx)tst-audit8): Depend on $(libm), not
12771 $(common-objpfx)math/libm.so.
12772 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12773 not $(common-objpfx)dlfcn/libdl.so.
12774 * math/Makefile
12775 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12776 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12777 [$(build-shared) = yes].
12778 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12779 $(common-objpfx)nptl/libpthread.so.
12780 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12781 $(common-objpfx)math/libm.so$(libm.so-version) or
12782 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12783 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12784 $(common-objpfx)dlfcn/libdl.so.
12785 * setjmp/Makefile (link-libm): Remove variable.
12786 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12787 * stdio-common/Makefile (link-libm): Remove variable.
12788 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12789 * stdlib/Makefile (link-libm): Remove variable.
12790 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12791 ($(objpfx)tst-strtod-round): Likewise.
12792 ($(objpfx)tst-tininess): Likewise.
12793 ($(objpfx)tst-strtod-underflow): Likewise.
12794 ($(objpfx)tst-strtod6): Likewise.
12795 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12796 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12797 $(common-objpfx)dlfcn/libdl.so.
12798
12799 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12800
12801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12802 BSD terminal modes definitions.
12803
12804 2014-05-16 Roland McGrath <roland@hack.frob.com>
12805
12806 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12807 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12808
12809 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12810 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12811 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12812 Don't do #include_next.
12813 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12814 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12815 Don't do #include_next.
12816 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12817 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12818 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12819 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12820
12821 2014-05-16 Allan McRae <allan@archlinux.org>
12822
12823 * po/sv.po: Update Swedish translation from translation project.
12824
12825 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12826 in sed expression.
12827
12828 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12829
12830 [BZ #16917]
12831 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12832 errno if the TIOCGPTN ioctl fails with an error different than
12833 EINVAL.
12834 * login/tst-ptsname.c: New file.
12835 * login/Makefile (tests): Add tst-ptsname.
12836
12837 [BZ #16943]
12838 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12839 and prlimit64.
12840
12841 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
12843 [BZ #16849]
12844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12845 herrno to return EAI_AGAIN.
12846
12847 2014-05-14 Roland McGrath <roland@hack.frob.com>
12848
12849 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12850 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12851 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12854 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12855 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12856 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12858 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12860 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12861 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12862 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12863 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12864 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12865 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12866 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12867 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12868 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12872 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12874 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12878 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12880 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12884 Moved ...
12885 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12887 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12889 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12891 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12893 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12895 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12899 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12901 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12903 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12909 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12913 Moved ...
12914 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12918 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12920 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12922 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12934 Moved ...
12935 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12937 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12938
12939 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12940 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12941 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12942 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12943 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12944 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12945 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12946 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12947 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12949 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12950 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12951 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12953 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12955 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12957 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12959 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12961 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12962 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12963 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12965 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12967 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12969 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12970
12971 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12972 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12973
12974 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12975 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12976 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12977 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12978 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12979 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12980 Moved ...
12981 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12983 Moved ...
12984 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12986 Moved ...
12987 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12989 Moved ...
12990 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12992 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12993 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12994 Moved ...
12995 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12996 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12997 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12999 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13001 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13003 Moved ...
13004 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13005 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13006 Moved ...
13007 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13008 ... here.
13009 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13010 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13011 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13012 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13013 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13014 Moved ...
13015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13016 ... here.
13017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13018 Moved ...
13019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13020 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13021 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13023 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13024 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13025 Moved ...
13026 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13028 Moved ...
13029 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13031 Moved ...
13032 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13034 Moved ...
13035 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13037 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13039 Moved ...
13040 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13041 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13042 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13044 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13045 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13046 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13048 Moved ...
13049 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13050 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13051 Moved ...
13052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13053 ... here.
13054 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13055 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13056 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13057 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13059 Moved ...
13060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13061 ... here.
13062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13063 Moved ...
13064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13065 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13066 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13067 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13068 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13069 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13070 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13071 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13072 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13074 Moved ...
13075 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13077 Moved ...
13078 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13079 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13080 Moved ...
13081 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13083 Moved ...
13084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13085 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13086 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13087 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13088 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13089 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13090 Moved ...
13091 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13093 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13095 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13097 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13099 Moved ...
13100 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13102 Moved ...
13103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13104 ... here.
13105 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13106 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13107 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13108 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13109 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13110 Moved ...
13111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13112 ... here.
13113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13114 Moved ...
13115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13116 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13117 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13119 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13120 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13121 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13123 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13125 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13126
13127 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13128 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13129
13130 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13131 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13132
13133 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13134 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13135 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13136 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13137 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13139 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13140 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13141 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13144 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13147 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13149 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13151 Moved ...
13152 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13154 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13156 Moved ...
13157 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13159 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13161 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13163 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13165 Moved ...
13166 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13168 Moved ...
13169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13171 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13173 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13175 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13177 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13178 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13179 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13180 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13181 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13182 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13183 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13184 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13185 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13186
13187 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13188 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13189 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13190 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13191 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13192
13193 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13194 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13195 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13196 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13197 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13198 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13199 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13200 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13201 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13202 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13203
13204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13206
13207 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13208 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13209 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13210 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13211 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13212 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13214 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13216 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13217 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13218 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13219 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13220 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13222 Update #include.
13223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13224 Likewise.
13225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13226 Likewise.
13227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13228 Likewise.
13229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13230 Likewise.
13231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13232 Likewise.
13233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13234 Likewise.
13235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13236 Likewise.
13237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13238 Likewise.
13239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13240 Likewise.
13241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13244 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13246 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13247 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13248 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13250 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13251 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13252 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13253 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13254 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13256
13257 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13258 that was previously under [RESET_PID].
13259 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13260 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13261 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13262
13263 * sysdeps/i386/nptl/Implies: New file.
13264 * sysdeps/x86_64/nptl/Implies: New file.
13265 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13266 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13268 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13269
13270 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13271 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13272 (__libc_vfork): New strong alias.
13273 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13274 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13275
13276 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13277 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13278 (__libc_vfork): New strong alias.
13279 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13280 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13281
13282 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13283 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13284 (__libc_vfork): New strong alias.
13285 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13286 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13287 * nptl/pt-vfork.c: New file.
13288 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13289 (libpthread: GLIBC_2.20): New version set (empty).
13290
13291 2014-05-14 Will Newton <will.newton@linaro.org>
13292
13293 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13294 rather than #if.
13295
13296 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13297
13298 [BZ #16564]
13299 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13300 arguments with exponent 65 or above.
13301 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13302 arguments 0x1p113L or above.
13303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13304 to arguments 0x1p107L or above.
13305 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13306 positive arguments with exponent 65 or above.
13307 * math/auto-libm-test-in: Add more tests of log1p.
13308 * math/auto-libm-test-out: Regenerated.
13309
13310 [BZ #16928]
13311 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13312 non-finite arguments is +0.
13313 * math/s_cacosf.c (__cacosf): Likewise.
13314 * math/s_cacosl.c (__cacosl): Likewise.
13315 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13318
13319 [BZ #16927]
13320 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13321 value.
13322 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13323 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13324 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13325 for explicit high bit of mantissa when testing for argument equal
13326 to 1.
13327 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13328 * sysdeps/i386/fpu/libm-test-ulps: Update.
13329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13330
13331 [BZ #16516]
13332 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13333 (__erf): Scale by 16 instead of 8 in potentially underflowing
13334 case. Ensure exception if result actually underflows.
13335 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13336 (__erff): Scale by 16 instead of 8 in potentially underflowing
13337 case. Ensure exception if result actually underflows.
13338 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13339 (efx8): Remove variable.
13340 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13341 case. Ensure exception if result actually underflows.
13342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13343 (efx8): Remove variable.
13344 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13345 case. Ensure exception if result actually underflows.
13346 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13347 (efx8): Remove variable.
13348 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13349 case. Ensure exception if result actually underflows.
13350 * math/auto-libm-test-in: Add more tests of erf.
13351 * math/auto-libm-test-out: Regenerated.
13352
13353 2014-05-14 Andreas Schwab <schwab@suse.de>
13354
13355 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13356 Remove code conditionalized on USE___THREAD.
13357
13358 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13359 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13360 not definedness.
13361
13362 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13363
13364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13365 Define unconditionally.
13366 (__ASSUME_O_CLOEXEC): Likewise.
13367 (__ASSUME_SOCK_CLOEXEC): Likewise.
13368 (__ASSUME_IN_NONBLOCK): Likewise.
13369 (__ASSUME_PIPE2): Likewise.
13370 (__ASSUME_EVENTFD2): Likewise.
13371 (__ASSUME_SIGNALFD4): Likewise.
13372 (__ASSUME_DUP3): Likewise.
13373 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13374 (__ASSUME_DUP3): Do not define.
13375 (__ASSUME_EVENTFD2): Likewise.
13376 (__ASSUME_IN_NONBLOCK): Likewise.
13377 (__ASSUME_O_CLOEXEC): Likewise.
13378 (__ASSUME_PIPE2): Likewise.
13379 (__ASSUME_SIGNALFD4): Likewise.
13380 (__ASSUME_SOCK_CLOEXEC): Likewise.
13381 (__ASSUME_UTIMES): Undefine.
13382 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13383 (__ASSUME_UTIMES): Do not define.
13384 (__ASSUME_O_CLOEXEC): Likewise.
13385 (__ASSUME_SOCK_CLOEXEC): Likewise.
13386 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13387 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13388 0x020621].
13389 (__ASSUME_PIPE2): Likewise.
13390 (__ASSUME_EVENTFD2): Likewise.
13391 (__ASSUME_SIGNALFD4): Likewise.
13392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13393 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13394 Do not define.
13395 (__ASSUME_EVENTFD2): Likewise.
13396 (__ASSUME_SIGNALFD4): Likewise.
13397 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13398 (__ASSUME_32BITUIDS): Likewise.
13399 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13400 (__ASSUME_IPC64): Likewise.
13401 (__ASSUME_ST_INO_64_BIT): Likewise.
13402 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13403 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13404 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13405 (__ASSUME_UTIMES): Do not define.
13406 (__ASSUME_PSELECT): Likewise.
13407 (__ASSUME_PPOLL): Likewise.
13408 (__ASSUME_O_CLOEXEC): Likewise.
13409 (__ASSUME_SOCK_CLOEXEC): Likewise.
13410 (__ASSUME_IN_NONBLOCK): Likewise.
13411 (__ASSUME_PIPE2): Likewise.
13412 (__ASSUME_EVENTFD2): Likewise.
13413 (__ASSUME_SIGNALFD4): Likewise.
13414 (__ASSUME_DUP3): Likewise.
13415 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13416 (__ASSUME_UTIMES): Likewise.
13417 (__ASSUME_O_CLOEXEC): Likewise.
13418 (__ASSUME_SOCK_CLOEXEC): Likewise.
13419 (__ASSUME_IN_NONBLOCK): Likewise.
13420 (__ASSUME_PIPE2): Likewise.
13421 (__ASSUME_EVENTFD2): Likewise.
13422 (__ASSUME_SIGNALFD4): Likewise.
13423 (__ASSUME_DUP3): Likewise.
13424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13425 (__ASSUME_UTIMES): Likewise.
13426 (__ASSUME_O_CLOEXEC): Likewise.
13427 (__ASSUME_SOCK_CLOEXEC): Likewise.
13428 (__ASSUME_IN_NONBLOCK): Likewise.
13429 (__ASSUME_PIPE2): Likewise.
13430 (__ASSUME_EVENTFD2): Likewise.
13431 (__ASSUME_SIGNALFD4): Likewise.
13432 (__ASSUME_DUP3): Likewise.
13433 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13434 Likewise.
13435 (__ASSUME_UTIMES): Likewise.
13436 (__ASSUME_EVENTFD2): Likewise.
13437 (__ASSUME_SIGNALFD4): Likewise.
13438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13439 (__ASSUME_O_CLOEXEC): Likewise.
13440 (__ASSUME_SOCK_CLOEXEC): Likewise.
13441 (__ASSUME_IN_NONBLOCK): Likewise.
13442 (__ASSUME_PIPE2): Likewise.
13443 (__ASSUME_EVENTFD2): Likewise.
13444 (__ASSUME_SIGNALFD4): Likewise.
13445 (__ASSUME_DUP3): Likewise.
13446 (__ASSUME_UTIMES): Undefine.
13447
13448 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13449 feclearexcept. Remove symbol versioning code.
13450 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13451 symbol versioning code.
13452 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13453 symbol versioning code.
13454 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13455 feupdateenv. Remove symbol versioning code.
13456 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13457 fegetexceptflag. Remove symbol versioning code.
13458 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13459 fesetexceptflag. Remove symbol versioning code.
13460 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13461 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13462 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13463 (__posix_fadvise64_l32): Remove prototype.
13464 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13465 code.
13466
13467 2014-05-13 Roland McGrath <roland@hack.frob.com>
13468
13469 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13470 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13471 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13472 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13473
13474 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13475
13476 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13477 current working directory
13478
13479 2014-05-13 Roland McGrath <roland@hack.frob.com>
13480
13481 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13482 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13483 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13484 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13485 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13486 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13487 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13488 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13489 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13492 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13493 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13494 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13496 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13497 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13498 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13499 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13500 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13502 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13503 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13504 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13505 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13506 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13507 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13508 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13509 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13510 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13511 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13512 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13513 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13514 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13515 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13516 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13517 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13518 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13519 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13520 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13521 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13522 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13523
13524 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13525 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13526
13527 * sysdeps/unix/sysv/linux/arm/Makefile
13528 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13529 Add rt-aeabi_unwind_cpp_pr1.
13530 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13531 Add nptl-aeabi_unwind_cpp_pr1.
13532 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13533 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13534 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13535 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13536 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13537 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13538
13539 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13540 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13541 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13542 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13543
13544 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13545 Deconditionalize the code that was previously under [RESET_PID].
13546 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13547
13548 * sysdeps/generic/exit-thread.h: New file.
13549 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13550 * include/unistd.h (__exit_thread): Remove declaration.
13551 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13552 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13553 * csu/libc-start.c: Include <exit-thread.h>.
13554 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13555 * nptl/pthread_create.c: Include <exit-thread.h>.
13556 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13557 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13558 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13559 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13560 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13561 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13562 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13563 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13564 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13565 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13566 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13567 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13568 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13569 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13570 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13571 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13572 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13573
13574 2014-05-13 Andreas Schwab <schwab@suse.de>
13575
13576 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13577
13578 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13579
13580 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13581 (__ASSUME_UTIMES): Do not condition on kernel version.
13582 (__ASSUME_PSELECT): Define unconditionally.
13583 (__ASSUME_PPOLL): Likewise.
13584 (__ASSUME_ATFCTS): Likewise.
13585 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13586 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13587 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13588 (__ASSUME_UTIMENSAT): Define unconditionally.
13589 (__ASSUME_PRIVATE_FUTEX): Likewise.
13590 (__ASSUME_FALLOCATE): Likewise.
13591 (__ASSUME_O_CLOEXEC): Likewise.
13592 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13593 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13594 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13595 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13596 (__ASSUME_IN_NONBLOCK): Likewise.
13597 (__ASSUME_PIPE2): Likewise.
13598 (__ASSUME_EVENTFD2): Likewise.
13599 (__ASSUME_SIGNALFD4): Likewise.
13600 (__ASSUME_DUP3): Likewise.
13601 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13602 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13603 (__ASSUME_AT_RANDOM): Likewise.
13604 (__ASSUME_PREADV): Likewise.
13605 (__ASSUME_PWRITEV): Likewise.
13606 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13607 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13608 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13609 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13610 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13611 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13612 (__ASSUME_O_CLOEXEC): Define unconditionally.
13613 (__ASSUME_PSELECT): Do not undefine conditionally.
13614 (__ASSUME_PPOLL): Likewise.
13615 (__ASSUME_ATFCTS): Likewise.
13616 (__ASSUME_SET_ROBUST_LIST): Likewise.
13617 (__ASSUME_UTIMENSAT): Likewise.
13618 (__ASSUME_FDATASYNC): Define unconditionally.
13619 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13620 (__ASSUME_SIGFRAME_V2): Likewise.
13621 )__ASSUME_EVENTFD2): Likewise.
13622 (__ASSUME_SIGNALFD4): Likewise.
13623 (__ASSUME_PSELECT): Do not undefine conditionally.
13624 (__ASSUME_PPOLL): Likewise.
13625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13626 (__ASSUME_PSELECT): Define unconditionally.
13627 (__ASSUME_PPOLL): Likewise.
13628 (__ASSUME_O_CLOEXEC): Likewise.
13629 (__ASSUME_SOCK_CLOEXEC): Likewise.
13630 (__ASSUME_IN_NONBLOCK): Likewise.
13631 (__ASSUME_PIPE2): Likewise.
13632 (__ASSUME_EVENTFD2): Likewise.
13633 (__ASSUME_SIGNALFD4): Likewise.
13634 (__ASSUME_DUP3): Likewise.
13635 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13636 (__ASSUME_O_CLOEXEC): Likewise.
13637 (__ASSUME_SOCK_CLOEXEC): Likewise.
13638 (__ASSUME_IN_NONBLOCK): Likewise.
13639 (__ASSUME_PIPE2): Likewise.
13640 (__ASSUME_EVENTFD2): Likewise.
13641 (__ASSUME_SIGNALFD4): Likewise.
13642 (__ASSUME_DUP3): Likewise.
13643 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13644 (__ASSUME_EVENTFD2): Likewise.
13645 (__ASSUME_SIGNALFD4): Likewise.
13646 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13647
13648 2014-05-12 Andreas Schwab <schwab@suse.de>
13649
13650 [BZ #16932]
13651 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13652 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13653 than maximum RPC packet size.
13654 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13655 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13656 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13657 (_nss_nis_getservbyport_r): Likewise.
13658
13659 2014-05-12 Will Newton <will.newton@linaro.org>
13660
13661 * malloc/Makefile (tests): Add tst-mallopt.
13662 * malloc/tst-mallopt.c: New file.
13663
13664 2014-05-09 Roland McGrath <roland@hack.frob.com>
13665
13666 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13667 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13668
13669 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13670
13671 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13672 (tst-tlsmod6.so): Likewise.
13673
13674 2014-05-09 Roland McGrath <roland@hack.frob.com>
13675
13676 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13677
13678 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13679
13680 [BZ #16064]
13681 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13682 and <dl-procinfo.h>.
13683 (__fegetenv): Save SSE state in envp->__eip if supported.
13684 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13685 envp->__eip if supported.
13686 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13687 and <dl-procinfo.h>.
13688 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13689 __data_offset and __data_selector in environment to 0. Set SSE
13690 state if supported.
13691 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13692 test-fenv-sse.
13693 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13694 -mfpmath=sse.
13695 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13696
13697 2014-05-09 Will Newton <will.newton@linaro.org>
13698
13699 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13700 and libc_relro_required for ARM.
13701 * sysdeps/arm/preconfigure: Regenerate.
13702
13703 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13704 Stefan Liebler <stli@linux.vnet.ibm.com>
13705
13706 * config.make.in (enable-lock-elision): New Makefile variable.
13707 * configure.ac: Likewise.
13708 * configure: Regenerate.
13709 * sysdeps/s390/configure.ac:
13710 Add check for gcc transactions support.
13711 * sysdeps/s390/configure: Regenerate.
13712 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13713 Build elision files if enabled.
13714 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13715 Add lock elision support for s390.
13716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13717 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13718 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13719 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13720 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13721 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13723 Likewise.
13724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13725 Likewise.
13726 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13727 Likewise.
13728 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13729 Likewise.
13730 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13731 (__lll_timedlock_elision, __lll_lock_elision)
13732 (__lll_unlock_elision, __lll_trylock_elision)
13733 (lll_timedlock_elision, lll_lock_elision)
13734 (lll_unlock_elision, lll_trylock_elision): Add.
13735 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13736 (pthread_mutex_t): Add lock elision support for s390.
13737
13738 2014-05-14 Wilco <wdijkstr@arm.com>
13739
13740 * sysdeps/arm/fclrexcpt.c: Cleanup.
13741 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13742 * sysdeps/arm/feenablxcpt.c: Cleanup.
13743 * sysdeps/arm/fegetenv.c: Cleanup.
13744 * sysdeps/arm/fegetexcept.c: Cleanup.
13745 * sysdeps/arm/fegetround.c: Cleanup.
13746 * sysdeps/arm/feholdexcpt.c: Cleanup.
13747 * sysdeps/arm/fesetenv.c: Cleanup.
13748 * sysdeps/arm/fesetround.c: Cleanup.
13749 * sysdeps/arm/feupdateenv.c: Cleanup.
13750 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13751 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13752 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13753 * sysdeps/arm/ftestexcept.c: Cleanup.
13754 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13755 * sysdeps/arm/setfpucw.c: Cleanup.
13756
13757 2014-05-09 Will Newton <will.newton@linaro.org>
13758
13759 * sysdeps/arm/armv7/strcmp.S: New file.
13760 * NEWS: Mention addition of ARMv7 optimized strcmp.
13761
13762 2014-05-08 Roland McGrath <roland@hack.frob.com>
13763
13764 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13765 look for %.ac rather than %.in.
13766
13767 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13768 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13769 * sysdeps/mach/hurd/configure: Regenerated.
13770 * sysdeps/unix/sysv/linux/configure: Regenerated.
13771
13772 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13773
13774 2014-05-07 Steve Ellcey <sellcey@mips.com>
13775
13776 [BZ# 16922]
13777 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13778 (LONG_SUB): Ditto.
13779 (PTR_SUB): Ditto.
13780
13781 2014-05-07 Andreas Schwab <schwab@suse.de>
13782
13783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13784 when skipping over non-matching result from nscd.
13785
13786 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13787
13788 [BZ #16876]
13789 * nptl/sockperf.c (client): Check socket return value.
13790
13791 [BZ #16877]
13792 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13793 nscd security class.
13794
13795 2014-05-06 Roland McGrath <roland@hack.frob.com>
13796
13797 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13798 * sysdeps/arm/unwind.h: ... here.
13799
13800 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13801
13802 [BZ# 16916]
13803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13804 Define.
13805
13806 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13807
13808 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13809 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13810 multiarch strncpy for PPC64.
13811 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13812 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13814 multiarch optimizations.
13815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13816 (__libc_ifunc_impl_list): Likewise.
13817 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13818 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13819 multiarch stpncpy for PPC64.
13820 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13821 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13822
13823 2014-05-06 Andreas Schwab <schwab@suse.de>
13824
13825 [BZ #16912]
13826 * gmon/mcount.c (_MCOUNT_DECL): Use
13827 atomic_compare_and_exchange_bool_acq instead of
13828 catomic_compare_and_exchange_bool_acq.
13829
13830 2014-05-05 Roland McGrath <roland@hack.frob.com>
13831
13832 * elf/Makefile (others, install-bin): Remove pldd.
13833 (pldd-modules): Variable removed.
13834 ($(objpfx)pldd): Target removed.
13835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13836 (others, install-bin): Append pldd here.
13837 ($(objpfx)pldd): New target.
13838
13839 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13840 to 0, so the first #if test emitted later doesn't see it undefined.
13841 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13842 * sysdeps/gnu/errlist.c: Regenerated.
13843
13844 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13845
13846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13847 [libc_hidden_builtin_def]: Define to empty value.
13848 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13849 [libc_hidden_builtin_def]: Likewise.
13850 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13851 [libc_hidden_builtin_def]: Likewise.
13852 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13853 [libc_hidden_builtin_def]: Likewise.
13854 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13855 __redirect_memcpy and define ifunc as default hidden symbol.
13856 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13857 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13858
13859 2014-05-04 Adam Conrad <adconrad@0c3.net>
13860
13861 * locale/iso-4217.def: Reintroduce XDR currency.
13862
13863 2014-05-04 Allan McRae <allan@archlinux.org>
13864
13865 * po/eo.po: Update Esperanto translation from translation project.
13866
13867 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13868
13869 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13870 and FEATURE_INDEX_MAX to 1.
13871 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13872
13873 2014-05-01 Steve Ellcey <sellcey@mips.com>
13874
13875 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13876 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13877 * iconvdata/big5.c (ONE_DIRECTION): Define.
13878 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13879 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13880 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13881 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13882 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13883 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13884 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13885 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13886 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13887 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13888 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13889 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13890 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13891 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13892 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13893 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13894 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13895 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13896 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13897 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13898 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13899 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13900 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13901 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13902 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13903 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13904 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13905 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13906 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13907 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13908 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13909 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13910 * iconvdata/johab.c (ONE_DIRECTION): Define.
13911 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13912 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13913 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13914 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13915 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13916 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13917 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13918 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13919 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13920 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13921
13922 2014-05-01 Roland McGrath <roland@hack.frob.com>
13923
13924 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13925 (_IO_JUMPS_OFFSET): Define to 0.
13926
13927 * nptl/sysdeps/pthread/bits/libc-lock.h
13928 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13929 (__libc_lock_define_initialized_recursive): Always define using
13930 initializer. Modern compilers treat uninitialized (implicit zero) and
13931 explicit zero initializers the same (i.e. put the datum in bss).
13932
13933 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13934
13935 * nscd/nscd-client.h: Include <string.h>.
13936
13937 2014-05-01 David S. Miller <davem@davemloft.net>
13938
13939 [BZ #16885]
13940 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13941 multiple zero bytes exist at the end of a string.
13942 Reported by Aurelien Jarno <aurelien@aurel32.net>
13943
13944 * string/test-strcmp.c (check): Add explicit test for situations where
13945 there are multiple zero bytes after the first.
13946
13947 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13948
13949 [BZ #16890]
13950 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13951 when compiling wprintf.
13952 * stdio-common/tstdiomisc.c (t3): New function.
13953 (main): Call it.
13954
13955 2014-05-01 Steve Ellcey <sellcey@mips.com>
13956
13957 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13958 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13959 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13960 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13961
13962 2014-05-01 Steve Ellcey <sellcey@mips.com>
13963
13964 * stdlib/longlong.h: Updated from GCC.
13965
13966 2014-05-01 Will Newton <will.newton@linaro.org>
13967 Bernard Ogden <bernie.ogden@linaro.org>
13968
13969 * NEWS: Update fixed bug list.
13970
13971 [BZ #15119]
13972 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13973
13974 2014-04-30 David S. Miller <davem@davemloft.net>
13975
13976 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13977 (libc_feholdexcept_setround_sparc_ctx): New function.
13978 (libc_fesetenv_sparc_ctx): Likewise.
13979 (libc_feupdateenv_sparc_ctx): Likewise.
13980 (libc_feholdsetround_sparc_ctx): Likewise.
13981 (libc_feholdexcept_setround_ctx): Define.
13982 (libc_feholdexcept_setroundf_ctx): Likewise.
13983 (libc_feholdexcept_setroundl_ctx): Likewise.
13984 (libc_fesetenv_ctx): Likewise.
13985 (libc_fesetenvf_ctx): Likewise.
13986 (libc_fesetenvl_ctx): Likewise.
13987 (libc_feupdateenv_ctx): Likewise.
13988 (libc_feupdateenvf_ctx): Likewise.
13989 (libc_feupdateenvl_ctx): Likewise.
13990 (libc_feresetround_ctx): Likewise.
13991 (libc_feresetroundf_ctx): Likewise.
13992 (libc_feresetroundl_ctx): Likewise.
13993 (libc_feholdsetround_ctx): Likewise.
13994 (libc_feholdsetroundf_ctx): Likewise.
13995 (libc_feholdsetroundl_ctx): Likewise.
13996
13997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13998 with __USE_GNU instead of XOPEN cpp guards.
13999
14000 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14001 0.
14002
14003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14004 with XOPEN cpp guards.
14005
14006 2014-04-30 Julian Brown <julian@codesourcery.com>
14007
14008 [BZ #16888]
14009 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14010 handling.
14011
14012 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14013
14014 [BZ #9894]
14015 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14016 Change to 2.6.32.
14017 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14018 * sysdeps/unix/sysv/linux/configure: Regenerated.
14019 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14020 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14021 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14022 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14023 * README: Update reference to required Linux kernel version.
14024 * manual/install.texi (Linux): Update reference to required Linux
14025 kernel headers version.
14026 * INSTALL: Regenerated.
14027
14028 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14029 header inclusion.
14030 [POSIX] (limits.h): Likewise.
14031 [POSIX] (math.h): Likewise.
14032 [POSIX] (sys/wait.h): Likewise.
14033 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14034 function.
14035 [POSIX] (stddef.h): Do not allow header inclusion.
14036
14037 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14038
14039 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14040
14041 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14042
14043 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14044 Return immediately after lll_futex_wake.
14045
14046 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14047
14048 [BZ #16791]
14049 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14050 structure.
14051 (datahead_init_pos): Call datahead_init_common early.
14052 (datahead_init_neg): Likewise.
14053
14054 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14055 datahead_init_neg): New functions.
14056 * nscd/aicache.c (addhstaiX): Use them.
14057 * nscd/grpcache.c (cache_addgr): Likewise.
14058 * nscd/hstcache.c (cache_addhst): Likewise.
14059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14060 * nscd/netgroupcache.c (do_notfound): Likewise.
14061 (addgetnetgrentX): Likewise.
14062 (addinnetgrX): Likewise.
14063 * nscd/pwdcache.c (cache_addpw): Likewise.
14064 * nscd/servicescache.c (cache_addserv): Likewise.
14065
14066 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14067 Atsushi Onoe <atsushi@onoe.org>
14068
14069 [BZ #14308]
14070 [BZ #12994]
14071 [BZ #13651]
14072 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14073 one response is valid.
14074 * resolv/res_send.c (send_dg): Check for validity of other
14075 response if the current response is a referral.
14076
14077 2014-04-29 Steve Ellcey <sellcey@mips.com>
14078
14079 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14080
14081 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14082
14083 [BZ #16823]
14084 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14085 Always divide by positive zero when computing -Inf result.
14086 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14087 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14088
14089 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090
14091 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14092 FPSCR if value do not change.
14093 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14094 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14095 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14096 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14097 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14098 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14099 function.
14100
14101 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14102
14103 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14104 * sysdeps/unix/sysv/linux/hppa: Move directory from
14105 ports/systeps/unix/sysv/linux/hppa.
14106 * README: Update listing for hppa-*-linux-gnu.
14107
14108 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14109
14110 [BZ #16754]
14111 * manual/stdio.texi (Hook functions): Fix types of stream hook
14112 functions.
14113 [BZ #16854]
14114 * socket/sys/socket.h: Fix typo in comment.
14115
14116 2014-04-28 Wilco <wdijkstr@arm.com>
14117
14118 * sysdeps/arm/fenv_private.h: New file.
14119 * sysdeps/arm/math_private.h: New file.
14120 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14121
14122 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14125 with __int128_t.
14126 (La_x86_64_retval): Likewise.
14127
14128 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14129
14130 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14131 fpsr if value didn't change.
14132 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14133 to fpcr if value didn't change.
14134 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14135 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14136 fpsr or fpcr if value didn't change.
14137 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14138 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14139 fpcr if value didn't change.
14140 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14141 to fpsr if value didn't change.
14142
14143 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14144
14145 * nptl/tst-sem3.c: Use test-skeleton.c
14146 (main): Rename to do_test. Use return instead of
14147 exit.
14148 * nptl/tst-sem4.c: Use test-skeleton.c
14149 (main): Rename to do_test.
14150
14151 2014-04-22 David S. Miller <davem@davemloft.net>
14152
14153 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14154 (struct sigaction): New struct member __glibc_reserved0, change
14155 type of sa_flags to int.
14156
14157 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14158
14159 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14160 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14161
14162 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14163
14164 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14165 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14166
14167 2014-04-22 Will Newton <will.newton@linaro.org>
14168 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14169
14170 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14171 (__longjmp): Add longjmp and longjmp_target SystemTap
14172 probes.
14173 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14174 (__sigsetjmp): Add setjmp SystemTap probe.
14175
14176 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14177
14178 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14179 match manual order.
14180
14181 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182
14183 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14184
14185 * sysdeps/powerpc/fpu/fenv_private.h
14186 (libc_feholdexcept_setroundl_ctx): Define to
14187 libc_feholdexcept_setround_ppc_ctx.
14188 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14189 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14190 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14191 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14192
14193 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14194
14195 * sysdeps/aarch64/math-tests.h: New file.
14196
14197 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14198
14199 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14200 New.
14201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14202 Check and set bit_AVX2_Usable.
14203 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14204 macro.
14205 (bit_AVX2): Likewise.
14206 (index_AVX2_Usable): Likewise.
14207 (CPUID_AVX2): Likewise.
14208 (HAS_AVX2): Likewise.
14209
14210 2014-04-17 Will Newton <will.newton@linaro.org>
14211
14212 * manual/setjmp.texi (System V contexts): Add note that
14213 calling setcontext on a context created by a call to a
14214 signal handler is undefined. Update text to note that
14215 setcontext from a signal handler is possible but not
14216 recommended.
14217
14218 [BZ #16629]
14219 * stdlib/tst-setcontext.c: Include signal.h.
14220 (main): Check that the signal stack before and
14221 after swapcontext is the same.
14222
14223 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14224 Re-implement to restore registers in user code and avoid
14225 rt_sigreturn system call.
14226
14227 2014-04-17 Wilco <wdijkstr@arm.com>
14228
14229 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14230 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14231 * math/test-fenv.c: Skip exception trap tests on targets which only
14232 support non-stop mode.
14233
14234 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14235 Wilco Dijkstra <wilco.dijkstra@arm.com>
14236
14237 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14238 (libc_feholdsetround_aarch64_ctx)
14239 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14240 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14241 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14242 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14243 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14244 (libc_feresetround_noexl_ctx): Define.
14245
14246 2014-04-16 Richard Henderson <rth@redhat.com>
14247
14248 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14249
14250 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14251 unwind tables.
14252
14253 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14254 const from the non-libc, non-ldso copy.
14255
14256 * sysdeps/alpha/libm-test-ulps: Regenerate.
14257
14258 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14259 Wilco Dijkstra <wilco.dijkstra@arm.com>
14260
14261 * sysdeps/aarch64/fpu/math_private.h: New file.
14262
14263 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14264
14265 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14266
14267 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14268
14269 [BZ #16275]
14270 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14271 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14273 Intel MPX bound registers before _dl_profile_fixup.
14274 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14275 registers after _dl_profile_fixup. Save and restore bound
14276 registers bnd0/bnd1 when calling _dl_call_pltexit.
14277 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14278 (LR_BND_OFFSET): Likewise.
14279 (LRV_BND0_OFFSET): Likewise.
14280 (LRV_BND1_OFFSET): Likewise.
14281
14282 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14283
14284 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14285 to...
14286 * sysdeps/mach/hurd/i386/tls.h: ... here.
14287 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14288 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14289 fields.
14290
14291 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14292
14293 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14294
14295 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14296
14297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14298
14299 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14300
14301 [BZ #14770]
14302 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14303 * sysdeps/s390/configure: Regenerate.
14304
14305 [BZ #16824]
14306 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14307 Set round-to-nearest internally to reduce error accumulation.
14308
14309 2014-04-16 Alan Modra <amodra@gmail.com>
14310
14311 [BZ #16740]
14312 [BZ #16619]
14313 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14314 * math/libm-test.inc (frexp_test_data): Add tests.
14315 * NEWS: Update fixed bug list.
14316
14317 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 * benchtests/Makefile: Depend on libraries in build directory.
14320 (bench-math): Separate out math tests.
14321 (bench-pthread): Separate out pthread tests.
14322 (bench): Include math and pthread tests.
14323
14324 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14325
14326 [BZ #16831]
14327 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14328 _dl_debug_initialize.
14329
14330 * configure.ac: Remove SELinux header check.
14331 * configure: Regenerate.
14332 * nscd/selinux.c (perms): Array of const char* to permission names.
14333 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14334 default policy. Call string_to_security_class and string_to_av_perm to
14335 translate strings. Enforce default policy and call avs_has_perm with
14336 results of translated strings.
14337
14338 2014-04-13 David S. Miller <davem@davemloft.net>
14339
14340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14341
14342 2014-04-12 Allan McRae <allan@archlinux.org>
14343
14344 [BZ #16838]
14345 * manual/string.texi (Collation Functions): Fix qsort argument
14346 order in example.
14347 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14348
14349 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14350
14351 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14352 Make the test a no-op if there are no exceptions defined.
14353
14354 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14355
14356 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14357 enable-hardcoded-path-in-tests
14358
14359 2014-04-11 Will Newton <will.newton@linaro.org>
14360
14361 * benchtests/Makefile (extra-objs): Add json-lib.o.
14362 (bench-func): Tidy up JSON output.
14363 * benchtests/bench-skeleton.c: Include json-lib.h.
14364 (main): Use JSON library functions to do output of
14365 benchmark results.
14366 * benchtests/bench-timing-type.c (main): Output the
14367 timing type simply, leaving formatting to the user.
14368 * benchtests/json-lib.c: New file.
14369 * benchtests/json-lib.h: Likewise.
14370
14371 2014-04-11 Torvald Riegel <triegel@redhat.com>
14372
14373 [BZ #15215]
14374 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14375 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14376 memory barriers. Add comments.
14377 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14378 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14379 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14380 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14381 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14382 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14383
14384 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14385
14386 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14387 * sysdeps/s390/s390-64/configure.ac: ... this ...
14388 * sysdeps/s390/configure.ac: ... to here.
14389 * sysdeps/s390/s390-32/configure: Delete file.
14390 * sysdeps/s390/s390-64/configure: Delete file.
14391 * sysdeps/s390/configure: Regenerate.
14392
14393 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14394
14395 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14396
14397 2014-04-11 Will Newton <will.newton@linaro.org>
14398
14399 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14400 to zero if it is not defined elsewhere. (mtrim): Test
14401 the value of MALLOC_DEBUG with #if rather than #ifdef.
14402
14403 2014-04-10 Torvald Riegel <triegel@redhat.com>
14404
14405 * benchtests/pthread_once-inputs: New file.
14406 * benchtests/pthread_once-source.c: New file.
14407 * benchtests/README: Update documentation.
14408
14409 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14410 H.J. Lu <hongjiu.lu@intel.com>
14411
14412 [BZ #16275]
14413 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14414 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14415 * sysdeps/x86_64/configure: Regenerated.
14416 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14417 macro.
14418 (REGISTER_SAVE_RAX): Likewise.
14419 (REGISTER_SAVE_RCX): Likewise.
14420 (REGISTER_SAVE_RDX): Likewise.
14421 (REGISTER_SAVE_RSI): Likewise.
14422 (REGISTER_SAVE_RDI): Likewise.
14423 (REGISTER_SAVE_R8): Likewise.
14424 (REGISTER_SAVE_R9): Likewise.
14425 (REGISTER_SAVE_BND0): Likewise.
14426 (REGISTER_SAVE_BND1): Likewise.
14427 (REGISTER_SAVE_BND2): Likewise.
14428 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14429 bound registers when calling _dl_fixup.
14430
14431 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14432
14433 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14434 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14435 of its definition.
14436 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14437 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14438 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14439 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14440 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14441 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14442 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14443
14444 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14445
14446 [BZ #15514]
14447 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14448 pathconf(_PC_NAME_MAX).
14449
14450 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14451
14452 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14453 Remove macro usage.
14454 (__PTHREAD_SPINS): Move definition to ...
14455 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14456 (__PTHREAD_SPINS): ... here.
14457 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14458 (__PTHREAD_SPIN): Likewise.
14459 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14460 (__PTHREAD_SPIN): Likewise.
14461 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14462 (__PTHREAD_SPIN): Likewise.
14463 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14464 (__PTHREAD_SPIN): Likewise.
14465 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14466 (__PTHREAD_SPIN): Likewise.
14467 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14468 (__PTHREAD_SPIN): Likewise.
14469 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14470 (__PTHREAD_SPIN): Likewise.
14471 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14472 (__PTHREAD_SPIN): Likewise.
14473 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14474 (__PTHREAD_SPIN): Likewise.
14475 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14476 (__PTHREAD_SPIN): Likewise.
14477 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14478 (__PTHREAD_SPIN): Likewise.
14479 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14480 (__PTHREAD_SPIN): Likewise.
14481
14482 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14483 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14484 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14485 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14486 imply folder.
14487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14488 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14489 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14490 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14491 correct imply path.
14492 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14493 strlen symbol for non multi-arch builds.
14494 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14495 missing hidden_def and weak_alias.
14496
14497 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14498
14499 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14500
14501 2014-04-07 Will Newton <will.newton@linaro.org>
14502
14503 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14504 and contents. [!_LIBC] Remove #ifndef and contents.
14505 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14506 * string/memccpy.c (__memccpy): Use ANSI prototype.
14507 * string/memfrob.c (memfrob): Likewise.
14508 * string/strcoll.c (STRCOLL): Likewise.
14509 * string/strlen.c (strlen): Likewise.
14510 * string/strtok.c (STRTOK): Likewise.
14511 * string/strcat.c: Remove unused #include of memcopy.h.
14512 (strcat): Use ANSI prototype.
14513 * string/strchr.c: Remove unused #include of memcopy.h.
14514 (strchr): Use ANSI prototype.
14515 * string/strcmp.c: Remove unused #include of memcopy.h.
14516 (strcmp): Use ANSI prototype.
14517 * string/strcpy.c: Remove unused #include of memcopy.h.
14518 (strcpy): Use ANSI prototype.
14519
14520 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14521
14522 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14523 * config.make.in (config-extra-cppflags): Set it from
14524 libc_extra_cppflags.
14525 * configure.ac (libc_extra_cflags): Make it accumulate over
14526 configure fragments.
14527 (libc_extra_cppflags): New flag.
14528 * configure. Regenerate.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14530 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14531 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14533
14534 [BZ #16815]
14535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14536 result for FE_DOWNWARD rounding mode.
14537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14538 Likewise.
14539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14540
14541 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14542
14543 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14544 in function argument name.
14545
14546 2014-04-03 David Svoboda <svoboda@cert.org>
14547
14548 [BZ #5666]
14549 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14550 explicitly.
14551
14552 2014-04-03 Roland McGrath <roland@hack.frob.com>
14553
14554 * elf/dl-unmap-segments.h: New file.
14555 * sysdeps/generic/ldsodefs.h
14556 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14557 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14558 * elf/dl-fptr.c: Likewise.
14559 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14560 * sysdeps/aarch64/tlsdesc.c: Likewise.
14561 * sysdeps/arm/tlsdesc.c: Likewise.
14562 * sysdeps/i386/tlsdesc.c: Likewise.
14563 * sysdeps/tile/dl-runtime.c: Likewise.
14564 * sysdeps/x86_64/tlsdesc.c: Likewise.
14565 * elf/dl-load.h: New file.
14566 * elf/dl-load.c: Include it.
14567 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14568 Macros moved to dl-load.h.
14569 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14570 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14571 Use _dl_unmap_segments in place of __munmap.
14572 Break out segment-mapping loop into ...
14573 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14574
14575 2014-04-03 Will Newton <will.newton@linaro.org>
14576
14577 * elf/dl-lookup.c (do_lookup_x): Remove comment
14578 referring to nested function and move variable
14579 declarations down to before first use.
14580
14581 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14582
14583 [BZ #16799]
14584 [BZ #16800]
14585 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14586 with 0 numerator.
14587 * math/s_catanf.c (__catanf): Likewise.
14588 * math/s_catanh.c (__catanh): Likewise.
14589 * math/s_catanhf.c (__catanhf): Likewise.
14590 * math/s_catanhl.c (__catanhl): Likewise.
14591 * math/s_catanl.c (__catanl): Likewise.
14592 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14593 by positive zero when computing -Inf result.
14594 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14595 (catanh_test): Likewise.
14596 * sysdeps/i386/fpu/libm-test-ulps: Update.
14597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598
14599 [BZ #16789]
14600 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14601 instead of using underflowing value in computing result.
14602 * math/s_clog10.c (__clog10): Likewise.
14603 * math/s_clog10f.c (__clog10f): Likewise.
14604 * math/s_clog10l.c (__clog10l): Likewise.
14605 * math/s_clogf.c (__clogf): Likewise.
14606 * math/s_clogl.c (__clogl): Likewise.
14607 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14608 (clog10_test): Likewise.
14609 * sysdeps/i386/fpu/libm-test-ulps: Update.
14610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14611
14612 2014-04-02 Alan Modra <amodra@gmail.com>
14613
14614 [BZ #16739]
14615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14616 output when value is near a power of two. Use int64_t for lx and
14617 remove casts. Use decimal rather than hex exponent constants.
14618 Don't use long double multiplication when double will suffice.
14619 * math/libm-test.inc (nextafter_test_data): Add tests.
14620 * NEWS: Add 16739 and 16786 to bug list.
14621
14622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14623
14624 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14625
14626 2014-04-01 Will Newton <will.newton@linaro.org>
14627
14628 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14629 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14630
14631 2014-04-01 Florian Weimer <fweimer@redhat.com>
14632
14633 [BZ #13347]
14634 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14635 * nptl/tst-setuid2.c: New file.
14636 * nptl/Makefile (xtests): Add tst-setuid2.
14637
14638 2014-04-01 Alan Modra <amodra@gmail.com>
14639
14640 [BZ #16786]
14641 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14642
14643 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14644
14645 [BZ #6803]
14646 [BZ #6804]
14647 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14648 set errno as appropriate.
14649 * math/w_scalbf.c (__scalbf): Likewise.
14650 * math/w_scalbl.c (__scalbl): Likewise.
14651 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14652 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14653 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14654 Add more NaN tests.
14655
14656 [BZ #16349]
14657 * math/w_atan2.c: Include <errno.h>.
14658 (__atan2): Set errno for result underflowing to zero.
14659 * math/w_atan2f.c: Include <errno.h>.
14660 (__atan2f): Set errno for result underflowing to zero.
14661 * math/w_atan2l.c: Include <errno.h>.
14662 (__atan2l): Set errno for result underflowing to zero.
14663 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14664 tests.
14665 * math/auto-libm-test-out: Regenerated.
14666
14667 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14668
14669 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14670 Encode instruction correctly in little endian.
14671 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14672 Likewise.
14673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14674 Likewise.
14675 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14676 Likewise.
14677 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14678 Likewise.
14679
14680 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14681
14682 [BZ #9894]
14683 * sysdeps/unix/sysv/linux/kernel-features.h
14684 [__sparc__ && !__arch64__ && !__sparc_v9__]
14685 (__ASSUME_SET_ROBUST_LIST): Do not define.
14686 [__sparc__ && !__arch64__ && !__sparc_v9__]
14687 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14688 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14689 Likewise.
14690 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14691 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14692 (__ASSUME_REQUEUE_PI): Likewise.
14693 (__ASSUME_SET_ROBUST_LIST): Likewise.
14694 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14695 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14696 Undefine.
14697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14699 Likewise.
14700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14701 Likewise.
14702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14703 Likewise.
14704 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14705 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14706 Undefine.
14707 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14708 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14709 Likewise.
14710
14711 [BZ #16648]
14712 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14713 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14714 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14715
14716 2014-03-31 Will Newton <will.newton@linaro.org>
14717
14718 * benchtests/Makefile (bench): Add ffs and ffsll to list
14719 of tests.
14720 * benchtests/ffs-inputs: New file.
14721 * benchtests/ffsll-inputs: Likewise.
14722
14723 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14724
14725 [BZ #16770]
14726 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14727 too large before casting to int.
14728 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14729 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14730 * math/libm-test.inc (scalb_test_data): Add more tests.
14731
14732 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14733
14734 * benchtests/Makefile (DETAILED_OPT): New make option.
14735 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14736 set.
14737 * benchtests/bench-skeleton.c: Include stdbool.h.
14738 (main): Store and print timings per input.
14739 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14740 member to each argument value.
14741 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14742 (_print_arg_data): Initialize per-input timing to 0.
14743
14744 * benchtests/Makefile (timing-type): New binary.
14745 (bench-clean): Also remove bench-timing-type.
14746 (bench): New target for timing-type.
14747 (bench-func): Print output in JSON format.
14748 * benchtests/bench-skeleton.c (main): Print output in JSON
14749 format.
14750 * benchtests/bench-timing-type.c: New file.
14751 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14752 (TIMING_PRINT_STATS): Remove.
14753 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14754 name separately.
14755
14756 * benchtests/bench-modf.c: Remove.
14757 * benchtests/modf-inputs: New inputs file.
14758
14759 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14760
14761 [BZ #16362]
14762 * math/s_clog10.c (M_PI_LOG10E): New macro.
14763 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14764 imaginary parts are 0.
14765 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14766 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14767 imaginary parts are 0.
14768 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14769 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14770 imaginary parts are 0.
14771 * math/libm-test.inc (clog10_test_data): Update expected results
14772 for when real and imaginary parts are 0.
14773
14774 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14775
14776 * elf/dl-load.c: Finish conversion of __builtin_expect into
14777 __glibc_{un}likely.
14778
14779 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14780
14781 [BZ #16348]
14782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14783 1+x for argument with exponent below -67.
14784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14785 Likewise.
14786 * math/auto-libm-test-in: Add more tests of exp.
14787 * math/auto-libm-test-out: Regenerated.
14788
14789 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14790
14791 [BZ #16759]
14792 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14793 (nscd_getnetgrent): Use it.
14794
14795 [BZ #16760]
14796 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14797 of stpcpy.
14798
14799 2014-03-27 Andi Kleen <ak@linux.intel.com>
14800
14801 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14802 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14803 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14804 (lll_robust_unlock): Remove out of line section. Use cfi
14805 intrinsics.
14806 (LLL_STUB_UNWIND_INFO*): Remove.
14807 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14808 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14809 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14810 (lll_robust_unlock): Remove out of line section. Use cfi
14811 intrinsics.
14812 (LLL_STUB_UNWIND_INFO*): Remove.
14813
14814 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14815
14816 [BZ #16758]
14817 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14818 blank values.
14819
14820 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14821
14822 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14823
14824 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14825
14826 [BZ #16198]
14827 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14828 fnstenv.
14829 * math/test-fenv-preserve.c: New file.
14830 * math/Makefile (tests): Add test-fenv-preserve.
14831
14832 2014-03-26 Will Newton <will.newton@linaro.org>
14833
14834 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14835
14836 2014-03-25 Roland McGrath <roland@hack.frob.com>
14837
14838 * scripts/versionlist.awk: Partition the version sets and emit all
14839 GLIBC_* (sorted) before all others (sorted).
14840
14841 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14842
14843 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14844 GLIBC_2.2.5 version.
14845
14846 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14847
14848 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14849 calls.
14850
14851 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14852 previous change.
14853
14854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14855
14856 2014-03-25 Andreas Schwab <schwab@suse.de>
14857
14858 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14859 label to be used after in6ailist is initialized.
14860
14861 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862
14863 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14864 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14865
14866 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #16357]
14869 [BZ #16599]
14870 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14871 min_plus_half.
14872 (fp_formats): Update initializers.
14873 (init_fp_formats): Initialize new field.
14874 (output_for_one_input_case): Allow underflow for results up to
14875 min_plus_half.
14876 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14877 * math/auto-libm-test-in: Don't mark some underflows from asin and
14878 atanh as spurious.
14879 * math/auto-libm-test-out: Regenerated.
14880 * sysdeps/i386/fpu/libm-test-ulps: Update.
14881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14882
14883 2014-03-25 Andreas Schwab <schwab@suse.de>
14884
14885 * libio/Makefile (tst-ftell-partial-wide-ENV)
14886 (tst-ftell-active-handler-ENV): Define.
14887
14888 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14889
14890 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14891
14892 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14893
14894 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14895
14896 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14897
14898 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14899 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14900 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14901
14902 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14903
14904 [BZ #16634]
14905 * elf/dl-load.c (open_verify): Add mode parameter.
14906 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14907 (open_path): Change from boolean 'secure' to complete flag 'mode'
14908 (_dl_map_object): Adjust.
14909 * elf/Makefile (tests): Add tst-dlopen-aout.
14910 * elf/tst-dlopen-aout.c: New test.
14911
14912 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14913
14914 [BZ #16714]
14915 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14916 (struct stat): Rename member pad0 to __glibc_reserved0.
14917
14918 [BZ #16712]
14919 * sysdeps/s390/s390-32/bits/wordsize.h
14920 (__WORDSIZE32_SIZE_ULONG): New define.
14921 * sysdeps/s390/s390-64/bits/wordsize.h
14922 (__WORDSIZE32_SIZE_ULONG): Likewise.
14923 * sysdeps/generic/stdint.h (SIZE_MAX):
14924 Define as UL if __WORDSIZE32_SIZE_ULONG.
14925
14926 [BZ #16713]
14927 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14928 (__glibc_reserved0): New variable.
14929 (sa_flags): Change type to int.
14930
14931 * posix/Makefile (before-compile): Use += before-compile instead
14932 of a :=.
14933
14934 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14935 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14936
14937 2014-03-20 Andreas Schwab <schwab@suse.de>
14938
14939 [BZ #16743]
14940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14941 non-matching result from nscd.
14942
14943 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14944
14945 * scripts/bench.py: Moved to ...
14946 * benchtests/scripts/bench.py: ... here.
14947 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14948
14949 2014-03-24 Andreas Schwab <schwab@suse.de>
14950
14951 [BZ #16002]
14952 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14953 alloca_account and account alloca use for struct in6ailist.
14954
14955 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14956
14957 [BZ #16284]
14958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14959 rounding mode to recompute results that overflow to infinity or
14960 underflow to zero.
14961 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14962 bug 16284.
14963 * math/auto-libm-test-out: Regenerated.
14964 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14965 (ccosh_test): Likewise.
14966 (csin_test_data): Use plus_oflow.
14967 (csin_test): Use ALL_RM_TEST.
14968 (csinh_test_data): Use plus_oflow.
14969 (csinh_test): Use ALL_RM_TEST.
14970 * sysdeps/i386/fpu/libm-test-ulps: Update.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972
14973 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14974
14975 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14976 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14977 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14978
14979 [BZ #16731]
14980 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14981 when x - 1 is zero.
14982 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14983 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14984 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14985 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14986 argument is 1.
14987 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14988 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14989 zero.
14990 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14991 * sysdeps/i386/fpu/libm-test-ulps: Update.
14992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14993
14994 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14995
14996 * scripts/bench.pl: Remove file.
14997 * scripts/bench.py: New benchmark script.
14998 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14999 * benchtests/README: Mention python dependency.
15000 * scripts/pylintrc: New file.
15001 * scripts/pylint: New file.
15002
15003 * bits/mathdef.h: Use #ifdef instead of #if.
15004 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15005 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15006 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15008 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15009 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15010
15011 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15012 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15013
15014 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15016 and strpbrk-ppc64 objects.
15017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15018 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15019 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15020 multiarch strpbrk for POWER7.
15021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15022 multiarch strpbrk for PPC64.
15023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15024 ifunc selector.
15025 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15026 strpbrk for POWER7.
15027
15028 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15029
15030 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15031 (atan_test): Likewise.
15032 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15033 (atanh_test): Use ALL_RM_TEST.
15034 (atan2_test_data): Likewise.
15035 (cabs_test): Likewise.
15036 (cacosh_test): Likewise.
15037 (carg_test): Likewise.
15038 (casin_test): Likewise.
15039 (casinh_test): Likewise.
15040 (cbrt_test): Likewise.
15041 (csqrt_test): Likewise.
15042 (erf_test): Likewise.
15043 (erfc_test): Likewise.
15044 (pow10_test): Likewise.
15045 (exp2_test): Likewise.
15046 (hypot_test): Likewise.
15047 (j0_test): Likewise.
15048 (j1_test): Likewise.
15049 (lgamma_test): Likewise.
15050 (gamma_test): Likewise.
15051 (sincos_test): Likewise.
15052 (tanh_test): Likewise.
15053 (y0_test): Likewise.
15054 (y1_test): Likewise.
15055 * sysdeps/i386/fpu/libm-test-ulps: Update.
15056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15057
15058 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15059
15060 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15062 and strcspn-ppc64 objects.
15063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15064 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15065 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15066 multiarch strcspn for POWER7.
15067 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15068 multiarch strcspn for PPC64.
15069 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15070 ifunc selector.
15071 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15072 strcspn for POWER7.
15073
15074 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15075
15076 * math/gen-libm-test.pl (generate_testfile): Expect only function
15077 name as argument to AUTO_TESTS_* and pass results for all rounding
15078 modes to parse_args.
15079 (parse_auto_input): Separate inputs of automatic tests from
15080 outputs before storing in %auto_tests.
15081 * math/libm-test.inc (acos_test_data): Update call to
15082 AUTO_TESTS_f_f.
15083 (acos_test): Use ALL_RM_TEST.
15084 (acos_tonearest_test_data): Remove.
15085 (acos_test_tonearest): Likewise.
15086 (acos_towardzero_test_data): Likewise.
15087 (acos_test_towardzero): Likewise.
15088 (acos_downward_test_data): Likewise.
15089 (acos_test_downward): Likewise.
15090 (acos_upward_test_data): Likewise.
15091 (acos_test_upward): Likewise.
15092 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15093 (asin_test_data): Likewise.
15094 (asin_test): Use ALL_RM_TEST.
15095 (asin_tonearest_test_data): Remove.
15096 (asin_test_tonearest): Likewise.
15097 (asin_towardzero_test_data): Likewise.
15098 (asin_test_towardzero): Likewise.
15099 (asin_downward_test_data): Likewise.
15100 (asin_test_downward): Likewise.
15101 (asin_upward_test_data): Likewise.
15102 (asin_test_upward): Likewise.
15103 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15104 (atan_test_data): Likewise.
15105 (atanh_test_data): Likewise.
15106 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15107 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15108 (carg_test_data): Likewise.
15109 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15110 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15111 (ccosh_test_data): Likewise.
15112 (cexp_test_data): Likewise.
15113 (clog_test_data): Likewise.
15114 (clog10_test_data): Likewise.
15115 (cos_test_data): Update call to AUTO_TESTS_f_f.
15116 (cos_test): Use ALL_RM_TEST.
15117 (cos_tonearest_test_data): Remove.
15118 (cos_test_tonearest): Likewise.
15119 (cos_towardzero_test_data): Likewise.
15120 (cos_test_towardzero): Likewise.
15121 (cos_downward_test_data): Likewise.
15122 (cos_test_downward): Likewise.
15123 (cos_upward_test_data): Likewise.
15124 (cos_test_upward): Likewise.
15125 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15126 (cosh_test): Use ALL_RM_TEST.
15127 (cosh_tonearest_test_data): Remove.
15128 (cosh_test_tonearest): Likewise.
15129 (cosh_towardzero_test_data): Likewise.
15130 (cosh_test_towardzero): Likewise.
15131 (cosh_downward_test_data): Likewise.
15132 (cosh_test_downward): Likewise.
15133 (cosh_upward_test_data): Likewise.
15134 (cosh_test_upward): Likewise.
15135 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15136 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15137 (ctan_test_data): Likewise.
15138 (ctan_test): Use ALL_RM_TEST.
15139 (ctan_tonearest_test_data): Remove.
15140 (ctan_test_tonearest): Likewise.
15141 (ctan_towardzero_test_data): Likewise.
15142 (ctan_test_towardzero): Likewise.
15143 (ctan_downward_test_data): Likewise.
15144 (ctan_test_downward): Likewise.
15145 (ctan_upward_test_data): Likewise.
15146 (ctan_test_upward): Likewise.
15147 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15148 (ctanh_test): Use ALL_RM_TEST.
15149 (ctanh_tonearest_test_data): Remove.
15150 (ctanh_test_tonearest): Likewise.
15151 (ctanh_towardzero_test_data): Likewise.
15152 (ctanh_test_towardzero): Likewise.
15153 (ctanh_downward_test_data): Likewise.
15154 (ctanh_test_downward): Likewise.
15155 (ctanh_upward_test_data): Likewise.
15156 (ctanh_test_upward): Likewise.
15157 (erf_test_data): Update call to AUTO_TESTS_f_f.
15158 (erfc_test_data): Likewise.
15159 (exp_test_data): Likewise.
15160 (exp_test): Use ALL_RM_TEST.
15161 (exp_tonearest_test_data): Remove.
15162 (exp_test_tonearest): Likewise.
15163 (exp_towardzero_test_data): Likewise.
15164 (exp_test_towardzero): Likewise.
15165 (exp_downward_test_data): Likewise.
15166 (exp_test_downward): Likewise.
15167 (exp_upward_test_data): Likewise.
15168 (exp_test_upward): Likewise.
15169 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15170 (exp10_test): Use ALL_RM_TEST.
15171 (exp10_tonearest_test_data): Remove.
15172 (exp10_test_tonearest): Likewise.
15173 (exp10_towardzero_test_data): Likewise.
15174 (exp10_test_towardzero): Likewise.
15175 (exp10_downward_test_data): Likewise.
15176 (exp10_test_downward): Likewise.
15177 (exp10_upward_test_data): Likewise.
15178 (exp10_test_upward): Likewise.
15179 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15180 (expm1_test_data): Likewise.
15181 (expm1_test): Use ALL_RM_TEST.
15182 (expm1_tonearest_test_data): Remove.
15183 (expm1_test_tonearest): Likewise.
15184 (expm1_towardzero_test_data): Likewise.
15185 (expm1_test_towardzero): Likewise.
15186 (expm1_downward_test_data): Likewise.
15187 (expm1_test_downward): Likewise.
15188 (expm1_upward_test_data): Likewise.
15189 (expm1_test_upward): Likewise.
15190 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15191 (fma_test): Use ALL_RM_TEST.
15192 (fma_towardzero_test_data): Remove.
15193 (fma_test_towardzero): Likewise.
15194 (fma_downward_test_data): Likewise.
15195 (fma_test_downward): Likewise.
15196 (fma_upward_test_data): Likewise.
15197 (fma_test_upward): Likewise.
15198 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15199 (j0_test_data): Update call to AUTO_TESTS_f_f.
15200 (j1_test_data): Likewise.
15201 (jn_test_data): Update call to AUTO_TESTS_if_f.
15202 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15203 (log_test_data): Update call to AUTO_TESTS_f_f.
15204 (log10_test_data): Likewise.
15205 (log1p_test_data): Likewise.
15206 (log2_test_data): Likewise.
15207 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15208 (pow_tonearest_test_data): Likewise.
15209 (sin_test_data): Update call to AUTO_TESTS_f_f.
15210 (sin_test): Use ALL_RM_TEST.
15211 (sin_tonearest_test_data): Remove.
15212 (sin_test_tonearest): Likewise.
15213 (sin_towardzero_test_data): Likewise.
15214 (sin_test_towardzero): Likewise.
15215 (sin_downward_test_data): Likewise.
15216 (sin_test_downward): Likewise.
15217 (sin_upward_test_data): Likewise.
15218 (sin_test_upward): Likewise.
15219 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15220 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15221 (sinh_test): Use ALL_RM_TEST.
15222 (sinh_tonearest_test_data): Remove.
15223 (sinh_test_tonearest): Likewise.
15224 (sinh_towardzero_test_data): Likewise.
15225 (sinh_test_towardzero): Likewise.
15226 (sinh_downward_test_data): Likewise.
15227 (sinh_test_downward): Likewise.
15228 (sinh_upward_test_data): Likewise.
15229 (sinh_test_upward): Likewise.
15230 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15231 (sqrt_test): Use ALL_RM_TEST.
15232 (sqrt_tonearest_test_data): Remove.
15233 (sqrt_test_tonearest): Likewise.
15234 (sqrt_towardzero_test_data): Likewise.
15235 (sqrt_test_towardzero): Likewise.
15236 (sqrt_downward_test_data): Likewise.
15237 (sqrt_test_downward): Likewise.
15238 (sqrt_upward_test_data): Likewise.
15239 (sqrt_test_upward): Likewise.
15240 (tan_test_data): Update call to AUTO_TESTS_f_f.
15241 (tan_test): Use ALL_RM_TEST.
15242 (tan_tonearest_test_data): Remove.
15243 (tan_test_tonearest): Likewise.
15244 (tan_towardzero_test_data): Likewise.
15245 (tan_test_towardzero): Likewise.
15246 (tan_downward_test_data): Likewise.
15247 (tan_test_downward): Likewise.
15248 (tan_upward_test_data): Likewise.
15249 (tan_test_upward): Likewise.
15250 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15251 (tgamma_test_data): Likewise.
15252 (y0_test_data): Likewise.
15253 (y1_test_data): Likewise.
15254 (yn_test_data): Update call to AUTO_TESTS_if_f.
15255 (main): Do not call removed functions.
15256
15257 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15258
15259 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15260 (ldexp_test_data): Remove.
15261 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15262 scalbn_test_data.
15263 (scalb_test): Use ALL_RM_TEST.
15264
15265 2014-03-19 Andreas Schwab <schwab@suse.de>
15266
15267 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15268
15269 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15270
15271 [BZ #16649]
15272 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15273 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15274 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15276 (__ASSUME_PREADV): Undefine.
15277 (__ASSUME_PWRITEV): Likewise.
15278
15279 2014-03-18 Roland McGrath <roland@hack.frob.com>
15280
15281 * bits/mman-linux.h: Add comment about non-Linux use.
15282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15283 bits/mman-linux.h resting place.
15284
15285 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15286 * bits/mman-linux.h: ... here.
15287
15288 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289
15290 * conform/conformtest.pl: Add standard definition when calling C
15291 preprocessor on data files.
15292 (checknamespace): Remove unused variable.
15293
15294 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15295
15296 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15297 minus_oflow, plus_uflow and minus_uflow in expected results.
15298 * math/libm-test.inc (scalbn_test_data): Add more tests of
15299 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15300 minus_uflow.
15301 (scalbn_test): Use ALL_RM_TEST.
15302 (scalbln_test_data): Add more tests of negative arguments. Use
15303 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15304 (scalbln_test): Use ALL_RM_TEST.
15305
15306 2014-03-18 Roland McGrath <roland@hack.frob.com>
15307
15308 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15309
15310 2014-03-18 Will Newton <will.newton@linaro.org>
15311
15312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15313 inaccurate comment.
15314
15315 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15316
15317 * Makerules [!subdir] (check-abi): Exit with error status if a
15318 test failed.
15319
15320 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15321
15322 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15323 for rint. Include results for all rounding modes.
15324 (nearbyint_test): Use ALL_RM_TEST.
15325 (rint_test_data): Include all tests used for nearbyint.
15326
15327 2014-03-17 Will Newton <will.newton@linaro.org>
15328
15329 * nptl/sysdeps/pthread/pthread.h: Revert previous
15330 change.
15331
15332 * sysdeps/generic/ldsodefs.h: Revert previous
15333 change.
15334
15335 * libio/genops.c: Revert previous change.
15336 * libio/libioP.h: Likewise.
15337 * stdio-common/vfprintf.c: Likewise.
15338
15339 * sysdeps/generic/math_private.h: Revert previous
15340 change.
15341
15342 * sysdeps/generic/math_private.h: Check whether
15343 HAVE_RM_CTX is defined with #ifdef rather
15344 than #if.
15345
15346 * argp/argp-fmtstream.h: Check whether
15347 __STRICT_ANSI__ is defined with #ifdef rather
15348 than #if.
15349 * argp/argp.h: Likewise.
15350
15351 * libio/genops.c: Check whether
15352 _IO_JUMPS_OFFSET is defined with #ifdef rather
15353 than #if.
15354 * libio/libioP.h: Likewise.
15355 * stdio-common/vfprintf.c: Likewise.
15356
15357 * sysdeps/generic/ldsodefs.h: Check whether
15358 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15359 than #if.
15360
15361 * nptl/sysdeps/pthread/pthread.h: Check
15362 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15363 its value.
15364
15365 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15366
15367 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15368 setting O_APPEND.
15369 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15370 test case.
15371
15372 [BZ #16680]
15373 * libio/fileops.c (_IO_file_open): Seek to end of file but
15374 don't cache the offset.
15375 (get_file_offset): Remove function.
15376 (do_ftell): Use cached offset when available.
15377 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15378 don't cache the offset.
15379 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15380 case.
15381 (do_one_test): Call it.
15382 (do_ftell_test): Fix up expected old offset for a+ mode.
15383 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15384 available.
15385
15386 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15387 up test status with function return status.
15388 (do_write_test): Likewise.
15389 (do_append_test): Likewise.
15390
15391 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15392 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15393 Remove.
15394
15395 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15396
15397 * math/gen-libm-test.pl (parse_args): Handle results specified for
15398 each rounding mode separately.
15399 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15400 tests and results from lrint_tonearest_test_data,
15401 lrint_towardzero_test_data, lrint_downward_test_data and
15402 lrint_upward_test_data.
15403 (lrint_test): Use ALL_RM_TEST.
15404 (lrint_tonearest_test_data): Remove.
15405 (lrint_test_tonearest): Likewise.
15406 (lrint_towardzero_test_data): Likewise.
15407 (lrint_test_towardzero): Likewise.
15408 (lrint_downward_test_data): Likewise.
15409 (lrint_test_downward): Likewise.
15410 (lrint_upward_test_data): Likewise.
15411 (lrint_test_upward): Likewise.
15412 (llrint_test_data): Merge in per-rounding-mode tests and results
15413 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15414 llrint_downward_test_data and llrint_upward_test_data.
15415 (llrint_test): Use ALL_RM_TEST.
15416 (llrint_tonearest_test_data): Remove.
15417 (llrint_test_tonearest): Likewise.
15418 (llrint_towardzero_test_data): Likewise.
15419 (llrint_test_towardzero): Likewise.
15420 (llrint_downward_test_data): Likewise.
15421 (llrint_test_downward): Likewise.
15422 (llrint_upward_test_data): Likewise.
15423 (llrint_test_upward): Likewise.
15424 (rint_test_data): Merge in per-rounding-mode tests and results
15425 from rint_tonearest_test_data, rint_towardzero_test_data,
15426 rint_downward_test_data and rint_upward_test_data. Add
15427 per-rounding-mode results for tests not in those arrays.
15428 (rint_test): Use ALL_RM_TEST.
15429 (rint_tonearest_test_data): Remove.
15430 (rint_test_tonearest): Likewise.
15431 (rint_towardzero_test_data): Likewise.
15432 (rint_test_towardzero): Likewise.
15433 (rint_downward_test_data): Likewise.
15434 (rint_test_downward): Likewise.
15435 (rint_upward_test_data): Likewise.
15436 (rint_test_upward): Likewise.
15437 (main): Don't call removed functions.
15438
15439 2014-03-14 Roland McGrath <roland@hack.frob.com>
15440
15441 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15442 "Compiled on ..." crapola. It is anti-useful.
15443
15444 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15445
15446 * scripts/evaluate-test.sh: Handle fourth argument to determine
15447 whether test run should stop on failure.
15448 * Makeconfig (stop-on-test-failure): New variable.
15449 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15450 $(stop-on-test-failure).
15451 * Makefile (tests): Give a summary of results from testing and
15452 exit with failure status if they include an ERROR or FAIL.
15453 (xtests): Likewise.
15454 * manual/install.texi (Configuring and compiling): Mention
15455 stop-on-test-failure=y.
15456 * INSTALL: Regenerated.
15457
15458 2014-03-14 Roland McGrath <roland@hack.frob.com>
15459
15460 * scripts/versionlist.awk: New file.
15461 * Makerules [$(build-shared) = yes]
15462 (postclean-generated): Add Versions.def, not Versions.def.v and
15463 Versions.def.v.i.
15464 ($(common-objpfx)Versions.def.v.i): Target removed.
15465 ($(common-objpfx)Versions.def): New target.
15466 ($(common-objpfx)Versions.all): Depend on that rather that
15467 $(common-objpfx)Versions.def.v.
15468 * Versions.def: File removed.
15469
15470 * Makeconfig (+gccwarn): Add -Wundef.
15471 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15472 a dl-sysdep.h breaking its contract.
15473 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15474 * include/stackinfo.h: New file.
15475 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15476 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15477 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15478 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15479 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15480 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15481 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15482 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15483 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15484 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15485 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15486 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15487 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15488 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15489 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15490
15491 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15492
15493 [BZ #16707]
15494 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15495 implementation.
15496 * math/libm-test.inc (round_test_data): Add more tests.
15497
15498 [BZ #16706]
15499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15500 implementation.
15501 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15502
15503 [BZ #16701]
15504 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15505 implementation.
15506 * math/libm-test.inc (ceil_test_data): Add more tests.
15507
15508 * math/libm-test.inc (trunc_test_data): Add more tests related to
15509 BZ#16414.
15510
15511 2014-03-14 Roland McGrath <roland@hack.frob.com>
15512
15513 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15514 with #if rather than #ifdef.
15515 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15516
15517 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15520 first. Disable AVX-512 GCC support if assembler doesn't support
15521 it.
15522 * sysdeps/x86_64/configure: Regenerated.
15523
15524 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15525
15526 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15527 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15528 (__old_pthread_attr_setstack): Likewise.
15529 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15530 [!_STACK_GROWS_DOWN]: Likewise.
15531
15532 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15533
15534 * config.make.in (have-bash2): Delete.
15535 * configure.ac (libc_cv_have_bash2): Delete.
15536 * configure: Regenerate.
15537 * elf/Makefile (common-ldd-rewrite): Rename to ...
15538 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15539 (sh-ldd-rewrite): Delete.
15540 (bash-ldd-rewrite): Delete.
15541 (have-bash2): Delete checks.
15542 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15543 ldd-rewrite.
15544
15545 * config.make.in (have-ksh): Delete.
15546 (KSH): Delete.
15547 * configure.ac (libc_cv_have_ksh): Delete.
15548 * configure: Regenerate.
15549
15550 * elf/Makefile: Delete $(have-ksh) check.
15551 ($(objpfx)sotruss): Change KSH to BASH.
15552 * elf/sotruss.ksh: Rename to ...
15553 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15554 function style to match POSIX. Drop ksh vim mode setting.
15555
15556 * manual/time.texi (Specifying the Time Zone with TZ): Change
15557 Tuesday to Thursday.
15558
15559 * debug/tst-longjmp_chk2.c: Update header comment.
15560 (stackoverflow_handler): Add comment. Call assert on pass value.
15561
15562 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15563
15564 [BZ #16194]
15565 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15566 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15567 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15568 (La_x86_64_vector): Add zmm.
15569 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15570 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15571 ($(objpfx)tst-audit10): New target.
15572 ($(objpfx)tst-audit10.out): Likewise.
15573 (tst-audit10-ENV): New.
15574 (AVX512-CFLAGS): Likewise.
15575 (CFLAGS-tst-audit10.c): Likewise.
15576 (CFLAGS-tst-auditmod10a.c): Likewise.
15577 (CFLAGS-tst-auditmod10b.c): Likewise.
15578 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15579 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15580 * sysdeps/x86_64/configure: Regenerated.
15581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15582 AVX-512 zmm register support.
15583 (_dl_x86_64_save_sse): Likewise.
15584 (_dl_x86_64_restore_sse): Likewise.
15585 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15586 size vector registers.
15587 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15588 (ZMM_SIZE): Likewise.
15589 * sysdeps/x86_64/tst-audit10.c: New file.
15590 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15591 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15592
15593 2014-03-13 Roland McGrath <roland@hack.frob.com>
15594
15595 * configure.ac (HAVE_EHDR_START): New check.
15596 * configure: Regenerated.
15597 * config.h.in (HAVE_EHDR_START): New #undef.
15598 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15599 assuming the lowest-addressed segment maps the start of the file.
15600
15601 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15602
15603 * INSTALL: Regenerated.
15604
15605 2014-03-13 Will Newton <will.newton@linaro.org>
15606
15607 * manual/setjmp.texi (System V contexts): Improve
15608 clarity and grammar of documentation.
15609
15610 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15611
15612 [BZ #16381]
15613 * elf/Makefile (tests): Add tst-pie2.
15614 (tests-pie): Add tst-pie2.
15615 * elf/tst-pie2.c: New file.
15616 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15617 for ET_EXEC.
15618 * elf/rtld.c (map_doit): Load executable as lt_executable.
15619 (dl_main): Likewise.
15620
15621 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #16642]
15624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15625 (__ASSUME_PSELECT): Undefine.
15626
15627 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15628
15629 [BZ #16689]
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15631 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15632 static build.
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15634 selector for static builds.
15635
15636 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15637
15638 [BZ #16695]
15639 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15640 key in the buffer.
15641
15642 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15643
15644 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15645 IFUNC selector for static builds.
15646
15647 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15648
15649 * sysdeps/mips/math_private.h [__mips_hard_float]
15650 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15651 libc_feresetround_mips_ctx.
15652 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15653 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15654 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15655
15656 [BZ #16677]
15657 * math/s_nextafter.c (__nextafter): Do not return value from
15658 overflowing computation.
15659 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15660 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15662 Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15664 Likewise.
15665 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15666 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15667
15668 2014-03-11 Roland McGrath <roland@hack.frob.com>
15669
15670 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15671 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15672 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15673 the new mov targetting sp.
15674
15675 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15676
15677 [BZ #16683]
15678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15679 Define it for static builds as well.
15680 (NO_BZERO_IMPL): Likewise.
15681
15682 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15683
15684 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15685 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15686 multiarch strspn for PPC64.
15687 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15688 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15690 (__libc_ifunc_impl_list): Likewise.
15691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15692 multiarch optimizations
15693 * string/strspn.c (strspn): Using macro to redefine symbol name.
15694
15695 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15696 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697
15698 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15699 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15700 multiarch strncat for PPC64.
15701 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15702 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15704 (__libc_ifunc_impl_list): Likewise.
15705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15706 multiarch optimizations
15707
15708 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15709
15710 [BZ #16639]
15711 * nscd/nscd.service: Make service type forking.
15712
15713 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15714
15715 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15716 sign in non default rounding modes.
15717 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15718
15719 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15720
15721 * math/libm-test.inc (ALL_RM_TEST): New macro.
15722 (ceil_test): Use ALL_RM_TEST.
15723 (cimag_test): Likewise.
15724 (conj_test): Likewise.
15725 (copysign_test): Likewise.
15726 (cproj_test): Likewise.
15727 (creal_test): Likewise.
15728 (fabs_test): Likewise.
15729 (floor_test): Likewise.
15730 (fmax_test): Likewise.
15731 (fmin_test): Likewise.
15732 (fmod_test): Likewise.
15733 (fpclassify_test): Likewise.
15734 (frexp_test): Likewise.
15735 (ilogb_test): Likewise.
15736 (isfinite_test): Likewise.
15737 (finite_test): Likewise.
15738 (isgreater_test): Likewise.
15739 (isgreaterequal_test): Likewise.
15740 (isinf_test): Likewise.
15741 (isless_test): Likewise.
15742 (islessequal_test): Likewise.
15743 (islessgreater_test): Likewise.
15744 (isnan_test): Likewise.
15745 (isnormal_test): Likewise.
15746 (issignaling_test): Likewise.
15747 (isunordered_test): Likewise.
15748 (logb_test): Likewise.
15749 (logb_downward_test_data): Remove.
15750 (logb_test_downward): Likewise.
15751 (lround_test): Use ALL_RM_TEST.
15752 (llround_test): Likewise.
15753 (modf_test): Likewise.
15754 (nexttoward_test): Likewise.
15755 (remainder_test): Likewise.
15756 (drem_test): Likewise.
15757 (remainder_tonearest_test_data): Likewise.
15758 (remainder_test_tonearest): Likewise.
15759 (drem_test_tonearest): Likewise.
15760 (remainder_towardzero_test_data): Likewise.
15761 (remainder_test_towardzero): Likewise.
15762 (drem_test_towardzero): Likewise.
15763 (remainder_downward_test_data): Likewise.
15764 (remainder_test_downward): Likewise.
15765 (drem_test_downward): Likewise.
15766 (remainder_upward_test_data): Likewise.
15767 (remainder_test_upward): Likewise.
15768 (drem_test_upward): Likewise.
15769 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15770 (round_test): Use ALL_RM_TEST.
15771 (signbit_test): Likewise.
15772 (trunc_test): Likewise.
15773 (significand_test): Likewise.
15774 (main): Don't call removed functions.
15775
15776 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15777
15778 [BZ #16674]
15779 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15780 || __USE_XOPEN2K8].
15781 (ILL_ILLOPN): Likewise.
15782 (ILL_ILLADR): Likewise.
15783 (ILL_ILLTRP): Likewise.
15784 (ILL_PRVOPC): Likewise.
15785 (ILL_PRVREG): Likewise.
15786 (ILL_COPROC): Likewise.
15787 (ILL_BADSTK): Likewise.
15788 (FPE_INTDIV): Likewise.
15789 (FPE_INTOVF): Likewise.
15790 (FPE_FLTDIV): Likewise.
15791 (FPE_FLTOVF): Likewise.
15792 (FPE_FLTUND): Likewise.
15793 (FPE_FLTRES): Likewise.
15794 (FPE_FLTINV): Likewise.
15795 (FPE_FLTSUB): Likewise.
15796 (SEGV_MAPERR): Likewise.
15797 (SEGV_ACCERR): Likewise.
15798 (BUS_ADRALN): Likewise.
15799 (BUS_ADRERR): Likewise.
15800 (BUS_OBJERR): Likewise.
15801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15802 (TRAP_TRACE): Likewise.
15803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15804 __USE_XOPEN2K8].
15805 (CLD_KILLED): Likewise.
15806 (CLD_DUMPED): Likewise.
15807 (CLD_TRAPPED): Likewise.
15808 (CLD_STOPPED): Likewise.
15809 (CLD_CONTINUED): Likewise.
15810 (POLL_IN): Likewise.
15811 (POLL_OUT): Likewise.
15812 (POLL_MSG): Likewise.
15813 (POLL_ERR): Likewise.
15814 (POLL_PRI): Likewise.
15815 (POLL_HUP): Likewise.
15816 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15817 Likewise.
15818 (ILL_ILLOPN): Likewise.
15819 (ILL_ILLADR): Likewise.
15820 (ILL_ILLTRP): Likewise.
15821 (ILL_PRVOPC): Likewise.
15822 (ILL_PRVREG): Likewise.
15823 (ILL_COPROC): Likewise.
15824 (ILL_BADSTK): Likewise.
15825 (FPE_INTDIV): Likewise.
15826 (FPE_INTOVF): Likewise.
15827 (FPE_FLTDIV): Likewise.
15828 (FPE_FLTOVF): Likewise.
15829 (FPE_FLTUND): Likewise.
15830 (FPE_FLTRES): Likewise.
15831 (FPE_FLTINV): Likewise.
15832 (FPE_FLTSUB): Likewise.
15833 (SEGV_MAPERR): Likewise.
15834 (SEGV_ACCERR): Likewise.
15835 (BUS_ADRALN): Likewise.
15836 (BUS_ADRERR): Likewise.
15837 (BUS_OBJERR): Likewise.
15838 (BUS_MCEERR_AR): Likewise.
15839 (BUS_MCEERR_AO): Likewise.
15840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15841 (TRAP_TRACE): Likewise.
15842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15843 __USE_XOPEN2K8].
15844 (CLD_KILLED): Likewise.
15845 (CLD_DUMPED): Likewise.
15846 (CLD_TRAPPED): Likewise.
15847 (CLD_STOPPED): Likewise.
15848 (CLD_CONTINUED): Likewise.
15849 (POLL_IN): Likewise.
15850 (POLL_OUT): Likewise.
15851 (POLL_MSG): Likewise.
15852 (POLL_ERR): Likewise.
15853 (POLL_PRI): Likewise.
15854 (POLL_HUP): Likewise.
15855 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15856 (ILL_ILLOPN): Likewise.
15857 (ILL_ILLADR): Likewise.
15858 (ILL_ILLTRP): Likewise.
15859 (ILL_PRVOPC): Likewise.
15860 (ILL_PRVREG): Likewise.
15861 (ILL_COPROC): Likewise.
15862 (ILL_BADSTK): Likewise.
15863 (FPE_INTDIV): Likewise.
15864 (FPE_INTOVF): Likewise.
15865 (FPE_FLTDIV): Likewise.
15866 (FPE_FLTOVF): Likewise.
15867 (FPE_FLTUND): Likewise.
15868 (FPE_FLTRES): Likewise.
15869 (FPE_FLTINV): Likewise.
15870 (FPE_FLTSUB): Likewise.
15871 (SEGV_MAPERR): Likewise.
15872 (SEGV_ACCERR): Likewise.
15873 (BUS_ADRALN): Likewise.
15874 (BUS_ADRERR): Likewise.
15875 (BUS_OBJERR): Likewise.
15876 (BUS_MCEERR_AR): Likewise.
15877 (BUS_MCEERR_AO): Likewise.
15878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15879 (TRAP_TRACE): Likewise.
15880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15881 __USE_XOPEN2K8].
15882 (CLD_KILLED): Likewise.
15883 (CLD_DUMPED): Likewise.
15884 (CLD_TRAPPED): Likewise.
15885 (CLD_STOPPED): Likewise.
15886 (CLD_CONTINUED): Likewise.
15887 (POLL_IN): Likewise.
15888 (POLL_OUT): Likewise.
15889 (POLL_MSG): Likewise.
15890 (POLL_ERR): Likewise.
15891 (POLL_PRI): Likewise.
15892 (POLL_HUP): Likewise.
15893 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15894 Likewise.
15895 (ILL_ILLOPN): Likewise.
15896 (ILL_ILLADR): Likewise.
15897 (ILL_ILLTRP): Likewise.
15898 (ILL_PRVOPC): Likewise.
15899 (ILL_PRVREG): Likewise.
15900 (ILL_COPROC): Likewise.
15901 (ILL_BADSTK): Likewise.
15902 (ILL_BADIADDR): Likewise.
15903 (ILL_BREAK): Likewise.
15904 (FPE_INTDIV): Likewise.
15905 (FPE_INTOVF): Likewise.
15906 (FPE_FLTDIV): Likewise.
15907 (FPE_FLTOVF): Likewise.
15908 (FPE_FLTUND): Likewise.
15909 (FPE_FLTRES): Likewise.
15910 (FPE_FLTINV): Likewise.
15911 (FPE_FLTSUB): Likewise.
15912 (FPE_DECOVF): Likewise.
15913 (FPE_DECDIV): Likewise.
15914 (FPE_DECERR): Likewise.
15915 (FPE_INVASC): Likewise.
15916 (FPE_INVDEC): Likewise.
15917 (SEGV_MAPERR): Likewise.
15918 (SEGV_ACCERR): Likewise.
15919 (SEGV_PSTKOVF): Likewise.
15920 (BUS_ADRALN): Likewise.
15921 (BUS_ADRERR): Likewise.
15922 (BUS_OBJERR): Likewise.
15923 (BUS_MCEERR_AR): Likewise.
15924 (BUS_MCEERR_AO): Likewise.
15925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15926 (TRAP_TRACE): Likewise.
15927 (TRAP_BRANCH): Likewise.
15928 (TRAP_HWBKPT): Likewise.
15929 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15930 __USE_XOPEN2K8].
15931 (CLD_KILLED): Likewise.
15932 (CLD_DUMPED): Likewise.
15933 (CLD_TRAPPED): Likewise.
15934 (CLD_STOPPED): Likewise.
15935 (CLD_CONTINUED): Likewise.
15936 (POLL_IN): Likewise.
15937 (POLL_OUT): Likewise.
15938 (POLL_MSG): Likewise.
15939 (POLL_ERR): Likewise.
15940 (POLL_PRI): Likewise.
15941 (POLL_HUP): Likewise.
15942 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15943 (ILL_ILLOPN): Likewise.
15944 (ILL_ILLADR): Likewise.
15945 (ILL_ILLTRP): Likewise.
15946 (ILL_PRVOPC): Likewise.
15947 (ILL_PRVREG): Likewise.
15948 (ILL_COPROC): Likewise.
15949 (ILL_BADSTK): Likewise.
15950 (FPE_INTDIV): Likewise.
15951 (FPE_INTOVF): Likewise.
15952 (FPE_FLTDIV): Likewise.
15953 (FPE_FLTOVF): Likewise.
15954 (FPE_FLTUND): Likewise.
15955 (FPE_FLTRES): Likewise.
15956 (FPE_FLTINV): Likewise.
15957 (FPE_FLTSUB): Likewise.
15958 (SEGV_MAPERR): Likewise.
15959 (SEGV_ACCERR): Likewise.
15960 (BUS_ADRALN): Likewise.
15961 (BUS_ADRERR): Likewise.
15962 (BUS_OBJERR): Likewise.
15963 (BUS_MCEERR_AR): Likewise.
15964 (BUS_MCEERR_AO): Likewise.
15965 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15966 (TRAP_TRACE): Likewise.
15967 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15968 __USE_XOPEN2K8].
15969 (CLD_KILLED): Likewise.
15970 (CLD_DUMPED): Likewise.
15971 (CLD_TRAPPED): Likewise.
15972 (CLD_STOPPED): Likewise.
15973 (CLD_CONTINUED): Likewise.
15974 (POLL_IN): Likewise.
15975 (POLL_OUT): Likewise.
15976 (POLL_MSG): Likewise.
15977 (POLL_ERR): Likewise.
15978 (POLL_PRI): Likewise.
15979 (POLL_HUP): Likewise.
15980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15981 (ILL_ILLOPN): Likewise.
15982 (ILL_ILLADR): Likewise.
15983 (ILL_ILLTRP): Likewise.
15984 (ILL_PRVOPC): Likewise.
15985 (ILL_PRVREG): Likewise.
15986 (ILL_COPROC): Likewise.
15987 (ILL_BADSTK): Likewise.
15988 (FPE_INTDIV): Likewise.
15989 (FPE_INTOVF): Likewise.
15990 (FPE_FLTDIV): Likewise.
15991 (FPE_FLTOVF): Likewise.
15992 (FPE_FLTUND): Likewise.
15993 (FPE_FLTRES): Likewise.
15994 (FPE_FLTINV): Likewise.
15995 (FPE_FLTSUB): Likewise.
15996 (SEGV_MAPERR): Likewise.
15997 (SEGV_ACCERR): Likewise.
15998 (BUS_ADRALN): Likewise.
15999 (BUS_ADRERR): Likewise.
16000 (BUS_OBJERR): Likewise.
16001 (BUS_MCEERR_AR): Likewise.
16002 (BUS_MCEERR_AO): Likewise.
16003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16004 (TRAP_TRACE): Likewise.
16005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16006 __USE_XOPEN2K8].
16007 (CLD_KILLED): Likewise.
16008 (CLD_DUMPED): Likewise.
16009 (CLD_TRAPPED): Likewise.
16010 (CLD_STOPPED): Likewise.
16011 (CLD_CONTINUED): Likewise.
16012 (POLL_IN): Likewise.
16013 (POLL_OUT): Likewise.
16014 (POLL_MSG): Likewise.
16015 (POLL_ERR): Likewise.
16016 (POLL_PRI): Likewise.
16017 (POLL_HUP): Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16019 (ILL_ILLOPN): Likewise.
16020 (ILL_ILLADR): Likewise.
16021 (ILL_ILLTRP): Likewise.
16022 (ILL_PRVOPC): Likewise.
16023 (ILL_PRVREG): Likewise.
16024 (ILL_COPROC): Likewise.
16025 (ILL_BADSTK): Likewise.
16026 (FPE_INTDIV): Likewise.
16027 (FPE_INTOVF): Likewise.
16028 (FPE_FLTDIV): Likewise.
16029 (FPE_FLTOVF): Likewise.
16030 (FPE_FLTUND): Likewise.
16031 (FPE_FLTRES): Likewise.
16032 (FPE_FLTINV): Likewise.
16033 (FPE_FLTSUB): Likewise.
16034 (SEGV_MAPERR): Likewise.
16035 (SEGV_ACCERR): Likewise.
16036 (BUS_ADRALN): Likewise.
16037 (BUS_ADRERR): Likewise.
16038 (BUS_OBJERR): Likewise.
16039 (BUS_MCEERR_AR): Likewise.
16040 (BUS_MCEERR_AO): Likewise.
16041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16042 (TRAP_TRACE): Likewise.
16043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16044 __USE_XOPEN2K8].
16045 (CLD_KILLED): Likewise.
16046 (CLD_DUMPED): Likewise.
16047 (CLD_TRAPPED): Likewise.
16048 (CLD_STOPPED): Likewise.
16049 (CLD_CONTINUED): Likewise.
16050 (POLL_IN): Likewise.
16051 (POLL_OUT): Likewise.
16052 (POLL_MSG): Likewise.
16053 (POLL_ERR): Likewise.
16054 (POLL_PRI): Likewise.
16055 (POLL_HUP): Likewise.
16056 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16057 (ILL_ILLOPN): Likewise.
16058 (ILL_ILLADR): Likewise.
16059 (ILL_ILLTRP): Likewise.
16060 (ILL_PRVOPC): Likewise.
16061 (ILL_PRVREG): Likewise.
16062 (ILL_COPROC): Likewise.
16063 (ILL_BADSTK): Likewise.
16064 (ILL_DBLFLT): Likewise.
16065 (ILL_HARDWALL): Likewise.
16066 (FPE_INTDIV): Likewise.
16067 (FPE_INTOVF): Likewise.
16068 (FPE_FLTDIV): Likewise.
16069 (FPE_FLTOVF): Likewise.
16070 (FPE_FLTUND): Likewise.
16071 (FPE_FLTRES): Likewise.
16072 (FPE_FLTINV): Likewise.
16073 (FPE_FLTSUB): Likewise.
16074 (SEGV_MAPERR): Likewise.
16075 (SEGV_ACCERR): Likewise.
16076 (BUS_ADRALN): Likewise.
16077 (BUS_ADRERR): Likewise.
16078 (BUS_OBJERR): Likewise.
16079 (BUS_MCEERR_AR): Likewise.
16080 (BUS_MCEERR_AO): Likewise.
16081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16082 (TRAP_TRACE): Likewise.
16083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16084 __USE_XOPEN2K8].
16085 (CLD_KILLED): Likewise.
16086 (CLD_DUMPED): Likewise.
16087 (CLD_TRAPPED): Likewise.
16088 (CLD_STOPPED): Likewise.
16089 (CLD_CONTINUED): Likewise.
16090 (POLL_IN): Likewise.
16091 (POLL_OUT): Likewise.
16092 (POLL_MSG): Likewise.
16093 (POLL_ERR): Likewise.
16094 (POLL_PRI): Likewise.
16095 (POLL_HUP): Likewise.
16096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16097 (ILL_ILLOPN): Likewise.
16098 (ILL_ILLADR): Likewise.
16099 (ILL_ILLTRP): Likewise.
16100 (ILL_PRVOPC): Likewise.
16101 (ILL_PRVREG): Likewise.
16102 (ILL_COPROC): Likewise.
16103 (ILL_BADSTK): Likewise.
16104 (FPE_INTDIV): Likewise.
16105 (FPE_INTOVF): Likewise.
16106 (FPE_FLTDIV): Likewise.
16107 (FPE_FLTOVF): Likewise.
16108 (FPE_FLTUND): Likewise.
16109 (FPE_FLTRES): Likewise.
16110 (FPE_FLTINV): Likewise.
16111 (FPE_FLTSUB): Likewise.
16112 (SEGV_MAPERR): Likewise.
16113 (SEGV_ACCERR): Likewise.
16114 (BUS_ADRALN): Likewise.
16115 (BUS_ADRERR): Likewise.
16116 (BUS_OBJERR): Likewise.
16117 (BUS_MCEERR_AR): Likewise.
16118 (BUS_MCEERR_AO): Likewise.
16119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16120 (TRAP_TRACE): Likewise.
16121 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16122 __USE_XOPEN2K8].
16123 (CLD_KILLED): Likewise.
16124 (CLD_DUMPED): Likewise.
16125 (CLD_TRAPPED): Likewise.
16126 (CLD_STOPPED): Likewise.
16127 (CLD_CONTINUED): Likewise.
16128 (POLL_IN): Likewise.
16129 (POLL_OUT): Likewise.
16130 (POLL_MSG): Likewise.
16131 (POLL_ERR): Likewise.
16132 (POLL_PRI): Likewise.
16133 (POLL_HUP): Likewise.
16134 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16135 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16136
16137 [BZ #16670]
16138 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16139 before #include of <time.h>.
16140 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16141 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16142 (test-xfail-UNIX98/sched.h/conform): Likewise.
16143
16144 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16145
16146 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16147 error absence of trapping exception support.
16148 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16149
16150 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16151
16152 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16153 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16154 * timezone/Makefile (testdata): Move definition above include of
16155 Rules.
16156 (test-zones): New variable.
16157 (tests-special): Add zone files.
16158 (build-testdata): Use $(evaluate-test).
16159
16160 * elf/Makefile (tests-special): Rename tests to end with .out.
16161 ($(objpfx)noload-mem): Likewise.
16162 ($(objpfx)tst-leaks1-mem): Likewise.
16163 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16164 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16165 $(objpfx)test-iconvconfig.out.
16166 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16167 set -e inside subshell and redirect output to file.
16168 * iconvdata/Makefile (generated): Rename tests to end with .out.
16169 Correct type.
16170 (tests-special): Rename tests to end with .out.
16171 ($(objpfx)mtrace-tst-loading): Likewise.
16172 * intl/Makefile (generated): Likewise.
16173 (tests-special): Likewise.
16174 ($(objpfx)mtrace-tst-gettext): Likewise.
16175 * misc/Makefile (generated): Likewise.
16176 (tests-special): Likewise.
16177 ($(objpfx)tst-error1-mem): Likewise.
16178 * nptl/Makefile (tests-special): Likewise.
16179 ($(objpfx)tst-stack3-mem): Likewise.
16180 (generated): Likewise.
16181 * posix/Makefile (generated): Likewise.
16182 (tests-special): Likewise.
16183 (xtests-special): Likewise.
16184 ($(objpfx)tst-fnmatch-mem): Likewise.
16185 ($(objpfx)bug-regex2-mem): Likewise.
16186 ($(objpfx)bug-regex14-mem): Likewise.
16187 ($(objpfx)bug-regex21-mem): Likewise.
16188 ($(objpfx)bug-regex31-mem): Likewise.
16189 ($(objpfx)tst-vfork3-mem): Likewise.
16190 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16191 ($(objpfx)tst-pcre-mem): Likewise.
16192 ($(objpfx)tst-boost-mem): Likewise.
16193 ($(objpfx)bug-ga2-mem): Likewise.
16194 ($(objpfx)bug-glob2-mem): Likewise.
16195 * resolv/Makefile (generate): Likewise.
16196 (tests-special): Likewise.
16197 (xtests-special): Likewise.
16198 (generated): Likewise.
16199 ($(objpfx)mtrace-tst-leaks): Likewise.
16200 ($(objpfx)mtrace-tst-leaks2): Likewise.
16201
16202 * scripts/merge-test-results.sh: New file.
16203 * Makefile (tests-special-notdir): New variable.
16204 (tests): Run merge-test-results.sh.
16205 (xtests): Likewise.
16206 * Rules (tests-special-notdir): New variable.
16207 (xtests-special-notdir): Likewise.
16208 (tests): Run merge-test-results.sh
16209 (xtests): Likewise.
16210
16211 * Makeconfig (test-xfail-name): New variable.
16212 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16213 compute variable name for expected failures.
16214 * conform/Makefile (conformtest-headers-data): New variable.
16215 (conformtest-standards): Likewise.
16216 (conformtest-headers-ISO): Likewise.
16217 (conformtest-headers-ISO99): Likewise.
16218 (conformtest-headers-ISO11): Likewise.
16219 (conformtest-headers-POSIX): Likewise.
16220 (conformtest-headers-XPG3): Likewise.
16221 (conformtest-headers-XPG4): Likewise.
16222 (conformtest-headers-UNIX98): Likewise.
16223 (conformtest-headers-XOPEN2K): Likewise.
16224 (conformtest-headers-POSIX2008): Likewise.
16225 (conformtest-headers-XOPEN2K8): Likewise.
16226 (conformtest-header-list-base): Likewise.
16227 (conformtest-header-list-tests): Likewise.
16228 (conformtest-header-base): Likewise.
16229 (conformtest-header-tests): Likewise.
16230 (tests-special): Add $(conformtest-header-list-tests). If
16231 [$(fast-check) && !$(cross-compiling)], add
16232 $(conformtest-header-tests) instead of
16233 $(objpfx)run-conformtest.out.
16234 (generated): Add $(conformtest-header-list-base). If
16235 [$(fast-check) && !$(cross-compiling)], add
16236 $(conformtest-header-base). Remove previous setting.
16237 ($(conformtest-header-list-tests)): New target.
16238 (test-xfail-run-conformtest): Remove variable.
16239 ($(objpfx)run-conformtest.out): Remove target.
16240 (test-xfail-ISO11/complex.h/conform): New variable.
16241 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16242 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16243 (test-xfail-XPG3/varargs.h/conform): Likewise.
16244 (test-xfail-XPG4/varargs.h/conform): Likewise.
16245 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16246 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16247 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16248 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16249 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16250 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16251 (test-xfail-XPG3/ftw.h/conform): Likewise.
16252 (test-xfail-XPG3/grp.h/conform): Likewise.
16253 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16254 (test-xfail-XPG3/limits.h/conform): Likewise.
16255 (test-xfail-XPG3/pwd.h/conform): Likewise.
16256 (test-xfail-XPG3/search.h/conform): Likewise.
16257 (test-xfail-XPG3/signal.h/conform): Likewise.
16258 (test-xfail-XPG3/stdio.h/conform): Likewise.
16259 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16260 (test-xfail-XPG3/string.h/conform): Likewise.
16261 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16262 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16263 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16264 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16265 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16266 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16267 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16268 (test-xfail-XPG3/termios.h/conform): Likewise.
16269 (test-xfail-XPG3/time.h/conform): Likewise.
16270 (test-xfail-XPG3/unistd.h/conform): Likewise.
16271 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16272 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16273 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16274 (test-xfail-XPG4/netdb.h/conform): Likewise.
16275 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16276 (test-xfail-XPG4/signal.h/conform): Likewise.
16277 (test-xfail-XPG4/stdio.h/conform): Likewise.
16278 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16279 (test-xfail-XPG4/stropts.h/conform): Likewise.
16280 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16281 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16282 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16283 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16284 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16285 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16286 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16287 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16288 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16289 (test-xfail-XPG4/termios.h/conform): Likewise.
16290 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16291 (test-xfail-XPG4/unistd.h/conform): Likewise.
16292 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16293 (test-xfail-POSIX/sched.h/conform): Likewise.
16294 (test-xfail-POSIX/signal.h/conform): Likewise.
16295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16296 (test-xfail-POSIX/tar.h/conform): Likewise.
16297 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16298 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16299 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16300 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16301 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16302 (test-xfail-UNIX98/sched.h/conform): Likewise.
16303 (test-xfail-UNIX98/signal.h/conform): Likewise.
16304 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16305 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16306 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16307 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16308 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16309 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16310 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16311 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16312 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16313 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16314 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16315 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16316 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16317 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16318 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16319 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16320 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16321 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16322 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16323 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16324 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16325 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16326 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16327 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16328 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16329 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16330 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16331 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16332 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16333 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16334 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16335 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16336 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16337 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16338 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16339 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16340 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16341 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16342 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16343 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16344 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16345 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16346 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16347 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16348 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16349 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16350 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16351 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16352 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16353 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16354 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16355 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16356 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16357 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16358 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16359 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16360 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16361 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16362 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16363 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16364 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16365 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16366 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16367 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16368 (conformtest-cc-flags): Likewise.
16369 ($(conformtest-header-tests): New target.
16370 * conform/check-header-lists.sh: New file.
16371 * conform/run-conformtest.sh: Remove.
16372
16373 * conform/conformtest.pl: Allow ' and \ in values given for
16374 constants.
16375 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16376 inclusion.
16377 [POSIX] (sys/types.h): Likewise.
16378 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16379 inclusion.
16380 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16381 inclusion.
16382 * conform/data/signal.h-data (SIGIO): Remove expectation.
16383 [XPG3] (SIGBUS): Do not expect.
16384 [POSIX || XPG3] (SIGPOLL): Likewise.
16385 [POSIX || XPG3] (SIGPROF): Likewise.
16386 [POSIX || XPG3] (SIGSYS): Likewise.
16387 [XPG3] (SIGTRAP): Likewise.
16388 [POSIX || XPG3] (SIGURG): Likewise.
16389 [POSIX || XPG3] (SIGVTALRM): Likewise.
16390 [POSIX || XPG3] (SIGXCPU): Likewise.
16391 [POSIX || XPG3] (SIGXFSZ): Likewise.
16392 [POSIX] (SA_SIGINFO): Expect.
16393 [XPG3] (siginfo_t): Do not expect type or contents.
16394 [POSIX] (si_pid): Do not expect element.
16395 [POSIX] (si_uid): Likewise.
16396 [POSIX] (si_addr): Likewise.
16397 [POSIX] (si_status): Likewise.
16398 [POSIX] (si_band): Likewise.
16399 [XPG4] (si_value): Likewise.
16400 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16401 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16402 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16403 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16404 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16405 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16406 [POSIX || XPG3] (ILL_COPROC): Likewise.
16407 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16408 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16409 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16410 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16411 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16412 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16413 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16414 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16415 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16416 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16417 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16418 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16419 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16420 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16421 [POSIX || XPG3] (CLD_EXITED): Likewise.
16422 [POSIX || XPG3] (CLD_KILLED): Likewise.
16423 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16424 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16425 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16426 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16427 [POSIX || XPG3] (POLL_IN): Likewise.
16428 [POSIX || XPG3] (POLL_OUT): Likewise.
16429 [POSIX || XPG3] (POLL_MSG): Likewise.
16430 [POSIX || XPG3] (POLL_ERR): Likewise.
16431 [POSIX || XPG3] (POLL_PRI): Likewise.
16432 [POSIX || XPG3] (POLL_HUP): Likewise.
16433 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16434 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16435 (SIG*): Do not allow.
16436 [XPG3] (si_*): Likewise.
16437 [XPG3] (SI_*): Likewise.
16438 [XPG3 || XPG4] (sigev_*): Likewise.
16439 [XPG3 || XPG4] (SIGEV_*): Likewise.
16440 [XPG3 || XPG4] (sival_*): Likewise.
16441 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16442 [POSIX || XPG3] (BUS_*): Likewise.
16443 [POSIX || XPG3] (CLD_*): Likewise.
16444 [POSIX || XPG3] (FPE_*): Likewise.
16445 [POSIX || XPG3] (ILL_*): Likewise.
16446 [POSIX || XPG3] (POLL_*): Likewise.
16447 [POSIX || XPG3] (SEGV_*): Likewise.
16448 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16449 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16450 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16451 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16452 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16453 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16454 Specify type and value.
16455 (TVERSLEN): Likewise.
16456 (REGTYPE): Likewise.
16457 (AREGTYPE): Likewise.
16458 (LNKTYPE): Likewise.
16459 (SYMTYPE): Likewise.
16460 (CHRTYPE): Likewise.
16461 (BLKTYPE): Likewise.
16462 (DIRTYPE): Likewise.
16463 (FIFOTYPE): Likewise.
16464 (CONTTYPE): Likewise.
16465 (TSUID): Likewise.
16466 (TSGID): Likewise.
16467 (TSVTX): Likewise.
16468 (TUREAD): Likewise.
16469 (TUWRITE): Likewise.
16470 (TUEXEC): Likewise.
16471 (TGREAD): Likewise.
16472 (TGWRITE): Likewise.
16473 (TGEXEC): Likewise.
16474 (TOREAD): Likewise.
16475 (TOWRITE): Likewise.
16476 (TOEXEC): Likewise.
16477 [POSIX] (TSVTX): Expect constant.
16478
16479 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16480
16481 * Makefile (tests): Change dependencies to ....
16482 (tests-special): ... additions to this variable.
16483 (tests): Depend on $(tests-special).
16484 * Makerules (check-abi-list): New variable.
16485 (check-abi): Depend on $(check-abi-list).
16486 [$(subdir) = elf] (tests-special): Add
16487 $(objpfx)check-abi-libc.out.
16488 [$(build-shared) = yes && subdir] (tests-special): Add
16489 $(check-abi-list).
16490 [$(build-shared) = yes && subdir] (tests): Do not depend on
16491 check-abi.
16492 * Rules (tests): Depend on $(tests-special).
16493 (xtests): Depend on $(xtests-special).
16494 * catgets/Makefile (tests): Change dependencies to ....
16495 (tests-special): ... additions to this variable.
16496 * conform/Makefile (tests): Change dependencies to ....
16497 (tests-special): ... additions to this variable.
16498 * elf/Makefile (tests): Change dependencies to ....
16499 (tests-special): ... additions to this variable.
16500 * grp/Makefile (tests): Change dependencies to ....
16501 (tests-special): ... additions to this variable.
16502 * iconv/Makefile (xtests): Change dependencies to ....
16503 (xtests-special): ... additions to this variable.
16504 * iconvdata/Makefile (tests): Change dependencies to ....
16505 (tests-special): ... additions to this variable.
16506 * intl/Makefile (tests): Change dependencies to ....
16507 (tests-special): ... additions to this variable. Also add
16508 $(objpfx)tst-gettext.out.
16509 * io/Makefile (tests): Change dependencies to ....
16510 (tests-special): ... additions to this variable.
16511 * libio/Makefile (tests): Change dependencies to ....
16512 (tests-special): ... additions to this variable.
16513 * malloc/Makefile (tests): Change dependencies to ....
16514 (tests-special): ... additions to this variable.
16515 * misc/Makefile (tests): Change dependencies to ....
16516 (tests-special): ... additions to this variable.
16517 * nptl/Makefile (tests): Change dependencies to ....
16518 (tests-special): ... additions to this variable.
16519 * nptl_db/Makefile (tests): Change dependencies to ....
16520 (tests-special): ... additions to this variable.
16521 * posix/Makefile (tests): Change dependencies to ....
16522 (tests-special): ... additions to this variable.
16523 (xtests): Change dependencies to ....
16524 (xtests-special): ... additions to this variable.
16525 * resolv/Makefile (tests): Change dependencies to ....
16526 (tests-special): ... additions to this variable.
16527 (xtests): Change dependencies to ....
16528 (xtests-special): ... additions to this variable.
16529 * stdio-common/Makefile (tests): Change dependencies to ....
16530 (tests-special): ... additions to this variable.
16531 (do-tst-unbputc): Remove target.
16532 (do-tst-printf): Likewise.
16533 * stdlib/Makefile (tests): Change dependencies to ....
16534 (tests-special): ... additions to this variable.
16535 * string/Makefile (tests): Change dependencies to ....
16536 (tests-special): ... additions to this variable.
16537 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16538 (tests-special): ... additions to this variable.
16539
16540 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16541 whole file.
16542 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16543 whole file.
16544 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16545 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16546
16547 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16548 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16549 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16550 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16551 * conform/data/libgen.h-data [XPG3]: Likewise.
16552 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16553 * conform/data/ndbm.h-data [XPG3]: Likewise.
16554 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16555 * conform/data/netdb.h-data [XPG3]: Likewise.
16556 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16557 * conform/data/poll.h-data [XPG3]: Likewise.
16558 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16559 * conform/data/strings.h-data [XPG3]: Likewise.
16560 * conform/data/stropts.h-data [XPG3]: Likewise.
16561 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16562 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16563 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16564 Likewise.
16565 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16566 * conform/data/sys/time.h-data [XPG3]: Likewise.
16567 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16568 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16569 * conform/data/sys/un.h-data [XPG3]: Likewise.
16570 * conform/data/syslog.h-data [XPG3]: Likewise.
16571 * conform/data/ucontext.h-data [XPG3]: Likewise.
16572 * conform/data/utmpx.h-data [XPG3]: Likewise.
16573 * conform/data/varargs.h-data [UNIX98]: Enable file.
16574
16575 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16576
16577 * math/libm-test.inc (struct test_f_f_data): Move expected results
16578 into structure for each rounding mode.
16579 (struct test_ff_f_data): Likewise.
16580 (struct test_ff_f_data_nexttoward): Likewise.
16581 (struct test_fi_f_data): Likewise.
16582 (struct test_fl_f_data): Likewise.
16583 (struct test_if_f_data): Likewise.
16584 (struct test_fff_f_data): Likewise.
16585 (struct test_c_f_data): Likewise.
16586 (struct test_f_f1_data): Likewise.
16587 (struct test_fF_f1_data): Likewise.
16588 (struct test_ffI_f1_data): Likewise.
16589 (struct test_c_c_data): Likewise.
16590 (struct test_cc_c_data): Likewise.
16591 (struct test_f_i_data): Likewise.
16592 (struct test_ff_i_data): Likewise.
16593 (struct test_f_l_data): Likewise.
16594 (struct test_f_L_data): Likewise.
16595 (struct test_fFF_11_data): Likewise.
16596 (RM_): New macro.
16597 (RM_FE_DOWNWARD): Likewise.
16598 (RM_FE_TONEAREST): Likewise.
16599 (RM_FE_TOWARDZERO): Likewise.
16600 (RM_FE_UPWARD): Likewise.
16601 (RUN_TEST_LOOP_f_f): Update references to expected results.
16602 (RUN_TEST_LOOP_2_f): Likewise.
16603 (RUN_TEST_LOOP_fff_f): Likewise.
16604 (RUN_TEST_LOOP_c_f): Likewise.
16605 (RUN_TEST_LOOP_f_f1): Likewise.
16606 (RUN_TEST_LOOP_fF_f1): Likewise.
16607 (RUN_TEST_LOOP_fI_f1): Likewise.
16608 (RUN_TEST_LOOP_ffI_f1): Likewise.
16609 (RUN_TEST_LOOP_c_c): Likewise.
16610 (RUN_TEST_LOOP_cc_c): Likewise.
16611 (RUN_TEST_LOOP_f_i): Likewise.
16612 (RUN_TEST_LOOP_f_i_tg): Likewise.
16613 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16614 (RUN_TEST_LOOP_f_b): Likewise.
16615 (RUN_TEST_LOOP_f_b_tg): Likewise.
16616 (RUN_TEST_LOOP_f_l): Likewise.
16617 (RUN_TEST_LOOP_f_L): Likewise.
16618 (RUN_TEST_LOOP_fFF_11): Likewise.
16619 * math/gen-libm-test.pl (parse_args): Output four copies of
16620 expected results for each test.
16621
16622 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16623 (__ASSUME_UTIMES): Remove.
16624 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16625 (__ASSUME_UTIMES): Likewise.
16626
16627 * math/gen-auto-libm-tests.c: Update comment on output format.
16628 (output_for_one_input_case): Generate before-rounding and
16629 after-rounding information as conditions on output flags not
16630 floating-point format.
16631 * math/auto-libm-test-out: Regenerated.
16632 * math/gen-libm-test.pl (cond_value): New function.
16633 (or_cond_value): Use cond_value.
16634 (generate_testfile): Handle conditional exceptions.
16635
16636 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16637
16638 * math/libm-test.inc (max_valid_error): New variable.
16639 (init_max_error): Take new argument specifying whether function
16640 results are exactly determined. Set max_valid_error and bound
16641 other variables for errors based on this argument.
16642 (set_max_error): Do not record results above max_valid_error.
16643 (check_float_internal): Only accept errors of up to 0.5ulps if
16644 also at most max_valid_error.
16645 (START): Take new argument EXACT and pass it to init_max_error.
16646 (acos_test): Update call to START.
16647 (acos_test_tonearest): Likewise.
16648 (acos_test_towardzero): Likewise.
16649 (acos_test_downward): Likewise.
16650 (acos_test_upward): Likewise.
16651 (acosh_test): Likewise.
16652 (asin_test): Likewise.
16653 (asin_test_tonearest): Likewise.
16654 (asin_test_towardzero): Likewise.
16655 (asin_test_downward): Likewise.
16656 (asin_test_upward): Likewise.
16657 (asinh_test): Likewise.
16658 (atan_test): Likewise.
16659 (atanh_test): Likewise.
16660 (atan2_test): Likewise.
16661 (cabs_test): Likewise.
16662 (cacos_test): Likewise.
16663 (cacosh_test): Likewise.
16664 (carg_test): Likewise.
16665 (casin_test): Likewise.
16666 (casinh_test): Likewise.
16667 (catan_test): Likewise.
16668 (catanh_test): Likewise.
16669 (cbrt_test): Likewise.
16670 (ccos_test): Likewise.
16671 (ccosh_test): Likewise.
16672 (ceil_test): Likewise.
16673 (cexp_test): Likewise.
16674 (cimag_test): Likewise.
16675 (clog_test): Likewise.
16676 (clog10_test): Likewise.
16677 (conj_test): Likewise.
16678 (copysign_test): Likewise.
16679 (cos_test): Likewise.
16680 (cos_test_tonearest): Likewise.
16681 (cos_test_towardzero): Likewise.
16682 (cos_test_downward): Likewise.
16683 (cos_test_upward): Likewise.
16684 (cosh_test): Likewise.
16685 (cosh_test_tonearest): Likewise.
16686 (cosh_test_towardzero): Likewise.
16687 (cosh_test_downward): Likewise.
16688 (cosh_test_upward): Likewise.
16689 (cpow_test): Likewise.
16690 (cproj_test): Likewise.
16691 (creal_test): Likewise.
16692 (csin_test): Likewise.
16693 (csinh_test): Likewise.
16694 (csqrt_test): Likewise.
16695 (ctan_test): Likewise.
16696 (ctan_test_tonearest): Likewise.
16697 (ctan_test_towardzero): Likewise.
16698 (ctan_test_downward): Likewise.
16699 (ctan_test_upward): Likewise.
16700 (ctanh_test): Likewise.
16701 (ctanh_test_tonearest): Likewise.
16702 (ctanh_test_towardzero): Likewise.
16703 (ctanh_test_downward): Likewise.
16704 (ctanh_test_upward): Likewise.
16705 (erf_test): Likewise.
16706 (erfc_test): Likewise.
16707 (exp_test): Likewise.
16708 (exp_test_tonearest): Likewise.
16709 (exp_test_towardzero): Likewise.
16710 (exp_test_downward): Likewise.
16711 (exp_test_upward): Likewise.
16712 (exp10_test): Likewise.
16713 (exp10_test_tonearest): Likewise.
16714 (exp10_test_towardzero): Likewise.
16715 (exp10_test_downward): Likewise.
16716 (exp10_test_upward): Likewise.
16717 (pow10_test): Likewise.
16718 (exp2_test): Likewise.
16719 (expm1_test): Likewise.
16720 (expm1_test_tonearest): Likewise.
16721 (expm1_test_towardzero): Likewise.
16722 (expm1_test_downward): Likewise.
16723 (expm1_test_upward): Likewise.
16724 (fabs_test): Likewise.
16725 (fdim_test): Likewise.
16726 (floor_test): Likewise.
16727 (fma_test): Likewise.
16728 (fma_test_towardzero): Likewise.
16729 (fma_test_downward): Likewise.
16730 (fma_test_upward): Likewise.
16731 (fmax_test): Likewise.
16732 (fmin_test): Likewise.
16733 (fmod_test): Likewise.
16734 (fpclassify_test): Likewise.
16735 (frexp_test): Likewise.
16736 (hypot_test): Likewise.
16737 (ilogb_test): Likewise.
16738 (isfinite_test): Likewise.
16739 (finite_test): Likewise.
16740 (isgreater_test): Likewise.
16741 (isgreaterequal_test): Likewise.
16742 (isinf_test): Likewise.
16743 (isless_test): Likewise.
16744 (islessequal_test): Likewise.
16745 (islessgreater_test): Likewise.
16746 (isnan_test): Likewise.
16747 (isnormal_test): Likewise.
16748 (issignaling_test): Likewise.
16749 (isunordered_test): Likewise.
16750 (j0_test): Likewise.
16751 (j1_test): Likewise.
16752 (jn_test): Likewise.
16753 (ldexp_test): Likewise.
16754 (lgamma_test): Likewise.
16755 (gamma_test): Likewise.
16756 (lrint_test): Likewise.
16757 (lrint_test_tonearest): Likewise.
16758 (lrint_test_towardzero): Likewise.
16759 (lrint_test_downward): Likewise.
16760 (lrint_test_upward): Likewise.
16761 (llrint_test): Likewise.
16762 (llrint_test_tonearest): Likewise.
16763 (llrint_test_towardzero): Likewise.
16764 (llrint_test_downward): Likewise.
16765 (llrint_test_upward): Likewise.
16766 (log_test): Likewise.
16767 (log10_test): Likewise.
16768 (log1p_test): Likewise.
16769 (log2_test): Likewise.
16770 (logb_test): Likewise.
16771 (logb_test_downward): Likewise.
16772 (lround_test): Likewise.
16773 (llround_test): Likewise.
16774 (modf_test): Likewise.
16775 (nearbyint_test): Likewise.
16776 (nextafter_test): Likewise.
16777 (nexttoward_test): Likewise.
16778 (pow_test): Likewise.
16779 (pow_test_tonearest): Likewise.
16780 (pow_test_towardzero): Likewise.
16781 (pow_test_downward): Likewise.
16782 (pow_test_upward): Likewise.
16783 (remainder_test): Likewise.
16784 (drem_test): Likewise.
16785 (remainder_test_tonearest): Likewise.
16786 (drem_test_tonearest): Likewise.
16787 (remainder_test_towardzero): Likewise.
16788 (drem_test_towardzero): Likewise.
16789 (remainder_test_downward): Likewise.
16790 (drem_test_downward): Likewise.
16791 (remainder_test_upward): Likewise.
16792 (drem_test_upward): Likewise.
16793 (remquo_test): Likewise.
16794 (rint_test): Likewise.
16795 (rint_test_tonearest): Likewise.
16796 (rint_test_towardzero): Likewise.
16797 (rint_test_downward): Likewise.
16798 (rint_test_upward): Likewise.
16799 (round_test): Likewise.
16800 (scalb_test): Likewise.
16801 (scalbn_test): Likewise.
16802 (scalbln_test): Likewise.
16803 (signbit_test): Likewise.
16804 (sin_test): Likewise.
16805 (sin_test_tonearest): Likewise.
16806 (sin_test_towardzero): Likewise.
16807 (sin_test_downward): Likewise.
16808 (sin_test_upward): Likewise.
16809 (sincos_test): Likewise.
16810 (sinh_test): Likewise.
16811 (sinh_test_tonearest): Likewise.
16812 (sinh_test_towardzero): Likewise.
16813 (sinh_test_downward): Likewise.
16814 (sinh_test_upward): Likewise.
16815 (sqrt_test): Likewise.
16816 (sqrt_test_tonearest): Likewise.
16817 (sqrt_test_towardzero): Likewise.
16818 (sqrt_test_downward): Likewise.
16819 (sqrt_test_upward): Likewise.
16820 (tan_test): Likewise.
16821 (tan_test_tonearest): Likewise.
16822 (tan_test_towardzero): Likewise.
16823 (tan_test_downward): Likewise.
16824 (tan_test_upward): Likewise.
16825 (tanh_test): Likewise.
16826 (tgamma_test): Likewise.
16827 (trunc_test): Likewise.
16828 (y0_test): Likewise.
16829 (y1_test): Likewise.
16830 (yn_test): Likewise.
16831 (significand_test): Likewise.
16832
16833 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16834 individual tests in comment.
16835 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16836 (prev_max_error): New variable.
16837 (prev_real_max_error): Likewise.
16838 (prev_imag_max_error): Likewise.
16839 (compare_ulp_data): Don't refer to test names in comment.
16840 (find_test_ulps): Remove function.
16841 (find_function_ulps): Likewise.
16842 (find_complex_function_ulps): Likewise.
16843 (init_max_error): Take function name as argument. Look up ulps
16844 for that function.
16845 (print_ulps): Remove function.
16846 (print_max_error): Use prev_max_error instead of calling
16847 find_function_ulps.
16848 (print_complex_max_error): Use prev_real_max_error and
16849 prev_imag_max_error instead of calling find_complex_function_ulps.
16850 (check_float_internal): Take max_ulp parameter instead of calling
16851 find_test_ulps. Don't call print_ulps.
16852 (check_float): Update call to check_float_internal.
16853 (check_complex): Update calls to check_float_internal.
16854 (START): Pass argument to init_max_error.
16855 * math/gen-libm-test.pl (%results): Don't include "kind"
16856 information.
16857 (parse_ulps): Don't handle ulps of individual tests.
16858 (print_ulps_file): Likewise.
16859 (output_ulps): Likewise.
16860 * math/README.libm-test: Update.
16861 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16862 individual tests.
16863 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16864 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16865 * sysdeps/arm/libm-test-ulps: Likewise.
16866 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16867 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16868 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16869 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16870 * sysdeps/microblaze/libm-test-ulps: Likewise.
16871 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16872 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16874 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16875 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16876 * sysdeps/sh/libm-test-ulps: Likewise.
16877 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16878 * sysdeps/tile/libm-test-ulps: Likewise.
16879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16880
16881 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16882
16883 * math/libm-test.inc (print_complex_max_error): Check separately
16884 whether real and imaginary errors are within allowed range and
16885 pass 0 to print_complex_function_ulps instead of value within
16886 allowed range.
16887
16888 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16891 formatting.
16892 (get_handles_fopen): Likewise.
16893 (do_write_test): Likewise.
16894
16895 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16896
16897 * libio/fileops.c (do_ftell): Use cached offset when
16898 available.
16899 * libio/iofwide.c (do_ftell_wide): Likewise.
16900 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16901 _IO_file_attach.
16902 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16903
16904 [BZ #16532]
16905 * libio/libioP.h (get_file_offset): New function.
16906 * libio/fileops.c (get_file_offset): Likewise.
16907 (do_ftell): Likewise.
16908 (_IO_new_file_seekoff): Split out ftell logic.
16909 * libio/wfileops.c (do_ftell_wide): Likewise.
16910 (_IO_wfile_seekoff): Split out ftell logic.
16911 * libio/tst-ftell-active-handler.c: New test case.
16912 * libio/Makefile (tests): Add it.
16913
16914 2014-03-03 Roland McGrath <roland@hack.frob.com>
16915
16916 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16917 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16918
16919 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16920
16921 [BZ #16639]
16922 * nscd/connections.c (nscd_init): Call do_exit.
16923 (start_threads): Call do_exit and notify_parent.
16924 (begin_drop_privileges): Call do_exit.
16925 (finish_drop_privileges): Likewise.
16926 * nscd/selinux.c (preserve_capabilities): Likewise.
16927 (install_real_capabilities): Likewise.
16928 (nscd_selinux_enabled): Likewise.
16929 (avc_create_thread): Likewise.
16930 (avc_alloc_lock): Likewise.
16931 (nscd_avc_init): Likewise.
16932 * nscd/nscd.c (parent_fd): New static variable.
16933 (main): Create a pipe between parent and child processes.
16934 Skip closing parent_fd.
16935 (monitor_child): New function.
16936 (do_exit): Likewise.
16937 (notify_parent): Likewise.
16938 * nscd/nscd.h (notify_parent): Likewise.
16939 (do_exit): Likewise.
16940
16941 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16942
16943 * malloc/malloc.c (__libc_calloc): Revert last change.
16944
16945 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16946
16947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16948
16949 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16953 implementation.
16954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16955 (__libc_ifunc_impl_list): Likewise.
16956 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16957 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16958 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16959 * string/strrchr.c: Define STRRCHR.
16960
16961 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16962
16963 * benchtest/bench-strtok.c (simple_strtok): Delete.
16964 (strtok_string): Use as benchmark.
16965 * string/strtok (STRTOK): New macro.
16966
16967 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16968
16969 * manual/threads.texi: Add header and standard comments to all
16970 functions.
16971
16972 * elf/dl-lookup.c (check_match): New function.
16973 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16974 (do_lookup_x): Remove nested function check_match. Use non-nested
16975 function check_match.
16976
16977 2014-02-28 Roland McGrath <roland@hack.frob.com>
16978
16979 * csu/Makefile (generated, before-compile): Use += rather than =.
16980 * catgets/Makefile (generated, generated-dirs): Likewise.
16981 * debug/Makefile (generated): Likewise.
16982 * dlfcn/Makefile (generated): Likewise.
16983 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16984 * iconvdata/Makefile (before-compile, generated): Likewise.
16985 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16986 * libio/Makefile (generated): Likewise.
16987 * malloc/Makefile (generated): Likewise.
16988 * manual/Makefile (generated, generated-dirs): Likewise.
16989 * misc/Makefile (generated): Likewise.
16990 * posix/Makefile (generated): Likewise.
16991 * resolv/Makefile (generated): Likewise.
16992 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16993 * timezone/Makefile (generated, generated-dirs): Likewise.
16994
16995 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16996
16997 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16998
16999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17000 power8 implementation.
17001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17002 file: POWER8 llround ifunc implementation.
17003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17004 (__lllround): Add POWER8 implementation.
17005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17006 POWER8 llround implementation.
17007
17008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17009 power8 implementation.
17010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17011 file: POWER8 llrint ifunc implementation.
17012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17013 Add POWER8 implementation.
17014 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17015 POWER8 llrint implementation.
17016
17017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17018 power8 implementation.
17019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17020 file: POWER8 finite ifunc implementation.
17021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17022 Add POWER8 implementation.
17023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17024 Likewise.
17025 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17026 POWER8 finite implementation.
17027 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17028
17029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17030 power8 implementation.
17031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17032 file: POWER8 isinf ifunc implementation.
17033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17034 POWER8 implementation.
17035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17036 Likewise.
17037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17038 isinf implementation.
17039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17040
17041 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17042 (INIT_ARCH): Add hwcap2 initialization.
17043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17044 power8 implementation.
17045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17046 file: POWER8 isnan ifunc implementation.
17047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17048 POWER8 implementation.
17049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17050 Likewise.
17051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17052 isnan implementation.
17053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17054
17055 2014-02-27 Joey Ye <joey.ye@arm.com>
17056
17057 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17058 (_FP_NANFRAC_Q): Set to zero.
17059
17060 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17061
17062 [BZ #16623]
17063 * math/auto-libm-test-in: New test inputs.
17064 * math/auto-libm-test-out: Regenerate.
17065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17066 and DA.
17067 (__cos): Likewise.
17068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17069
17070 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17071
17072 * scripts/evaluate-test.sh: Take new argument indicating whether
17073 failure is expected.
17074 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17075 indicating whether failure is expected.
17076 * conform/Makefile (test-xfail-run-conformtest): New variable.
17077 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17078 level.
17079 * posix/Makefile (test-xfail-annexc): New variable.
17080 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17081
17082 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17083
17084 * argp/Makefile: Include Makeconfig immediately after defining
17085 subdir.
17086 * assert/Makefile: Likewise.
17087 * benchtests/Makefile: Likewise.
17088 * catgets/Makefile: Likewise.
17089 * conform/Makefile: Likewise.
17090 * crypt/Makefile: Likewise.
17091 * csu/Makefile: Likewise.
17092 (all): Remove target.
17093 * ctype/Makefile: Include Makeconfig immediately after defining
17094 subdir.
17095 * debug/Makefile: Likewise.
17096 * dirent/Makefile: Likewise.
17097 * dlfcn/Makefile: Likewise.
17098 * gmon/Makefile: Likewise.
17099 * gnulib/Makefile: Likewise.
17100 * grp/Makefile: Likewise.
17101 * gshadow/Makefile: Likewise.
17102 * hesiod/Makefile: Likewise.
17103 * hurd/Makefile: Likewise.
17104 (all): Remove target.
17105 * iconvdata/Makefile: Include Makeconfig immediately after
17106 defining subdir.
17107 * inet/Makefile: Likewise.
17108 * intl/Makefile: Likewise.
17109 * io/Makefile: Likewise.
17110 * libio/Makefile: Likewise.
17111 (all): Remove target.
17112 * locale/Makefile: Include Makeconfig immediately after defining
17113 subdir.
17114 * login/Makefile: Likewise.
17115 * mach/Makefile: Likewise.
17116 (all): Remove target.
17117 * malloc/Makefile: Include Makeconfig immediately after defining
17118 subdir.
17119 (all): Remove target.
17120 * manual/Makefile: Include Makeconfig immediately after defining
17121 subdir.
17122 * math/Makefile: Likewise.
17123 * misc/Makefile: Likewise.
17124 * nis/Makefile: Likewise.
17125 * nss/Makefile: Likewise.
17126 * po/Makefile: Likewise.
17127 (all): Remove target.
17128 * posix/Makefile: Include Makeconfig immediately after defining
17129 subdir.
17130 * pwd/Makefile: Likewise.
17131 * resolv/Makefile: Likewise.
17132 * resource/Makefile: Likewise.
17133 * rt/Makefile: Likewise.
17134 * setjmp/Makefile: Likewise.
17135 * shadow/Makefile: Likewise.
17136 * signal/Makefile: Likewise.
17137 * socket/Makefile: Likewise.
17138 * soft-fp/Makefile: Likewise.
17139 * stdio-common/Makefile: Likewise.
17140 * stdlib/Makefile: Likewise.
17141 * streams/Makefile: Likewise.
17142 * string/Makefile: Likewise.
17143 * sunrpc/Makefile: Likewise.
17144 (all): Remove target.
17145 * sysvipc/Makefile: Include Makeconfig immediately after defining
17146 subdir.
17147 * termios/Makefile: Likewise.
17148 * time/Makefile: Likewise.
17149 * timezone/Makefile: Likewise.
17150 (all): Remove target.
17151 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17152 subdir.
17153 * wctype/Makefile: Likewise.
17154
17155 2014-02-26 Steve Ellcey <sellcey@mips.com>
17156
17157 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17158 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17159 (libc_feholdexcept_setround_mips): Ditto.
17160 (libc_feholdsetround): New.
17161 (libc_feholdsetroundf): New.
17162 (libc_feholdsetroundl): New.
17163 (libc_feupdateenv_test_mips): New.
17164 (libc_feupdateenv_test): New.
17165 (libc_feupdateenv_testf): New.
17166 (libc_feupdateenv_testl): New.
17167 (libc_feresetround): New.
17168 (libc_feresetroundf): New.
17169 (libc_feresetroundl): New.
17170 (libc_fetestexcept_mips): New.
17171 (libc_fetestexcept): New.
17172 (libc_fetestexceptf): New.
17173 (libc_fetestexceptl): New.
17174 (HAVE_RM_CTX): New.
17175 (libc_feholdexcept_setround_mips_ctx): New.
17176 (libc_feholdexcept_setround_ctx): New.
17177 (libc_feholdexcept_setroundf_ctx): New.
17178 (libc_feholdexcept_setroundl_ctx): New.
17179 (libc_fesetenv_mips_ctx): New.
17180 (libc_fesetenv_ctx): New.
17181 (libc_fesetenv_ctxf): New.
17182 (libc_fesetenv_ctxl): New.
17183 (libc_feupdateenv_mips_ctx): New.
17184 (libc_feupdateenv_ctx): New.
17185 (libc_feupdateenvf_ctx): New.
17186 (libc_feupdateenvl_ctx): New.
17187 (libc_feholdsetround_mips_ctx): New.
17188 (libc_feholdsetround_ctx): New.
17189 (libc_feholdsetroundf_ctx): New.
17190 (libc_feholdsetroundl_ctx): New.
17191 (libc_feresetround_mips_ctx): New.
17192 (libc_feresetround_ctx): New.
17193 (libc_feresetroundf_ctx): New.
17194 (libc_feresetroundl_ctx): New.
17195
17196 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17197
17198 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17199
17200 * manual/ipc.texi: New file.
17201 * manual/Makefile (chapters): Add ipc.
17202 * manual/job.texi: Add "Inter-Process Communication" to next.
17203 * manual/process.texi: Add "Inter-Process Communication" to prev.
17204
17205 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17206
17207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208
17209 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17210
17211 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17212
17213 * manual/arith.texi: Fix spaces after sentences.
17214 * manual/charset.texi: Likewise.
17215 * manual/errno.texi: Likewise.
17216 * manual/install.texi: Likewise.
17217 * manual/llio.texi: Likewise.
17218 * manual/locale.texi: Likewise.
17219 * manual/maint.texi: Likewise.
17220 * manual/math.texi: Likewise.
17221 * manual/memory.texi: Likewise.
17222 * manual/message.texi: Likewise.
17223 * manual/probes.texi: Likewise.
17224 * manual/resource.texi: Likewise.
17225 * manual/signal.texi: Likewise.
17226 * manual/socket.texi: Likewise.
17227 * manual/stdio.texi: Likewise.
17228 * manual/string.texi: Likewise.
17229 * manual/time.texi: Likewise.
17230 * manual/users.texi: Likewise.
17231
17232 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17233
17234 [BZ #16632]
17235 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17236 _DEFAULT_SOURCE is defined.
17237
17238 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17239 Carlos O'Donell <carlos@redhat.com>
17240
17241 [BZ #16613]
17242 * elf/dl-tls.c (_dl_count_modids): New function.
17243 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17244 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17245 audit library and increment generation counter.
17246 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17247 * elf/tst-audit9.c: New file.
17248 * elf/tst-auditmod9a.c: New file.
17249 * elf/tst-auditmod9b.c: New file.
17250 * elf/Makefile: Add rules to build and run tst-audit9.
17251
17252 2014-02-25 Florian Weimer <fweimer@redhat.com>
17253
17254 [BZ #15347]
17255 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17256
17257 2014-02-25 Will Newton <will.newton@linaro.org>
17258
17259 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17260 (__longjmp): Restore sp and lr before restoring callee
17261 saved registers. Add longjmp and longjmp_target
17262 SystemTap probe point.
17263 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17264 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17265 Define to zero to match jmpbuf layout.
17266 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17267 (__sigsetjmp): Save sp and lr before saving callee
17268 saved registers. Add setjmp SystemTap probe point.
17269
17270 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17271
17272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17273
17274 2014-02-24 Andreas Schwab <schwab@suse.de>
17275
17276 [BZ #15804]
17277 * elf/pldd.c (wait_for_ptrace_stop): New function.
17278 (main): Call it after attaching.
17279
17280 2014-02-22 Roland McGrath <roland@hack.frob.com>
17281
17282 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17283 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17284 Versions files is now verboten.
17285 * hurd/Versions (libc: GLIBC_2.0):
17286 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17287 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17288 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17289 * mach/Versions: Likewise.
17290
17291 * csu/Versions: Remove unused %include.
17292 * resolv/Versions: Likewise.
17293
17294 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17295
17296 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17297 ($(objpfx)check-local-headers.out): Likewise.
17298 ($(objpfx)begin-end-check.out): Likewise.
17299 * Makerules (check-abi-%.out): Likewise.
17300 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17301 ($(objpfx)test2.cat): Likewise.
17302 ($(objpfx)de/libc.cat): Likewise.
17303 ($(objpfx)test-gencat.out): Likewise.
17304 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17305 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17306 ($(objpfx)noload-mem): Likewise.
17307 ($(objpfx)tst-pathopt.out): Likewise.
17308 ($(objpfx)tst-rtld-load-self.out): Likewise.
17309 ($(objpfx)tst-array1-cmp.out): Likewise.
17310 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17311 ($(objpfx)tst-array2-cmp.out): Likewise.
17312 ($(objpfx)tst-array3-cmp.out): Likewise.
17313 ($(objpfx)tst-array4-cmp.out): Likewise.
17314 ($(objpfx)tst-array5-cmp.out): Likewise.
17315 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17316 ($(objpfx)check-textrel.out): Likewise.
17317 ($(objpfx)check-execstack.out): Likewise.
17318 ($(objpfx)check-localplt.out): Likewise.
17319 ($(objpfx)order2-cmp.out): Likewise.
17320 ($(objpfx)tst-leaks1-mem): Likewise.
17321 ($(objpfx)tst-leaks1-static-mem): Likewise.
17322 ($(objpfx)tst-initorder-cmp.out): Likewise.
17323 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17324 ($(objpfx)tst-unused-dep.out): Likewise.
17325 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17326 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17327 * iconv/Makefile (test-iconvconfig): Likewise.
17328 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17329 ($(objpfx)iconv-test.out): Likewise.
17330 ($(objpfx)tst-tables.out): Likewise.
17331 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17332 ($(objpfx)tst-gettext.out): Likewise.
17333 ($(objpfx)tst-translit.out): Likewise.
17334 ($(objpfx)tst-gettext2.out): Likewise.
17335 ($(objpfx)tst-gettext4.out): Likewise.
17336 ($(objpfx)tst-gettext6.out): Likewise.
17337 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17338 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17339 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17340 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17341 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17342 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17343 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17344 ($(objpfx)wordexp-tst.out): Likewise.
17345 ($(objpfx)annexc.out): Likewise.
17346 ($(objpfx)tst-fnmatch-mem): Likewise.
17347 ($(objpfx)bug-regex2-mem): Likewise.
17348 ($(objpfx)bug-regex14-mem): Likewise.
17349 ($(objpfx)bug-regex21-mem): Likewise.
17350 ($(objpfx)bug-regex31-mem): Likewise.
17351 ($(objpfx)tst-vfork3-mem): Likewise.
17352 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17353 ($(objpfx)tst-pcre-mem): Likewise.
17354 ($(objpfx)tst-boost-mem): Likewise.
17355 ($(objpfx)tst-getconf.out): Likewise.
17356 ($(objpfx)bug-ga2-mem): Likewise.
17357 ($(objpfx)bug-glob2-mem): Likewise.
17358 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17359 ($(objpfx)mtrace-tst-leaks2): Likewise.
17360 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17361 ($(objpfx)tst-printf.out): Likewise.
17362 ($(objpfx)tst-setvbuf1.out): Likewise.
17363 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17364 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17365 ($(objpfx)tst-fmtmsg.out): Likewise.
17366 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17367 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17368
17369 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17370 * bits/sigaction.h [__USE_MISC]: Likewise.
17371 * bits/waitstatus.h: Update #endif comments.
17372 * ctype/ctype.h: Likewise.
17373 * dirent/dirent.h: Likewise.
17374 [__USE_MISC]: Remove redundant conditionals.
17375 * grp/grp.h: Update #endif comments.
17376 [__USE_GNU]: Remove redundant conditionals.
17377 [__USE_MISC]: Likewise.
17378 * inet/netinet/in.h [__USE_GNU]: Likewise.
17379 * io/sys/stat.h [__USE_MISC]: Likewise.
17380 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17381 * libio/bits/stdio.h: Update #endif comments.
17382 [__USE_MISC]: Remove redundant conditionals.
17383 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17384 * libio/stdio.h: Update #endif comments.
17385 [__USE_MISC]: Remove redundant conditionals.
17386 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17387 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17388 * math/math.h: Update #else and #endif comments.
17389 [__USE_MISC]: Remove redundant conditionals.
17390 * misc/sys/uio.h: Update #endif comments.
17391 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17392 * posix/glob.h [__USE_MISC]: Likewise.
17393 * posix/sys/types.h: Update #endif comments.
17394 [__USE_MISC]: Remove redundant conditionals.
17395 * posix/sys/wait.h: Update #endif comments.
17396 [__USE_MISC]: Remove redundant conditionals.
17397 * posix/unistd.h: Update #endif comments.
17398 [__USE_MISC]: Remove redundant conditionals.
17399 * pwd/pwd.h [__USE_GNU]: Likewise.
17400 [__USE_MISC]: Likewise.
17401 * resolv/netdb.h [__USE_GNU]: Likewise.
17402 * signal/signal.h: Update #endif comments.
17403 [__USE_MISC]: Remove redundant conditionals.
17404 * stdlib/stdlib.h: Update #else and #endif comments.
17405 [__USE_MISC]: Remove redundant conditionals.
17406 [__USE_GNU]: Likewise.
17407 * string/bits/string2.h [__USE_MISC]: Likewise.
17408 * string/string.h: Update #endif comments.
17409 [__USE_MISC]: Remove redundant conditionals.
17410 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17411 Likewise.
17412 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17413 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17414 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17415 Likewise.
17416 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17417 Likewise.
17418 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17419 comments.
17420 [__USE_MISC]: Remove redundant conditionals.
17421 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17422 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17423 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17424 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17425 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17428 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17429 Likewise.
17430 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17431 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17432 Likewise.
17433 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17437 Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17439 Likewise.
17440 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17441 * sysdeps/x86/bits/string.h: Update #endif comments.
17442 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17443 conditionals.
17444 * time/sys/time.h: Update #endif comments.
17445 * time/time.h: Likewise.
17446 [__USE_MISC]: Remove redundant conditionals.
17447
17448 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17449
17450 [BZ #16600]
17451 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17452
17453 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17454
17455 * Versions.def (librt): Add GLIBC_2.17.
17456
17457 2014-02-21 Adam Conrad <adconrad@0c3.net>
17458
17459 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17460 synonym for _SYS_AUXV_H to allow direct inclusion.
17461 * sysdeps/sparc/bits/hwcap.h: Likewise.
17462 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17463 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17464 * sysdeps/sparc/sysdep.h: Likewise.
17465
17466 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17467
17468 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17469
17470 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17471
17472 * benchtests/bench-strrchr.c: Print length instead of position.
17473
17474 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17475
17476 [BZ #16611]
17477 * sysdeps/unix/sysv/linux/kernel-features.h
17478 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17479 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17480 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17481 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17482 Likewise.
17483 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17484 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17485 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17486 (__ASSUME_SENDMMSG): Define instead of using previous
17487 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17488 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17489 (__ASSUME_SENDMMSG_SYSCALL): Define.
17490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17491 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17492 Likewise.
17493 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17495 Likewise.
17496 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17497 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17498 Likewise.
17499 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17500 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17501 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17502 [__ASSUME_SENDMMSG]: Change conditionals to
17503 [__ASSUME_SENDMMSG_SOCKETCALL].
17504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17505 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17506 Define.
17507 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17508 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17509 Likewise.
17510 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17511 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17512 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17513 [!__ASSUME_SENDMMSG]: Change conditional to
17514 [!__ASSUME_SENDMMSG_SOCKETCALL].
17515 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17516 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17517 Define.
17518
17519 [BZ #16610]
17520 * sysdeps/unix/sysv/linux/kernel-features.h
17521 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17522 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17523 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17524 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17525 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17526 [__i386__ || __sparc__]
17527 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17528 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17529 (__ASSUME_RECVMMSG): Define instead of using previous
17530 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17531 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17532 (__ASSUME_RECVMMSG_SYSCALL): Define.
17533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17534 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17535 Likewise.
17536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17538 Likewise.
17539 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17541 Likewise.
17542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17543 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17544 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17545 [__ASSUME_RECVMMSG]: Change condition to
17546 [__ASSUME_RECVMMSG_SOCKETCALL].
17547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17548 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17549 Define.
17550 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17551 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17552 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17553 Likewise.
17554 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17555 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17556 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17557 [!__ASSUME_RECVMMSG]: Change condition to
17558 [!__ASSUME_RECVMMSG_SOCKETCALL].
17559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17560 (__ASSUME_RECVMMSG_SYSCALL): Define.
17561
17562 [BZ #16609]
17563 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17564 __powerpc__ || __s390__ || __sh__ || __sparc__]
17565 (__ASSUME_SOCKETCALL): Define.
17566 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17567 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17568 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17569 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17570 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17571 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17572 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17573 (__ASSUME_ACCEPT4): Define instead of using previous
17574 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17575 __powerpc__ || __sparc__ || __s390__)] condition.
17576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17577 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17578 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17579 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17580 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17581 [!__ASSUME_ACCEPT4]: Change condition to
17582 [!__ASSUME_ACCEPT4_SOCKETCALL].
17583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17584 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17585 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17586 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17587 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17588 __ASSUME_ACCEPT4_SYSCALL.
17589 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17590 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17591 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17592 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17593 __ASSUME_ACCEPT4_SYSCALL.
17594 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17595 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17596 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17597 [__ASSUME_ACCEPT4]: Change condition to
17598 [__ASSUME_ACCEPT4_SOCKETCALL].
17599 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17600 (__ASSUME_SOCKETCALL): Define.
17601 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17603 (__ASSUME_SOCKETCALL): Define.
17604 (__ASSUME_ACCEPT4): Remove.
17605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17606 Define.
17607 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17608 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17609 Likewise.
17610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17611 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17612
17613 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17614 macro.
17615 (HWCAP_ARM_LPAE): Likewise.
17616 (HWCAP_ARM_EVTSTRM): Likewise.
17617 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17618 Add vpfd32, lpae and evtstrm.
17619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17620 Increase to 22.
17621
17622 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17623
17624 * math/auto-libm-test-in: Add tests of clog10.
17625 * math/auto-libm-test-out: Regenerated.
17626 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17627 * sysdeps/i386/fpu/libm-test-ulps: Update.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17629
17630 2014-02-18 Andreas Schwab <schwab@suse.de>
17631
17632 [BZ #16574]
17633 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17634 Store non-zero if the second buffer was newly allocated.
17635 (send_dg): Likewise.
17636 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17637 to send_vc and send_dg.
17638 (res_nsend): Pass NULL for ansp2_malloced.
17639 * resolv/res_query.c (__libc_res_nquery): Add parameter
17640 answerp2_malloced and pass it down to __libc_res_nsend.
17641 (res_nquery): Pass additional NULL to __libc_res_nquery.
17642 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17643 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17644 second answer buffer if answerp2_malloced was set.
17645 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17646 (__libc_res_nquerydomain): Add parameter
17647 answerp2_malloced and pass it down to __libc_res_nquery.
17648 (res_nquerydomain): Pass additional NULL to
17649 __libc_res_nquerydomain.
17650 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17651 additional NULL to __libc_res_nsend and __libc_res_nquery.
17652 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17653 additional NULL to __libc_res_nsearch.
17654 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17655 parameter of __libc_res_nsearch to check for separately allocated
17656 second buffer.
17657 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17658 __libc_res_nquery.
17659 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17660 additional NULL to __libc_res_nquery.
17661 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17662 __libc_res_nsearch.
17663 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17664 * include/resolv.h: Update prototypes of __libc_res_nquery,
17665 __libc_res_nsearch, __libc_res_nsend.
17666
17667 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17668
17669 * math/auto-libm-test-in: Add tests of fma.
17670 * math/auto-libm-test-out: Regenerated.
17671 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17672 (fma_towardzero_test_data): Likewise.
17673 (fma_downward_test_data): Likewise.
17674 (fma_upward_test_data): Likewise.
17675 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17676 mpc_mode.
17677 (rounding_modes): Add values for new field.
17678 (func_calc_method): Add value mpfr_fff_f.
17679 (func_calc_desc): Add mpfr_fff_f union field.
17680 (test_function): Add field exact_args.
17681 (FUNC): Add macro argument EXACT_ARGS.
17682 (FUNC_mpfr_f_f): Update call to FUNC.
17683 (FUNC_mpfr_f_f): Likewise.
17684 (FUNC_mpfr_ff_f): Likewise.
17685 (FUNC_mpfr_if_f): Likewise.
17686 (FUNC_mpc_c_f): Likewise.
17687 (FUNC_mpc_c_c): Likewise.
17688 (test_functions): Add fma. Update calls to FUNC.
17689 (handle_input_arg): Add argument exact_args.
17690 (add_test): Update call to handle_input_arg.
17691 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17692 (output_for_one_input_case): Update call to calc_generic_results.
17693 Recalculate exact zero results in each rounding mode.
17694
17695 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17696 non-negative before setting low bit.
17697 * math/auto-libm-test-in: Mark one asin test possibly having
17698 spurious underflow.
17699 * math/auto-libm-test-out: Regenerated.
17700 * sysdeps/i386/fpu/libm-test-ulps: Update.
17701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17702
17703 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17704
17705 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17706 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17707 ports/sysdeps/unix/sysv/linux/microblaze.
17708 * README: Add missing listing for microblaze*-*-linux-gnu.
17709
17710 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17711
17712 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17713 duplicate code
17714
17715 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17716
17717 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17718 * sysdeps/unix/sysv/linux/ia64: Move directory from
17719 ports/sysdeps/unix/sysv/linux/ia64.
17720 * README: Update listing for ia64-*-linux-gnu.
17721
17722 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17723 Joseph Myers <joseph@codesourcery.com>
17724
17725 * Makeconfig (test-name): New variable.
17726 (evaluate-test): Likewise.
17727 * Makerules (do-test-clean): Remove .test-result files.
17728 (common-mostlyclean): Likewise.
17729 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17730 * scripts/evaluate-test.sh: New file.
17731
17732 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17733
17734 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17735 separate $(objpfx)tst-fopenloc-cmp.out and
17736 $(objpfx)tst-fopenloc-mem.out targets.
17737 (tests): Update dependencies.
17738 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17739 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17740 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17741 (tst-rxspencer-no-utf8-ARGS): New variable.
17742 (tst-rxspencer-no-utf8-ENV): Likewise.
17743 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17744 instead of $(objpfx)tst-rxspencer-mem.
17745 ($(objpfx)tst-rxspencer-mem): Change target to
17746 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17747 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17748 * posix/tst-rxspencer-no-utf8.c: New file.
17749
17750 * elf/Makefile ($(objpfx)order.out): Remove rule.
17751 [$(run-built-tests) = yes] (tests): Depend on
17752 $(objpfx)order-cmp.out.
17753 ($(objpfx)order-cmp.out): New rule.
17754 [$(run-built-tests) = yes] (tests): Depend on
17755 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17756 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17757 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17758 $(objpfx)tst-array5-static-cmp.out.
17759 ($(objpfx)tst-array1.out): Remove rule.
17760 ($(objpfx)tst-array1-cmp.out): New rule.
17761 ($(objpfx)tst-array1-static.out): Remove rule.
17762 ($(objpfx)tst-array1-static-cmp.out): New rule.
17763 ($(objpfx)tst-array2.out): Remove rule.
17764 ($(objpfx)tst-array2-cmp.out): New rule.
17765 ($(objpfx)tst-array3.out): Remove rule.
17766 ($(objpfx)tst-array3-cmp.out): New rule.
17767 ($(objpfx)tst-array4.out): Remove rule.
17768 ($(objpfx)tst-array4-cmp.out): New rule.
17769 ($(objpfx)tst-array5.out): Remove rule.
17770 ($(objpfx)tst-array5-cmp.out): New rule.
17771 ($(objpfx)tst-array5-static.out): Remove rule.
17772 ($(objpfx)tst-array5-static-cmp.out): New rule.
17773 [$(run-built-tests) = yes] (tests): Depend on
17774 $(objpfx)order2-cmp.out.
17775 ($(objpfx)order2.out): Remove rule.
17776 ($(objpfx)order2-cmp.out): New rule.
17777 ($(objpfx)tst-initorder.out): Remove rule.
17778 [$(run-built-tests) = yes] (tests): Depend on
17779 $(objpfx)tst-initorder-cmp.out.
17780 ($(objpfx)tst-initorder-cmp.out): New rule.
17781 ($(objpfx)tst-initorder2.out): Remove rule.
17782 [$(run-built-tests) = yes] (tests): Depend on
17783 $(objpfx)tst-initorder2-cmp.out.
17784 ($(objpfx)tst-initorder2-cmp.out): New rule.
17785 [$(run-built-tests) = yes] (tests): Depend on
17786 $(objpfx)tst-unused-dep-cmp.out.
17787 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17788 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17789 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17790 on $(objpfx)tst-setvbuf1-cmp.out.
17791 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17792 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17793 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17794 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17795 ($(objpfx)tst-svc.out): Remove rule.
17796 ($(objpfx)tst-svc-cmp.out): New rule.
17797
17798 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17799
17800 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17801 * ctype/ctype.h [__USE_MISC]: Likewise.
17802 * dirent/dirent.h [__USE_MISC]: Likewise.
17803 * grp/grp.h [__USE_MISC]: Likewise.
17804 * io/fcntl.h [__USE_MISC]: Likewise.
17805 * io/sys/stat.h [__USE_MISC]: Likewise.
17806 * libio/stdio.h [__USE_MISC]: Likewise.
17807 * posix/unistd.h [__USE_MISC]: Likewise.
17808 * pwd/pwd.h [__USE_MISC]: Likewise.
17809 * stdlib.h [__USE_MISC]: Likewise.
17810 * string/bits/string2.h [__USE_MISC]: Likewise.
17811 * string/string.h [__USE_MISC]: Likewise.
17812 * time/time.h [__USE_MISC]: Likewise.
17813
17814 2014-02-13 Andreas Schwab <schwab@suse.de>
17815
17816 [BZ #16574]
17817 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17818 second answer buffer if it was separately allocated.
17819
17820 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17821
17822 * sysdeps/mips/math-tests.h: Include <features.h>.
17823 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17824 (ROUNDING_TESTS_long_double): Do not define.
17825 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17826 (EXCEPTION_TESTS_long_double): Likewise.
17827 * sysdeps/mips/mips64/libm-test-ulps: Update.
17828
17829 * include/features.h (__USE_BSD): Remove macro definitions.
17830 (__USE_SVID): Likewise.
17831 (_BSD_SOURCE): Likewise.
17832 (_SVID_SOURCE): Likewise.
17833 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17834 from definition of _DEFAULT_SOURCE.
17835 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17836 [_DEFAULT_SOURCE].
17837 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17838 * bits/mman.h [__USE_BSD]: Likewise.
17839 * bits/termios.h [__USE_BSD]: Likewise.
17840 * bits/waitstatus.h [__USE_BSD]: Likewise.
17841 * ctype/ctype.h [__USE_SVID]: Likewise.
17842 * dirent/dirent.h [__USE_BSD]: Likewise.
17843 * grp/grp.h [__USE_SVID]: Likewise.
17844 [__USE_BSD]: Likewise.
17845 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17846 * io/fcntl.h [__USE_BSD]: Likewise.
17847 * io/ftw.h [__USE_BSD]: Likewise.
17848 * io/sys/stat.h [__USE_BSD]: Likewise.
17849 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17850 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17851 * libio/stdio.h [__USE_SVID]: Likewise.
17852 [__USE_BSD]: Likewise.
17853 * math/math.h [__USE_SVID]: Likewise.
17854 [__USE_BSD]: Likewise.
17855 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17856 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17857 * misc/search.h [__USE_SVID]: Likewise.
17858 * misc/sys/mman.h [__USE_BSD]: Likewise.
17859 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17860 * misc/sys/uio.h [__USE_BSD]: Likewise.
17861 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17862 * posix/glob.h [__USE_BSD]: Likewise.
17863 * posix/regex.h [__USE_BSD]: Likewise.
17864 * posix/sys/types.h [__USE_BSD]: Likewise.
17865 [__USE_SVID]: Likewise.
17866 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17867 * posix/sys/wait.h [__USE_BSD]: Likewise.
17868 [__USE_SVID]: Likewise.
17869 * posix/unistd.h [__USE_BSD]: Likewise.
17870 [__USE_SVID]: Likewise.
17871 * pwd/pwd.h [__USE_SVID]: Likewise.
17872 * resolv/netdb.h [__USE_BSD]: Likewise.
17873 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17874 * signal/signal.h [__USE_BSD]: Likewise.
17875 [__USE_SVID]: Likewise.
17876 * socket/sys/socket.h [__USE_BSD]: Likewise.
17877 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17878 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17879 [__USE_SVID]: Likewise.
17880 * string/bits/string2.h [__USE_BSD]: Likewise.
17881 [__USE_SVID]: Likewise.
17882 * string/bits/string3.h [__USE_BSD]: Likewise.
17883 * string/endian.h [__USE_BSD]: Likewise.
17884 * string/string.h [__USE_SVID]: Likewise.
17885 [__USE_BSD]: Likewise.
17886 * string/strings.h [__USE_BSD]: Likewise.
17887 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17888 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17889 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17890 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17891 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17892 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17893 Likewise.
17894 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17895 Likewise.
17896 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17897 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17898 Likewise.
17899 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17900 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17901 Likewise.
17902 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17903 Likewise.
17904 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17905 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17907 Likewise.
17908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17909 Likewise.
17910 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17911 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17912 * termios/termios.h [__USE_BSD]: Likewise.
17913 * time/sys/time.h [__USE_BSD]: Likewise.
17914 * time/time.h [__USE_BSD]: Likewise.
17915 [__USE_SVID]: Likewise.
17916
17917 * Makefile (subdir_targets): Remove subdir_lint.out.
17918
17919 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17920 (do-tst-printf): Likewise.
17921 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17922 $(objpfx)tst-printf.out.
17923
17924 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17925
17926 * Makerules (check-abi-%): Change target to
17927 $(objpfx)check-abi-%.out.
17928 (check-abi target): Update dependencies.
17929 (check-abi-pattern variable): Redirect output of diff to $@.
17930 (check-abi variable): Likewise.
17931 * elf/Makefile (check-abi): Update dependencies.
17932
17933 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17934 unused.
17935 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17936 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17937 subnormal range.
17938 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17939 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17940 value has largest subnormal exponent.
17941 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17942 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17943 * sysdeps/aarch64/soft-fp/sfp-machine.h
17944 (_FP_TININESS_AFTER_ROUNDING): New macro.
17945 * sysdeps/alpha/soft-fp/sfp-machine.h
17946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17947 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17948 Likewise.
17949 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17951 * sysdeps/mips/soft-fp/sfp-machine.h
17952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17953 * sysdeps/powerpc/soft-fp/sfp-machine.h
17954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17955 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17956 Likewise.
17957 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17958 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17960 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17961 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17962 Likewise.
17963
17964 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17965
17966 [BZ #16545]
17967 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17968 model 1.
17969
17970 2014-02-12 Richard Henderson <rth@redhat.com>
17971
17972 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17973 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17974 * sysdeps/unix/sysv/linux/alpha: Move directory from
17975 ports/sysdeps/unix/sysv/linux/alpha.
17976 * README: Update listing for alpha-*-linux-gnu.
17977
17978 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17979
17980 * include/features.h: Update comment documenting feature test
17981 macros.
17982 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17983 _DEFAULT_SOURCE.
17984 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17985 (_SVID_SOURCE): Likewise.
17986 (_DEFAULT_SOURCE): Update description of default features.
17987 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17988 with _GNU_SOURCE.
17989 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17990 (S_ISVTX): Likewise.
17991 * manual/math.texi (Mathematical Constants): Likewise.
17992 * manual/signal.texi (Interrupted Primitives): Likewise.
17993 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17994 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17995 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17996 Don't refer to _SVID_SOURCE in warning text.
17997
17998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17999
18000 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18001 already defined.
18002 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18003 * sysdeps/mips/dl-lookup.c: Remove.
18004 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18005
18006 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18007
18008 [BZ #16447]
18009 * math/auto-libm-test-in: Add testcase for expl.
18010 * math/auto-libm-test-out: Regenerate.
18011 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18012 calculation of unsafe.
18013 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18014
18015 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18016
18017 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18018 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18019 ports/sysdeps/unix/sysv/linux/aarch64.
18020 * README: Update listing for aarch64*-*-linux-gnu.
18021
18022 2014-02-11 Will Newton <will.newton@linaro.org>
18023
18024 * manual/probes.texi (Mathematical Function Probes): Use
18025 "triggered" instead of "hit".
18026
18027 * manual/probes.texi (Internal Probes): Add documentation
18028 of setjmp, longjmp and longjmp_target probes.
18029
18030 * include/stap-probe.h: Add comment about probe argument
18031 format.
18032
18033 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18034 definition. (tr_where, tr_freehook, tr_mallochook,
18035 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18036
18037 2014-02-11 David S. Miller <davem@davemloft.net>
18038
18039 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18040 processing int_tests.
18041
18042 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18043
18044 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18045 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18046 * sysdeps/unix/sysv/linux/mips: Move directory from
18047 ports/sysdeps/unix/sysv/linux/mips.
18048 * README: Update listing for mips-*-linux-gnu and
18049 mips64-*-linux-gnu.
18050
18051 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18052
18053 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18054 * sysdeps/unix/sysv/linux/m68k: Move directory from
18055 ports/sysdeps/unix/sysv/linux/m68k.
18056 * README: Update listing for m68k-*-linux-gnu.
18057
18058 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18059
18060 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18061 * sysdeps/unix/sysv/linux/generic: Move directory from
18062 ports/sysdeps/unix/sysv/linux/generic.
18063 * sysdeps/unix/sysv/linux/tile: Move directory from
18064 ports/sysdeps/unix/sysv/linux/tile.
18065 * README: Update listing for tile*-*-linux-gnu.
18066
18067 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18068
18069 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18070 __builtin_expect.
18071 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18072 * catgets/open_catalog.c (__open_catalog): Likewise.
18073 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18074 * debug/confstr_chk.c: Likewise.
18075 * debug/fread_chk.c (__fread_chk): Likewise.
18076 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18077 * debug/getgroups_chk.c: Likewise.
18078 * debug/mbsnrtowcs_chk.c: Likewise.
18079 * debug/mbsrtowcs_chk.c: Likewise.
18080 * debug/mbstowcs_chk.c: Likewise.
18081 * debug/memcpy_chk.c: Likewise.
18082 * debug/memmove_chk.c: Likewise.
18083 * debug/mempcpy_chk.c: Likewise.
18084 * debug/memset_chk.c: Likewise.
18085 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18086 * debug/strcat_chk.c (__strcat_chk): Likewise.
18087 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18088 * debug/strncat_chk.c (__strncat_chk): Likewise.
18089 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18090 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18091 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18092 * debug/wcpncpy_chk.c: Likewise.
18093 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18094 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18095 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18096 * debug/wcsncpy_chk.c: Likewise.
18097 * debug/wcsnrtombs_chk.c: Likewise.
18098 * debug/wcsrtombs_chk.c: Likewise.
18099 * debug/wcstombs_chk.c: Likewise.
18100 * debug/wmemcpy_chk.c: Likewise.
18101 * debug/wmemmove_chk.c: Likewise.
18102 * debug/wmempcpy_chk.c: Likewise.
18103 * debug/wmemset_chk.c: Likewise.
18104 * dirent/scandirat.c (SCANDIRAT): Likewise.
18105 * dlfcn/dladdr1.c (dladdr1): Likewise.
18106 * dlfcn/dladdr.c (dladdr): Likewise.
18107 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18108 * dlfcn/dlerror.c (__dlerror): Likewise.
18109 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18110 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18111 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18112 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18113 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18114 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18115 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18116 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18117 Likewise.
18118 * elf/dl-conflict.c: Likewise.
18119 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18120 * elf/dl-dst.h: Likewise.
18121 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18122 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18123 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18124 * elf/dl-init.c (call_init, _dl_init): Likewise.
18125 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18126 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18127 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18128 Likewise.
18129 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18130 Likewise.
18131 * elf/dl-minimal.c (__libc_memalign): Likewise.
18132 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18133 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18134 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18135 * elf/dl-sym.c (do_sym): Likewise.
18136 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18137 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18138 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18139 * elf/dl-writev.h (_dl_writev): Likewise.
18140 * elf/ldconfig.c (search_dir): Likewise.
18141 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18142 (dl_main): Likewise.
18143 * elf/setup-vdso.h (setup_vdso): Likewise.
18144 * grp/compat-initgroups.c (compat_call): Likewise.
18145 * grp/fgetgrent.c (fgetgrent): Likewise.
18146 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18147 * grp/putgrent.c (putgrent): Likewise.
18148 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18149 Likewise.
18150 * hurd/hurdinit.c: Likewise.
18151 * iconvdata/8bit-gap.c (struct): Likewise.
18152 * iconvdata/ansi_x3.110.c : Likewise.
18153 * iconvdata/big5.c : Likewise.
18154 * iconvdata/big5hkscs.c : Likewise.
18155 * iconvdata/cp1255.c: Likewise.
18156 * iconvdata/cp1258.c : Likewise.
18157 * iconvdata/cp932.c : Likewise.
18158 * iconvdata/euc-cn.c: Likewise.
18159 * iconvdata/euc-jisx0213.c : Likewise.
18160 * iconvdata/euc-jp.c: Likewise.
18161 * iconvdata/euc-jp-ms.c : Likewise.
18162 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18163 * iconvdata/gb18030.c : Likewise.
18164 * iconvdata/gbbig5.c (const): Likewise.
18165 * iconvdata/gbgbk.c: Likewise.
18166 * iconvdata/gbk.c : Likewise.
18167 * iconvdata/ibm1364.c : Likewise.
18168 * iconvdata/ibm930.c : Likewise.
18169 * iconvdata/ibm932.c: Likewise.
18170 * iconvdata/ibm933.c : Likewise.
18171 * iconvdata/ibm935.c : Likewise.
18172 * iconvdata/ibm937.c : Likewise.
18173 * iconvdata/ibm939.c : Likewise.
18174 * iconvdata/ibm943.c: Likewise.
18175 * iconvdata/iso_11548-1.c: Likewise.
18176 * iconvdata/iso-2022-cn.c : Likewise.
18177 * iconvdata/iso-2022-cn-ext.c : Likewise.
18178 * iconvdata/iso-2022-jp-3.c: Likewise.
18179 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18180 * iconvdata/iso-2022-kr.c : Likewise.
18181 * iconvdata/iso646.c (gconv_end): Likewise.
18182 * iconvdata/iso_6937-2.c : Likewise.
18183 * iconvdata/iso_6937.c : Likewise.
18184 * iconvdata/iso8859-1.c: Likewise.
18185 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18186 * iconvdata/shift_jisx0213.c : Likewise.
18187 * iconvdata/sjis.c : Likewise.
18188 * iconvdata/t.61.c : Likewise.
18189 * iconvdata/tcvn5712-1.c : Likewise.
18190 * iconvdata/tscii.c: Likewise.
18191 * iconvdata/uhc.c : Likewise.
18192 * iconvdata/unicode.c (gconv_end): Likewise.
18193 * iconvdata/utf-16.c (gconv_end): Likewise.
18194 * iconvdata/utf-32.c (gconv_end): Likewise.
18195 * iconvdata/utf-7.c (base64): Likewise.
18196 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18197 * iconv/gconv_close.c (__gconv_close): Likewise.
18198 * iconv/gconv_open.c (__gconv_open): Likewise.
18199 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18200 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18201 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18202 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18203 (ucs4le_internal_loop_single): Likewise.
18204 * iconv/iconv.c (iconv): Likewise.
18205 * iconv/iconv_close.c: Likewise.
18206 * iconv/loop.c (SINGLE): Likewise.
18207 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18208 * include/atomic.h: Likewise.
18209 * inet/inet6_option.c (option_alloc): Likewise.
18210 * intl/bindtextdom.c (set_binding_values): Likewise.
18211 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18212 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18213 * intl/localealias.c (read_alias_file): Likewise.
18214 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18215 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18216 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18217 * libio/fmemopen.c (fmemopen): Likewise.
18218 * libio/iofgets.c (_IO_fgets): Likewise.
18219 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18220 * libio/iofgetws.c (fgetws): Likewise.
18221 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18222 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18223 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18224 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18225 * locale/findlocale.c (_nl_find_locale): Likewise.
18226 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18227 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18228 Likewise.
18229 * locale/setlocale.c (setlocale): Likewise.
18230 * login/programs/pt_chown.c (main): Likewise.
18231 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18232 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18233 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18234 (mmap, mmap64, mremap, munmap): Likewise.
18235 * math/e_exp2l.c: Likewise.
18236 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18237 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18238 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18239 * math/s_catan.c (__catan): Likewise.
18240 * math/s_catanf.c (__catanf): Likewise.
18241 * math/s_catanh.c (__catanh): Likewise.
18242 * math/s_catanhf.c (__catanhf): Likewise.
18243 * math/s_catanhl.c (__catanhl): Likewise.
18244 * math/s_catanl.c (__catanl): Likewise.
18245 * math/s_ccosh.c (__ccosh): Likewise.
18246 * math/s_ccoshf.c (__ccoshf): Likewise.
18247 * math/s_ccoshl.c (__ccoshl): Likewise.
18248 * math/s_cexp.c (__cexp): Likewise.
18249 * math/s_cexpf.c (__cexpf): Likewise.
18250 * math/s_cexpl.c (__cexpl): Likewise.
18251 * math/s_clog10.c (__clog10): Likewise.
18252 * math/s_clog10f.c (__clog10f): Likewise.
18253 * math/s_clog10l.c (__clog10l): Likewise.
18254 * math/s_clog.c (__clog): Likewise.
18255 * math/s_clogf.c (__clogf): Likewise.
18256 * math/s_clogl.c (__clogl): Likewise.
18257 * math/s_csin.c (__csin): Likewise.
18258 * math/s_csinf.c (__csinf): Likewise.
18259 * math/s_csinh.c (__csinh): Likewise.
18260 * math/s_csinhf.c (__csinhf): Likewise.
18261 * math/s_csinhl.c (__csinhl): Likewise.
18262 * math/s_csinl.c (__csinl): Likewise.
18263 * math/s_csqrt.c (__csqrt): Likewise.
18264 * math/s_csqrtf.c (__csqrtf): Likewise.
18265 * math/s_csqrtl.c (__csqrtl): Likewise.
18266 * math/s_ctan.c (__ctan): Likewise.
18267 * math/s_ctanf.c (__ctanf): Likewise.
18268 * math/s_ctanh.c (__ctanh): Likewise.
18269 * math/s_ctanhf.c (__ctanhf): Likewise.
18270 * math/s_ctanhl.c (__ctanhl): Likewise.
18271 * math/s_ctanl.c (__ctanl): Likewise.
18272 * math/w_pow.c: Likewise.
18273 * math/w_powf.c: Likewise.
18274 * math/w_powl.c: Likewise.
18275 * math/w_scalb.c (sysv_scalb): Likewise.
18276 * math/w_scalbf.c (sysv_scalbf): Likewise.
18277 * math/w_scalbl.c (sysv_scalbl): Likewise.
18278 * misc/error.c (error_tail): Likewise.
18279 * misc/pselect.c (__pselect): Likewise.
18280 * nis/nis_callback.c (__nis_create_callback): Likewise.
18281 * nis/nis_call.c (__nisfind_server): Likewise.
18282 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18283 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18284 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18285 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18286 * nis/nis_lookup.c (nis_lookup): Likewise.
18287 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18288 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18289 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18290 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18291 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18292 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18293 * nis/nss_compat/compat-initgroups.c (add_group)
18294 (internal_getgrent_r): Likewise.
18295 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18296 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18297 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18298 (internal_getspnam_r): Likewise.
18299 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18300 (_nss_nis_getaliasbyname_r): Likewise.
18301 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18302 (_nss_nis_getntohost_r): Likewise.
18303 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18304 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18305 (_nss_nis_getgrgid_r): Likewise.
18306 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18307 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18308 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18309 (_nss_nis_gethostbyname4_r): Likewise.
18310 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18311 (initgroups_netid): Likewise.
18312 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18313 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18314 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18315 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18316 (_nss_nis_getprotobynumber_r): Likewise.
18317 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18318 (_nss_nis_getsecretkey): Likewise.
18319 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18320 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18321 (_nss_nis_getpwuid_r): Likewise.
18322 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18323 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18324 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18325 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18326 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18327 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18328 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18329 Likewise.
18330 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18331 (_nss_nisplus_getntohost_r): Likewise.
18332 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18333 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18334 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18335 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18336 Likewise.
18337 * nis/nss_nisplus/nisplus-initgroups.c
18338 (_nss_nisplus_initgroups_dyn): Likewise.
18339 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18340 (_nss_nisplus_getnetbyaddr_r): Likewise.
18341 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18342 (_nss_nisplus_getprotobynumber_r): Likewise.
18343 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18344 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18345 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18346 Likewise.
18347 * nis/nss_nisplus/nisplus-service.c
18348 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18349 (_nss_nisplus_getservbyport_r): Likewise.
18350 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18351 (_nss_nisplus_getspnam_r): Likewise.
18352 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18353 Likewise.
18354 * nscd/aicache.c (addhstaiX): Likewise.
18355 * nscd/cache.c (cache_search, prune_cache): Likewise.
18356 * nscd/connections.c (register_traced_file, send_ro_fd)
18357 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18358 (main_loop_epoll): Likewise.
18359 * nscd/grpcache.c (addgrbyX): Likewise.
18360 * nscd/hstcache.c (addhstbyX): Likewise.
18361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18362 * nscd/mem.c (gc, mempool_alloc): Likewise.
18363 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18364 (addinnetgrX): Likewise.
18365 * nscd/nscd-client.h (__nscd_acquire_maplock)
18366 (__nscd_drop_map_ref): Likewise.
18367 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18368 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18369 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18370 Likewise.
18371 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18372 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18373 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18374 (__nscd_get_map_ref): Likewise.
18375 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18376 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18377 Likewise.
18378 * nscd/pwdcache.c (addpwbyX): Likewise.
18379 * nscd/selinux.c (preserve_capabilities): Likewise.
18380 * nscd/servicescache.c (addservbyX): Likewise.
18381 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18382 * posix/fnmatch.c (fnmatch): Likewise.
18383 * posix/getopt.c (_getopt_internal_r): Likewise.
18384 * posix/glob.c (glob, glob_in_dir): Likewise.
18385 * posix/wordexp.c (exec_comm_child): Likewise.
18386 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18387 (getanswer_r, gaih_getanswer_slice): Likewise.
18388 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18389 * resolv/res_init.c: Likewise.
18390 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18391 * resolv/res_query.c (__libc_res_nquery): Likewise.
18392 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18393 Likewise.
18394 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18395 * stdio-common/perror.c (perror): Likewise.
18396 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18397 * stdio-common/tmpnam.c (tmpnam): Likewise.
18398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18399 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18400 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18401 Likewise.
18402 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18403 * stdlib/putenv.c (putenv): Likewise.
18404 * stdlib/setenv.c (__add_to_environ): Likewise.
18405 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18406 * stdlib/strtol_l.c (INTERNAL): Likewise.
18407 * string/memmem.c (memmem): Likewise.
18408 * string/strerror.c (strerror): Likewise.
18409 * string/strnlen.c (__strnlen): Likewise.
18410 * string/test-memmem.c (simple_memmem): Likewise.
18411 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18412 * sunrpc/pm_getport.c (__get_socket): Likewise.
18413 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18414 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18415 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18416 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18417 Likewise.
18418 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18419 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18420 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18421 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18422 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18423 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18424 Likewise.
18425 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18426 Likewise.
18427 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18428 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18429 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18430 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18431 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18433 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18434 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18435 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18436 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18437 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18438 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18439 Likewise.
18440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18441 Likewise.
18442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18443 Likewise.
18444 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18446 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18447 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18448 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18449 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18450 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18451 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18452 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18453 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18454 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18456 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18457 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18460 Likewise.
18461 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18462 Likewise.
18463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18464 Likewise.
18465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18466 Likewise.
18467 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18469 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18470 Likewise.
18471 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18472 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18473 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18474 * sysdeps/posix/sleep.c: Likewise.
18475 * sysdeps/posix/tempname.c: Likewise.
18476 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18478 Likewise.
18479 * sysdeps/powerpc/powerpc32/dl-machine.h
18480 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18481 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18483 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18484 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18485 Likewise.
18486 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18488 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18490 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18491 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18492 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18493 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18494 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18495 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18497 (elf_machine_lazy_rel): Likewise.
18498 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18500 (elf_machine_lazy_rel): Likewise.
18501 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18502 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18503 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18504 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18505 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18506 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18507 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18509 Likewise.
18510 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18511 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18512 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18513 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18514 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18515 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18516 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18517 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18519 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18520 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18521 Likewise.
18522 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18523 (__posix_fallocate64_l64): Likewise.
18524 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18525 (posix_fallocate): Likewise.
18526 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18527 Likewise.
18528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18529 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18530 (getifaddrs_internal): Likewise.
18531 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18532 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18533 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18534 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18535 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18536 (__posix_fallocate64_l64): Likewise.
18537 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18538 Likewise.
18539 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18541 (__get_clockfreq): Likewise.
18542 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18543 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18544 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18546 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18547 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18548 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18549 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18550 Likewise.
18551 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18552 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18553 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18555 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18556 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18557 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18558 Likewise.
18559 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18560 (posix_fallocate): Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18562 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18563 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18564 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18565 (elf_machine_rela, elf_machine_rela_relative)
18566 (elf_machine_lazy_rel): Likewise.
18567 * time/asctime.c (asctime_internal): Likewise.
18568 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18569 * time/tzset.c (__tzset_parse_tz): Likewise.
18570 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18571 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18572 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18573 * wcsmbs/wcsmbsload.h: Likewise.
18574
18575 [BZ #15894]
18576 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18577
18578 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18579 (arena_get2): Remove THREAD_STATS conditionals.
18580 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18581 (__malloc_stats, int): Likewise.
18582
18583 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18584
18585 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18586 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18587
18588 * manual/setjmp.texi: Fix typos/grammar errors.
18589
18590 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18591 Only return early when n is <= 0. Delete unused return statement.
18592
18593 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18594 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18595 * debug/tst-longjmp_chk3.c: New file.
18596
18597 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18598 (test_main): Replace code with set_fortify_handler call.
18599 * debug/test-strcpy_chk.c: Likewise.
18600 * debug/tst-chk1.c: Likewise.
18601 * debug/tst-longjmp_chk.c: Likewise.
18602 * test-skeleton.c: Include fcntl.h & paths.h
18603 (set_fortify_handler): Define.
18604
18605 * debug/tst-longjmp_chk.c: Add header comment and include
18606 ../test-skeleton.c.
18607 (do_test): Mark static.
18608 (TEST_FUNCTION): Define.
18609
18610 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18611 (IP_PMTUDISC_INTERFACE): Likewise.
18612 (IP_MULTICAST_IF): Likewise.
18613 (IP_MULTICAST_TTL): Likewise.
18614 (IP_MULTICAST_LOOP): Likewise.
18615 (IP_ADD_MEMBERSHIP): Likewise.
18616 (IP_DROP_MEMBERSHIP): Likewise.
18617 (IP_UNBLOCK_SOURCE): Likewise.
18618 (IP_BLOCK_SOURCE): Likewise.
18619 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18620 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18621 (IP_MSFILTER): Likewise.
18622 (MCAST_JOIN_GROUP): Likewise.
18623 (MCAST_BLOCK_SOURCE): Likewise.
18624 (MCAST_UNBLOCK_SOURCE): Likewise.
18625 (MCAST_LEAVE_GROUP): Likewise.
18626 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18627 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18628 (MCAST_MSFILTER): Likewise.
18629 (IP_MULTICAST_ALL): Likewise.
18630 (IP_UNICAST_IF): Likewise.
18631
18632 * timezone/Makefile: Delete $(have-ksh) check.
18633 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18634 * timezone/tzselect.ksh: Add +x mode bits.
18635
18636 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18637 (ANON_INODE_FS_MAGIC): Likewise.
18638 (BDEVFS_MAGIC): Likewise.
18639 (BINFMTFS_MAGIC): Likewise.
18640 (BTRFS_TEST_MAGIC): Likewise.
18641 (CRAMFS_MAGIC_WEND): Likewise.
18642 (DEBUGFS_MAGIC): Likewise.
18643 (ECRYPTFS_SUPER_MAGIC): Likewise.
18644 (EXT3_SUPER_MAGIC): Likewise.
18645 (EXT4_SUPER_MAGIC): Likewise.
18646 (FUTEXFS_SUPER_MAGIC): Likewise.
18647 (HOSTFS_SUPER_MAGIC): Likewise.
18648 (HUGETLBFS_MAGIC): Likewise.
18649 (MINIX3_SUPER_MAGIC): Likewise.
18650 (MTD_INODE_FS_MAGIC): Likewise.
18651 (NILFS_SUPER_MAGIC): Likewise.
18652 (OPENPROM_SUPER_MAGIC): Likewise.
18653 (PIPEFS_MAGIC): Likewise.
18654 (PSTOREFS_MAGIC): Likewise.
18655 (QNX6_SUPER_MAGIC): Likewise.
18656 (RAMFS_MAGIC): Likewise.
18657 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18658 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18659 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18660 (SECURITYFS_MAGIC): Likewise.
18661 (SELINUX_MAGIC): Likewise.
18662 (SMACK_MAGIC): Likewise.
18663 (SOCKFS_MAGIC): Likewise.
18664 (SQUASHFS_MAGIC): Likewise.
18665 (STACK_END_MAGIC): Likewise.
18666 (TMPFS_MAGIC): Likewise.
18667 (USBDEVICE_SUPER_MAGIC): Likewise.
18668 (V9FS_MAGIC): Likewise.
18669 (XENFS_SUPER_MAGIC): Likewise.
18670 (CRAMFS_MAGIC): Fix typo in comment.
18671 (EXT2_SUPER_MAGIC): Update comment.
18672 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18673
18674 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18675
18676 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18677 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18678 * sysdeps/unix/sysv/linux/arm: Move directory from
18679 ports/sysdeps/unix/sysv/linux/arm.
18680 * README: Update listing for arm-*-linux-gnueabi.
18681
18682 * README: Remove mention of am33.
18683
18684 2014-02-07 Roland McGrath <roland@hack.frob.com>
18685
18686 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18687 than the comma operator, to avoid "rhs of comma has no effect"
18688 compiler warnings.
18689 (__sigfillset, __sigandset, __sigorset): Likewise.
18690 * include/signal.h (__sigemptyset): Likewise.
18691 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18692
18693 2014-02-07 Allan McRae <allan@archlinux.org>
18694
18695 * version.h (RELEASE): Set to "development".
18696 (VERSION): Set to "2.19.90"
18697 * NEWS: Add 2.20 section.
18698
18699 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18700
18701 [BZ #16529]
18702 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18703
18704 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18705
18706 * manual/contrib.texi: Update entry for Carlos O'Donell,
18707 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18708
18709 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18710
18711 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18712
18713 * sysdeps/unix/sysv/linux/kernel-features.h
18714 [__LINUX_KERNEL_VERSION >= 0x020621]
18715 (__ASSUME_PROC_PID_TASK_COMM): Define.
18716
18717 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18718
18719 [BZ #16398]
18720 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18721 conversion when destination buffer does not have enough space.
18722 * libio/tst-ftell-partial-wide.c: New test case.
18723 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18724
18725 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18726 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18727 Leonard and Allan McRae.
18728
18729 2014-02-04 David S. Miller <davem@davemloft.net>
18730
18731 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18732 32-bit.
18733
18734 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18735
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18737 New file
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18739 New file
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18741 New file.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18743 New file.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18745 New file.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18747 New file.
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18749 New file.
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18751 New file.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18753 New file.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18755 New file.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18757 New file.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18759 New file.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18761 New file.
18762
18763 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18764
18765 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18766 * shlib-versions: Likewise.
18767
18768 2014-02-04 Roland McGrath <roland@hack.frob.com>
18769 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18770
18771 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18772 (abilist-pattern): New variable, set to %-le.abilist.
18773
18774 * Makerules (abilist-pattern): New variable.
18775 (vpath): Use $(abilist-pattern) in place of %.abilist.
18776 (check-abi-% pattern rule): Likewise.
18777 (check-abi, update-abi): Likewise.
18778
18779 2014-02-04 Eric Wong <normalperson@yhbt.net>
18780
18781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18782
18783 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18784
18785 * manual/startup.texi: Add next, previous, and top entries for
18786 the `Program Arguments' and `Environment Variables' nodes.
18787
18788 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18789
18790 * manual/macros.texi: Add comments before MTASC-safety macros.
18791
18792 * manual/users.texi: Document MTASC-safety properties.
18793
18794 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18795 (pthread_getspecific, pthread_setspecific): Format with
18796 @deftypefun, and add @safety note.
18797 * manual/signal.texi: Move comments that analyze the above
18798 functions to their home place.
18799
18800 2014-02-03 Allan McRae <allan@archlinux.org>
18801
18802 * po/sl.po: Update Slovenian translation from translation project.
18803
18804 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18805
18806 * manual/time.texi (timegm): Add missing blank after @c.
18807 Reported by Joseph Myers <joseph@codesourcery.com>.
18808
18809 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18810
18811 * manual/check-safety.sh: New.
18812 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18813
18814 * manual/terminal.texi: Document MTASC-safety properties.
18815
18816 * manual/filesys.texi: Document MTASC-safety properties.
18817
18818 * manual/errno.texi: Document MTASC-safety properties.
18819
18820 * manual/intro.texi: Document safety identifiers and
18821 conditionals.
18822
18823 * manual/string.texi (wcstok): Fix prototype.
18824 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18825
18826 * manual/time.texi: Document MTASC-safety properties.
18827
18828 * manual/string.texi: Document MTASC-safety properties.
18829
18830 * manual/threads.texi: Document MTASC-safety properties.
18831
18832 * manual/stdio.texi: Document MTASC-safety properties.
18833
18834 * manual/syslog.texi: Document MTASC-safety properties.
18835
18836 * manual/sysinfo.texi: Document MTASC-safety properties.
18837
18838 * manual/startup.texi: Document MTASC-safety properties.
18839
18840 * manual/socket.texi: Document MTASC-safety properties.
18841
18842 * manual/signal.texi: Document MTASC-safety properties.
18843
18844 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18845
18846 * manual/setjmp.texi: Document MTASC-safety properties.
18847
18848 * manual/search.texi: Document MTASC-safety properties.
18849
18850 * manual/resource.texi: Document MTASC-safety properties.
18851
18852 * manual/process.texi: Document MTASC-safety properties.
18853
18854 * manual/platform.texi: Document MTASC-safety properties.
18855
18856 * manual/pipe.texi: Document MTASC-safety properties.
18857
18858 * manual/pattern.texi: Document MTASC-safety properties.
18859
18860 * manual/message.texi: Document MTASC-safety properties.
18861
18862 [BZ #12751]
18863 * manual/memory.texi: Document MTASC-safety properties.
18864
18865 * manual/math.texi: Document MTASC-safety properties.
18866
18867 * manual/locale.texi: Document MTASC-safety properties.
18868
18869 * manual/llio.texi: Document MTASC-safety properties.
18870
18871 * manual/libdl.texi: New.
18872
18873 * manual/lang.texi: Document MTASC-safety properties.
18874
18875 * manual/job.texi: Document MTASC-safety properties.
18876
18877 * manual/getopt.texi: Document MTASC-safety properties.
18878
18879 * manual/ctype.texi: Document MTASC-safety properties.
18880
18881 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18882
18883 [BZ #16046]
18884 * csu/libc-tls.c (static_map): Remove variable.
18885 (__libc_setup_tls): Use main executable's link map for TLS data.
18886 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18887 casing for LM_ID_BASE and GL(dl_nns).
18888 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18889 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18890 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18891 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18892 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18893 member.
18894 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18895 l_phnum members.
18896
18897 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18898
18899 * manual/debug.texi: Document MTASC-safety properties.
18900
18901 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18902
18903 [BZ #16510]
18904 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18905 of __x86_64__ when disabling x87 inline functions.
18906
18907 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18908
18909 * manual/charset.texi: Document MTASC-safety properties.
18910
18911 * manual/crypt.texi: Document MTASC-safety properties.
18912
18913 * manual/conf.texi: Document MTASC-safety properties.
18914
18915 * manual/arith.texi: Document MTASC-safety properties.
18916
18917 * manual/argp.texi: Document MTASC-safety properties.
18918
18919 * manual/macros.texi: Introduce macros to document multi
18920 thread, asynchronous signal and asynchronous cancellation
18921 safety properties.
18922 * manual/intro.texi: Introduce the properties themselves.
18923
18924 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18925
18926 * sysdeps/sh/sh4/Makefile: New file.
18927
18928 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18929
18930 * math/gen-libm-test.pl ($srcdir): New variable.
18931 ($auto_input): Use it.
18932
18933 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18934
18935 [BZ #16506]
18936 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18937 access beyond array bounds when parsing netgroups file.
18938
18939 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18940 the old buffer before realloc.
18941
18942 2014-01-27 Allan McRae <allan@archlinux.org>
18943
18944 * po/fr.po: Update French translation from translation project.
18945
18946 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18947
18948 * sysdeps/sh/libm-test-ulps: Regenerate.
18949
18950 2014-01-24 David S. Miller <davem@davemloft.net>
18951
18952 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18953
18954 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18955
18956 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18957 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18958
18959 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18960
18961 [BZ #16474]
18962 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18963 string pointers after reallocation.
18964
18965 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18966
18967 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18968 __SH4A__ instead of __SH_FPU_ANY__.
18969
18970 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18971
18972 * sysdeps/sh/fpu_control.h: New file.
18973 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18974 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18975 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18976 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18977 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18978 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18979 * sysdeps/sh/sys/ucontext.h: Remove.
18980 * sysdeps/sh/sys: Remove directory.
18981
18982 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18983
18984 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18985 s390/sys/ucontext.h.
18986 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18988
18989 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18990
18991 [BZ #15605]
18992 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18993
18994 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18995
18996 [BZ#16431]
18997 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18998 Adjust the vDSO correctly for internal calls.
18999 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19000
19001 2014-01-20 Allan McRae <allan@archlinux.org>
19002
19003 * po/ca.po: Update Catalan translation from translation project.
19004
19005 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19006
19007 * sysdeps/s390/sotruss-lib.c: New file.
19008
19009 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19010
19011 [BZ#16430]
19012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19013 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19014 local calls issues by not having a PLT stub required for IFUNC calls.
19015 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19016
19017 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19018
19019 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19020 * math/test-fpucw-static.c: Likewise.
19021
19022 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19023
19024 [BZ #16453]
19025 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19026
19027 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19028
19029 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19030 implementation for powerpc.
19031
19032 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19033
19034 [BZ #14782]
19035 * sysdeps/posix/system.c (__libc_system): Do not enable
19036 asynchronous cancellation.
19037
19038 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19039
19040 [BZ #16427]
19041 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19042 handling only for numbers special also in the IEEE case.
19043
19044 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19045
19046 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19047
19048 2014-01-11 Allan McRae <allan@archlinux.org>
19049
19050 * po/bg.po: Update Bulgarian translation from translation project.
19051
19052 * po/de.po: Update German translation from translation project.
19053
19054 2014-01-10 Roland McGrath <roland@hack.frob.com>
19055
19056 * sysdeps/generic/gcc-compat.h: New file.
19057
19058 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19059
19060 * benchtests/asin-inputs: Correct slow inputs.
19061 * benchtests/acos-inputs: Likewise.
19062
19063 2014-01-10 Allan McRae <allan@archlinux.org>
19064
19065 * po:sv.po: Update Swedish translation from translation project.
19066
19067 * po/vi.po: Update Vietnamese translation from translation project.
19068
19069 * po/eo.po: Update Esperanto translation from translation project.
19070
19071 * po/cs.po: Update Czech translation from translation project.
19072
19073 * po/nl.po: Update Dutch translation from translation project.
19074
19075 * po/pl.po: Update Polish translation from translation project.
19076
19077 * po/ru.po: Update Russian translation from translation project.
19078
19079 * po/uk.po: Update Ukrainian translation from translation project.
19080
19081 2014-01-08 Brooks Moses <bmoses@google.com>
19082
19083 * elf/dl-load.c: Fix comment typo.
19084
19085 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19086
19087 * po/header.pot: Rename to...
19088 * po/pot.header: ... this.
19089 * po/Makefile: Use pot.header.
19090
19091 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19092 Maxim Kuvyrkov <maxim@kugelworks.com>
19093
19094 [BZ #16394]
19095 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19096 SRC and DEST against LEN.
19097
19098 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19099
19100 [BZ #16414]
19101 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19102 implementation.
19103 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19104
19105 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19106
19107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19108
19109 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19110
19111 [BZ #16408]
19112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19113 for large positive arguments.
19114
19115 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19116
19117 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19118
19119 * math/auto-libm-test-in: Mark various tests with
19120 xfail-rounding:ldbl-128ibm.
19121 * math/auto-libm-test-out: Regenerated.
19122
19123 [BZ #16407]
19124 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19125 Increase overflow threshold.
19126
19127 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19128
19129 [BZ #14286]
19130 * stdio-common/vfprintf.c: Check for integer overflow.
19131
19132 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19133
19134 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19135 the first argument and return value of __tls_get_addr_internal.
19136
19137 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19138
19139 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19140 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19141
19142 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19143
19144 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19145 * sysdeps/s390/rtld-global-offsets.sym: New file.
19146 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19147 GLIBC_2.19 symbol.
19148 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19149 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19150 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19151 ... this.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19154 ... this.
19155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19156 Regenerate.
19157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19158 Regenerate.
19159 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19160 halfs of GPRs for high_gprs contexts.
19161 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19162 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19163 field.
19164 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19165 uc_flags field.
19166 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19167 64 bit versions:
19168 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19169 for high GPRs (uc_high_gprs) and for future extensions
19170 (__reserved).
19171 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19172 for future extensions (__reserved).
19173 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19174 64 bit versions:
19175 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19176 SC_HIGHGPRS offset definition.
19177 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19178 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19179
19180 * Versions.def: Add GLIBC_2.19 for libpthread.
19181 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19182 siglongjmp for libpthread with GLIBC_2.19 symver.
19183 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19184 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19185 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19186 * sysdeps/s390/__longjmp.c: New file.
19187 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19188 * sysdeps/s390/longjmp.c: New file.
19189 * sysdeps/s390/setjmp.S: New file.
19190 * sysdeps/s390/sigjmp.S: New file.
19191 * sysdeps/s390/v1-longjmp.c: New file.
19192 * sysdeps/s390/v1-setjmp.h: New file.
19193 * sysdeps/s390/v1-sigjmp.c: New file.
19194 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19195 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19196 GLIBC_2.19 version.
19197 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19198 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19199 versioned symbols for ____longjmp_chk.
19200 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19201 Likewise.
19202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19203 Regenerate.
19204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19205 Regenerate.
19206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19207 Regenerate.
19208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19209 Regenerate.
19210 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19211 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19212 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19213 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19214 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19215 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19216 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19217 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19218 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19219 * sysdeps/s390/rtld-__longjmp.c: New file.
19220 * sysdeps/s390/rtld-setjmp.S: New file.
19221
19222 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19223
19224 [BZ #16400]
19225 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19226 Return -__logl (x) for small positive arguments without evaluating
19227 a polynomial.
19228
19229 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19230
19231 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19232 Rename to ...
19233 (__ptrace_peeksiginfo_args): ... this.
19234 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19237
19238 2014-01-06 Allan McRae <allan@archlinux.org>
19239
19240 * inet/netinet/in.h: Fix typo in comment.
19241
19242 2014-01-05 Andreas Jaeger <aj@suse.de>
19243
19244 * sysdeps/i386/fpu/libm-test-ulps: Update.
19245
19246 2014-01-05 Allan McRae <allan@archlinux.org>
19247
19248 * po/libc.pot: Regenerated.
19249
19250 * malloc/memusagestat.c: Fix gettext call formatting.
19251
19252 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19253
19254 * nscd/nscd.c: Improve usage() output.
19255
19256 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19257
19258 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19259 * sysdeps/unix/sysv/linux/configure: Regenerated.
19260 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19261 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19262
19263 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19264
19265 [BZ #16390]
19266 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19267 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19268
19269 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19270
19271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19272 extra tokens at end of #undef directive.
19273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19274 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19276
19277 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19278
19279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19280
19281 * math/auto-libm-test-in: Mark various tests with
19282 xfail-rounding:ldbl-128ibm.
19283 * math/auto-libm-test-out: Regenerated.
19284
19285 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19286
19287 [BZ #16386]
19288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19289 numbers with subnormal high part when calculating exponent.
19290
19291 [BZ #16385]
19292 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19293 fabs.
19294
19295 [BZ #16384]
19296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19297 M_LN2l.
19298 (__ieee754_acoshl): Use __log1pl not __log1p.
19299
19300 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19301
19302 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19303 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19304 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19305 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19306 (reused_arena, arena_get2): Convert to GNU style.
19307 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19308 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19309 (memalign_check, __malloc_set_state): Likewise.
19310 * malloc/mallocbug.c (main): Likewise.
19311 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19312 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19313 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19314 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19315 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19316 (__posix_memalign, malloc_info): Likewise.
19317 * malloc/malloc.h: Likewise.
19318 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19319 (mallochook, memalignhook, reallochook, mabort): Likewise.
19320 * malloc/mcheck.h: Likewise.
19321 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19322 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19323 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19324 * malloc/morecore.c (__default_morecore): Likewise.
19325 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19326 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19327 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19328 (print_and_abort): Likewise.
19329 * malloc/obstack.h: Likewise.
19330 * malloc/set-freeres.c (__libc_freeres): Likewise.
19331 * malloc/tst-mallocstate.c (main): Likewise.
19332 * malloc/tst-mtrace.c (main): Likewise.
19333 * malloc/tst-realloc.c (do_test): Likewise.
19334
19335 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19336
19337 [BZ #16366]
19338 * nscd/netgroupcache.c (do_notfound): New function.
19339 (addgetnetgrentX): Use it.
19340
19341 [BZ # 16365]
19342 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19343 NSS_STATUS_NOTFOUND.
19344
19345 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19346
19347 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19349
19350 2014-01-01 Allan McRae <allan@archlinux.org>
19351
19352 * scripts/update-copyrights: Update configure input file suffix.
19353
19354 * NEWS: Update copyright year.
19355 * catgets/gencat.c: Likewise.
19356 * csu/version.c: Likewise.
19357 * debug/catchsegv.sh: Likewise.
19358 * debug/pcprofiledump.c: Likewise.
19359 * debug/xtrace.sh: Likewise.
19360 * elf/ldconfig.c: Likewise.
19361 * elf/ldd.bash.in: Likewise.
19362 * elf/pldd.c: Likewise.
19363 * elf/sotruss.ksh: Likewise.
19364 * elf/sprof.c: Likewise.
19365 * iconv/iconv_prog.c: Likewise.
19366 * iconv/iconvconfig.c: Likewise.
19367 * locale/programs/locale.c: Likewise.
19368 * locale/programs/localedef.c: Likewise.
19369 * login/programs/pt_chown.c: Likewise.
19370 * malloc/memusage.sh: Likewise.
19371 * malloc/memusagestat.c: Likewise.
19372 * malloc/mtrace.pl: Likewise.
19373 * manual/libc.texinfo: Likewise.
19374 * nscd/nscd.c: Likewise.
19375 * nss/getent.c: Likewise.
19376 * nss/makedb.c: Likewise.
19377 * posix/getconf.c: Likewise.
19378 * scripts/test-installation.pl: Likewise.
19379
19380 * All files with FSF copyright notices: Update copyright dates
19381 using scripts/update-copyrights.
19382 * intl/plural.c: Regenerated.
19383 * locale/programs/charmap-kw.h: Likewise.
19384 * locale/programs/locfile-kw.h: Likewise.
19385
19386 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19387
19388 * sysdeps/unix/sysv/linux/configure: Regenerated.
19389 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19390 the linux/fanotify.h header.
19391 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19392 HAVE_LINUX_FANOTIFY_H is defined.
19393
19394 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19395
19396 * benchtests/cos-inputs: New inputs.
19397 * benchtests/sin-inputs: Likewise.
19398
19399 * benchtests/atan-inputs: New inputs. Fix name of multiple
19400 precision fallback inputs.
19401
19402 * benchtests/atanh-inputs: New inputs.
19403 * benchtests/tanh-inputs: Likewise.
19404
19405 * benchtests/acosh-inputs: New inputs.
19406 * benchtests/asinh-inputs: Likewise.
19407
19408 * benchtests/cosh-inputs: New inputs.
19409 * benchtests/sinh-inputs: Likewise.
19410
19411 * benchtests/acos-inputs: Add more inputs.
19412 * benchtests/asin-inputs: Likewise.
19413
19414 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19415
19416 [BZ #16375]
19417 * manual/arith.texi: Fix spelling.
19418 * manual/charset.texi: Likewise.
19419 * manual/errno.texi: Likewise.
19420 * manual/filesys.texi: Likewise.
19421 * manual/lang.texi: Likewise.
19422 * manual/llio.texi: Likewise.
19423 * manual/locale.texi: Likewise.
19424 * manual/message.texi: Likewise.
19425 * manual/resource.texi: Likewise.
19426 * manual/search.texi: Likewise.
19427 * manual/setjmp.texi: Likewise.
19428 * manual/stdio.texi: Likewise.
19429 * manual/string.texi: Likewise.
19430 * manual/sysinfo.texi: Likewise.
19431 * manual/time.texi: Likewise.
19432
19433 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19434
19435 * po/sl.po: New file.
19436
19437 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19438
19439 * .gitignore: Add core/.gdbinit/.gdb_history.
19440
19441 2013-12-27 Allan McRae <allan@archlinux.org>
19442
19443 [BZ #16369]
19444 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19445 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19446
19447 2013-12-24 Brooks Moses <bmoses@google.com>
19448
19449 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19450 all compilers that claim C++98 compliance, not just GCC.
19451 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19452 Likewise.
19453
19454 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19455
19456 * NEWS: Restore accidentally deleted bug-fix entries.
19457
19458 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19459 Ondřej Bílka <neleai@seznam.cz>
19460
19461 [BZ #15073]
19462 * malloc/malloc.c (_int_free): Perform sanity check only if we
19463 have_lock.
19464
19465 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19466
19467 [BZ #12986]
19468 * manual/stdio.texi (String Input Conversions): Clarify that character
19469 classes are not supported.
19470
19471 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19472
19473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19474
19475 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19476
19477 [BZ #16337]
19478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19479 Calculate results for small negative arguments directly rather
19480 than using reflection formula with special underflow handling.
19481
19482 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19483 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19484 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19485 (fchflags): Likewise.
19486 (revoke): Likewise.
19487 (setlogin): Likewise.
19488 (sigaltstack): Likewise.
19489 (wait4): Likewise.
19490 (sigblock): Remove.
19491 (sigsetmask): Likewise.
19492 (wait3): Likewise.
19493 (waitpid): Likewise.
19494 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19495 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19496 file.
19497 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19498 * sysdeps/unix/bsd/Makefile: ... here.
19499 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19500 * sysdeps/unix/bsd/Versions: ... here.
19501 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19502 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19503 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19504 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19505 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19506 * sysdeps/unix/bsd/sigblock.c: ... here.
19507 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19508 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19509 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19510 * sysdeps/unix/bsd/sigvec.c: ... here.
19511 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19512 * sysdeps/unix/bsd/tcdrain.c: ... here.
19513 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19514 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19515 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19516 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19517 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19518 * sysdeps/unix/bsd/wait.c: ... here.
19519 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19520 * sysdeps/unix/bsd/wait3.c: ... here.
19521 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19522 * sysdeps/unix/bsd/waitpid.c: ... here.
19523
19524 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19525
19526 [BZ #16356]
19527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19528 round-to-nearest for [!USE_AS_EXPM1L].
19529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19530 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19531 more tests of exp and exp10. Expect some exp10 tests to miss
19532 exceptions or fail in directed rounding modes.
19533 * math/auto-libm-test-out: Regenerated.
19534 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19535 (exp10_test_tonearest): New function.
19536 (exp10_towardzero_test_data): New array.
19537 (exp10_test_towardzero): New function.
19538 (exp10_downward_test_data): New array.
19539 (exp10_test_downward): New function.
19540 (exp10_upward_test_data): New array.
19541 (exp10_test_upward): New function.
19542 (main): Call the new functions.
19543 * sysdeps/i386/fpu/libm-test-ulps: Update.
19544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19545
19546 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19547
19548 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19549 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19550 * math/auto-libm-test-out: Regenerated.
19551 * math/libm-test.inc (acosh_test_data): Add more tests.
19552 (atanh_test_data): Likewise.
19553 (ceil_test_data): Likewise.
19554 (copysign_test_data): Likewise.
19555 * sysdeps/i386/fpu/libm-test-ulps: Update.
19556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19557
19558 * timezone/checktab.awk: Update from tzcode 2013i.
19559 * timezone/private.h: Likewise.
19560 * timezone/scheck.c: Likewise.
19561 * timezone/tzfile.h: Likewise.
19562 * timezone/tzselect.ksh: Likewise.
19563 * timezone/zdump.c: Likewise.
19564 * timezone/zic.c: Likewise.
19565
19566 * math/auto-libm-test-in: Add tests of cpow.
19567 * math/auto-libm-test-out: Regenerated.
19568 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19569 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19570 mpc_cc_c.
19571 (func_calc_desc): Add mpc_cc_c union field.
19572 (test_functions): Add cpow.
19573 (special_fill_2pi): New function.
19574 (special_real_inputs): Add 2pi.
19575 (calc_generic_results): Handle mpc_cc_c.
19576 * sysdeps/i386/fpu/libm-test-ulps: Update.
19577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19578
19579 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19580 csqrt, ctan and ctanh.
19581 * math/auto-libm-test-out: Regenerated.
19582 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19583 (TEST_COND_x86): Likewise.
19584 (ccos_test_data): Use AUTO_TESTS_c_c.
19585 (ccosh_test_data): Likewise.
19586 (cexp_test_data): Likewise.
19587 (clog_test_data): Likewise.
19588 (csqrt_test_data): Likewise.
19589 (ctan_test_data): Likewise.
19590 (ctan_tonearest_test_data): Likewise.
19591 (ctan_towardzero_test_data): Likewise.
19592 (ctan_downward_test_data): Likewise.
19593 (ctan_upward_test_data): Likewise.
19594 (ctanh_test_data): Likewise.
19595 (ctanh_tonearest_test_data): Likewise.
19596 (ctanh_towardzero_test_data): Likewise.
19597 (ctanh_downward_test_data): Likewise.
19598 (ctanh_upward_test_data): Likewise.
19599 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19600 mpc_c_c.
19601 (func_calc_desc): Add mpc_c_c union field.
19602 (FUNC_mpc_c_c): New macro.
19603 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19604 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19605 ctanh.
19606 (special_fill_min_subnorm_p120): New function.
19607 (special_real_inputs): Add min_subnorm_p120.
19608 (calc_generic_results): Handle mpc_c_c.
19609 * sysdeps/i386/fpu/libm-test-ulps: Update.
19610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19611
19612 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19613
19614 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19615 (do_sin_slow): New functions.
19616 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19617 (cslow2, csloww1, csloww2): Use the new functions.
19618
19619 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19620 Use M to change sign of result instead of X. Assume X is
19621 positive.
19622 (csloww1): Likewise.
19623 (__sin): Adjust.
19624 (__cos): Adjust.
19625
19626 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19627 arguments A and DA.
19628 (__sin): Adjust.
19629 (__cos): Likewise.
19630
19631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19632 (__cos): Likewise.
19633 (sloww1): Don't adjust sign of DX.
19634 (csloww1): Likewise.
19635 (sloww2): Use X directly and don't adjust sign of DX.
19636 (csloww2): Likewise.
19637
19638 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19639
19640 * math/auto-libm-test-in: Add tests of cabs and carg.
19641 * math/auto-libm-test-out: Regenerated.
19642 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19643 (carg_test_data): Likewise.
19644 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19645 mpc_c_f.
19646 (func_calc_desc): Add mpc_c_f union field.
19647 (test_functions): Add cabs and carg.
19648 (calc_generic_results): Handle mpc_c_f.
19649
19650 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19651 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19652 as a macro and a compat symbol.
19653 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19654 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19655 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19656 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19657 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19659 not use .hidden.
19660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19661 Likewise.
19662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19663 Likewise.
19664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19665 Likewise.
19666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19667 Likewise.
19668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19669 Likewise.
19670 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19671 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19672 from GLIBC_2.3.2.
19673
19674 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19675
19676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19677
19678 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19679
19680 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19681 trailing whitespace removed.
19682 * scripts/config.guess: Update to version 2013-11-29.
19683 * scripts/config.sub: Update to version 2013-10-01.
19684
19685 * math/auto-libm-test-in: Add tests of sincos.
19686 * math/auto-libm-test-out: Regenerated.
19687 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19688 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19689 mpfr_f_11.
19690 (func_calc_desc): Add mpfr_f_11 union field.
19691 (test_functions): Add sincos.
19692 (calc_generic_results): Handle mpfr_f_11.
19693 * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695
19696 2013-12-19 Andreas Schwab <schwab@suse.de>
19697
19698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19699 CALL_MCOUNT.
19700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19702 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19703
19704 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19705
19706 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19709
19710 [BZ #16293]
19711 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19712 round-to-nearest mode when using frndint.
19713 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19714 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19715 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19716 Likewise.
19717 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19718 sinh test to fail.
19719 * math/auto-libm-test-out: Regenerated.
19720 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19721 (TEST_COND_x86): Likewise.
19722 (expm1_tonearest_test_data): New array.
19723 (expm1_test_tonearest): New function.
19724 (expm1_towardzero_test_data): New array.
19725 (expm1_test_towardzero): New function.
19726 (expm1_downward_test_data): New array.
19727 (expm1_test_downward): New function.
19728 (expm1_upward_test_data): New array.
19729 (expm1_test_upward): New function.
19730 (main): Run the new test functions.
19731 * sysdeps/i386/fpu/libm-test-ulps: Update.
19732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19733
19734 * include/features.h: Update comment documenting feature test
19735 macros. Mention _DEFAULT_SOURCE in comment.
19736 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19737 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19738 _BSD_SOURCE and _SVID_SOURCE.
19739 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19740 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19741 !_SVID_SOURCE]: Likewise.
19742 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19743 (__USE_POSIX_IMPLICITLY): Define.
19744 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19745 (_POSIX_SOURCE): Undefine and redefine.
19746 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19747 (_POSIX_C_SOURCE): Likewise.
19748 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19749 (Feature Test Macros): Update documentation of default features.
19750
19751 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19752
19753 * benchtests/Makefile: Add bench-strtok.
19754 * benchtests/bench-strtok.c: New file: strtok benchtest.
19755
19756 2013-12-19 Allan McRae <allan@archlinux.org>
19757
19758 * manual/install.texi: Suppress menu for plain text output.
19759 * INSTALL: Regenerated.
19760
19761 2013-12-18 Brooks Moses <bmoses@google.com>
19762
19763 [BZ #15846]
19764 * misc/getauxval.c: Include errno.h.
19765 (__getauxval): Set errno to ENOENT if the requested type is not
19766 found.
19767 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19768 don't declare with __attribute_const__.
19769 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19770 * manual/startup.texi: Document that getauxval sets errno.
19771
19772 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19773
19774 * math/auto-libm-test-in: Add tests of jn and yn.
19775 * math/auto-libm-test-out: Regenerated.
19776 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19777 (yn_test_data): Likewise.
19778 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19779 mpfr_if_f.
19780 (func_calc_desc): Add mpfr_if_f union field.
19781 (FUNC_mpfr_if_f): New macro.
19782 (test_functions): Add jn and yn.
19783 (calc_generic_results): Assert type of second input for
19784 mpfr_ff_f. Handle mpfr_if_f.
19785 (output_for_one_input_case): Disable all checking for arguments
19786 fitting floating-point types in case of an integer argument.
19787 * sysdeps/i386/fpu/libm-test-ulps: Update.
19788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19789
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19791 Don't expect fegetround reference in libm.so.
19792
19793 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19794
19795 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19796 $(config-cflags-nofma).
19797
19798 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19799
19800 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19801 * math/auto-libm-test-out: Regenerated.
19802
19803 [BZ #16338]
19804 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19805 to determine exponent and adjust argument to have exponent of -1.
19806 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19807 log2.
19808 * math/auto-libm-test-out: Regenerated.
19809 * sysdeps/i386/fpu/libm-test-ulps: Update.
19810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811
19812 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19813
19814 * manual/probes.texi: Remove cases when per-thread arenas are
19815 disabled.
19816
19817 2013-12-18 Andreas Schwab <schwab@suse.de>
19818
19819 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19820 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19821 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19822 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19823 * sysdeps/i386/i686/multiarch/Makefile: Update.
19824 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19825
19826 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19827
19828 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19829 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19830
19831 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19832
19833 [BZ #15968]
19834 Support TZ transition times < 00:00:00.
19835 This is needed for version-3 tz-format files; it supports time
19836 stamps past 2037 for America/Godthab (the only entry in the tz
19837 database for which this change is relevant).
19838 * manual/time.texi (TZ Variable): Document transition times
19839 from -167:59:59 through -00:00:01.
19840 * time/tzset.c (tz_rule): Time of day is now signed.
19841 (__tzset_parse_tz): Parse negative time of day.
19842
19843 Document TZ transition times >= 25:00:00.
19844 * manual/time.texi (TZ Variable): Document transition times from
19845 25:00:00 through 167:59:59. These are already supported, and this
19846 support will help with version-3 tz-format files.
19847
19848 * manual/time.texi (TZ Variable): Modernize North America example
19849 to reflect current (i.e., 2007-and-later) daylight saving rules.
19850
19851 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19852
19853 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19854
19855 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19856 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19858 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19859 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19860 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19861 * sysdeps/unix/bsd/clock.c: Likewise.
19862 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19863 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19864 * sysdeps/unix/bsd/init-posix.c: Likewise.
19865 * sysdeps/unix/bsd/poll.c: Likewise.
19866 * sysdeps/unix/bsd/ptsname.c: Likewise.
19867 * sysdeps/unix/bsd/seekdir.c: Likewise.
19868 * sysdeps/unix/bsd/setegid.c: Likewise.
19869 * sysdeps/unix/bsd/seteuid.c: Likewise.
19870 * sysdeps/unix/bsd/setgid.c: Likewise.
19871 * sysdeps/unix/bsd/setrgid.c: Likewise.
19872 * sysdeps/unix/bsd/setruid.c: Likewise.
19873 * sysdeps/unix/bsd/setsid.c: Likewise.
19874 * sysdeps/unix/bsd/setuid.c: Likewise.
19875 * sysdeps/unix/bsd/sigaction.c: Likewise.
19876 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19877 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19878 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19879 * sysdeps/unix/bsd/telldir.c: Likewise.
19880 * sysdeps/unix/bsd/times.c: Likewise.
19881 * sysdeps/unix/bsd/usleep.c: Likewise.
19882
19883 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19884 ($(objpfx)libbsd-compat.a): Remove rule.
19885
19886 * include/features.h (__FAVOR_BSD): Do not define.
19887 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19888 features conflicting with POSIX.
19889 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19890 (_BSD_SOURCE): Remove description of not being a subset of other
19891 feature test macros.
19892 * manual/job.texi (getpgrp): Do not document BSD version.
19893 (getpgid): Do not document by reference to BSD getpgrp.
19894 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19895 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19896 * signal/signal.h [__FAVOR_BSD]: Likewise.
19897 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19898 instead of making contents conditional on [__FAVOR_BSD].
19899 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19900
19901 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19902
19903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19904
19905 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19906
19907 [BZ #16314]
19908 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19909 values below 2**-450, not 2**-500.
19910 * math/auto-libm-test-in: Don't allow spurious underflow from
19911 hypot.
19912 * math/auto-libm-test-out: Regenerated.
19913
19914 [BZ #16316]
19915 [BZ #16330]
19916 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19917 values of ha and hb and sort them after adjusting subnormal
19918 arguments.
19919 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19920 Likewise.
19921 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19922 values of ea and eb and sort them after adjusting subnormal
19923 arguments.
19924 * math/auto-libm-test-in: Do not expect some hypot tests of
19925 subnormals to fail. Add more hypot tests.
19926 * math/auto-libm-test-out: Regenerated.
19927
19928 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19929
19930 [BZ #13304]
19931 * sysdeps/sh/s_fma.c: New file.
19932 * sysdeps/sh/s_fmaf.c: New file.
19933 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19934 version.
19935 * sysdeps/sh/Implies: Add sh/soft-fp.
19936
19937 2013-12-16 Roland McGrath <roland@hack.frob.com>
19938
19939 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19940 level of indirection to members `objname', `errstring', `malloced'.
19941 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19942 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19943 it as the __longjmp argument (just pass 1 instead).
19944 (_dl_catch_error): Initialize C with argument pointers and address of
19945 volatile local ERRCODE rather than copying values out of C at return.
19946
19947 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19948
19949 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19950 * math/auto-libm-test-out: Regenerated.
19951 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19952 (hypot_test_data): Likewise.
19953 (pow_test_data): Likewise.
19954 (pow_tonearest_test_data): Likewise.
19955 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19956 mpfr_ff_f.
19957 (func_calc_desc): Add mpfr_ff_f union field.
19958 (FUNC_mpfr_ff_f): New macro.
19959 (test_functions): Add atan2, hypot and pow.
19960 (special_fill_min): New function.
19961 (special_fill_minus_min): Likewise.
19962 (special_fill_min_subnorm): Likewise.
19963 (special_fill_minus_min_subnorm): Likewise.
19964 (special_real_inputs): Add min, -min, min_subnorm and
19965 -min_subnorm.
19966 (calc_generic_results): Handle mpfr_ff_f.
19967 * sysdeps/i386/fpu/libm-test-ulps: Update.
19968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969
19970 2013-12-16 Will Newton <will.newton@linaro.org>
19971
19972 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19973 (Aligned Memory Blocks): Add documentation for aligned_alloc
19974 and suggest it as an alternative to posix_memalign.
19975 (Hooks for Malloc): Document __memalign_hook is also called
19976 for aligned_alloc. (Summary of Malloc): Add summary for
19977 aligned alloc. Document __memalign_hook is also called
19978 for aligned_alloc.
19979
19980 2013-12-16 Will Newton <will.newton@linaro.org>
19981
19982 * manual/memory.texi (Malloc Examples): Clarify default
19983 alignment documentation. Suggest posix_memalign rather
19984 than memalign or valloc.
19985 (Aligned Memory Blocks): Remove suggestion to use memalign
19986 or valloc. Remove obsolete comment about BSD.
19987 Document memalign errno values and mark the function obsolete.
19988 Document posix_memalign returned error codes. Mark valloc
19989 as obsolete. (Hooks for Malloc): __memalign_hook is also
19990 called for posix_memalign and valloc.
19991 (Summary of Malloc): Add posix_memalign to function summary.
19992 __memalign_hook is also called for posix_memalign and valloc.
19993
19994 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19995
19996 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19997 TAYLOR_SIN.
19998 (__sin): Adjust.
19999 (__cos): Likewise.
20000 (sloww): Use mynumber union. Expand ternary operator into
20001 if-else statements.
20002 (cslow): use mynumber union.
20003
20004 2013-12-16 Allan McRae <allan@archlinux.org>
20005
20006 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20007 * configure: Regenerated.
20008
20009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20010
20011 [BZ #14120]
20012 * configure.ac: Added --enable-maintainer-mode. Check for
20013 autoconf when enabled.
20014 * configure: Regenerated.
20015
20016 * nscd/nscd.service: New file.
20017 * nscd/nscd.tmpfiles: New file.
20018
20019 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20020
20021 [BZ #12100]
20022 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20023 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20024 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20025 (strstr): Add __strstr_sse2_unaligned ifunc.
20026 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20027 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20028 (strcasestr): Remove __strcasestr_sse42 ifunc.
20029 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20032
20033 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20034
20035 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20036 * sysdeps/sh/bits/fenv.h: ... here.
20037 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20038
20039 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20040
20041 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20042
20043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20044 hypotf multiarch implementations.
20045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20048 multiarch hypot for PPC64.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20050 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20052 multiarch hypotf for PPC64.
20053
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20055 modff multiarch implementations.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20059 multiarch modf for PPC64.
20060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20063 multiarch modff for PPC64.
20064
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20066 and logl multiarch implementations.
20067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20070 multiarch logb for PPC64.
20071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20074 multiarch logb for PPC64.
20075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20078 multiarch logb for PPC64.
20079
20080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20081 isinff multiarch implementation.
20082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20083 file.
20084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20086 multiarch isinf for PPC64.
20087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20088 file.
20089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20090 multiarch isinff for PPC64.
20091
20092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20093 finitef multiarch implementation.
20094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20095 file.
20096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20098 multiarch finite for PPC64.
20099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20100 file.
20101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20102 multiarch finitef for PPC64.
20103
20104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20105 lrint multiarch implementation.
20106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20107 file.
20108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20110 multiarch llrint for PPC64.
20111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20112 multiarch lrint for PPC64.
20113
20114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20115 copysignf multiarch implementation.
20116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20117 file.
20118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20119 file.
20120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20121 multiarch copysign for PPC64.
20122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20123 multiarch copysignf for PPC64.
20124
20125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20126 multiarch implementation.
20127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20128 file.
20129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20130 file.
20131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20132 file.
20133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20134 file.
20135 multiarch llround for PPC64.
20136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20137 multiarch trunc for PPC64.
20138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20139 multiarch truncf for PPC64.
20140
20141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20142 multiarch implementation.
20143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20144 file.
20145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20146 file.
20147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20148 file.
20149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20150 file.
20151 multiarch llround for PPC64.
20152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20153 multiarch round for PPC64.
20154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20155 multiarch roundf for PPC64.
20156
20157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20158 multiarch implementation.
20159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20160 file.
20161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20162 file.
20163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20164 file.
20165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20166 file.
20167 multiarch llround for PPC64.
20168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20169 multiarch floor for PPC64.
20170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20171 multiarch floorf for PPC64.
20172
20173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20174 multiarch implementation.
20175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20176 file.
20177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20178 file.
20179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20180 file.
20181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20182 file.
20183 multiarch llround for PPC64.
20184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20185 multiarch ceil for PPC64.
20186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20187 multiarch ceilf for PPC64.
20188
20189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20190 multiarch implementation.
20191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20192 file.
20193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20194 file.
20195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20196 file.
20197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20198 multiarch llround for PPC64.
20199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20200 multiarch lround for PPC64.
20201
20202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20203 multiarch implementation.
20204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20207 file.
20208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20211 multiarch isnan for PPC64.
20212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20213 multiarch isnanf for PPC64.
20214
20215 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20216 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20217 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20218 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20219 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20221
20222 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20223 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20226
20227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20228 multiarch implementations.
20229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20230 (__libc_ifunc_impl_list): Likewise.
20231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20232 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20234 multiarch stpcpy for PPC64.
20235
20236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20237 multiarch implementations.
20238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20239 (__libc_ifunc_impl_list): Likewise.
20240 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20241 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20242 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20243 multiarch strcpy for PPC64.
20244
20245 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20246 redefine function name.
20247 (_wordcopy_fwd_dest_aligned): Likewise.
20248 (_wordcopy_bwd_aligned): Likewise.
20249 (_wordcopy_bwd_dest_aligned): Likewise.
20250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20251 multiarch implementations.
20252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20253 (__libc_ifunc_impl_list): Likewise.
20254 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20255 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20256 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20258 multiarch wcscpy for PPC64.
20259
20260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20261 multiarch implementations.
20262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20263 (__libc_ifunc_impl_list): Likewise.
20264 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20265 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20268 multiarch wcscpy for PPC64.
20269
20270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20271 multiarch implementations.
20272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20273 (__libc_ifunc_impl_list): Likewise.
20274 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20275 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20278 multiarch wcsrchr for PPC64.
20279
20280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20281 multiarch implementations.
20282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20283 (__libc_ifunc_impl_list): Likewise.
20284 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20285 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20287 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20288 multiarch wcschr for PPC64.
20289
20290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20291 multiarch implementations.
20292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20293 (__libc_ifunc_impl_list): Likewise.
20294 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20295 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20297 multiarch strchrnul for PPC64.
20298
20299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20300 implementations.
20301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20302 (__libc_ifunc_impl_list): Likewise.
20303 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20304 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20305 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20306 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20307 strchr for PPC64.
20308
20309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20310 implementations.
20311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20312 (__libc_ifunc_impl_list): Likewise.
20313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20314 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20316 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20317 strncmp for PPC64.
20318
20319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20320 multiarch implementations.
20321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20322 (__libc_ifunc_impl_list): Likewise.
20323 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20324 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20325 strncasecmp for PPC64.
20326 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20327 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20328 multiarch strncasecmp_l for PPC64.
20329
20330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20331 multiarch implementations.
20332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20333 (__libc_ifunc_impl_list): Likewise.
20334 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20336 multiarch strcasecmp for PPC64.
20337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20338 file.
20339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20340 multiarch strcasecmp_l for PPC64.
20341
20342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20343 implementations.
20344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20345 (__libc_ifunc_impl_list): Likewise.
20346 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20347 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20348 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20349 strnlen for PPC64.
20350
20351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20352 implementations.
20353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20354 (__libc_ifunc_impl_list): Likewise.
20355 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20356 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20357 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20358 strlen for PPC64.
20359
20360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20361 implementations.
20362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20363 (__libc_ifunc_impl_list): Likewise.
20364 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20365 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20366 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20367 rawmemrchr for PPC64.
20368
20369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20370 implementation.
20371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20372 (__libc_ifunc_impl_list): Likewise.
20373 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20374 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20375 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20376 memrchr for PPC64.
20377
20378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20379 implementation.
20380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20381 (__libc_ifunc_impl_list): Likewise.
20382 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20383 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20384 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20385 memchr for PPC64.
20386
20387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20388 implementation.
20389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20390 (__libc_ifunc_impl_list): Likewise.
20391 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20392 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20393 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20394 mempcpy for PPC64.
20395
20396 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20397 avoid cretion of __bzero symbol.
20398 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20399 Likewise.
20400 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20401 Likewise.
20402 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20403 Likewise.
20404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20405 multiarch implementations.
20406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20407 (__libc_ifunc_impl_list): Likewise.
20408 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20409 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20411 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20412 bzero for PPC32.
20413 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20414 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20415 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20416 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20417 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20418 memset for PPC64.
20419 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20420
20421 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20423 implementations.
20424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20425 (__libc_ifunc_impl_list): Likewise.
20426 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20427 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20429 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20430 memcmp for PPC64.
20431
20432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20433 multiarch for POWER/PPC64.
20434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20435 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20442 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20443 memcpy for PPC64.
20444
20445 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20446 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20447 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20448 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20449 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20450 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20451 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20452 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20453 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20454 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20455 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20456 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20457 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20458 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20459 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20467
20468 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20469
20470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20471
20472 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20473
20474 * benchtests/Makefile (bench): Add exp2 and log2.
20475 (LDLIBS-bench-exp2): Add -lm.
20476 (LDLIBS-bench-log2): Likewise.
20477 * benchtests/exp2-inputs: New inputs file.
20478 * benchtests/log2-inputs: New inputs file.
20479 * benchtests/log-inputs: Add new inputs.
20480 * benchtests/tan-inputs: Likewise.
20481
20482 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20483
20484 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20485 definition...
20486 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20487 (csloww2): ... from here.
20488
20489 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20490 instead of structures.
20491 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20492 (POLYNOMIAL): Likewise.
20493 (TAYLOR_SLOW): Likewise.
20494 (__sin): Likewise.
20495 (__cos): Likewise.
20496 (slow1): Likewise.
20497 (slow2): Likewise.
20498 (sloww): Likewise.
20499 (sloww1); Likewise.
20500 (sloww2): Likewise.
20501 (bsloww1): Likewise.
20502 (bsloww2): Likewise.
20503 (cslow2): Likewise.
20504 (csloww): Likewise.
20505 (csloww1): Likewise.
20506 (csloww2): Likewise.
20507
20508 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20509
20510 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20511 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20512 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20513 * malloc/hooks.c (realloc_check): Likewise.
20514
20515 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20516 * malloc/arena.c: Remove PER_THREAD conditional.
20517 [!PER_THREAD]: Remove code.
20518 (ptmalloc_unlock_all2): Likewise.
20519 (ptmalloc_init): Likewise.
20520 (_int_new_arena): Likewise.
20521 (arena_get2): Likewise.
20522 * malloc/hooks.c (__malloc_get_state): Likewise.
20523 (__malloc_set_state): Likewise.
20524 * malloc/malloc.c: Likewise.
20525 (struct malloc_state): Likewise.
20526 (struct malloc_par): Likewise.
20527 (__libc_realloc): Likewise.
20528 (__libc_mallopt): Likewise.
20529
20530 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20531
20532 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20533
20534 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20535
20536 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20537 macro to a function. Check for zero perturb_byte.
20538 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20539
20540 * malloc/malloc.c: (force_reg): Remove.
20541 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20542 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20543 force_reg by atomic_forced_read.
20544 * malloc/arena.c (ptmalloc_init): Likewise.
20545 * malloc/hooks.c (top_check): Likewise.
20546
20547 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20548
20549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20550
20551 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20552
20553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20554
20555 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20556
20557 * math/auto-libm-test-in: Add tests of lgamma.
20558 * math/auto-libm-test-out: Regenerated.
20559 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20560 (M_LOG_2_SQRT_PIl): Likewise.
20561 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20562 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20563 mpfr_f_f1.
20564 (func_calc_desc): Add mpfr_f_f1 union field.
20565 (ARGS1): New macro.
20566 (ARGS2): Likewise.
20567 (ARGS3): Likewise.
20568 (ARGS4): Likewise.
20569 (RET1): Likewise.
20570 (RET2): Likewise.
20571 (CALC): Likewise.
20572 (FUNC): Likewise.
20573 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20574 (test_functions): Add lgamma.
20575 (calc_generic_results): Handle mpfr_f_f1.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
20579 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20580
20581 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20582 __mpn_add_n for PowerPC64/POWER7.
20583 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20584 __mpn_sub_n for PowerPC64/POWER7.
20585
20586 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20587 __mpn_addmul_1 for PowerPC64.
20588 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20589 __mpn_submul_1 for PowerPC64.
20590 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20591 for PowerPC64.
20592 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20593 for PowerPC64.
20594
20595 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20596
20597 [BZ #15089]
20598 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20599
20600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20601
20602 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20603
20604 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20605 add multiarch folders.
20606 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20607 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20608 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20609 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20610 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20611 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20612 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20613 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20614 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20615 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20616 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20623
20624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20625 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20627 New file.
20628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20629 New file.
20630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20631 multiarch __ieee754_hypot for PowerPC32.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20633 New file.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20635 New file.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20637 multiarch __ieee754_hypotf for PowerPC32.
20638
20639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20640 long_double_symbol only if __logbl is defined.
20641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20642 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20644 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20646 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20648 path for implementation.
20649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20652 logb, and logbl multiarch implementations for PowerPC32.
20653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20654 file.
20655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20656 file.
20657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20658 multiarch logb for PowerPC32.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20660 file.
20661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20662 file.
20663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20664 multiarch logbf for PowerPC32.
20665 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20667 file.
20668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20669 multiarch logbl implementation for PowerPC32.
20670
20671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20672 and modff multiarch implementations.
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20674 New file.
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20676 New file.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20678 multiarch modf for PowerPC32.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20680 New file.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20682 New file.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20684 multiarch modff for PowerPC32.
20685
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20687 and lrintf multiarch implementations.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20689 New file.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20691 New file.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20693 multiarch lrint for PowerPC32.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20695 file: multiarch lrintf for PowerPC32.
20696
20697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20698 and lroundf multiarch implementations.
20699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20700 New file.
20701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20702 New file.
20703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20704 New file.
20705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20706 multiarch lround for PowerPC32.
20707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20708 file: multiarch lroundf for PowerPC32.
20709
20710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20711 copysign and copysignf multiarch implementations.
20712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20713 New file.
20714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20715 New file.
20716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20717 file: multiarch copysign for PowerPC32.
20718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20719 file: multiarch copysignf for PowerPC32.
20720
20721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20722 and truncf multiarch implementations.
20723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20724 New file.
20725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20726 file.
20727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20728 multiarch trunc for PowerPC32.
20729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20730 New file.
20731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20732 New file.
20733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20734 multiarch truncf for PowerPC32.
20735
20736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20737 and roundf multiarch implementations.
20738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20739 New file.
20740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20741 file.
20742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20743 multiarch round for PowerPC32.
20744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20745 New file.
20746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20747 New file.
20748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20749 multiarch roundf for PowerPC32.
20750
20751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20752 and floorf multiarch implementations.
20753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20754 New file.
20755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20756 file.
20757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20758 multiarch floor for PowerPC32.
20759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20760 New file.
20761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20762 New file.
20763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20764 multiarch floorf for PowerPC32.
20765
20766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20767 and ceilf multiarch implementations.
20768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20769 New file.
20770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20771 file.
20772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20773 multiarch ceil for PowerPC32.
20774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20775 New file.
20776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20777 file.
20778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20779 multiarch ceilf for PowerPC32.
20780
20781 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20782 is defined.
20783 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20784 FINITEF is defined.
20785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20786 and finitef multiarch implementations.
20787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20788 New file.
20789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20790 file.
20791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20792 multiarch finite for PowerPC32.
20793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20794 New file.
20795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20796 file: multiarch finitef for PowerPC32.
20797
20798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20799 and isinff multiarch implementations.
20800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20801 file.
20802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20803 file.
20804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20805 multiarch isinf for PowerPC32.
20806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20807 New file.
20808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20809 multiarch isinff for PowerPC32.
20810
20811 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20812 alias when __isnan is defined.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20814 and isnanf multiarch implementations.
20815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20816 file.
20817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20818 file.
20819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20820 file.
20821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20822 file.
20823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20824 multiarch isnan for PowerPC32.
20825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20826 New file.
20827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20828 New file.
20829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20830 multiarch isnanf for PowerPC32.
20831
20832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20833 and sqrtf multiarch implementations.
20834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20835 file.
20836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20837 file.
20838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20839 multiarch sqrt for PowerPC32.
20840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20841 file.
20842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20843 file.
20844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20845 multiarch sqrtf for PowerPC32.
20846
20847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20848 and llroundf multiarch implementations.
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20850 New file.
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20852 New file.
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20854 New file.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20856 file: multiarch llround for PowerPC32.
20857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20858 file: multiarch llroundf for PowerPC32.
20859
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20861 multiarch PowerPC32 fpu implementations.
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20863 New file.
20864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20865 New file.
20866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20867 multiarch llrint for PowerPC32.
20868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20869 New file.
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20871 New file.
20872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20873 file.
20874
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20876
20877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20878 file.
20879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20880 file.
20881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20882 file.
20883 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20884 multiarch wordcopy for PPC32.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20886 wordcopy objects.
20887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20888 (__libc_ifunc_impl_list): Likewise.
20889 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20890 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20892 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20894 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20895
20896 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20898 file.
20899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20900 file.
20901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20902 file.
20903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20904 multiarch wcscpy for PPC32.
20905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20906 multiarch objects.
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20908 (__libc_ifunc_impl_list): Likewise.
20909 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20910 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20911 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20912 sysdeps/powerpc/power6/wcscpy.c.
20913
20914 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20916 file.
20917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20918 file.
20919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20920 file.
20921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20922 multiarch wcsrchr for PPC32.
20923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20924 multiarch objects.
20925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20926 (__libc_ifunc_impl_list): Likewise.
20927 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20928 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20929 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20930 sysdeps/powerpc/power6/wcsrchr.c.
20931
20932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20933 file.
20934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20935 file.
20936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20938 multiarch wcschr for PPc32.
20939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20940 multiarch objects.
20941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20942 (__libc_ifunc_impl_list): Likewise.
20943 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20944 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20945 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20946 sysdeps/powerpc/power6/wcschr.c.
20947
20948 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20949 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20950 file.
20951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20952 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20953 file: multiarch strchr for PPC32.
20954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20955 multiarch objects.
20956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20957 (__libc_ifunc_impl_list): Likewise.
20958
20959 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20960 name.
20961 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20962 file.
20963 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20964 file.
20965 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20966 multiarch strchrnul for PPC32.
20967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20968 multiarch objects.
20969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20970 (__libc_ifunc_impl_list): Likewise.
20971
20972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20973 file.
20974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20975 multiarch strncasecmp for PPC32.
20976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20977 file.
20978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20979 multiarch strncasecmp_l for PPC32.
20980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20981 strncasecmp multiarch objects.
20982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20983 (__libc_ifunc_impl_list): Likewise.
20984
20985 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20986 file.
20987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20988 multiarch strncasecmp for PPC32.
20989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20990 New file.
20991 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20992 multiarch strcasecmp_l for PPC32.
20993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20994 multiarch objects.
20995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20996 (__libc_ifunc_impl_list): Likewise.
20997
20998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20999 file.
21000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21001 file.
21002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21003 multiarch strncmp for PPC32.
21004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21005 multiarch objects.
21006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21007 (__libc_ifunc_impl_list): Likewise.
21008
21009 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21010 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21011 file.
21012 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21013 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21015 multiarch objects.
21016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21017 (__libc_ifunc_impl_list): Likewise.
21018
21019 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21020 file.
21021 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21022 file.
21023 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21025 multiarch objects.
21026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21027 (__libc_ifunc_impl_list): Likewise.
21028
21029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21030 file.
21031 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21032 file.
21033 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21034 multiarch rawmemchr for PPC32.
21035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21036 multiarch objects.
21037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21038 (__libc_ifunc_impl_list): Likewise.
21039
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21041 file.
21042 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21043 file.
21044 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21045 file: memrchr multiarch for PPC32.
21046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21047 multiarch objects.
21048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21049 (__libc_ifunc_impl_list): Likewise.
21050
21051 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21052 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21053 file.
21054 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21055 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21056 multiarch memchr for PPC32.
21057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21058 multiarch objects.
21059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21060 (__libc_ifunc_impl_list): Likewise.
21061
21062 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21064 file.
21065 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21066 file.
21067 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21068 file: multiarch mempcpy for PPC32.
21069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21070 multiarch objects.
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21072 (__libc_ifunc_impl_list): Likewise.
21073
21074 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21075 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21076 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21077 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21078 multiarch bzero for PPC32.
21079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21080 file.
21081 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21082 file.
21083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21084 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21085 file: multiarch memset for PPC32.
21086 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21088 memset multiarch objects.
21089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21090 (__libc_ifunc_impl_list): Likewise.
21091
21092 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21093 file.
21094 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21096 memcmp for PPC32.
21097 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21099 multiarch objects.
21100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21101 (__libc_ifunc_impl_list): Likewise.
21102
21103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21106 file.
21107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21108 file.
21109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21110 file.
21111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21112 multiarch memcpy for PPC32.
21113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21114 multiarch objects.
21115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21116 (__libc_ifunc_impl_list): Likewise.
21117
21118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21119 support multiarch for POWER/PPC32.
21120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21121 Likewise.
21122 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21124 Implies file to make multiarch folder appers before the fpu and
21125 default folder for power4 configuration.
21126
21127 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21128
21129 * scripts/bench.pl: Append volatile keyword to type.
21130
21131 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21132
21133 * sysdeps/sh/sotruss-lib.c: New file.
21134 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21135
21136 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21137
21138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21139
21140 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21141
21142 [BZ #6810]
21143 * math/w_tgamma.c: Include <errno.h>.
21144 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21145 * math/w_tgammaf.c: Include <errno.h>.
21146 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21147 * math/w_tgammal.c: Include <errno.h>.
21148 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21149 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21150 underflow. Add more tgamma tests.
21151 * math/auto-libm-test-out: Regenerated.
21152 * sysdeps/i386/fpu/libm-test-ulps: Update.
21153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21154
21155 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21156 sin, sinh, tan, tanh, tgamma, y0 and y1.
21157 * math/auto-libm-test-out: Regenerated.
21158 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21159 (TEST_COND_x86): Likewise.
21160 (M_E2l): Remove macro.
21161 (M_E3l): Likewise.
21162 (M_2_SQRT_PIl): Likewise.
21163 (M_SQRT_PIl): Likewise.
21164 (M_1_DIV_El): Likewise.
21165 (log_test_data): Use AUTO_TESTS_f_f.
21166 (log10_test_data): Likewise.
21167 (log1p_test_data): Likewise.
21168 (log2_test_data): Likewise.
21169 (sin_test_data): Likewise.
21170 (sin_tonearest_test_data): Likewise.
21171 (sin_towardzero_test_data): Likewise.
21172 (sin_downward_test_data): Likewise.
21173 (sin_upward_test_data): Likewise.
21174 (sinh_test_data): Likewise.
21175 (sinh_tonearest_test_data): Likewise.
21176 (sinh_towardzero_test_data): Likewise.
21177 (sinh_downward_test_data): Likewise.
21178 (sinh_upward_test_data): Likewise.
21179 (tan_test_data): Likewise.
21180 (tan_tonearest_test_data): Likewise.
21181 (tan_towardzero_test_data): Likewise.
21182 (tan_downward_test_data): Likewise.
21183 (tan_upward_test_data): Likewise.
21184 (tanh_test_data): Likewise.
21185 (tgamma_test_data): Likewise.
21186 (y0_test_data): Likewise.
21187 (y1_test_data): Likewise.
21188 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21189 (special_real_inputs): Add pi/4.
21190 * sysdeps/i386/fpu/libm-test-ulps: Update.
21191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192
21193 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21194
21195 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21196 "longjmp_target" static probes.
21197 (__longjmp): Rename to __longjmp_symbol.
21198 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21200 on which longjmp to generate.
21201 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21203 probe.
21204 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21205 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21206 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21208 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21209 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21211 __longjmp_symbol based on which __longjmp to generate.
21212 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21213 probe.
21214 (setjmp): Rename to setjmp_symbol.
21215 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21216 (_setjmp): Rename to _setjmp_symbol.
21217 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21218 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21219 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21220 which setjmp to generate.
21221 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21222 "longjmp_target" static probes.
21223
21224 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21225
21226 * benchtests/README: Add note about output arguments.
21227 * benchtests/bench-sincos.c: Remove file.
21228 * benchtests/sincos-inputs: New file.
21229 * scripts/bench.pl: Identify output arguments and define
21230 static variables for them.
21231
21232 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21233
21234 [BZ #15941]
21235 * Makefile (INSTALL): Add install-plain.texi as the primary
21236 dependency.
21237 * manual/install-plain.texi: New file.
21238 * manual/install.texi: Include node directive only for
21239 non-plaintext output.
21240
21241 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21242
21243 * stdlib/longlong.h: Update from GCC.
21244
21245 [BZ #6807]
21246 [BZ #15901]
21247 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21248 * math/w_j0f.c (y0f): Likewise.
21249 * math/w_j0l.c (__y0l): Likewise.
21250 * math/w_j1.c (y1): Likewise.
21251 * math/w_j1f.c (y1f): Likewise.
21252 * math/w_j1l.c (__y1l): Likewise
21253 * math/w_jn.c (yn): Likewise.
21254 * math/w_jnf.c (ynf): Likewise.
21255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21256 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21257 value for Bessel function domain errors outside _SVID_ mode.
21258 Adjust sign of return value for yn (negative integer, 0).
21259 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21260 by zero in return for negative x and set sign appropriately for
21261 negative n.
21262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21264 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21265 expectations in error cases.
21266 (y1_test_data): Likewise.
21267 (yn_test_data): Likewise.
21268 * sysdeps/i386/fpu/libm-test-ulps: Update.
21269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21270
21271 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21272
21273 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21274 "64" to "64-v1". Add "64-v2".
21275 (abi-64-options): Rename to ...
21276 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21277 (abi-64-condition): Rename to ...
21278 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21279 (abi-64-ld-soname): Rename to ...
21280 (abi-64-v1-ld-soname): ... this.
21281 (abi-64-v2-options): Define.
21282 (abi-64-v2-condition): Likewise.
21283 (abi-64-v2-ld-soname): Likewise.
21284 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21285 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21289
21290 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21291 Alan Modra <amodra@gmail.com>
21292
21293 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21294 New versions for use with the ELFv2 ABI.
21295 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21296 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21297 declaration.
21298 (struct La_ppc64v2_retval): Likewise.
21299 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21300 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21301 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21302 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21303 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21304 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21305 Do not save or restore CR.
21306 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21307 (_dl_profile_resolve): Do no save or restore CR. Support extended
21308 return values for ELFv2 ABI. Fix location of FPR return registers.
21309 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21310 updated values for _CALL_ELF == 2.
21311 (La_regs, La_retval, int_retval): Likewise.
21312
21313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21314
21315 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21316 (FRAME_MIN_SIZE_PARM): Likewise.
21317 (FRAME_BACKCHAIN): Likewise.
21318 (FRAME_CR_SAVE): Likewise.
21319 (FRAME_LR_SAVE): Likewise.
21320 (FRAME_TOC_SAVE): Likewise.
21321 (FRAME_PARM_SAVE): Likewise.
21322 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21323 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21324 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21325 (call_mcount_parm_offset): New macro.
21326 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21327 (PROF): Use symbolic stack frame offsets.
21328 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21330 Redefine in terms of FRAME_MIN_SIZE.
21331 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21332 (_dl_profile_resolve): Likewise. Update comment.
21333 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21334 symbols stack frame offsets.
21335 (__sigsetjmp): Likewise.
21336 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21337 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21338 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21339 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21340
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21342 (FRAME_BACKCHAIN): Remove.
21343 (FRAME_CR_SAVE): Likewise.
21344 (FRAME_LR_SAVE): Likewise.
21345 (FRAME_COMPILER_DW): Likewise.
21346 (FRAME_LINKER_DW): Likewise.
21347 (FRAME_TOC_SAVE): Likewise.
21348 (FRAME_PARM_SAVE): Likewise.
21349 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21350 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21351 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21353 (CHECK_SP): Use symbolic stack frame offsets.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21355 zone" instead of caller's parameter save area for temp storage.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21357 Likewise. Also, use symbolic stack frame offsets.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21359 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21360 our own stack frame instead of the caller's.
21361 (__socket): Use symbolic stack frame offsets.
21362
21363 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21364 Alan Modra <amodra@gmail.com>
21365
21366 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21367 Define.
21368 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21369 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21370 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21371 New function.
21372 (elf_machine_fixup_plt): Call it.
21373 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21374 reloc arguments.
21375 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21376 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21377 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21378 r2 before calling target.
21379
21380 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21381 Alan Modra <amodra@gmail.com>
21382
21383 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21384 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21385 versions of macros to support ELFv2 ABI.
21386 (LOCALENTRY): New macro.
21387 (ENTRY, EALIGN): Use it.
21388 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21389 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21390 fall through into ENTRY entry point.
21391 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21392 Only define if _CALL_ELF != 2.
21393
21394 (elf_machine_matches_host): Verify ABI version matches.
21395 (RTLD_START): Use LOCALENTRY.
21396 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21397 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21398 (PLT_ENTRY_WORDS): New macro.
21399 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21400 (elf_machine_runtime_setup): Support ELFv2 ABI.
21401 (elf_machine_fixup_plt): Likewise.
21402 (elf_machine_plt_conflict): Likewise.
21403 (resolve_ifunc): Likewise.
21404 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21406 Likewise.
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21408 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21410 (makecontext): Support ELFv2 ABI.
21411 * elf/elf.h (EF_PPC64_ABI): Define.
21412
21413 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21414
21415 * sysdeps/powerpc/powerpc64/sysdep.h
21416 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21417 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21418 (ENTRY) [ASSEMBLER]: ... but instead here ...
21419 (EALIGN) [ASSEMBLER]: ... and here.
21420 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21421 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21422 (ENTRY_2) [!ASSEMBLER]: Use it.
21423 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21424 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21425 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21426 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21427 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21429 Use PPC64_LOAD_FUNCPTR.
21430
21431 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21432
21433 2013-12-04 Alan Modra <amodra@gmail.com>
21434
21435 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21436 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21437 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21438 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21439
21440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21441 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21442 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21443 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21444 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21445 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21446
21447 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21448
21449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21450 (__makecontext): Fix incorrect CFI when backtracing out of
21451 context created via makecontext.
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21453 (__setcontext): Fix incorrect CFI during switch to new context.
21454 (__novec_setcontext): Likewise.
21455
21456 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21457
21458 [BZ #4772]
21459 * time/strptime_l.c (__strptime_internal): Allow modifiers
21460 in strptime.
21461 * time/tst-strptime.c (day_tests): Add testcase.
21462
21463 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21464
21465 * scripts/bench.pl: Skip over blank lines.
21466
21467 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21468
21469 [BZ #926]
21470 * manual/time.texi (Calendar Time): Clarify what timezone functions
21471 use.
21472
21473 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21474
21475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21476
21477 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21478
21479 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21480 implementation.
21481 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21482 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21483 * debug/memset_chk.c (__memset_chk): Likewise.
21484 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21485 * debug/strncpy_chk.c: Likewise.
21486
21487 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21488
21489 [BZ #15268]
21490 [BZ #15425]
21491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21492 (__ieee754_exp): For possibly underflowing results, check size of
21493 result and force underflow exception if required.
21494 * math/auto-libm-test-in: Add more tests of exp.
21495 * math/auto-libm-test-out: Regenerated.
21496 * sysdeps/i386/fpu/libm-test-ulps: Update.
21497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21498
21499 [BZ #16283]
21500 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21501 * math/w_exp2f.c (__exp2f): Likewise.
21502 * math/w_exp2l.c (__exp2l): Likewise.
21503 * math/auto-libm-test-in: Do not allow missing errno on exp2
21504 underflow.
21505 * math/auto-libm-test-out: Regenerated.
21506
21507 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21508
21509 [BZ #16274]
21510 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21511 handle filename validation.
21512 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21513 (do_open): Delete.
21514
21515 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21516
21517 [BZ #6786]
21518 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21519 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21520 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21521 <float.h>.
21522 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21527 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21529 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21530 Add more erfc tests.
21531 * math/auto-libm-test-out: Regenerated.
21532 * sysdeps/i386/fpu/libm-test-ulps: Update.
21533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21534
21535 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21536 exp2, expm1, j0 and j1.
21537 * math/auto-libm-test-out: Regenerated.
21538 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21539 (erfc_test_data): Likewise.
21540 (exp_test_data): Likewise.
21541 (exp_tonearest_test_data): Likewise.
21542 (exp_towardzero_test_data): Likewise.
21543 (exp_downward_test_data): Likewise.
21544 (exp_upward_test_data): Likewise.
21545 (exp10_test_data): Likewise.
21546 (exp2_test_data): Likewise.
21547 (expm1_test_data): Likewise.
21548 (j0_test_data): Likewise.
21549 (j1_test_data): Likewise.
21550 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21551 (input_flag_type): Add flag_xfail_rounding.
21552 (input_flags): Add xfail-rounding.
21553 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21554 (output_for_one_input_case): Handle flag_xfail_rounding.
21555 * sysdeps/i386/fpu/libm-test-ulps: Update.
21556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21557
21558 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21559
21560 [BZ #16289]
21561 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21562 division by 0.
21563
21564 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21565
21566 [BZ #16195]
21567 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21568 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21569 (STAP_PROBE0): New macro.
21570 (STAP_PROBE1): Likewise.
21571 (STAP_PROBE2): Likewise.
21572 (STAP_PROBE3): Likewise.
21573 (STAP_PROBE4): Likewise.
21574
21575 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21576
21577 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21578
21579 2013-12-02 Steve Ellcey <sellcey@mips.com>
21580
21581 * benchtests/Makefile (bench): Add sqrt.
21582 (LDLIBS-bench-sqrt): New.
21583 * benchtests/sqrt-input: New.
21584
21585 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21586
21587 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21588 (GAIH_EAI): Likewise.
21589 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21590 (gaih_inet): Likewise.
21591 (getaddrinfo): Don't use GAIH_EAI.
21592
21593 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21594 (struct gaih): Remove definition.
21595
21596 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21597
21598 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21599 Use HERRNOP directly.
21600
21601 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21602
21603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21604
21605 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21606
21607 * math/gen-auto-libm-tests.c (test_functions): Add more
21608 single-argument functions.
21609 (special_fill_pi_2): New function.
21610 (special_fill_minus_pi_2): Likewise.
21611 (special_fill_pi_6): Likewise.
21612 (special_fill_minus_pi_6): Likewise.
21613 (special_fill_pi_3): Likewise.
21614 (special_fill_2pi_3): Likewise.
21615 (special_fill_e): Likewise.
21616 (special_fill_1_e): Likewise.
21617 (special_fill_e_minus_1): Likewise.
21618 (special_real_inputs): Add more special inputs.
21619 (output_for_one_input_case): Do not require ERANGE on underflow to
21620 zero if round-to-nearest result does not underflow to zero, unless
21621 exact results required.
21622 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21623 atan, atanh, cbrt, cos and cosh.
21624 * math/auto-libm-test-out: Regenerated.
21625 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21626 (acos_tonearest_test_data): Likewise.
21627 (acos_towardzero_test_data): Likewise.
21628 (acos_downward_test_data): Likewise.
21629 (acos_upward_test_data): Likewise.
21630 (acosh_test_data): Likewise.
21631 (asin_test_data): Likewise.
21632 (asin_tonearest_test_data): Likewise.
21633 (asin_towardzero_test_data): Likewise.
21634 (asin_upward_test_data): Likewise.
21635 (asinh_test_data): Likewise.
21636 (atan_test_data): Likewise.
21637 (atanh_test_data): Likewise.
21638 (cbrt_test_data): Likewise.
21639 (cos_test_data): Likewise.
21640 (cos_tonearest_test_data): Likewise.
21641 (cos_towardzero_test_data): Likewise.
21642 (cos_downward_test_data): Likewise.
21643 (cos_upward_test_data): Likewise.
21644 (cosh_test_data): Likewise.
21645 (cosh_tonearest_test_data): Likewise.
21646 (cosh_towardzero_test_data): Likewise.
21647 (cosh_downward_test_data): Likewise.
21648 (cosh_upward_test_data): Likewise.
21649 * sysdeps/i386/fpu/libm-test-ulps: Update.
21650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21651
21652 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21653
21654 [BZ #6787]
21655 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21656 * math/w_exp10f.c (__exp10f): Likewise.
21657 * math/w_exp10l.c (__exp10l): Likewise.
21658 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21659 errno settings in existing tests.
21660
21661 [BZ #14032]
21662 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21663 precision control set to double precision.
21664 * sysdeps/i386/fpu/w_sqrt.c: New file.
21665 * math/auto-libm-test-in: Add more tests.
21666 * math/auto-libm-test-out: Update.
21667
21668 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21669 (sqrt_test_tonearest): New function.
21670 (sqrt_towardzero_test_data): New variable.
21671 (sqrt_test_towardzero): New function.
21672 (sqrt_downward_test_data): New variable.
21673 (sqrt_test_downward): New function.
21674 (sqrt_upward_test_data): New variable.
21675 (sqrt_test_upward): New function.
21676 (main): Call the new functions.
21677
21678 * math/gen-auto-libm-tests.c: New file.
21679 * math/auto-libm-test-in: Likewise.
21680 * math/auto-libm-test-out: New generated file.
21681 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21682 variables.
21683 (%beautify): Add generated representations of zero.
21684 (top level): Set $auto_input and call parse_auto_input.
21685 (beautify): Remove trailing "f" from hex float constants.
21686 (parse_args): Handle XFAIL_TEST.
21687 (convert_condition): New function.
21688 (or_value): Likewise.
21689 (or_cond_value): Likewise.
21690 (generate_testfile): Handle AUTO_TESTS_* lines.
21691 (parse_auto_input): New function.
21692 * math/libm-test.inc (XFAIL_TEST): New macro.
21693 (ERRNO_UNCHANGED): Update value.
21694 (ERRNO_EDOM): Likewise.
21695 (ERRNO_ERANGE): Likewise.
21696 (IGNORE_RESULT): Likewise.
21697 (TEST_COND_flt_32): New macro.
21698 (TEST_COND_dbl_64): Likewise.
21699 (TEST_COND_ldbl_96_intel): Likewise.
21700 (TEST_COND_ldbl_96_m68k): Likewise.
21701 (TEST_COND_ldbl_128): Likewise.
21702 (TEST_COND_ldbl_128ibm): Likewise.
21703 (TEST_COND_long32): Likewise.
21704 (TEST_COND_long64): Likewise.
21705 (TEST_COND_before_rounding): Likewise.
21706 (TEST_COND_after_rounding): Likewise.
21707 (enable_test): Handle XFAIL_TEST flag.
21708 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21709 with finite results.
21710 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21711 auto-libm-test-out.
21712
21713 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21715
21716 [BZ #16214]
21717 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21718 __tls_get_addr_internal instead of __tls_get_offset in order to
21719 avoid GOT pointer dependency. Make rtld export
21720 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21721 __tls_get_addr since we are a __tls_get_offset platform.
21722 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21723 GOT pointer being set up before.
21724 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21725
21726 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21727
21728 * manual/math.texi (Errors in Math Functions): Document accuracy
21729 goals.
21730
21731 [BZ #15004]
21732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21733 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21748
21749 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21750 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21751 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21752 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21754 Likewise.
21755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21756 Likewise.
21757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21758 Likewise.
21759 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21760 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21761 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21762 atomic-feupdateenv and flt-rounds.
21763 * sysdeps/powerpc/nofpu/Versions (libc): Add
21764 __atomic_feholdexcept, __atomic_feclearexcept,
21765 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21766 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21767 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21768 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21769 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21770 here.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21772 Update.
21773
21774 * manual/arith.texi (FP Exceptions): Document that exceptions may
21775 not be raised when matherr is used.
21776 (Math Error Reporting): Document overflow in directed rounding
21777 modes. Document that errno may not be set when finite values are
21778 returned on overflow. Document intent to set errno on underflow
21779 only for underflow to zero.
21780
21781 [BZ #16271]
21782 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21783 round-to-nearest then adjust result for other rounding modes.
21784 * include/fenv.h (fegetround): Use libm_hidden_proto.
21785 * math/fegetround.c (fegetround): Use libm_hidden_def.
21786 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21787 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21789 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21790 Likewise.
21791 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21793 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21794 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21795
21796 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21797
21798 [BZ #16077]
21799 * nss/Versions (libnss_files): Add
21800 _nss_files_gethostbyname3_r.
21801 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21802 New function.
21803 (HOST_DB_LOOKUP): Remove macro.
21804 (_nss_files_gethostbyname_r): Implement function without the
21805 HOST_DB_LOOKUP macro.
21806 (_nss_files_gethostbyname2_r): Likewise.
21807
21808 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21809
21810 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21811
21812 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21813
21814 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21815 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21816 warning.
21817
21818 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21819
21820 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21821 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21822 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21823 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21825 __fe_nomask_env_priv and attribute_hidden.
21826 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21827 (libc_feupdateenv_test_ppc): Likewise.
21828 (libc_feresetround_ppc): Likewise.
21829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21830 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21831 compat_symbol macro.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21833 (__fe_nomask_env): Likewise.
21834 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21835
21836 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21837
21838 * string/Makefile: Remove ifunc tests.
21839 * string/test-string.h: Define TEST_IFUNC.
21840 * string/test-bcopy-ifunc.c: Remove.
21841 * string/test-bzero-ifunc.c: Likewise.
21842 * string/test-memccpy-ifunc.c: Likewise.
21843 * string/test-memchr-ifunc.c: Likewise.
21844 * string/test-memcmp-ifunc.c: Likewise.
21845 * string/test-memcpy-ifunc.c: Likewise.
21846 * string/test-memmem-ifunc.c: Likewise.
21847 * string/test-memmove-ifunc.c: Likewise.
21848 * string/test-mempcpy-ifunc.c: Likewise.
21849 * string/test-memrchr-ifunc.c: Likewise.
21850 * string/test-memset-ifunc.c: Likewise.
21851 * string/test-rawmemchr-ifunc.c: Likewise.
21852 * string/test-stpcpy-ifunc.c: Likewise.
21853 * string/test-stpncpy-ifunc.c: Likewise.
21854 * string/test-strcasecmp-ifunc.c: Likewise.
21855 * string/test-strcasestr-ifunc.c: Likewise.
21856 * string/test-strcat-ifunc.c: Likewise.
21857 * string/test-strchr-ifunc.c: Likewise.
21858 * string/test-strchrnul-ifunc.c: Likewise.
21859 * string/test-strcmp-ifunc.c: Likewise.
21860 * string/test-strcpy-ifunc.c: Likewise.
21861 * string/test-strcspn-ifunc.c: Likewise.
21862 * string/test-strlen-ifunc.c: Likewise.
21863 * string/test-strncasecmp-ifunc.c: Likewise.
21864 * string/test-strncat-ifunc.c: Likewise.
21865 * string/test-strncmp-ifunc.c: Likewise.
21866 * string/test-strncpy-ifunc.c: Likewise.
21867 * string/test-strnlen-ifunc.c: Likewise.
21868 * string/test-strpbrk-ifunc.c: Likewise.
21869 * string/test-strrchr-ifunc.c: Likewise.
21870 * string/test-strspn-ifunc.c: Likewise.
21871 * string/test-strstr-ifunc.c: Likewise.
21872
21873 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21874
21875 * benchtests/Makefile: Remove ifunc tests.
21876 * benchtests/bench-string.h: Define TEST_IFUNC.
21877 * benchtests/bench-bcopy-ifunc.c: Remove.
21878 * benchtests/bench-bzero-ifunc.c: Likewise.
21879 * benchtests/bench-memccpy-ifunc.c: Likewise.
21880 * benchtests/bench-memchr-ifunc.c: Likewise.
21881 * benchtests/bench-memcmp-ifunc.c: Likewise.
21882 * benchtests/bench-memcpy-ifunc.c: Likewise.
21883 * benchtests/bench-memmem-ifunc.c: Likewise.
21884 * benchtests/bench-memmove-ifunc.c: Likewise.
21885 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21886 * benchtests/bench-memrchr-ifunc.c: Likewise.
21887 * benchtests/bench-memset-ifunc.c: Likewise.
21888 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21889 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21890 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21891 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21892 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21893 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21894 * benchtests/bench-strcat-ifunc.c: Likewise.
21895 * benchtests/bench-strchr-ifunc.c: Likewise.
21896 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21897 * benchtests/bench-strcmp-ifunc.c: Likewise.
21898 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21899 * benchtests/bench-strcpy-ifunc.c: Likewise.
21900 * benchtests/bench-strcspn-ifunc.c: Likewise.
21901 * benchtests/bench-strlen-ifunc.c: Likewise.
21902 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21903 * benchtests/bench-strncat-ifunc.c: Likewise.
21904 * benchtests/bench-strncmp-ifunc.c: Likewise.
21905 * benchtests/bench-strncpy-ifunc.c: Likewise.
21906 * benchtests/bench-strnlen-ifunc.c: Likewise.
21907 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21908 * benchtests/bench-strrchr-ifunc.c: Likewise.
21909 * benchtests/bench-strsep-ifunc.c: Likewise.
21910 * benchtests/bench-strspn-ifunc.c: Likewise.
21911 * benchtests/bench-strstr-ifunc.c: Likewise.
21912
21913 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21914
21915 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21916
21917 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21918
21919 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21920 * rt/aio.h: Likewise.
21921 * sysdeps/gnu/bits/utmp.h: Likewise.
21922 * sysdeps/gnu/bits/utmpx.h: Likewise.
21923 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21924 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21925 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21926 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21927 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21928 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21929 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21930 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21931 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21932 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21933 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21934 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21935 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21937 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21938 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21939 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21940 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21941 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21942 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21943 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21944 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21945 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21946 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21947 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21949 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21951 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21952 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21953 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21954 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21955 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21956 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21957 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21958 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21960 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21961 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21962 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21963 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21964 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21965
21966 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21967
21968 [BZ #16245]
21969 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21970 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21971
21972 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21973
21974 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21976 Likewise.
21977
21978 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21979
21980 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21981 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21982 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21983 (__fesetround): Remove define.
21984 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21985 rounding and exceptions handling.
21986 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21987 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21988 (__fe_nomask_env): Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21990 __fegetround instead of fegetround.
21991 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21993
21994 2013-11-21 Roland McGrath <roland@hack.frob.com>
21995
21996 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21997 it's there.
21998
21999 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22000
22001 2013-11-21 Meador Inge <meadori@codesourcery.com>
22002
22003 [BZ #11157]
22004 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22005 (encrypt_r): Likewise.
22006 * malloc/obstack.h (obstack_free): Likewise.
22007 * posix/unistd.h (encrypt): Likewise.
22008
22009 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22010
22011 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22012 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22013 DL_CALL_DT_FINI() that call the functions directly.
22014 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22015 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22016 * elf/dl-fini.c: Likewise.
22017
22018 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22019
22020 * malloc/hooks.c (memalign_check): Add alignment rounding.
22021 * malloc/malloc.c (_mid_memalign): New function.
22022 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22023 Implement by calling _mid_memalign.
22024 * manual/probes.texi (Memory Allocation Probes): Remove
22025 memory_valloc_retry and memory_pvalloc_retry.
22026
22027 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22028
22029 * locale/programs/locarchive.c (open_archive): Add const
22030 qualifier to ARCHIVEFNAME and copy default fname to
22031 DEFAULT_FNAME.
22032
22033 [BZ #15601]
22034 * libio/tst-widetext.input: Rename Oriya to Odia.
22035 * locale/iso-639.def: Likewise.
22036
22037 * manual/probes.texi (Mathematical Function Probes): Add
22038 documentation for sin, cos, asin and acos probes.
22039 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22040 (__sin32): Add slowasin probe.
22041 (__cos32): Add slowacos probe.
22042 (__mpsin): Add slowsin probe.
22043 (__mpcos): Add slowcos probe.
22044
22045 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22046
22047 [BZ #15483]
22048 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22049 thread-local __sim_exceptions_thread and global
22050 __sim_exceptions_global.
22051 (__sim_disabled_exceptions): Change to thread-local
22052 __sim_disabled_exceptions_thread and global
22053 __sim_disabled_exceptions_global.
22054 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22055 and global __sim_round_mode_global.
22056 (__simulate_exceptions): Use thread-local floating-point state and
22057 set global state from it as needed.
22058 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22059 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22060 __sim_round_mode_thread.
22061 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22062 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22063 and global __sim_exceptions_global.
22064 (__sim_disabled_exceptions): Change to thread-local
22065 __sim_disabled_exceptions_thread and global
22066 __sim_disabled_exceptions_global.
22067 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22068 and global __sim_round_mode_global.
22069 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22070 (SIM_SET_GLOBAL): Likewise.
22071 * sysdeps/powerpc/soft-fp/sfp-machine.h
22072 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22073 __sim_round_mode_thread.
22074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22075 __sim_disabled_exceptions_thread.
22076 (__sim_exceptions): Change to __sim_exceptions_thread.
22077 (__sim_disabled_exceptions): Change to
22078 __sim_disabled_exceptions_thread.
22079 (__sim_round_mode): Change to __sim_round_mode_thread.
22080 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22081 thread-local floating-point state and set global state from it as
22082 needed.
22083 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22084 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22085 (__sim_disabled_exceptions): Remove extern declaration.
22086 (feenableexcept): Use thread-local floating-point state and set
22087 global state from it as needed.
22088 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22089 extern declaration.
22090 (__sim_disabled_exceptions): Likewise.
22091 (__sim_round_mode): Likewise.
22092 (__fegetenv): Use thread-local floating-point state.
22093 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22094 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22095 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22096 floating-point state and set global state from it as needed.
22097 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22098 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22099 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22100 Likewise.
22101 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22102 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22103 Likewise.
22104 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22105 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22106 Use __sim_round_mode_thread.
22107 * math/test-fenv-tls.c: New file.
22108 * math/Makefile (tests): Add test-fenv-tls.
22109 ($(objpfx)test-fenv-tls): Depend on
22110 $(common-objpfx)nptl/libpthread.so.
22111
22112 2013-11-19 Andreas Schwab <schwab@suse.de>
22113
22114 * locale/programs/locale.c (show_info): Decode wordarray elements.
22115 * locale/categories.def (LC_MONETARY): Add element for
22116 _NL_MONETARY_CRNCYSTR.
22117 * locale/C-monetary.c (conversion_rate): New variable.
22118 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22119 element.
22120
22121 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22122
22123 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22124 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22125
22126 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22127
22128 * elf/Makefile (tst-auxv): New test.
22129 * elf/tst-auxv.c: New
22130 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22131
22132 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22133
22134 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22135 (hidden_proto): Caller changed.
22136 (hidden_tls_proto): New macro.
22137 (libc_hidden_tls_proto): Likewise.
22138 (rtld_hidden_tls_proto): Likewise.
22139 (libm_hidden_tls_proto): Likewise.
22140 (libresolv_hidden_tls_proto): Likewise.
22141 (librt_hidden_tls_proto): Likewise.
22142 (libdl_hidden_tls_proto): Likewise.
22143 (libnss_files_hidden_tls_proto): Likewise.
22144 (libnsl_hidden_tls_proto): Likewise.
22145 (libnss_nisplus_hidden_tls_proto): Likewise.
22146 (libutil_hidden_tls_proto): Likewise.
22147
22148 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22149
22150 [BZ #10253]
22151 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22152 (decompose_rpath): Defer expansion to fillin_rpath.
22153 (_dl_init_paths): Pass linkmap to fillin_rpath.
22154
22155 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22156
22157 * benchtests/Makefile: Add strsep.
22158 * benchtests/bench-strsep.c: New file: strsep benchtest.
22159 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22160
22161 2013-11-18 Andreas Schwab <schwab@suse.de>
22162
22163 * locale/programs/locale.c (show_info) [case byte]: Check for
22164 '\377' instead of '\177'.
22165 * locale/C-monetary.c (not_available): Always use "\377".
22166 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22167 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22168 detect unavailable sign_posn locale elements.
22169 * locale/localeconv.c (__localeconv): For grouping and
22170 mon_grouping handle "\177" and "\377" like no grouping.
22171 (INT_ELEM): New macro. Use it to set all numeric members.
22172 * locale/programs/ld-monetary.c (monetary_read)
22173 <tok_mon_grouping>: Normalize single -1 to the empty string.
22174 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22175 Likewise.
22176
22177 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22178
22179 [BZ #16055]
22180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22181 when we match (nil).
22182 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22183
22184 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22185
22186 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22187 (NO_TEST_INLINE): Update value.
22188 (ERRNO_UNCHANGED): Likewise.
22189 (ERRNO_EDOM): Likewise.
22190 (ERRNO_ERANGE): Likewise.
22191 (IGNORE_RESULT): Likewise.
22192 (check_float_internal): Check signs of NaN results if
22193 TEST_NAN_SIGN used.
22194 (check_complex): Pass TEST_NAN_SIGN flag through to second
22195 check_float_internal call.
22196 (copysign_test_data): Add tests with quiet NaNs as second
22197 argument. Use TEST_NAN_SIGN.
22198 (fabs_test_data): Add test of negative quiet NaN argument. Use
22199 TEST_NAN_SIGN.
22200 (signbit_test_data): Add tests of quiet NaN argument.
22201 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22202
22203 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22204 $ignore_result.
22205 (parse_args): Handle function results specified as IGNORE.
22206 * math/libm-test.inc (IGNORE_RESULT): New macro.
22207 (check_float_internal): Do not check numerical result if flag
22208 IGNORE_RESULT set.
22209 (check_complex): Pass through IGNORE_RESULT to second
22210 check_float_internal call.
22211 (check_int): Do not check numerical result if flag IGNORE_RESULT
22212 set.
22213 (check_long): Likewise.
22214 (check_bool): Likewise.
22215 (check_longlong): Likewise.
22216 (lrint_test_data): Add tests of infinite and NaN arguments.
22217 (lrint_tonearest_test_data): Likewise.
22218 (lrint_towardzero_test_data): Likewise.
22219 (lrint_downward_test_data): Likewise.
22220 (lrint_upward_test_data): Likewise.
22221 (llrint_test_data): Likewise.
22222 (llrint_tonearest_test_data): Likewise.
22223 (llrint_towardzero_test_data): Likewise.
22224 (llrint_downward_test_data): Likewise.
22225 (llrint_upward_test_data): Likewise.
22226 (lround_test_data): Likewise.
22227 (llround_test_data): Likewise.
22228
22229 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22230 (ERRNO_UNCHANGED): Update value.
22231 (ERRNO_EDOM): Likewise.
22232 (ERRNO_ERANGE): Likewise.
22233 (NO_TEST_INLINE_FLOAT): New macro.
22234 (NO_TEST_INLINE_DOUBLE): Likewise.
22235 (enable_test): New function.
22236 (RUN_TEST_f_f): Check enable_test before running test.
22237 (RUN_TEST_2_f): Likewise.
22238 (RUN_TEST_fff_f): Likewise.
22239 (RUN_TEST_c_f): Likewise.
22240 (RUN_TEST_f_f1): Likewise.
22241 (RUN_TEST_fF_f1): Likewise.
22242 (RUN_TEST_fI_f1): Likewise.
22243 (RUN_TEST_ffI_f1): Likewise.
22244 (RUN_TEST_c_c): Likewise.
22245 (RUN_TEST_cc_c): Likewise.
22246 (RUN_TEST_f_i): Likewise.
22247 (RUN_TEST_f_i_tg): Likewise.
22248 (RUN_TEST_ff_i_tg): Likewise.
22249 (RUN_TEST_f_b): Likewise.
22250 (RUN_TEST_f_b_tg): Likewise.
22251 (RUN_TEST_f_l): Likewise.
22252 (RUN_TEST_f_L): Likewise.
22253 (RUN_TEST_fFF_11): Likewise.
22254 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22255 conditionals.
22256 (cosh_test_data): Likewise.
22257 (exp_test_data): Likewise.
22258 (expm1_test_data): Likewise.
22259 (hypot_test_data): Likewise.
22260 (pow_test_data): Likewise.
22261 (sinh_test_data): Likewise.
22262 (tanh_test_data): Likewise.
22263 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22264 flags argument.
22265
22266 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22267 tests with quiet NaN input and output.
22268 (acosh_test_data): Likewise.
22269 (asin_test_data): Likewise.
22270 (asinh_test_data): Likewise.
22271 (atan_test_data): Likewise.
22272 (atanh_test_data): Likewise.
22273 (atan2_test_data): Likewise.
22274 (cbrt_test_data): Likewise.
22275 (cos_test_data): Likewise.
22276 (cosh_test_data): Likewise.
22277 (erf_test_data): Likewise.
22278 (erfc_test_data): Likewise.
22279 (exp_test_data): Likewise.
22280 (exp10_test_data): Likewise.
22281 (exp2_test_data): Likewise.
22282 (expm1_test_data): Likewise.
22283 (hypot_test_data): Likewise.
22284 (j0_test_data): Likewise.
22285 (j1_test_data): Likewise.
22286 (jn_test_data): Likewise.
22287 (lgamma_test_data): Likewise.
22288 (log_test_data): Likewise.
22289 (log10_test_data): Likewise.
22290 (log1p_test_data): Likewise.
22291 (log2_test_data): Likewise.
22292 (pow_test_data): Likewise.
22293 (scalb_test_data): Likewise.
22294 (sin_test_data): Likewise.
22295 (sincos_test_data): Likewise.
22296 (sinh_test_data): Likewise.
22297 (tan_test_data): Likewise.
22298 (tanh_test_data): Likewise.
22299 (tgamma_test_data): Likewise.
22300 (y0_test_data): Likewise.
22301 (y1_test_data): Likewise.
22302 (yn_test_data): Likewise.
22303
22304 [BZ #16167]
22305 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22306 argument being NaN and avoid computations with second argument in
22307 that case.
22308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22309 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22310 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22311
22312 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22313
22314 * locale/iso-639.def: Add Chitwani Tharu (the).
22315
22316 2013-11-14 Andreas Schwab <schwab@suse.de>
22317
22318 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22319 word instead of empty string.
22320
22321 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22322
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22324 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22326 (__fe_nomask_env): Likewise.
22327
22328 2013-11-13 Steve Ellcey <sellcey@mips.com>
22329
22330 * benchtests/bench-timing.h: Include time.h.
22331
22332 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22333
22334 [BZ #15997]
22335 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22336 to 3.4.0 for x32.
22337 * sysdeps/unix/sysv/linux/configure: Regenerated.
22338
22339 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22340
22341 [BZ #16151]
22342 * stdlib/strtod_l.c (round_and_return): Do not consider
22343 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22344 exponent one less than half the least subnormal exponent.
22345 * stdlib/test-strtod-round-data: Add more tests.
22346 * stdlib/tst-strtod-round.c (tests): Regenerated.
22347
22348 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22349
22350 [BZ #14143]
22351 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22352 (__fe_mask_env): Likewise.
22353 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22354 libm_hidden_proto and add function prototype.
22355 (__fe_mask_env): Add function prototype.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22357 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22359 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22361 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22362
22363 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22364
22365 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22366 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22367
22368 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22369
22370 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22371 of htab_find_slot().
22372
22373 2013-11-11 David S. Miller <davem@davemloft.net>
22374
22375 [BZ #16150]
22376 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22377 symbol in the non-vis3 case in static builds.
22378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22382
22383 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22384
22385 [BZ #387]
22386 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22387 it is empty.
22388
22389 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22390
22391 * benchtests/Makefile: Add bench-strtod.
22392 * benchtests/bench-strtod.c: New file: strtod benchtest
22393
22394 2013-11-11 Andreas Schwab <schwab@suse.de>
22395
22396 [BZ #16153]
22397 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22398 terminating NUL in key length.
22399
22400 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22401
22402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22403 Add artificial ODP entry for vDSO symbol for PPC64.
22404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22405 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22406
22407 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22408
22409 [BZ #15374]
22410 * nss/getent.c (services_keys): Recognize services starting with digit.
22411
22412 2013-11-06 David S. Miller <davem@davemloft.net>
22413
22414 [BZ #15985]
22415 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22416 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22417
22418 2013-11-06 Will Newton <will.newton@linaro.org>
22419
22420 * manual/memory.texi (Malloc Examples): Remove register
22421 keyword from examples.
22422
22423 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22424
22425 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22426
22427 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22428
22429 [BZ #6981]
22430 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22431 depending on [__GCC_IEC_559 > 0].
22432 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22433 depending on [__GCC_IEC_559_COMPLEX > 0].
22434
22435 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22436
22437 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22438 to iso-639.def.
22439
22440 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22441
22442 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22443
22444 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22445
22446 [BZ #16112]
22447 * malloc/malloc (malloc_info): Do not handle first bin as
22448 special case.
22449
22450 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22451
22452 * locale/iso-639.def: Add Central Nahuatl (nhn).
22453
22454 2013-11-01 Bruno Haible <bruno@clisp.org>
22455
22456 [BZ #7003]
22457 * manual/math.texi (BSD Random): Specify range upper bound as
22458 in POSIX.
22459
22460 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22461
22462 * locale/iso-639.def: Add Meadow Mari (mhr).
22463
22464 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22465
22466 [BZ #14752], [BZ #15763]
22467 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22468 Validate name.
22469 * rt/tst_shm.c: Add test for escaping directory.
22470
22471 2013-10-31 Andreas Schwab <schwab@suse.de>
22472
22473 [BZ #15917]
22474 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22475 followed by 'x' as part of digit sequence.
22476 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22477
22478 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22479
22480 [BZ #16037]
22481 * configure.ac: allow GNU Make 4.0 and greater.
22482 * configure: Regenerated.
22483
22484 2013-10-30 Will Newton <will.newton@linaro.org>
22485
22486 [BZ #16038]
22487 * malloc/hooks.c (memalign_check): Limit alignment to the
22488 maximum representable power of two.
22489 * malloc/malloc.c (__libc_memalign): Likewise.
22490 * malloc/tst-memalign.c (do_test): Add test for very
22491 large alignment values.
22492 * malloc/tst-posix_memalign.c (do_test): Likewise.
22493
22494 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22495
22496 [BZ #11087]
22497 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22498 (munmap_chunk): Likewise.
22499 (mremap_chunk): Likewise.
22500
22501 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22502
22503 [BZ #15799]
22504 * stdlib/div.c (div): Remove obsolete code.
22505 * stdlib/ldiv.c (ldiv): Likewise.
22506 * stdlib/lldiv.c (lldiv): Likewise.
22507
22508 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22509
22510 [BZ #16071]
22511 * nss/nss_files/files-XXX.c (get_contents_ret): New
22512 enumerator.
22513 (get_contents): New function.
22514 (internal_getent): Use it. Expand size of LINEBUFLEN.
22515
22516 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22517
22518 * configure.in: Moved to ...
22519 * configure.ac: ... here. Change reference to configure.in
22520 to configure.ac.
22521 * sysdeps/arm/preconfigure.ac: ... here.
22522 configure.in to configure.ac.
22523 * sysdeps/gnu/configure.in: Moved to ...
22524 * sysdeps/gnu/configure.ac: ... here.
22525 * sysdeps/i386/configure.in: Moved to ...
22526 * sysdeps/i386/configure.ac: ... here.
22527 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22528 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22529 * sysdeps/mach/configure.in: Moved to ...
22530 * sysdeps/mach/configure.ac: ... here.
22531 * sysdeps/mach/hurd/configure.in: Moved to ...
22532 * sysdeps/mach/hurd/configure.ac: ... here.
22533 * sysdeps/powerpc/configure.in: Moved to ...
22534 * sysdeps/powerpc/configure.ac: ... here.
22535 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22536 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22537 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22538 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22539 * sysdeps/s390/s390-32/configure.in: Moved to ...
22540 * sysdeps/s390/s390-32/configure.ac: ... here.
22541 * sysdeps/s390/s390-64/configure.in: Moved to ...
22542 * sysdeps/s390/s390-64/configure.ac: ... here.
22543 * sysdeps/sh/configure.in: Moved to ...
22544 * sysdeps/sh/configure.ac: ... here.
22545 * sysdeps/sparc/configure.in: Moved to ...
22546 * sysdeps/sparc/configure.ac: ... here.
22547 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22548 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22549 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22550 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22551 * sysdeps/x86_64/configure.in: Moved to ...
22552 * sysdeps/x86_64/configure.ac: ... here.
22553 * sysdeps/x86_64/preconfigure.in: Moved to ...
22554 * sysdeps/x86_64/preconfigure.ac: ... here.
22555 * aclocal.m4: Change reference to configure.in to configure.ac.
22556 * config.h.in: Likewise.
22557 * manual/install.texi: Likewise.
22558 * manual/maint.texi: Likewise.
22559 * Makefile: Likewise.
22560 * malloc/Makefile: Likewise.
22561 * nscd/Makefile: Likewise.
22562 * Makeconfig: Change reference to configure.in and
22563 preconfigure.in to configure.ac and preconfigure.ac
22564 respectively.
22565 * INSTALL: Regenerated.
22566 * configure: Likewise.
22567 * sysdeps/gnu/configure: Likewise.
22568 * sysdeps/i386/configure: Likewise.
22569 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22570 * sysdeps/mach/configure: Likewise.
22571 * sysdeps/mach/hurd/configure: Likewise.
22572 * sysdeps/powerpc/configure: Likewise.
22573 * sysdeps/powerpc/powerpc32/configure: Likewise.
22574 * sysdeps/powerpc/powerpc64/configure: Likewise.
22575 * sysdeps/s390/s390-32/configure: Likewise.
22576 * sysdeps/s390/s390-64/configure: Likewise.
22577 * sysdeps/sh/configure: Likewise.
22578 * sysdeps/sparc/configure: Likewise.
22579 * sysdeps/unix/sysv/linux/configure: Likewise.
22580 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22581 * sysdeps/x86_64/configure: Likewise.
22582 * sysdeps/x86_64/preconfigure: Likewise.
22583
22584 2013-10-29 Andreas Schwab <schwab@suse.de>
22585
22586 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22587
22588 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22589
22590 * benchtests/pow-inputs: Add new inputs.
22591
22592 * benchtests/exp-inputs: Add new inputs.
22593
22594 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22595 conditional check for return value.
22596 (__cos32): Likewise.
22597
22598 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22599
22600 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22601 to provide a boost for large inputs with word alignment.
22602 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22603 implementation based on optimized PPC64 strcpy.
22604 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22605 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22606 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22607 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22608
22609 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22610
22611 [BZ #2801]
22612 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22613
22614 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22615
22616 [BZ #14876]
22617 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22618 * time/tst-strptime.c (day_tests): Add testcase.
22619
22620 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22621
22622 [BZ #14029]
22623 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22624
22625 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22626
22627 [BZ #16074]
22628 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22629 MAP_FAILED on error.
22630
22631 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22632
22633 [BZ #16072]
22634 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22635 heap for large requests.
22636
22637 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22638
22639 [BZ #9954]
22640 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22641 result if the result has no associated interface.
22642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22643 interface for all 127.X.Y.Z addresses.
22644
22645 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22646
22647 * locale/iso-639.def: Add Ligurian (lij)
22648
22649 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22650
22651 [BZ #15825]
22652 * sunrpc/rpc_main.c: Document rpcgen -5.
22653
22654 2013-10-19 Michael Stahl <mstahl@redhat.com>
22655
22656 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22657
22658 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22659
22660 [BZ #10278]
22661 * posix/glob.c: Match only directories when trailing slash is present.
22662 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22663 (main): Add testcase.
22664
22665 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22666
22667 [BZ #15670]
22668 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22669
22670 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22671
22672 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22673 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22674 AUTH_DES and cindex for FIPS 140-2.
22675 (DES Encryption): Add cindex FIPS 46-3.
22676
22677 * locale/locarchive.h (struct locarhandle): Add fname.
22678 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22679 if an optional argument was specified to --list-archive,
22680 otherwise NULL.
22681 * locale/programs/locarchive.c (show_archive_content): Take new
22682 argument fname and pass it via ah.fname to open_archive.
22683 * locale/programs/localedef.h: Update decl.
22684 (open_archive): If AH->fname is non-null, open that file
22685 rather than the default file name, and don't ignore ENOENT.
22686 (create_archive): Set AH.fname to NULL.
22687 (delete_locales_from_archive): Likewise.
22688 (add_locales_to_archive): Likewise.
22689 * locale/programs/locfile.c (write_all_categories): Likewise.
22690
22691 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22692 Aldy Hernandez <aldyh@redhat.com>
22693
22694 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22695 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22696 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22697 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22698 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22699 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22701 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22702 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22703 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22705 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22706 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22707 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22708 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22709 Likewise.
22710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22711 Likewise.
22712 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22713 Likewise.
22714 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22715 Likewise.
22716 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22717 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22718 Likewise.
22719 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22720 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22721 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22722 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22723 Likewise.
22724 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22725 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22726 * sysdeps/powerpc/preconfigure: Likewise.
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22728 Likewise.
22729 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22730 Replace contents of file by #include of <fenv_libc.h>.
22731 * sysdeps/powerpc/soft-fp/sfp-machine.h
22732 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22733 and <sys/prctl.h>.
22734 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22747 Allow copysignl PLT reference to be missing.
22748
22749 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22750 Joseph Myers <joseph@codesourcery.com
22751
22752 [BZ #15948]
22753 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22754 single character.
22755 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22756
22757 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22758
22759 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22760 * elf/tst-tls1.c: Likewise.
22761 * elf/tst-tls10.h: Likewise.
22762 * elf/tst-tls14.c: Likewise.
22763 * elf/tst-tls2.c: Likewise.
22764 * elf/tst-tls3.c: Likewise.
22765 * elf/tst-tls4.c: Likewise.
22766 * elf/tst-tls5.c: Likewise.
22767 * elf/tst-tls6.c: Likewise.
22768 * elf/tst-tls7.c: Likewise.
22769 * elf/tst-tls8.c: Likewise.
22770 * elf/tst-tls9.c: Likewise.
22771 * elf/tst-tlsmod1.c: Likewise.
22772 * elf/tst-tlsmod13.c: Likewise.
22773 * elf/tst-tlsmod13a.c: Likewise.
22774 * elf/tst-tlsmod14a.c: Likewise.
22775 * elf/tst-tlsmod16a.c: Likewise.
22776 * elf/tst-tlsmod16b.c: Likewise.
22777 * elf/tst-tlsmod2.c: Likewise.
22778 * elf/tst-tlsmod3.c: Likewise.
22779 * elf/tst-tlsmod4.c: Likewise.
22780 * elf/tst-tlsmod5.c: Likewise.
22781 * elf/tst-tlsmod6.c: Likewise.
22782
22783 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22784
22785 [BZ #12486]
22786 * malloc/malloc.c: remove checks for statistics.
22787
22788 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22789
22790 [BZ #15277]
22791 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22792 * inet/tst-network.c: Add testcase.
22793
22794 2013-10-17 Andreas Schwab <schwab@suse.de>
22795
22796 [BZ #15218]
22797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22798 to determine canonical name.
22799
22800 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22801
22802 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22803 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22817 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22826 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22827 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22832 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22840 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22842 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22860
22861 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22862
22863 [BZ #16041]
22864 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22865 make result into a quiet NaN.
22866
22867 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22868
22869 * soft-fp/adddf3.c: Fix horizontal whitespace.
22870 * soft-fp/addsf3.c: Likewise.
22871 * soft-fp/addtf3.c: Likewise.
22872 * soft-fp/divdf3.c: Likewise.
22873 * soft-fp/divsf3.c: Likewise.
22874 * soft-fp/divtf3.c: Likewise.
22875 * soft-fp/double.h: Likewise.
22876 * soft-fp/eqdf2.c: Likewise.
22877 * soft-fp/eqsf2.c: Likewise.
22878 * soft-fp/eqtf2.c: Likewise.
22879 * soft-fp/extenddftf2.c: Likewise.
22880 * soft-fp/extended.h: Likewise.
22881 * soft-fp/extendsfdf2.c: Likewise.
22882 * soft-fp/extendsftf2.c: Likewise.
22883 * soft-fp/extendxftf2.c: Likewise.
22884 * soft-fp/fixdfdi.c: Likewise.
22885 * soft-fp/fixdfsi.c: Likewise.
22886 * soft-fp/fixdfti.c: Likewise.
22887 * soft-fp/fixsfdi.c: Likewise.
22888 * soft-fp/fixsfsi.c: Likewise.
22889 * soft-fp/fixsfti.c: Likewise.
22890 * soft-fp/fixtfdi.c: Likewise.
22891 * soft-fp/fixtfsi.c: Likewise.
22892 * soft-fp/fixtfti.c: Likewise.
22893 * soft-fp/fixunsdfdi.c: Likewise.
22894 * soft-fp/fixunsdfsi.c: Likewise.
22895 * soft-fp/fixunsdfti.c: Likewise.
22896 * soft-fp/fixunssfdi.c: Likewise.
22897 * soft-fp/fixunssfsi.c: Likewise.
22898 * soft-fp/fixunssfti.c: Likewise.
22899 * soft-fp/fixunstfdi.c: Likewise.
22900 * soft-fp/fixunstfsi.c: Likewise.
22901 * soft-fp/fixunstfti.c: Likewise.
22902 * soft-fp/floatdidf.c: Likewise.
22903 * soft-fp/floatdisf.c: Likewise.
22904 * soft-fp/floatditf.c: Likewise.
22905 * soft-fp/floatsidf.c: Likewise.
22906 * soft-fp/floatsisf.c: Likewise.
22907 * soft-fp/floatsitf.c: Likewise.
22908 * soft-fp/floattidf.c: Likewise.
22909 * soft-fp/floattisf.c: Likewise.
22910 * soft-fp/floattitf.c: Likewise.
22911 * soft-fp/floatundidf.c: Likewise.
22912 * soft-fp/floatundisf.c: Likewise.
22913 * soft-fp/floatunditf.c: Likewise.
22914 * soft-fp/floatunsidf.c: Likewise.
22915 * soft-fp/floatunsisf.c: Likewise.
22916 * soft-fp/floatunsitf.c: Likewise.
22917 * soft-fp/floatuntidf.c: Likewise.
22918 * soft-fp/floatuntisf.c: Likewise.
22919 * soft-fp/floatuntitf.c: Likewise.
22920 * soft-fp/fmadf4.c: Likewise.
22921 * soft-fp/fmasf4.c: Likewise.
22922 * soft-fp/fmatf4.c: Likewise.
22923 * soft-fp/gedf2.c: Likewise.
22924 * soft-fp/gesf2.c: Likewise.
22925 * soft-fp/getf2.c: Likewise.
22926 * soft-fp/ledf2.c: Likewise.
22927 * soft-fp/lesf2.c: Likewise.
22928 * soft-fp/letf2.c: Likewise.
22929 * soft-fp/muldf3.c: Likewise.
22930 * soft-fp/mulsf3.c: Likewise.
22931 * soft-fp/multf3.c: Likewise.
22932 * soft-fp/negdf2.c: Likewise.
22933 * soft-fp/negsf2.c: Likewise.
22934 * soft-fp/negtf2.c: Likewise.
22935 * soft-fp/op-1.h: Likewise.
22936 * soft-fp/op-2.h: Likewise.
22937 * soft-fp/op-4.h: Likewise.
22938 * soft-fp/op-8.h: Likewise.
22939 * soft-fp/op-common.h: Likewise.
22940 * soft-fp/quad.h: Likewise.
22941 * soft-fp/single.h: Likewise.
22942 * soft-fp/soft-fp.h: Likewise.
22943 * soft-fp/sqrtdf2.c: Likewise.
22944 * soft-fp/sqrtsf2.c: Likewise.
22945 * soft-fp/sqrttf2.c: Likewise.
22946 * soft-fp/subdf3.c: Likewise.
22947 * soft-fp/subsf3.c: Likewise.
22948 * soft-fp/subtf3.c: Likewise.
22949 * soft-fp/truncdfsf2.c: Likewise.
22950 * soft-fp/trunctfdf2.c: Likewise.
22951 * soft-fp/trunctfsf2.c: Likewise.
22952 * soft-fp/trunctfxf2.c: Likewise.
22953 * soft-fp/unorddf2.c: Likewise.
22954 * soft-fp/unordsf2.c: Likewise.
22955 * soft-fp/unordtf2.c: Likewise.
22956
22957 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22958
22959 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22960 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22961
22962 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22963
22964 * elf/dl-libc.c: Clear initfini list after freeing.
22965
22966 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22967
22968 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22969 * soft-fp/addsf3.c: Likewise.
22970 * soft-fp/addtf3.c: Likewise.
22971 * soft-fp/divdf3.c: Likewise.
22972 * soft-fp/divsf3.c: Likewise.
22973 * soft-fp/divtf3.c: Likewise.
22974 * soft-fp/double.h: Likewise.
22975 * soft-fp/eqdf2.c: Likewise.
22976 * soft-fp/eqsf2.c: Likewise.
22977 * soft-fp/eqtf2.c: Likewise.
22978 * soft-fp/extenddftf2.c: Likewise.
22979 * soft-fp/extended.h: Likewise.
22980 * soft-fp/extendsfdf2.c: Likewise.
22981 * soft-fp/extendsftf2.c: Likewise.
22982 * soft-fp/extendxftf2.c: Likewise.
22983 * soft-fp/fixdfdi.c: Likewise.
22984 * soft-fp/fixdfsi.c: Likewise.
22985 * soft-fp/fixdfti.c: Likewise.
22986 * soft-fp/fixsfdi.c: Likewise.
22987 * soft-fp/fixsfsi.c: Likewise.
22988 * soft-fp/fixsfti.c: Likewise.
22989 * soft-fp/fixtfdi.c: Likewise.
22990 * soft-fp/fixtfsi.c: Likewise.
22991 * soft-fp/fixtfti.c: Likewise.
22992 * soft-fp/fixunsdfdi.c: Likewise.
22993 * soft-fp/fixunsdfsi.c: Likewise.
22994 * soft-fp/fixunsdfti.c: Likewise.
22995 * soft-fp/fixunssfdi.c: Likewise.
22996 * soft-fp/fixunssfsi.c: Likewise.
22997 * soft-fp/fixunssfti.c: Likewise.
22998 * soft-fp/fixunstfdi.c: Likewise.
22999 * soft-fp/fixunstfsi.c: Likewise.
23000 * soft-fp/fixunstfti.c: Likewise.
23001 * soft-fp/floatdidf.c: Likewise.
23002 * soft-fp/floatdisf.c: Likewise.
23003 * soft-fp/floatditf.c: Likewise.
23004 * soft-fp/floatsidf.c: Likewise.
23005 * soft-fp/floatsisf.c: Likewise.
23006 * soft-fp/floatsitf.c: Likewise.
23007 * soft-fp/floattidf.c: Likewise.
23008 * soft-fp/floattisf.c: Likewise.
23009 * soft-fp/floattitf.c: Likewise.
23010 * soft-fp/floatundidf.c: Likewise.
23011 * soft-fp/floatundisf.c: Likewise.
23012 * soft-fp/floatunsidf.c: Likewise.
23013 * soft-fp/floatunsisf.c: Likewise.
23014 * soft-fp/floatuntidf.c: Likewise.
23015 * soft-fp/floatuntisf.c: Likewise.
23016 * soft-fp/floatuntitf.c: Likewise.
23017 * soft-fp/fmadf4.c: Likewise.
23018 * soft-fp/fmasf4.c: Likewise.
23019 * soft-fp/fmatf4.c: Likewise.
23020 * soft-fp/gedf2.c: Likewise.
23021 * soft-fp/gesf2.c: Likewise.
23022 * soft-fp/getf2.c: Likewise.
23023 * soft-fp/ledf2.c: Likewise.
23024 * soft-fp/lesf2.c: Likewise.
23025 * soft-fp/letf2.c: Likewise.
23026 * soft-fp/muldf3.c: Likewise.
23027 * soft-fp/mulsf3.c: Likewise.
23028 * soft-fp/multf3.c: Likewise.
23029 * soft-fp/negdf2.c: Likewise.
23030 * soft-fp/negsf2.c: Likewise.
23031 * soft-fp/negtf2.c: Likewise.
23032 * soft-fp/op-1.h: Likewise.
23033 * soft-fp/op-2.h: Likewise.
23034 * soft-fp/op-4.h: Likewise.
23035 * soft-fp/op-8.h: Likewise.
23036 * soft-fp/op-common.h: Likewise.
23037 * soft-fp/quad.h: Likewise.
23038 * soft-fp/single.h: Likewise.
23039 * soft-fp/soft-fp.h: Likewise.
23040 * soft-fp/sqrtdf2.c: Likewise.
23041 * soft-fp/sqrtsf2.c: Likewise.
23042 * soft-fp/sqrttf2.c: Likewise.
23043 * soft-fp/subdf3.c: Likewise.
23044 * soft-fp/subsf3.c: Likewise.
23045 * soft-fp/subtf3.c: Likewise.
23046 * soft-fp/truncdfsf2.c: Likewise.
23047 * soft-fp/trunctfdf2.c: Likewise.
23048 * soft-fp/trunctfsf2.c: Likewise.
23049 * soft-fp/trunctfxf2.c: Likewise.
23050 * soft-fp/unorddf2.c: Likewise.
23051 * soft-fp/unordsf2.c: Likewise.
23052 * soft-fp/unordtf2.c: Likewise.
23053
23054 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23055
23056 [BZ #15672]
23057 * misc/error.c (error_tail): Fix possible buffer overflow.
23058
23059 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23060
23061 [BZ #13028]
23062 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23063 address.
23064
23065 2013-10-14 P. J. McDermott <pj@pehjota.net>
23066
23067 [BZ #832]
23068 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23069 testing pipefail option.
23070
23071 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23072
23073 * soft-fp/double.h: Indent preprocessor directives inside #if.
23074 * soft-fp/extended.h: Likewise.
23075 * soft-fp/op-2.h: Likewise.
23076 * soft-fp/op-4.h: Likewise.
23077 * soft-fp/op-common.h: Likewise.
23078 * soft-fp/quad.h: Likewise.
23079 * soft-fp/single.h: Likewise.
23080 * soft-fp/soft-fp.h: Likewise.
23081
23082 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23083
23084 * iconv/iconv_prog.c: Fix typos.
23085 * stdio-common/psiginfo-data.h: Likewise.
23086
23087 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23088
23089 [BZ #15764]
23090 * locale/setlocale.c: Fix typo.
23091
23092 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23093
23094 [BZ #16036]
23095 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23096 signaling NaN arguments.
23097 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23098 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23099
23100 [BZ #14910]
23101 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23102 unordered operands.
23103 * soft-fp/gesf2.c (__gesf2): Likewise.
23104 * soft-fp/getf2.c (__getf2): Likewise.
23105 * soft-fp/ledf2.c (__ledf2): Likewise.
23106 * soft-fp/lesf2.c (__lesf2): Likewise.
23107 * soft-fp/letf2.c (__letf2): Likewise.
23108
23109 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23110 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23111 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23112 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23113 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23114 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23115 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23116 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23117 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23118 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23119 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23120 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23121 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23122 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23123 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23124 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23125 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23126 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23127 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23128 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23129 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23130 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23131 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23132 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23133 * soft-fp/floattidf.c (__floattidf): Likewise.
23134 * soft-fp/floattisf.c (__floattisf): Likewise.
23135 * soft-fp/floattitf.c (__floattitf): Likewise.
23136 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23137 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23138 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23139 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23140 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23141 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23142 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23143 * soft-fp/gesf2.c (__gesf2): Likewise.
23144 * soft-fp/getf2.c (__getf2): Likewise.
23145 * soft-fp/ledf2.c (__ledf2): Likewise.
23146 * soft-fp/lesf2.c (__lesf2): Likewise.
23147 * soft-fp/letf2.c (__letf2): Likewise.
23148
23149 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23150 Undefine and redefine.
23151 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23152 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23153 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23154 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23155 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23156 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23157 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23158 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23159 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23160 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23161 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23162 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23163 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23164 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23165 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23166
23167 [BZ #16032]
23168 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23169 without decrementing exponent if mantissa >= that for the
23170 denominator, not >.
23171 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23172 denominator, not >. Decrement exponent in < case instead of
23173 incrementing in >= case.
23174 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23175 without decrementing exponent if mantissa >= that for the
23176 denominator, not >.
23177
23178 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23179 computing saturated result for unsigned overflow.
23180
23181 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23182 Jeff Law <law@redhat.com>
23183
23184 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23185 (atan2Mp): Add systemtap probe marker.
23186 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23187 (__ieee754_log): Add systemtap probe marker.
23188 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23189 (atanMp): Add systemtap probe marker.
23190 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23191 (tanMp): Add systemtap probe marker.
23192 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23193 (__slowexp): Add systemtap probe marker.
23194 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23195 (__slowpow): Add systemtap probe marker.
23196 * manual/probes.texi: Document probes.
23197
23198 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23199
23200 [BZ #15362]
23201 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23202 written.
23203 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23204 written.
23205 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23206 written to buffer but not flushed.
23207 * libio/iofwrite_u.c: Likewise.
23208 * libio/iopadn.c: Return bytes returned even if EOF was
23209 encountered.
23210 * libio/iowpadn.c: Likewise.
23211 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23212 if _IO_padn does not write the whole buffer.
23213 [!COMPILE_WPRINTF] (PAD): Likewise.
23214
23215 2013-10-10 David S. Miller <davem@davemloft.net>
23216
23217 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23218 directory block.
23219
23220 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23221
23222 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23223 instead of FSF address.
23224 * soft-fp/fixdfti.c: Likewise.
23225 * soft-fp/fixsfti.c: Likewise.
23226 * soft-fp/fixtfti.c: Likewise.
23227 * soft-fp/fixunsdfti.c: Likewise.
23228 * soft-fp/fixunssfti.c: Likewise.
23229 * soft-fp/fixunstfti.c: Likewise.
23230 * soft-fp/floattidf.c: Likewise.
23231 * soft-fp/floattisf.c: Likewise.
23232 * soft-fp/floattitf.c: Likewise.
23233 * soft-fp/floatuntidf.c: Likewise.
23234 * soft-fp/floatuntisf.c: Likewise.
23235 * soft-fp/floatuntitf.c: Likewise.
23236 * soft-fp/trunctfxf2.c: Likewise.
23237
23238 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23239 * soft-fp/fixdfti.c: Likewise.
23240 * soft-fp/fixsfti.c: Likewise.
23241 * soft-fp/fixtfti.c: Likewise.
23242 * soft-fp/fixunsdfti.c: Likewise.
23243 * soft-fp/fixunssfti.c: Likewise.
23244 * soft-fp/fixunstfti.c: Likewise.
23245 * soft-fp/floattidf.c: Likewise.
23246 * soft-fp/floattisf.c: Likewise.
23247 * soft-fp/floattitf.c: Likewise.
23248 * soft-fp/floatuntidf.c: Likewise.
23249 * soft-fp/floatuntisf.c: Likewise.
23250 * soft-fp/floatuntitf.c: Likewise.
23251 * soft-fp/trunctfxf2.c: Likewise.
23252
23253 2013-10-10 David S. Miller <davem@davemloft.net>
23254
23255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23256
23257 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23258
23259 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23260 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23261 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23262 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23263 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23264 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23265 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23266
23267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23268 for NaNs before doing comparisons on argument.
23269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23270 Likewise.
23271
23272 2013-10-10 Will Newton <will.newton@linaro.org>
23273
23274 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23275 passed to _int_memalign does not overflow.
23276
23277 2013-10-10 Torvald Riegel <triegel@redhat.com>
23278
23279 * scripts/bench.pl: Add include-sources directive.
23280 * benchtests/README: Update documentation.
23281
23282 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23283
23284 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23285 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23286 instead of FP_INIT_ROUNDMODE.
23287 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23288 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23289
23290 [BZ #16034]
23291 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23292 copy class of input value.
23293 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23294 not handle exceptions.
23295 * soft-fp/negsf2.c (__negsf2): Likewise.
23296 * soft-fp/negtf2.c (__negtf2): Likewise.
23297 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23298
23299 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23300
23301 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23302 semicolon. From Linux kernel.
23303
23304 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23305
23306 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23307
23308 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23309
23310 [BZ #156]
23311 * manual/socket.texi: Added statement about buffer
23312 for gethostbyname2_r.
23313
23314 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23315
23316 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23317 Use .p2align directive instead, throughout.
23318 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23319 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23320 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23323 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23324 * sysdeps/x86_64/strchr.S: Likewise.
23325 * sysdeps/x86_64/strrchr.S: Likewise.
23326
23327 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23328
23329 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23330
23331 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23332
23333 * sysdeps/generic/math_private.h (__mpsin1): Remove
23334 declaration.
23335 (__mpcos1): Likewise.
23336 (__mpsin): New argument __range_reduce.
23337 (__mpcos): Likewise.
23338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23339 (slow): Use __mpsin and __mpcos.
23340 (slow1): Likewise.
23341 (slow2): Likewise.
23342 (sloww): Likewise.
23343 (sloww1): Likewise.
23344 (sloww2): Likewise.
23345 (bsloww): Likewise.
23346 (bsloww1): Likewise.
23347 (bsloww2): Likewise.
23348 (cslow2): Likewise.
23349 (csloww): Likewise.
23350 (csloww1): Likewise.
23351 (csloww2): Likewise.
23352 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23353 range_reduce. Merge in __mpsin1.
23354 (__mpcos): Likewise.
23355 (__mpsin1): Remove.
23356 (__mpcos1): Likewise.
23357
23358 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23359
23360 * locale/loadlocale.c (_nl_intern_locale_data): Use
23361 LOCFILE_ALIGNED_P.
23362 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23363 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23364 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23365 obstack data is appropriately aligned.
23366 (obstack_int32_grow_fast): Likewise.
23367 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23368 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23369 (add_locale_uint32_array): Likewise.
23370
23371 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23372
23373 * benchtests/Makefile: Remove ARGLIST and RET variables.
23374 ($(objpfx)bench-%.c): Pass only function name to the script.
23375 * benchtests/README: Update documentation.
23376 * benchtests/acos-inputs: Add new directives.
23377 * benchtests/acosh-inputs: Likewise.
23378 * benchtests/asin-inputs: Likewise.
23379 * benchtests/asinh-inputs: Likewise.
23380 * benchtests/atan-inputs: Likewise.
23381 * benchtests/atanh-inputs: Likewise.
23382 * benchtests/cos-inputs: Likewise.
23383 * benchtests/cosh-inputs: Likewise.
23384 * benchtests/exp-inputs: Likewise.
23385 * benchtests/log-inputs: Likewise.
23386 * benchtests/pow-inputs: Likewise.
23387 * benchtests/rint-inputs: Likewise.
23388 * benchtests/sin-inputs: Likewise.
23389 * benchtests/sinh-inputs: Likewise.
23390 * benchtests/tan-inputs: Likewise.
23391 * benchtests/tanh-inputs: Likewise.
23392 * scripts/bench.pl: Add support for new directives.
23393
23394 2013-10-07 Alan Modra <amodra@gmail.com>
23395
23396 * README: Fix careless merge.
23397
23398 2013-10-05 Alan Modra <amodra@gmail.com>
23399
23400 * NEWS: Mention powerpc64le support and bugs fixed.
23401 * README: Both big-endian and little-endian powerpc64 supported.
23402
23403 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23404
23405 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23406 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23407 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23408 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23409
23410 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23411
23412 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23413 match prototype.
23414
23415 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23416
23417 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23418 Move -mhard-float appending from
23419 ports/sysdeps/powerpc/powerpc32/Makefile.
23420 [$(with-fp) = yes] (ASFLAGS): Likewise.
23421 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23422 * sysdeps/powerpc/nofpu: Move directory from
23423 ports/sysdeps/powerpc/nofpu.
23424 * sysdeps/powerpc/soft-fp: Move directory from
23425 ports/sysdeps/powerpc/soft-fp.
23426 * sysdeps/powerpc/powerpc32/405: Move directory from
23427 ports/sysdeps/powerpc/powerpc32/405.
23428 * sysdeps/powerpc/powerpc32/440: Move directory from
23429 ports/sysdeps/powerpc/powerpc32/440.
23430 * sysdeps/powerpc/powerpc32/464: Move directory from
23431 ports/sysdeps/powerpc/powerpc32/464.
23432 * sysdeps/powerpc/powerpc32/476: Move directory from
23433 ports/sysdeps/powerpc/powerpc32/476.
23434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23444 * README: Update for powerpc-*-linux-gnu software floating point
23445 support in libc.
23446
23447 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23448 case to powerpc/powerpc32*.
23449 * sysdeps/unix/sysv/linux/configure: Regenerated.
23450
23451 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23452 (_FPU_MASK_OM): Define as 0x04.
23453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23455 0x00c10080.
23456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23457 0x0000003c.
23458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23459
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23461 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23462 getcontext_e500.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23464 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23465 setcontext_e500.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23467 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23468 and setcontext_e500.
23469
23470 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23471
23472 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23473
23474 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23475
23476 * manual/threads.texi (Default Thread Attributes): Fix typo.
23477
23478 2013-10-04 Will Newton <will.newton@linaro.org>
23479
23480 * malloc/Makefile: Add tst-memalign.
23481 * malloc/tst-memalign.c: New file.
23482
23483 * malloc/tst-posix_memalign.c: Add comments.
23484 (do_test): Add comments and call free on all potentially
23485 allocated pointers. Add space after cast.
23486
23487 * malloc/tst-pvalloc.c: Add comments.
23488 (do_test): Add comments and call free on all potentially
23489 allocated pointers. Remove duplicate check for NULL pointer.
23490 Add space after cast.
23491
23492 * malloc/tst-valloc.c: Add comments.
23493 (do_test): Add comments and call free on all potentially
23494 allocated pointers. Remove duplicate check for NULL pointer.
23495 Add space after cast.
23496
23497 2013-10-04 Alan Modra <amodra@gmail.com>
23498
23499 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23500 Use stdint types in rather than __attribute__((mode())).
23501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23502
23503 2013-10-04 Alan Modra <amodra@gmail.com>
23504
23505 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23506 Correct handling of unaligned relocs for little-endian.
23507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23508
23509 2013-10-04 Alan Modra <amodra@gmail.com>
23510
23511 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23512 * configure: Regenerate.
23513 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23514 * shlib-versions: Likewise.
23515
23516 2013-10-04 Alan Modra <amodra@gmail.com>
23517
23518 * string/tester.c (test_memrchr): Increment reported test cycle.
23519
23520 2013-10-04 Alan Modra <amodra@gmail.com>
23521
23522 * string/test-memcpy.c (do_one_test): When reporting errors, print
23523 string address and don't overrun end of string.
23524
23525 2013-10-04 Alan Modra <amodra@gmail.com>
23526
23527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23528 insrdi. Make better use of reg selection to speed exit slightly.
23529 Schedule entry path a little better. Remove useless "are we done"
23530 checks on entry to main loop. Handle wrapping around zero address.
23531 Correct main loop count. Handle single left-over word from main
23532 loop inline rather than by using loop_small. Remove extra word
23533 case in loop_small caused by wrong loop count. Add little-endian
23534 support.
23535 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23537 cache hint.
23538 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23539 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23540 support. Avoid rlwimi.
23541 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23542
23543 2013-10-04 Alan Modra <amodra@gmail.com>
23544
23545 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23546 insrdi. Formatting.
23547 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23548 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23550 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23551 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23552 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23553
23554 2013-10-04 Alan Modra <amodra@gmail.com>
23555
23556 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23557 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23559 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23560 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23564 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23565 use of regs. Use power7 mtocrf. Tidy function tails.
23566
23567 2013-10-04 Alan Modra <amodra@gmail.com>
23568
23569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23570 Formatting. Consistently use rXXX register defines or rN defines.
23571 Use early exit labels that avoid restoring unused non-volatile regs.
23572 Make cr field use more consistent with rWORDn compares. Rename
23573 regs used as shift registers for unaligned loop, using rN defines
23574 for short lifetime/multiple use regs.
23575 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23577 addi 1,1,64 to pop stack frame. Simplify return value code.
23578 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23579
23580 2013-10-04 Alan Modra <amodra@gmail.com>
23581
23582 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23583 support. Correct typos, formatting. Optimize tail. Use insrdi
23584 rather than rlwimi.
23585 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23587 little-endian support. Correct typos.
23588 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23589 rather than rlwimi.
23590 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23591 in loop and entry code to keep "and." results.
23592 (strchr): Add little-endian support. Comment. Move cntlzd
23593 earlier in tail.
23594 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23595
23596 2013-10-04 Alan Modra <amodra@gmail.com>
23597
23598 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23599 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23600 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23601 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23602
23603 2013-10-04 Alan Modra <amodra@gmail.com>
23604
23605 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23606 (rTMP): Define as r11.
23607 (strcmp): Add little-endian support. Optimise tail.
23608 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23609 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23610 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23612 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23615
23616 2013-10-04 Alan Modra <amodra@gmail.com>
23617
23618 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23619 little-endian support. Remove unnecessary "are we done" tests.
23620 Handle "s" wrapping around zero and extremely large "size".
23621 Correct main loop count. Handle single left-over word from main
23622 loop inline rather than by using small_loop. Correct comments.
23623 Delete "zero" tail, use "end_max" instead.
23624 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23625
23626 2013-10-04 Alan Modra <amodra@gmail.com>
23627
23628 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23629 support. Don't branch over align.
23630 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23631 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23632 support. Rearrange tmp reg use to suit. Comment.
23633 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23634
23635 2013-10-04 Alan Modra <amodra@gmail.com>
23636
23637 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23638
23639 2013-10-04 Alan Modra <amodra@gmail.com>
23640
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23642 conditional form of branch and link when obtaining pc.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23644
23645 2013-10-04 Alan Modra <amodra@gmail.com>
23646
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23648 HIWORD/LOWORD.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23651
23652 2013-10-04 Alan Modra <amodra@gmail.com>
23653
23654 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23655 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23656 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23657 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23658 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23659 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23660 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23661 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23662 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23663 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23664
23665 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23666 Alistair Popple <alistair@ozlabs.au.ibm.com>
23667 Alan Modra <amodra@gmail.com>
23668
23669 [BZ #15723]
23670 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23671 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23672 _dl_hwcap access for little-endian.
23673 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23674 destroy vmx regs when saving unaligned.
23675 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23676 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23677 destroy vmx regs when saving unaligned.
23678
23679 2013-10-04 Alan Modra <amodra@gmail.com>
23680
23681 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23682 Don't use a union to pack hi/low value.
23683
23684 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23685
23686 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23687 for little-endian.
23688 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23690 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23691 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23692 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23693
23694 2013-10-04 Alan Modra <amodra@gmail.com>
23695
23696 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23697 constants to usual value for .cst8 section, and remove redundant
23698 high address load.
23699 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23700 constant for 0x1p52. Load little-endian words of double from
23701 correct stack offsets.
23702
23703 2013-10-04 Alan Modra <amodra@gmail.com>
23704
23705 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23706 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23707 words of double from correct stack offsets.
23708 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23709 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23710 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23715 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23716 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23720 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23721 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23722 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23724 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23725
23726 2013-10-04 Alan Modra <amodra@gmail.com>
23727
23728 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23729 64-bit int/double union.
23730 (_FPU_SETCW): Likewise.
23731 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23732 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23733
23734 2013-10-04 Alan Modra <amodra@gmail.com>
23735
23736 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23737 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23738
23739 2013-10-04 Alan Modra <amodra@gmail.com>
23740
23741 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23742 use vector int constants.
23743 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23744
23745 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23746
23747 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23748 array with long long.
23749 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23750 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23751 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23752 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23753 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23754 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23755 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23756 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23757 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23758 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23759 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23760 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23761 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23762
23763 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23764
23765 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23766 (__signbit): Likewise. Correct for little-endian.
23767 (__signbitl): Call __signbit.
23768 (lrint): Correct for little-endian.
23769 (lrintf): Call lrint.
23770
23771 2013-10-04 Alan Modra <amodra@gmail.com>
23772
23773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23774 union 32-bit int array member with 64-bit int array.
23775 (t515, tm256): Double rather than long double.
23776 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23777
23778 2013-10-04 Alan Modra <amodra@gmail.com>
23779
23780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23781 Delete.
23782 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23783 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23784 version of math_ldbl.h.
23785
23786 2013-10-04 Alan Modra <amodra@gmail.com>
23787
23788 [BZ #15734], [BZ #15735]
23789 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23790 all uses of ieee875 long double macros and unions. Simplify test
23791 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23792 ldbl_extract_mantissa value for ix,iy exponents. Properly
23793 normalize after ldbl_extract_mantissa, and don't add hidden bit
23794 already handled. Don't treat low word of ieee854 mantissa like
23795 low word of IBM long double and mask off bit when testing for
23796 zero.
23797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23798 all uses of ieee875 long double macros and unions. Simplify tests
23799 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23800 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23801 two1022, instead use their values. Recognise that tests for large
23802 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23803 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23804 Rewrite all uses of ieee875 long double macros and unions. Simplify
23805 test for 0.0L and nan. Correct negation.
23806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23807 ieee875 long double macros and unions. Correct output for large
23808 magnitude x. Correct absolute value calculation.
23809 (__erfcl): Likewise.
23810 * math/libm-test.inc: Add tests for errors discovered in IBM long
23811 double versions of fmodl, remainderl, erfl and erfcl.
23812
23813 2013-10-04 Alan Modra <amodra@gmail.com>
23814
23815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23816 all uses of ieee854 long double macros and unions. Simplify tests
23817 for long doubles that are fully specified by the high double.
23818 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23819 Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23821 Remove dead code too.
23822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23823 (__ieee754_ynl): Likewise.
23824 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23827 Remove dead code too.
23828 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23829 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23832 Simplify.
23833 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23834 Simplify.
23835 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23838 Comment on variable precision.
23839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23841 Likewise.
23842 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23845 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23847
23848 2013-10-04 Alan Modra <amodra@gmail.com>
23849
23850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23852 all uses of ieee854 long double macros and unions.
23853 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23857 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23859 Likewise.
23860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23865 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23866 Simplify sign and nan test too.
23867 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23868 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23870 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23871 Likewise.
23872 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23874 Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23881
23882 2013-10-04 Alan Modra <amodra@gmail.com>
23883
23884 * stdio-common/printf_size.c (__printf_size): Don't use
23885 union ieee854_long_double in fpnum union.
23886 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23887 signbit macro to retrieve sign from long double.
23888 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23889 retrieve sign from long double.
23890 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23891 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23892 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23893 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23894 * math/test-misc.c (main): Don't use union ieee854_long_double.
23895
23896 2013-10-04 Alan Modra <amodra@gmail.com>
23897
23898 [BZ #15680]
23899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23900 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23901 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23902 calculation. Remove unnecessary test for denormal exponent.
23903 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23904 Correct handling of denormals. Avoid undefined shift behaviour.
23905 Correct normalisation of low mantissa when low double is denormal.
23906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23907 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23908 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23909 Correct normalisation of low mantissa. Test for overflow of high
23910 mantissa and normalise.
23911 (ldbl_nearbyint): Use more readable constant for two52.
23912 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23913 (__mpn_construct_long_double): Fix test for overflow of high
23914 mantissa and correct normalisation. Avoid undefined shift.
23915
23916 2013-10-04 Alan Modra <amodra@gmail.com>
23917
23918 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23919 (union ibm_extended_long_double): Define as an array of ieee754_double.
23920 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23921 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23922 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23931
23932 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23933
23934 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23935 page size instead of calling getpagesize.
23936
23937 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23938 (LOCFILE_ALIGN_MASK): Likewise.
23939 (LOCFILE_ALIGN_UP): Likewise.
23940 (LOCFILE_ALIGNED_P): Likewise.
23941 * locale/programs/ld-collate.c (collate_output): Use the new
23942 macros instead of __alignof__ (int32_t).
23943 * locale/weight.h (findidx): Likewise.
23944
23945 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23946
23947 [BZ #431]
23948 * manual/string.texi: Fix strncat and wcsncat.
23949
23950 2013-10-03 Brooks Moses <bmoses@google.com>
23951
23952 [BZ #15915]
23953 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23954 * Makerules: ...here, and adjust associated comments.
23955
23956 2013-10-02 Will Newton <will.newton@linaro.org>
23957
23958 * malloc/Makefile: Add tst-pvalloc.
23959 * malloc/tst-pvalloc.c: New file.
23960
23961 2013-10-02 Will Newton <will.newton@linaro.org>
23962
23963 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23964 improve test coverage.
23965
23966 2013-10-02 Will Newton <will.newton@linaro.org>
23967
23968 * malloc/Makefile: Add tst-posix_memalign.
23969 * malloc/tst-posix_memalign.c: New file.
23970
23971 2013-10-01 Eric Blake <eblake@redhat.com>
23972
23973 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23974 Use __THROWNL rather than __THROW on static functions.
23975
23976 2013-09-30 Petr Machata <pmachata@redhat.com>
23977
23978 * elf/elf.h (R_AARCH64_ABS16): New macro.
23979 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23980 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23981 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23982 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23983 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23984 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23985 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23986 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23987 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23988 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23989 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23990 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23991 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23992 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23993 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23994 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23995 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23996 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23997 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23998 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23999 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24000 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24001 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24002 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24003 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24004 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24005 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24006 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24007 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24008 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24009 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24010 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24011 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24012 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24013 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24014 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24015 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24016 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24017 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24018 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24019 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24020 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24021 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24022 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24023 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24024 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24025 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24026 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24027 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24028 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24029 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24030 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24031 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24032 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24033 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24034 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24035 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24036 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24037 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24038 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24039 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24040 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24041 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24042 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24043 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24044 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24045 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24046 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24047 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24048 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24049 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24050 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24051 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24052 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24053 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24054 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24055 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24056 (R_AARCH64_TLSDESC_LDR): Likewise.
24057 (R_AARCH64_TLSDESC_ADD): Likewise.
24058 (R_AARCH64_TLSDESC_CALL): Likewise.
24059
24060 2013-09-30 Andreas Schwab <schwab@suse.de>
24061
24062 [BZ #15048]
24063 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24064 the nss database lookup.
24065 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24067
24068 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24069
24070 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24071
24072 2013-09-28 P. J. McDermott <pj@pehjota.net>
24073
24074 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24075 ${Bash-specific parameter/pattern/string} parameter expansion.
24076 * sysdeps/unix/make-syscalls.sh: Likewise.
24077
24078 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24079
24080 * sysdeps/sh/stackguard-macros.h: New file.
24081
24082 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24083
24084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24086 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24089 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24090
24091 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24092
24093 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24094 Fix thread ID register.
24095
24096 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24097
24098 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24099 [POSIX || UNIX98]: Require rather than permitting all symbols from
24100 <time.h>.
24101 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24102 element of struct sched_param.
24103 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24104 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24105 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24106 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24107 constant.
24108
24109 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24110
24111 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24112 argument calculation.
24113
24114 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24115
24116 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24117 Expect macro.
24118 [POSIX] (pthread_attr_t): Do not require type.
24119 [POSIX] (pthread_cond_t): Likewise.
24120 [POSIX] (pthread_condattr_t): Likewise.
24121 [POSIX] (pthread_key_t): Likewise.
24122 [POSIX] (pthread_mutex_t): Likewise.
24123 [POSIX] (pthread_mutexattr_t): Likewise.
24124 [POSIX] (pthread_once_t): Likewise.
24125 [POSIX] (pthread_t): Likewise.
24126 [POSIX-based standards] (pthread_atfork): Expect function.
24127
24128 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24129 Richard Sandiford <richard@codesourcery.com>
24130
24131 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24132 (swap_endianness_p): New extern variable.
24133 (set_big_endian): New inline function.
24134 (maybe_swap_uint32): Likewise.
24135 (maybe_swap_uint32_array): Likewise.
24136 (maybe_swap_uint32_obstack): Likewise.
24137 * locale/programs/locfile.c: Include <stdbool.h>.
24138 (swap_endianness_p): New variable.
24139 (add_locale_uint32): Call maybe_swap_uint32.
24140 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24141 (write_locale_data): Call maybe_swap_uint32_array.
24142 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24143 maybe_swap_uint32.
24144 (obstack_int32_grow_fast): Likewise.
24145 (output_weightwc): Call maybe_swap_uint32_obstack.
24146 (collate_output): Likewise.
24147 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24148 (OPT_LITTLE_ENDIAN): Likewise.
24149 (options): Add --little-endian and --big-endian options.
24150 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24151 * locale/programs/locarchive.c: Include "locfile.h".
24152 (GET): New macro.
24153 (SET): Likewise.
24154 (INC): Likewise.
24155 (create_archive): Use the new macros to access fields of
24156 structures directly mapped from or written to locale archives.
24157 (oldlocrecentcmp): Likewise.
24158 (enlarge_archive): Likewise.
24159 (insert_name): Likewise.
24160 (add_alias): Likewise.
24161 (add_locale): Likewise.
24162 (delete_locales_from_archive): Likewise.
24163 (show_archive_content): Likewise.
24164 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24165 locale data.
24166
24167 2013-09-24 Roland McGrath <roland@hack.frob.com>
24168
24169 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24170 http://www.gnu.org/doc/freemanuals.texi.
24171 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24172
24173 2013-09-24 Will Newton <will.newton@linaro.org>
24174
24175 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24176 macro.
24177
24178 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24179
24180 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24181 unsigned char.
24182
24183 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24184
24185 * manual/threads.texi (POSIX Threads): Fix a typo.
24186
24187 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24188
24189 [BZ #14547]
24190 * string/tst-strcoll-overflow.c: New test case.
24191 * string/Makefile (xtests): Add tst-strcoll-overflow.
24192 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24193 cache if string sizes may cause integer overflow.
24194
24195 [BZ #14547]
24196 * string/strcoll_l.c (coll_seq): New members rule, idx,
24197 save_idx and back_us.
24198 (get_next_seq_nocache): New function.
24199 (do_compare_nocache): New function.
24200 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24201 when malloc fails.
24202
24203 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24204
24205 [BZ #15754]
24206 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24207 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24208 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24209
24210 [BZ #15754]
24211 * elf/Makefile (tests): Add tst-ptrguard1.
24212 (tests-static): Add tst-ptrguard1-static.
24213 (tst-ptrguard1-ARGS): Define.
24214 (tst-ptrguard1-static-ARGS): Define.
24215 * elf/tst-ptrguard1.c: New file.
24216 * elf/tst-ptrguard1-static.c: New file.
24217 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24218 * sysdeps/i386/stackguard-macros.h: Likewise.
24219 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24220 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24221 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24222 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24223 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24224 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24225
24226 2013-09-23 Hector Marco <hecmargi@upv.es>
24227 Ismael Ripoll <iripoll@disca.upv.es>
24228 Carlos O'Donell <carlos@redhat.com>
24229
24230 [BZ #15754]
24231 * sysdeps/generic/stackguard-macros.h: Define
24232 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24233 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24234 Define __pointer_chk_guard_local.
24235 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24236 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24237
24238 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24239
24240 [BZ #15859]
24241 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24242
24243 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24244
24245 * include/string.h (__ffs): Declare as hidden.
24246 * string/ffs.c (__ffs): Define as hidden.
24247 * sysdeps/i386/ffs.c (__ffs): Likewise.
24248 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24249 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24250 * sysdeps/s390/ffs.c (__ffs): Likewise.
24251 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24252
24253 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24254
24255 * NEWS: Mention malloc probes.
24256
24257 * malloc/arena.c (new_heap): New memory_heap_new probe.
24258 (grow_heap): New memory_heap_more probe.
24259 (shrink_heap): New memory_heap_less probe.
24260 (heap_trim): New memory_heap_free probe.
24261 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24262 (systrim): New memory_sbrk_less probe.
24263 * manual/probes.texi: Document them.
24264
24265 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24266 * manual/probes.texi: Document it.
24267
24268 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24269 (__libc_realloc): Add memory_realloc_retry probe.
24270 (__libc_memalign): Add memory_memalign_retry probe.
24271 (__libc_valloc): Add memory_valloc_retry probe.
24272 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24273 (__libc_calloc): Add memory_calloc_retry probe.
24274 * manual/probes.texi: Document them.
24275
24276 * malloc/arena.c (get_free_list): Add probe
24277 memory_arena_reuse_free_list.
24278 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24279 and memory_arena_reuse.
24280 (arena_get2) [!PER_THREAD]: Likewise.
24281 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24282 memory_arena_reuse_realloc.
24283 * manual/probes.texi: Document them.
24284
24285 * malloc/malloc.c (__libc_free): Add
24286 memory_mallopt_free_dyn_thresholds probe.
24287 (__libc_mallopt): Add multiple memory_mallopt probes.
24288 * manual/probes.texi: Document them.
24289
24290 * malloc/malloc.c: Include stap-probe.h.
24291 (__libc_mallopt): Add memory_mallopt probe.
24292 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24293 * manual/probes.texi: New.
24294 * manual/Makefile (chapters): Add probes.
24295 * manual/threads.texi: Set next node.
24296
24297 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24298
24299 [BZ #15963, #13985]
24300 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24301 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24302 Add `Chinese' to `nan' entry name.
24303
24304 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24305
24306 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24307 (POLYNOMIAL): Likewise.
24308 (TAYLOR_SINCOS): Likewise.
24309 (TAYLOR_SLOW): Likewise.
24310 (__sin): Use TAYLOR_SINCOS.
24311 (__cos): Likewise.
24312 (slow): Use TAYLOR_SLOW.
24313 (sloww): Likewise.
24314 (bsloww): Likewise.
24315 (csloww): Likewise.
24316
24317 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24318
24319 * stdlib/strtod_l.c: Fix buffer overrun.
24320
24321 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24322
24323 * benchtests/Makefile (bench): Add sincos.
24324 * benchtests/bench-sincos.c: New file.
24325
24326 * math/libm-test.inc (cos_test_data): New test inputs.
24327 (sin_test_data): Likewise.
24328
24329 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24330 macro.
24331 (__sin): Use it.
24332 (__cos): Likewise.
24333 (slow1): Likewise.
24334 (slow2): Likewise.
24335 (sloww1): Likewise.
24336 (sloww2): Likewise.
24337 (bsloww1): Likewise.
24338 (bsloww2): Likewise.
24339 (cslow2): Likewise.
24340 (csloww1): Likewise.
24341 (csloww2): Likewise.
24342
24343 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24344 function.
24345 (__sin): Use it.
24346 (__cos): Likewise.
24347
24348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24349 gotos.
24350 (__cos): Likewise.
24351
24352 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24353
24354 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24355 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24356 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24357 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24358 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24359 * elf/cache.c (print_entry): Handle the new cache flags.
24360
24361 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24362 Aldy Hernandez <aldyh@redhat.com>
24363
24364 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24365 Change condition to [_SOFT_FLOAT].
24366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24378 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24381 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24382 declaration.
24383
24384 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24385
24386 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24387 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24388 (__longjmp): Use LOAD_GP to load saved GPRs.
24389 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24390 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24391 (__sigsetjmp): Use SAVE_GP to save GPRs.
24392
24393 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24394 Do not append -msoft-float.
24395 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24396
24397 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24398
24399 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24400
24401 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24402
24403 [BZ #15966]
24404 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24405 (_FPU_GETCW): Use initial "__" on variable and field names but not
24406 on macro parameter name.
24407 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24408 parentheses around reference to macro parameter.
24409
24410 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24411
24412 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24413 prototype.
24414 (ctype_startup): Use uint32_t in cast and sizeof for
24415 ctype->charnames.
24416
24417 2013-09-11 Jia Liu <proljc@gmail.com>
24418
24419 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24420 __daddr_t_defined.
24421 [__FreeBSD__]: Likewise.
24422
24423 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24424
24425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24426 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24427 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24428 (strchr): Remove __strchr_sse42 ifunc selection.
24429 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24430 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24431
24432 2013-09-11 Will Newton <will.newton@linaro.org>
24433
24434 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24435 parameter to RES. Remove hardcoded 1000 value.
24436 * benchtests/bench-skeleton.c (main): Pass RES parameter
24437 to TIMING_INIT and multiply result by 1000.
24438
24439 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24440
24441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24442
24443 2013-09-11 Andreas Schwab <schwab@suse.de>
24444
24445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24446 if not defined.
24447 (O_TMPFILE) [__USE_GNU]: Define.
24448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24449 Define.
24450
24451 2013-09-11 Will Newton <will.newton@linaro.org>
24452
24453 [BZ #15857]
24454 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24455 does not overflow.
24456
24457 2013-09-11 Will Newton <will.newton@linaro.org>
24458
24459 [BZ #15856]
24460 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24461 does not overflow.
24462
24463 2013-09-11 Will Newton <will.newton@linaro.org>
24464
24465 [BZ #15855]
24466 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24467 does not overflow.
24468
24469 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24470
24471 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24472 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24475 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24476
24477 2013-09-10 Allan McRae <allan@archlinux.org>
24478
24479 [BZ #15748]
24480 * manual/arith.texi (Parsing of Floats): Clarify
24481 cross-reference.
24482
24483 [BZ #15849]
24484 * manual/install.texi (Running make install): Mention
24485 --enable-pt-chown.
24486 * INSTALL: Regenerated.
24487
24488 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24489
24490 * csu/init-first.c (_init): Remove the !SHARED condition around
24491 FPU control word initialization.
24492 * elf/dl-support.c (_dl_fpu_control): New variable.
24493 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24494 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24495 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24496 * math/test-fpucw-static.c: New file.
24497 * math/test-fpucw-ieee.c: New file.
24498 * math/test-fpucw-ieee-static.c: New file.
24499 * math/Makefile (tests): Add `test-fpucw-ieee' and
24500 `$(tests-static)'.
24501 (tests-static): New variable.
24502 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24503 dependency to...
24504 [($(build-shared),yes)]
24505 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24506 ... this.
24507 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24508 New dependency.
24509
24510 2013-09-09 Allan McRae <allan@archlinux.org>
24511
24512 [BZ #15939]
24513 * manual/string.texi (Collation Functions): Fix typo in
24514 strcoll example.
24515 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24516
24517 [BZ #15893]
24518 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24519
24520 [BZ #15892]
24521 * libio/memstream.c (open_memstream): Fix memory leak.
24522 * libio/wmemstream.c (open_wmemstream): Likewise.
24523
24524 [BZ #15895]
24525 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24526
24527 2013-09-09 Will Newton <will.newton@linaro.org>
24528
24529 * malloc/Makefile: Add tst-realloc to tests.
24530 * malloc/tst-realloc.c: New file.
24531
24532 2013-09-09 Allan McRae <allan@archlinux.org>
24533
24534 [BZ #15844]
24535 * COPYING: Update from GNU website to fix FSF address.
24536 * COPYING.LIB: Likewise.
24537
24538 2013-09-06 David S. Miller <davem@davemloft.net>
24539
24540 * po/zh_TW.po: Update Chinese (traditional) translation from
24541 translation project.
24542
24543 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24544 Joseph Myers <joseph@codesourcery.com>
24545
24546 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24547 "localeinfo.h".
24548 (obstack_chunk_alloc): New macro.
24549 (obstack_chunk_free): Likewise.
24550 (record_offset): New function.
24551 (init_locale_data): Likewise.
24552 (align_locale_data): Likewise.
24553 (add_locale_empty): Likewise.
24554 (add_locale_raw_data): Likewise.
24555 (add_locale_raw_obstack): Likewise.
24556 (add_locale_string): Likewise.
24557 (add_locale_wstring): Likewise.
24558 (add_locale_uint32): Likewise.
24559 (add_locale_uint32_array): Likewise.
24560 (add_locale_char): Likewise.
24561 (start_locale_structure): Likewise.
24562 (end_locale_structure): Likewise.
24563 (start_locale_prelude): Likewise.
24564 (end_locale_prelude): Likewise.
24565 (write_locale_data): Take locale_file structure rather than an
24566 iovec.
24567 * locale/programs/locfile.h: Include "obstack.h".
24568 (struct locale_file): Change to store locale file contents instead
24569 of header.
24570 (init_locale_data): New prototype.
24571 (align_locale_data): Likewise.
24572 (add_locale_empty): Likewise.
24573 (add_locale_raw_data): Likewise.
24574 (add_locale_raw_obstack): Likewise.
24575 (add_locale_string): Likewise.
24576 (add_locale_wstring): Likewise.
24577 (add_locale_uint32): Likewise.
24578 (add_locale_uint32_array): Likewise.
24579 (add_locale_char): Likewise.
24580 (start_locale_structure): Likewise.
24581 (end_locale_structure): Likewise.
24582 (start_locale_prelude): Likewise.
24583 (end_locale_prelude): Likewise.
24584 (write_locale_data): Update prototype.
24585 * locale/programs/3level.h (struct TABLE): Remove result field.
24586 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24587 Use new locale_file interface.
24588 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24589 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24590 * locale/programs/ld-address.c (address_output): Use new
24591 locale_file interface.
24592 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24593 NO_ADD_LOCALE.
24594 (collate_finish): Don't call collseq_table_finalize.
24595 (collate_output): Use new locale_file interface.
24596 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24597 in file.
24598 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24599 (TABLE): Move defines earlier in file.
24600 (ELEMENT): Likewise.
24601 (DEFAULT): Likewise.
24602 (wctrans_table_add): Move macro and inline function earlier in
24603 file.
24604 (struct wctype_table): Move type earlier in file.
24605 (add_locale_wctype_table): New static prototype.
24606 (struct locale_ctype_t): Use logical types instead of struct iovec
24607 pointers for members.
24608 (ctype_output): Use new locale_file interface.
24609 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24610 new locale_file interface.
24611 (allocate_arrays): Update for use of new locale_file interface.
24612 * locale/programs/ld-identification.c (identification_output): Use
24613 new locale_file interface.
24614 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24615 * locale/programs/ld-messages.c (messages_output): Likewise.
24616 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24617 * locale/programs/ld-name.c (name_output): Likewise.
24618 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24619 * locale/programs/ld-paper.c (paper_output): Likewise.
24620 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24621 * locale/programs/ld-time.c (time_output): Likewise.
24622
24623 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24624
24625 * benchtests/Makefile: Add memrchr benchmark.
24626 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24627 benchmark as memrchr.
24628 * benchtests/bench-memrchr-ifunc.c: New file.
24629 * benchtests/bench-memrchr.c: New file.
24630
24631 2013-09-06 Will Newton <will.newton@linaro.org>
24632
24633 * benchtests/Makefile (string-bench): Add memcpy.
24634
24635 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24636 Cong Wang <amwang@redhat.com>
24637
24638 [BZ #15850]
24639 * sysdeps/unix/sysv/linux/bits/in.h
24640 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24641 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24642 before __USE_KERNEL_IPV6_DEFS uses.
24643 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24644 IPPROTO_BEETPH.
24645 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24646 sockaddr_in6, or ipv6_mreq.
24647
24648 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24649
24650 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24651 memory access for final bytes in some large inputs.
24652 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24653
24654 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24655
24656 * string/test-memrchr.c: New file.
24657 * string/test-memrchr-ifunc.c: New file.
24658 * string/Makefile: Add new memrchr testcase.
24659
24660 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24661
24662 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24663 fanotify_init returns EPERM.
24664
24665 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24666
24667 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24668 errors.
24669 (top level): Treat second token from macro or constant entries for
24670 allowed headers as allowed.
24671 * include/complex.h: Condition internal declarations on
24672 [!_ISOMAC].
24673 * include/fenv.h: Condition include of <stdbool.h> and internal
24674 declarations on [!_ISOMAC].
24675
24676 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24677
24678 [BZ #15923]
24679 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24680
24681 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24682
24683 * configure.in (--enable-versioning): Remove configure option.
24684 (libc_cv_asm_symver_directive): Remove configure test.
24685 (libc_cv_ld_version_script_option): Likewise.
24686 (VERSIONING): Remove variable and AC_SUBST.
24687 (DO_VERSIONING): Remove AC_DEFINE.
24688 * configure: Regenerated.
24689 * config.h.in (DO_VERSIONING): Remove macro.
24690 * Makerules [$(versioning) = yes]: Change conditionals to
24691 [$(build-shared) = yes].
24692 * config.make.in (versioning): Remove variable.
24693 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24694 [$(build-shared) = yes].
24695 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24696 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24697 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24698 [$(build-shared) = yes].
24699 * extra-lib.mk [$(versioning) = yes]: Likewise.
24700 * hurd/Makefile [$(versioning) = yes]: Likewise.
24701 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24702 [SHARED].
24703 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24704 [SHARED].
24705 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24706 [SHARED && !NO_HIDDEN].
24707 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24708 [SHARED].
24709 [SHARED && DO_VERSIONING]: Likewise..
24710 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24711 [$(build-shared) = yes].
24712 * manual/install.texi (--disable-versioning): Remove
24713 documentation.
24714 * INSTALL: Regenerated.
24715 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24716 to [SHARED].
24717 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24718 [$(build-shared) = yes].
24719 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24720 * sysdeps/i386/i686/multiarch/strstr-c.c
24721 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24722 [SHARED && !NO_HIDDEN].
24723 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24724 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24725 * sysdeps/powerpc/powerpc32/dl-machine.c
24726 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24727 * sysdeps/powerpc/powerpc32/sysdep.h
24728 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24729 to [SHARED && PIC && !NO_HIDDEN].
24730 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24731 conditional to [SHARED].
24732
24733 2013-09-04 Will Newton <will.newton@linaro.org>
24734
24735 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24736 * benchtests/bench-string.h: Include bench-timing.h instead
24737 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24738 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24739 call to HP_TIMING_DIFF_INIT.
24740 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24741 instead of hp-timing.h macros.
24742 * benchtests/bench-memchr.c: Likewise.
24743 * benchtests/bench-memcmp.c: Likewise.
24744 * benchtests/bench-memcpy.c: Likewise.
24745 * benchtests/bench-memmem.c: Likewise.
24746 * benchtests/bench-memmove.c: Likewise.
24747 * benchtests/bench-memset.c: Likewise.
24748 * benchtests/bench-rawmemchr.c: Likewise.
24749 * benchtests/bench-strcasecmp.c: Likewise.
24750 * benchtests/bench-strcasestr.c: Likewise.
24751 * benchtests/bench-strcat.c: Likewise.
24752 * benchtests/bench-strchr.c: Likewise.
24753 * benchtests/bench-strcmp.c: Likewise.
24754 * benchtests/bench-strcpy.c: Likewise.
24755 * benchtests/bench-strcpy_chk.c: Likewise.
24756 * benchtests/bench-strlen.c: Likewise.
24757 * benchtests/bench-strncasecmp.c: Likewise.
24758 * benchtests/bench-strncat.c: Likewise.
24759 * benchtests/bench-strncmp.c: Likewise.
24760 * benchtests/bench-strncpy.c: Likewise.
24761 * benchtests/bench-strnlen.c: Likewise.
24762 * benchtests/bench-strpbrk.c: Likewise.
24763 * benchtests/bench-strrchr.c: Likewise.
24764 * benchtests/bench-strspn.c: Likewise.
24765 * benchtests/bench-strstr.c: Likewise.
24766
24767 2013-09-04 Will Newton <will.newton@linaro.org>
24768
24769 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24770
24771 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24772
24773 [BZ #15427]
24774 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24775 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24776 * math/libm-test.inc (lgamma_test_data): Add more tests.
24777 * sysdeps/i386/fpu/libm-test-ulps: Update.
24778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24779
24780 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24781
24782 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24784 Add ifunc.
24785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24786 Add strcmp-sse2-unaligned
24787 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24788
24789 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24790
24791 * Versions.def (libc): Add GLIBC_2.19.
24792
24793 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24794
24795 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24796 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24797
24798 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24799
24800 [BZ #14155]
24801 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24802 intermediate calculations in recurrence.
24803 (__ieee754_ynf): Likewise.
24804 * math/libm-test.inc (jn_test_data): Do not allow spurious
24805 underflow exception. Add more tests.
24806 (yn_test_data): Add more tests.
24807 * sysdeps/i386/fpu/libm-test-ulps: Update.
24808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24809
24810 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24811
24812 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24813
24814 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24815
24816 * csu/init-first.c: Fix then/than typos.
24817 * locale/programs/ld-collate.c: Likewise.
24818 * locale/programs/linereader.h: Likewise.
24819 * manual/charset.texi: Likewise.
24820 * manual/filesys.texi: Likewise.
24821 * manual/stdio.texi: Likewise.
24822 * manual/string.texi: Likewise.
24823 * stdlib/fmtmsg.c: Likewise.
24824 * sysdeps/i386/stpncpy.S: Likewise.
24825 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24826 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24829
24830 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24831
24832 * elf/dl-open.c: Fix typos.
24833 * iconvdata/gbbig5.c: Likewise.
24834 * iconvdata/iso-2022-jp.c: Likewise.
24835 * iconv/gconv_int.h: Likewise.
24836 * iconv/loop.c: Likewise.
24837 * nis/rpcsvc/nis.h: Likewise.
24838 * resolv/ns_name.c: Likewise.
24839 * stdio-common/vfscanf.c: Likewise.
24840 * streams/stropts.h: Likewise.
24841 * sunrpc/rpc_thread.c: Likewise.
24842 * sysdeps/i386/strpbrk.S: Likewise.
24843 * sysdeps/ieee754/k_standard.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24846 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24847 * sysdeps/mach/hurd/profil.c: Likewise.
24848 * sysdeps/s390/dl-procinfo.h: Likewise.
24849 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24851 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24852 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24854
24855 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24856
24857 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24859
24860 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24861
24862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24863 aix specific files.
24864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24865 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24867 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24868 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24869 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24870 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24871 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24872
24873 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24874 Roland McGrath <roland@hack.frob.com>
24875
24876 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24877 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24878
24879 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24880
24881 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24882 __executable_start symbol instead of _start.
24883
24884 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24885
24886 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24887 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24888 Move macros to...
24889 * sysdeps/gnu/ldsodefs.h: ... this new file.
24890
24891 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24892 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24893 instead of ELFOSABI_LINUX.
24894
24895 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24896 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24897 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24898 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24899 Likewise.
24900 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24901 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24902 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24903 Likewise.
24904 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24905 (ibm_extended_long_double): Add ieee_nan member.
24906 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24907 (do_test): New function.
24908
24909 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24910 TEST_TRUNC.
24911 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24912 functions, renamed from truncdfsf_test, trunctfsf_test,
24913 trunctfdf_test.
24914 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24915 functions.
24916 (do_test): Run all these.
24917
24918 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24919
24920 * argp/argp-help.c: Fix typos.
24921 * argp/argp-parse.c: Likewise.
24922 * debug/backtracesyms.c: Likewise.
24923 * elf/elf.h: Likewise.
24924 * malloc/malloc.c: Likewise.
24925 * nis/nis_print.c: Likewise.
24926 * resolv/res_comp.c: Likewise.
24927 * stdlib/stdlib.h: Likewise.
24928 * sunrpc/clnt_tcp.c: Likewise.
24929 * sunrpc/clnt_udp.c: Likewise.
24930 * sunrpc/clnt_unix.c: Likewise.
24931 * sysdeps/unix/bsd/ptsname.c: Likewise.
24932 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24933 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24935 Likewise.
24936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24937 Likewise.
24938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24939 Likewise.
24940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24941
24942 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24943
24944 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24946
24947 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24948
24949 [BZ #15897]
24950 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24951 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24952 ($(objpfx)bug-dl-leaf): New rule.
24953 ($(objpfx)bug-dl-leaf.so): Likewise.
24954 ($(objpfx)bug-dl-leaf.out): Likewise.
24955 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24956 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24957 * dlfcn/bug-dl-leaf.c: New test.
24958 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24959 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24960 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24961 (dlclose): Likewise.
24962 (dlmopen): Likewise.
24963
24964 2013-08-27 Roland McGrath <roland@hack.frob.com>
24965
24966 * include/netdb.h [!_ISOMAC]:
24967 Don't include <tls.h>.
24968 (h_errno, __libc_h_errno): Move declaration and macros out of
24969 [_LIBC_REENTRANT].
24970
24971 * include/resolv.h [_RESOLV_H_]:
24972 Don't include <tls.h>.
24973 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24974 * resolv/res_libc.c: Don't include <tls.h>.
24975 (_res): Use __attribute__ ((nocommon)) in place of
24976 __attribute__ ((section (".bss"))).
24977
24978 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24979 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24980
24981 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24982
24983 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24984 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24985
24986 * resolv/res_mkquery.c: Include <sys/time.h>.
24987
24988 * inet/ifreq.c: Moved to ...
24989 * sysdeps/unix/ifreq.c: ... here.
24990 * inet/ifreq.c: New file, true stub version.
24991
24992 * socket/sa_len.c: New file.
24993 * socket/Makefile (aux): Add it.
24994 * sysdeps/unix/sysv/linux/Makefile
24995 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24996 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24997 and #include <socket/sa_len.c>.
24998 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24999 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25000
25001 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25002 * bits/socket.h: ... here.
25003
25004 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25005 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25006 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25007
25008 2013-08-27 Andreas Schwab <schwab@suse.de>
25009
25010 [BZ #15736]
25011 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25012 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25013 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25014 * string/test-strcasecmp.c (test_main): Run tests in several
25015 locales.
25016 * string/test-strncasecmp.c (test_main): Likewise.
25017
25018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25019 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25020 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25022 (__strncasecmp_ssse3) [PIC]: Likewise.
25023
25024 2013-08-26 Roland McGrath <roland@hack.frob.com>
25025
25026 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25027
25028 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25029 instead of explicitly declaring xdecrypt.
25030 * nis/nss_nis/nis-publickey.c: Likewise.
25031
25032 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25033
25034 [BZ #15890]
25035 * nscd/aicache.c: Include res_hconf.h.
25036 (addhstaiX): Initialize res_hconf.
25037
25038 2013-08-26 Andreas Schwab <schwab@suse.de>
25039
25040 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25041 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25042
25043 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25044
25045 * nscd/aicache.c (addhstaiX): Fix indentation.
25046
25047 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25048
25049 * configure.ac: Quote $build_pt_chown test.
25050 * configure: Regenerated.
25051
25052 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25053
25054 [BZ #15532]
25055 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25056 * math/s_cexpf.c (__cexpf): Likewise.
25057 * math/s_cexpl.c (__cexpl): Likewise.
25058 * math/libm-test.inc (cexp_test_data): Correct expected return
25059 value for NaN + i0. Add another test.
25060
25061 2013-08-22 David S. Miller <davem@davemloft.net>
25062
25063 * po/ca.po: Update Catalan translation from translation project.
25064 * po/uk.po: Add Ukrainian translations from translation project.
25065
25066 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25067
25068 [BZ #15797]
25069 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25070 is infinite, not alongside NaN test.
25071 * math/s_fdimf.c (__fdimf): Likewise.
25072 * math/s_fdiml.c (__fdiml): Likewise.
25073 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25074 errno is unchanged.
25075
25076 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25077
25078 * argp/argp-help.c: Fix typos.
25079 * crypt/speeds.c: Likewise.
25080 * csu/check_fds.c: Likewise.
25081 * elf/dl-load.c: Likewise.
25082 * elf/dl-open.c: Likewise.
25083 * elf/reldep3.c: Likewise.
25084 * elf/reldep.c: Likewise.
25085 * elf/sprof.c: Likewise.
25086 * iconv/iconv_charmap.c: Likewise.
25087 * iconv/skeleton.c: Likewise.
25088 * iconv/strtab.c: Likewise.
25089 * io/lockf64.c: Likewise.
25090 * libio/libioP.h: Likewise.
25091 * resolv/gai_notify.c: Likewise.
25092 * resolv/ns_name.c: Likewise.
25093 * resolv/ns_samedomain.c: Likewise.
25094 * resolv/res_send.c: Likewise.
25095 * stdlib/random.c: Likewise.
25096 * sunrpc/rpc/xdr.h: Likewise.
25097 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25098 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25099 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25100 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25103 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25105 * sysdeps/mach/hurd/check_fds.c: Likewise.
25106 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25107 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25110 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25112 * sysdeps/pthread/aio_notify.c: Likewise.
25113 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25114 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25115 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25117 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25118
25119 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25120
25121 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25122 version if bit_Slow_SSE4_2 is set.
25123 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25124 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25125
25126 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25127
25128 [BZ #15867]
25129 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25130 trampoline stack frame information.
25131 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25133 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25134 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25135 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25136 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25137 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25138 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25139 sa_flags value.
25140 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25141 interrupting a syscall and set with option SA_SIGINFO.
25142
25143 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25144
25145 [BZ #15531]
25146 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25147 argument is infinite.
25148 * math/s_cprojf.c (__cprojf): Likewise.
25149 * math/s_cprojl.c (__cprojl): Likewise.
25150 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25151 * math/libm-test.inc (cproj_test_data): Add more tests.
25152
25153 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25154
25155 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25156 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25157 size. Use __ffs to determine corresponding shift.
25158
25159 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25160 Roland McGrath <roland@hack.frob.com>
25161
25162 * Makefile (INSTALL): Remove trailing blank lines from output of
25163 makeinfo.
25164
25165 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25166
25167 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25168 Align 32 bit compat elf_greg to 8 bytes.
25169
25170 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25171
25172 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25173
25174 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25175
25176 * string/strcoll_l.c (coll_seq): New structure.
25177 (get_next_seq_cached): New function.
25178 (get_next_seq): New function.
25179 (do_compare): New function.
25180 (STRCOLL): Use GNU style definition. Simplify implementation
25181 by using get_next_seq, get_next_seq_cached and do_compare.
25182
25183 2013-08-16 Florian Weimer <fweimer@redhat.com>
25184
25185 [BZ #14699]
25186 CVE-2013-4237
25187 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25188 member.
25189 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25190 member.
25191 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25192 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25193 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25194 conditional.
25195 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25196 GETDENTS_64BIT_ALIGNED.
25197 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25198 * manual/filesys.texi (Reading/Closing Directory): Document
25199 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25200 strongly.
25201 * manual/conf.texi (Limits for Files): Add portability note to
25202 NAME_MAX, PATH_MAX.
25203 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25204
25205 2013-08-13 Andreas Schwab <schwab@suse.de>
25206
25207 [BZ #15749]
25208 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25209 of fabs.
25210 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25211 LDBL_MAX_EXP >= 16384]: Add tests for it.
25212
25213 2013-08-12 David S. Miller <davem@davemloft.net>
25214
25215 * version.h (RELEASE): Set to "development".
25216 (VERSION): Set to "2.18.90".
25217 * NEWS: Add 2.19 section.
25218
25219 2013-08-03 David S. Miller <davem@davemloft.net>
25220
25221 * po/ko.po: Update Korean translation from translation project.
25222
25223 2013-08-01 David S. Miller <davem@davemloft.net>
25224
25225 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25226 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25227 Bilka.
25228
25229 2013-07-30 David S. Miller <davem@davemloft.net>
25230
25231 * po/fr.po: Update French translation from translation project.
25232
25233 2013-07-28 David S. Miller <davem@davemloft.net>
25234
25235 * po/cs.po: Update Czech translation from translation project.
25236
25237 * po/sv.po: Update Swedish translation from translation project.
25238
25239 2013-07-27 David S. Miller <davem@davemloft.net>
25240
25241 * po/eo.po: Update Esperanto translation from translation project.
25242
25243 * po/vi.po: Update Vietnamese translation from translation project.
25244
25245 * po/de.po: Update German translation from translation project.
25246
25247 2013-07-26 David S. Miller <davem@davemloft.net>
25248
25249 * po/bg.po: Update Bulgarian translation from translation project.
25250
25251 * po/nl.po: Update Dutch translation from translation project.
25252 * po/pl.po: Update Polish translation from translation project.
25253 * po/ru.po: Update Russian translation from translation project.
25254
25255 2013-07-24 David S. Miller <davem@davemloft.net>
25256
25257 * po/libc.pot: Update.
25258
25259 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25260
25261 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25262 variable page size.
25263 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25264 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25266
25267 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25268
25269 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25270
25271 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25272 Andreas Schwab <schwab@suse.de>
25273 Roland McGrath <roland@hack.frob.com>
25274 Joseph Myers <joseph@codesourcery.com>
25275 Carlos O'Donell <carlos@redhat.com>
25276
25277 [BZ #15755]
25278 * config.h.in: Define HAVE_PT_CHOWN.
25279 * config.make.in (build-pt-chown): New variable.
25280 * configure.in (--enable-pt_chown): New configure option.
25281 * configure: Regenerate.
25282 * login/Makefile: Include Makeconfig. Build pt_chown only if
25283 build-pt-chown is enabled.
25284 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25285 pt_chown to fix pty ownership.
25286 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25287 CLOSE_ALL_FDS.
25288 * manual/install.texi (Configuring and compiling): Mention
25289 --enable-pt_chown. Add @findex for grantpt.
25290 * INSTALL: Regenerate.
25291
25292 2013-07-20 David S. Miller <davem@davemloft.net>
25293
25294 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25295 difference between 32-bit and 64-bit.
25296
25297 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25298
25299 [BZ #15711]
25300 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25301 Avoid system header dependency with -ffreestanding.
25302 ($(objpfx)bits/syscall%d): Likewise.
25303
25304 2013-07-13 David S. Miller <davem@davemloft.net>
25305
25306 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25307 underflows from atanl/atan2l due to bug 15319.
25308 (casinh_test_data): Likewise.
25309
25310 2013-07-07 David S. Miller <davem@davemloft.net>
25311
25312 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25313
25314 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25315
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25318
25319 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25320
25321 * configure.in (--enable-lock-elision): Fix message text.
25322 * INSTALL: Regenerate.
25323 * configure: Regenerate.
25324
25325 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25326
25327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25328
25329 2013-07-03 Andreas Jaeger <aj@suse.de>
25330
25331 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25332 define.
25333 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25334 (ptrace_peeksiginfo_args): Add.
25335 (__ptrace_peeksiginfo_flags): Add.
25336 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25339
25340 2013-07-03 Allan McRae <allan@archlinux.org>
25341
25342 * sysdeps/i386/fpu/libm-test-ulps: Update.
25343
25344 2013-07-02 David S. Miller <davem@davemloft.net>
25345
25346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347
25348 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25349
25350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25351
25352 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25353
25354 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25356
25357 2013-07-02 Andi Kleen <ak@linux.intel.com>
25358
25359 * config.h.in (ENABLE_LOCK_ELISION): Add.
25360 * configure.in (--enable-lock-elision): Add option.
25361 * manual/install.texi: Document --enable lock elision.
25362 * configure: Regenerate
25363 * INSTALL: Regenerate.
25364
25365 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25366
25367 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25368 SSE4.2 strcasecmp for libc.a.
25369 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25370
25371 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25372
25373 [BZ #13304]
25374 * soft-fp/op-common.h (_FP_FMA): New macro.
25375 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25376 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25377 (_FP_MUL_MEAT_1_imm): ... here.
25378 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25379 (_FP_MUL_MEAT_1_wide): ... here.
25380 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25381 (_FP_MUL_MEAT_1_hard): ... here.
25382 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25383 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25384 (_FP_MUL_MEAT_2_wide): ... here.
25385 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25386 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25387 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25388 (_FP_MUL_MEAT_2_gmp): ... here.
25389 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25390 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25391 (_FP_MUL_MEAT_4_wide): ... here.
25392 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25393 (_FP_MUL_MEAT_4_gmp): ... here.
25394 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25395 (_FP_WFRACBITS_DW_S): Likewise.
25396 (_FP_WFRACXBITS_DW_S): Likewise.
25397 (_FP_HIGHBIT_DW_S): Likewise.
25398 (FP_FMA_S): Likewise.
25399 (_FP_FRAC_HIGH_DW_S): Likewise.
25400 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25401 (_FP_WFRACBITS_DW_D): Likewise.
25402 (_FP_WFRACXBITS_DW_D): Likewise.
25403 (_FP_HIGHBIT_DW_D): Likewise.
25404 (FP_FMA_D): Likewise.
25405 (_FP_FRAC_HIGH_DW_D): Likewise.
25406 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25407 (_FP_WFRACBITS_DW_E): Likewise.
25408 (_FP_WFRACXBITS_DW_E): Likewise.
25409 (_FP_HIGHBIT_DW_E): Likewise.
25410 (FP_FMA_E): Likewise.
25411 (_FP_FRAC_HIGH_DW_E): Likewise.
25412 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25413 (_FP_WFRACBITS_DW_Q): Likewise.
25414 (_FP_WFRACXBITS_DW_Q): Likewise.
25415 (_FP_HIGHBIT_DW_Q): Likewise.
25416 (FP_FMA_Q): Likewise.
25417 (_FP_FRAC_HIGH_DW_Q): Likewise.
25418 * soft-fp/fmasf4.c: New file.
25419 * soft-fp/fmadf4.c: Likewise.
25420 * soft-fp/fmatf4.c: Likewise.
25421
25422 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25423
25424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25425 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25426 Silvermont.
25427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25428 macro.
25429 (index_Slow_SSE4_2): Likewise.
25430 (index_Prefer_PMINUB_for_stringop): Likewise.
25431 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25432 bit_Slow_SSE4_2 is set.
25433 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25434 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25435
25436 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25437
25438 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25439 rtld_global._dl_hwcap2.
25440 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25441 POWER8.
25442 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25443 POWER8 feature descriptions defined in _dl_hwcap2.
25444 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25445 string handling for POWER8 feature bits.
25446 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25447 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25448 _dl_powerpc_cap_flags.
25449 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25450 * sysdeps/powerpc/rtld-global-offsets.sym
25451 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25452 _dl_hwcap2 in the rtld_global_ro structure.
25453
25454 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25455
25456 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25457 hardware capabilities in support of AT_HWCAP2.
25458 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25459 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25460 GLRO(dl_hwcap2).
25461 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25462 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25463 explicitly the unknown a_type display mechanism is used.
25464 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25465 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25466 struct member.
25467 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25468 to macro prototype for AT_HWCAP2 support.
25469 * sysdeps/i386/dl-procinfo.h: Likewise.
25470 * sysdeps/s390/dl-procinfo.h: Likewise.
25471 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25472 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25473 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25474 return -1 for unknown a_type display fallback.
25475 * sysdeps/sparc/dl-procinfo.h: Likewise.
25476 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25477 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25478
25479 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25480
25481 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25482 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25483
25484 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25485
25486 [BZ #12492]
25487 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25488 mprotect making __stack_prot writable.
25489
25490 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25491 Joseph Myers <joseph@codesourcery.com>
25492
25493 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25494 as being properly aligned.
25495
25496 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25497
25498 * dlfcn/modstatic5.c: New file.
25499 * dlfcn/tststatic5.c: New file.
25500 * dlfcn/Makefile (tests): Add tststatic5.
25501 (tests-static): Likewise.
25502 (modules-names): Add modstatic5.
25503 (tststatic5-ENV): New variable.
25504 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25505
25506 [BZ #15022]
25507 * elf/dl-support.c (_dl_main_map): New variable.
25508 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25509 (_dl_nns, _dl_load_adds): Set to 1.
25510 (_dl_initial_searchlist): Refer to _dl_main_map.
25511 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25512 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25513 call to _dl_get_origin.
25514 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25515 around call_map.
25516 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25517 * dlfcn/modstatic3.c: New file.
25518 * dlfcn/tststatic3.c: New file.
25519 * dlfcn/tststatic4.c: New file.
25520 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25521 (tests-static): Likewise.
25522 (modules-names): Add modstatic3.
25523 (tststatic3-ENV, tststatic4-ENV): New variables.
25524 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25525 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25526
25527 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25528
25529 * configure.in (CC): Require GCC version 4.4 or later.
25530 * configure: Regenerated.
25531 * manual/install.texi (Tools for Compilation): Update GCC version
25532 requirement.
25533 * INSTALL: Regenerated.
25534
25535 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25536
25537 [BZ #15674]
25538 * string/test-memcmp.c (check2): New.
25539 (main): Call check2.
25540
25541 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25542
25543 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25544
25545 [BZ #15022]
25546 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25547 over to...
25548 (dl_open_worker) [!SHARED]: ... here.
25549
25550 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25551
25552 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25553
25554 2013-06-25 Richard Henderson <rth@redhat.com>
25555
25556 * locale/programs/locarchive.c: Include <libc-internal.h>
25557
25558 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25559
25560 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25561 trailing whitespace removed.
25562
25563 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25564
25565 [BZ #10283]
25566 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25567 * locale/programs/locarchive.c: Include libc-mmap.h.
25568 (prepare_address_space): Take two new outputs (the mmap base and len).
25569 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25570 values.
25571 (create_archive): Declare new mmap base and len values for
25572 prepare_address_space, and store the result in ah.
25573 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25574 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25575 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25576 Declare new mmap base and len values for
25577 prepare_address_space, and store the result in new_ah.
25578 (open_archive): Declare new mmap base and len values for
25579 prepare_address_space, and store the result in ah.
25580 (close_archive): If ah->mmap_base is not NULL, use that and
25581 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25582 * sysdeps/generic/libc-mmap.h: New file.
25583
25584 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25585
25586 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25587 (ALIGN_UP): Likewise.
25588 (PTR_ALIGN_DOWN): Likewise.
25589 (PTR_ALIGN_UP): Likewise.
25590
25591 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25592
25593 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25594 entry mapped to PPC_PLATFORM_POWER8.
25595 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25596 POWER8.
25597 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25598 (_dl_string_platform): Add case for exporting platform position for
25599 POWER8.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25601 search path to sysdeps/powerpc/powerpc32/power8 directory.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25603 search path to sysdeps/powerpc/powerpc64/power8 directory.
25604 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25605 power7 directories.
25606 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25607 power7 directories.
25608
25609 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25610
25611 * INSTALL: Regenerate.
25612
25613 * nscd/connections.c (nscd_init): Fix comment.
25614
25615 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25616
25617 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25618
25619 [BZ #15667]
25620 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25621 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25622
25623 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25624
25625 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25626 DL_DST_REQ_STATIC.
25627 (DL_DST_REQ_STATIC): Remove macro.
25628
25629 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25630
25631 [BZ #7006]
25632 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25633 with a shift of 0 bits.
25634
25635 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25636
25637 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25638 $(tststatic-ENV).
25639
25640 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25641
25642 [BZ #15655]
25643 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25644
25645 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25646
25647 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25648 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25649 accepts -fno-tree-loop-distribute-patterns.
25650 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25651 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25652 recursive call.
25653 * string/memset.c (memset): Likewise.
25654 * string/test-memmove.c (simple_memmove): Disable loop transformation
25655 to library calls.
25656 * string/test-memset.c (simple_memset): Likewise.
25657 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25658 * benchtests/bench-memset.c (simple_memset): Likewise.
25659 * configure: Regenerated.
25660
25661 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25662
25663 * math/test-misc.c (main): Ignore fesetround failure when failures
25664 of subsequent rounding tests would be ignored.
25665
25666 [BZ #15654]
25667 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25668 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25669 * math/fegetenv.c (__fegetenv): Return 0.
25670 * math/fegetexcept.c (fegetexcept): Return 0.
25671 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25672 FE_TONEAREST.
25673 * math/feholdexcpt.c (feholdexcept): Return 0.
25674 * math/fesetenv.c (__fesetenv): Return 0.
25675 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25676 argument FE_TONEAREST.
25677 * math/feupdateenv.c (__feupdateenv): Return 0.
25678 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25679
25680 2013-06-18 Roland McGrath <roland@hack.frob.com>
25681
25682 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25683 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25684 ($(objpfx)rtld-%.os rules): Use them.
25685
25686 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25687
25688 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25689 fields.
25690
25691 2013-06-17 Roland McGrath <roland@hack.frob.com>
25692
25693 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25694 length of target pattern, then descending length of dependency pattern.
25695 * configure.in (AWK): Require gawk 3.1.2 or newer.
25696 * manual/install.texi (Tools for Compilation): Say that we do.
25697 * configure: Regenerated.
25698
25699 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25700 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25701 * scripts/sysd-rules.awk: ... this new script.
25702 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25703 than a glob-style pattern.
25704
25705 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25706
25707 * math/test-misc.c (main): Do not treat incorrectly rounded
25708 conversions as failure unless ROUNDING_TESTS passes.
25709
25710 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25711
25712 [BZ #15631]
25713 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25714 restore exception state around main square root computation, then
25715 check for inexactness explicitly.
25716
25717 * math/libm-test.inc (fma_test_data): Add another test.
25718
25719 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25720
25721 * manual/threads.texi (Non-POSIX Extensions): New document
25722 node. Document pthread_getattr_default_np and
25723 pthread_setattr_default_np.
25724
25725 * Versions.def (libpthread): Add GLIBC_2.18.
25726 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25728 Likewise.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25730 Likewise.
25731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25732 Likewise.
25733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25734 Likewise.
25735 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25736 Likewise.
25737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25738 Likewise.
25739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25740 Likewise.
25741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25742 Likewise.
25743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25744 Likewise.
25745
25746 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25747
25748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25749 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25750
25751 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25752 H.J. Lu <hjl.tools@gmail.com>
25753
25754 [BZ #15627]
25755 * sysdeps/x86_64/rtld-memset.c: Remove file.
25756 * sysdeps/x86_64/rtld-memset.S: New file.
25757
25758 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25759
25760 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25761 (test_in_one_mode): Take arguments for whether the rounding mode
25762 is supported for each floating-point type.
25763 (do_test): Pass new arguments to test_in_one_mode using
25764 ROUNDING_TESTS.
25765
25766 2013-06-13 Roland McGrath <roland@hack.frob.com>
25767
25768 * posix/tst-waitid.c (do_test): Distinguish different instances of
25769 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25770 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25771 before entering the kernel for waitpid.
25772
25773 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25774
25775 * NEWS: Fix note on clock function precision. Text by Roland
25776 McGrath.
25777
25778 2013-06-13 Roland McGrath <roland@hack.frob.com>
25779
25780 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25781 it into place only when and if the sanity check passes.
25782
25783 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25784
25785 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25786 output for whether conversion result is exact. Take argument
25787 indicating whether type is IBM long double.
25788 (round_for_all): Change need_exact field to ibm_ld.
25789 * stdlib/tst-strtod-round.c (struct exactness): New type.
25790 (struct test): Change bool ld_ok field to struct exactness exact.
25791 (TEST): Update all definitions for change to field.
25792 (tests): Regenerate array contents.
25793 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25794 field value. Check for IBM long double here.
25795 (do_test): Update calls to test_in_one_mode.
25796
25797 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25798
25799 [BZ #12515]
25800 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25801 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25802
25803 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25804
25805 [BZ #15605]
25806 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25807 generated by the compiler on loop optimizations.
25808 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25809 general definitions.
25810
25811 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25812
25813 * math/bug-nextafter.c: Include <math-tests.h>.
25814 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25815 the relevant type.
25816 * math/bug-nexttoward.c: Include <math-tests.h>.
25817 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25818 the relevant type.
25819 * math/test-misc.c: Include <math-tests.h>.
25820 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25821 the relevant type.
25822
25823 2013-06-12 Andreas Jaeger <aj@suse.de>
25824
25825 * po/ia.po: Update Interlingua translation from translation
25826 project.
25827
25828 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25829
25830 * include/fenv.h: Include stdbool.h.
25831 (struct rm_ctx): New structure.
25832 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25833 Define macro.
25834 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25835 (SET_RESTORE_ROUNDF): Likewise.
25836 (SET_RESTORE_ROUNDL): Likewise.
25837 (SET_RESTORE_ROUND_NOEX): Likewise.
25838 (SET_RESTORE_ROUND_NOEXF): Likewise.
25839 (SET_RESTORE_ROUND_NOEXL): Likewise.
25840 (SET_RESTORE_ROUND_53BIT): Likewise.
25841 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25842 (libc_feresetround_noexf_ctx): Likewise.
25843 (libc_feresetround_noexl_ctx): Likewise.
25844 (libc_feholdsetround_53bit_ctx): Likewise.
25845 (libc_feresetround_53bit_ctx): Likewise.
25846 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25847 (libc_feholdexcept_setround_sse_ctx): New function.
25848 (libc_fesetenv_sse_ctx): Likewise.
25849 (libc_feupdateenv_sse_ctx): Likewise.
25850 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25851 (libc_feholdexcept_setround_387_ctx): Likewise.
25852 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25853 (libc_feholdsetround_387_prec_ctx): Likewise.
25854 (libc_feholdsetround_387_ctx): Likewise.
25855 (libc_feholdsetround_387_53bit_ctx): Likewise.
25856 (libc_feholdsetround_sse_ctx): Likewise.
25857 (libc_feresetround_sse_ctx): Likewise.
25858 (libc_feresetround_387_ctx): Likewise.
25859 (libc_feupdateenv_387_ctx): Likewise.
25860 (libc_feholdexcept_setroundf_ctx): Define macro.
25861 (libc_fesetenvf_ctx): Likewise.
25862 (libc_feupdateenvf_ctx): Likewise.
25863 (libc_feholdsetroundf_ctx): Likewise.
25864 (libc_feresetroundf_ctx): Likewise.
25865 (libc_feholdexcept_setround_ctx): Likewise.
25866 (libc_fesetenv_ctx): Likewise.
25867 (libc_feupdateenv_ctx): Likewise.
25868 (libc_feholdsetround_ctx): Likewise.
25869 (libc_feresetround_ctx): Likewise.
25870 (libc_feholdexcept_setroundl_ctx): Likewise.
25871 (libc_feupdateenvl_ctx): Likewise.
25872 (libc_feholdsetroundl_ctx): Likewise.
25873 (libc_feresetroundl_ctx): Likewise.
25874 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25875 (libc_feresetround_53bit_ctx): Likewise.
25876
25877 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25878
25879 * locale/iso-639.def: Convert to UTF-8.
25880
25881 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25882
25883 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25884 (EXCEPTION_TESTS_double): Likewise.
25885 (EXCEPTION_TESTS_long_double): Likewise.
25886 (EXCEPTION_TESTS): Likewise.
25887 * math/libm-test.inc (test_exceptions): Only test exceptions if
25888 EXCEPTION_TESTS (FLOAT).
25889
25890 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25891
25892 * benchtests/Makefile (string-bench): Add strcpy_chk and
25893 stpcpy_chk.
25894 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25895 * benchtests/bench-stpcpy_chk.c: New file.
25896 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25897 * benchtests/bench-strcpy_chk.c: New file.
25898 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25899 code.
25900 (do_test): Likewise.
25901
25902 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25903
25904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25905 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25906 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25907 with tabs where appropriate.
25908 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25909 dl-procinfo.h.
25910 [PPC_PLATFORM_PPC440]: Likewise.
25911 [PPC_PLATFORM_PPC464]: Likewise.
25912 [PPC_PLATFORM_PPC476]: Likewise.
25913 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25914 ppc464, and ppc476 platform strings merging from ports/
25915 dl-procinfo.h.
25916
25917 2013-06-11 Andreas Schwab <schwab@suse.de>
25918
25919 [BZ #14991]
25920 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25921 (from_ucs4_idx): Regenerate.
25922 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25923 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25924 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25925 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25926 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25927 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25928 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25929 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25930 from FROM_LOOP and TO_LOOP specific macros.
25931 (BODY): Handle combining characters.
25932 * iconvdata/BIG5HKSCS.irreversible: Update.
25933 * iconvdata/BIG5HKSCS.precomposed: New file.
25934 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25935 characters.
25936 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25937
25938 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25939
25940 * include/sys/time.h: Fix indentation and add copyright header.
25941
25942 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25943 (do_test): Likewise.
25944 * string/test-memchr.c (do_one_test): Likewise.
25945 (do_test): Likewise.
25946 * string/test-memcmp.c (do_one_test): Likewise.
25947 (do_test): Likewise.
25948 * string/test-memcpy.c (do_one_test): Likewise.
25949 (do_test): Likewise.
25950 * string/test-memmem.c (do_one_test): Likewise.
25951 (do_test): Likewise.
25952 (do_random_tests): Likewise.
25953 * string/test-memmove.c (do_one_test): Likewise.
25954 (do_test): Likewise.
25955 * string/test-memset.c (do_one_test): Likewise.
25956 (do_test): Likewise.
25957 * string/test-rawmemchr.c (do_one_test): Likewise.
25958 (do_test): Likewise.
25959 * string/test-strcasecmp.c (do_one_test): Likewise.
25960 (do_test): Likewise.
25961 * string/test-strcasestr.c (do_one_test): Likewise.
25962 (do_test): Likewise.
25963 * string/test-strcat.c (do_one_test): Likewise.
25964 (do_test): Likewise.
25965 * string/test-strchr.c (do_one_test): Likewise.
25966 (do_test): Likewise.
25967 * string/test-strcmp.c (do_one_test): Likewise.
25968 (do_test): Likewise.
25969 * string/test-strcpy.c (do_one_test): Likewise.
25970 (do_test): Likewise.
25971 * string/test-string.h: Likewise.
25972 (test_init): Likewise.
25973 * string/test-strlen.c (do_one_test): Likewise.
25974 (do_test): Likewise.
25975 * string/test-strncasecmp.c (do_one_test): Likewise.
25976 (do_test): Likewise.
25977 * string/test-strncat.c (do_one_test): Likewise.
25978 (do_test): Likewise.
25979 * string/test-strncmp.c (do_one_test): Likewise.
25980 (do_test_limit): Likewise.
25981 (do_test): Likewise.
25982 * string/test-strncpy.c (do_one_test): Likewise.
25983 (do_test): Likewise.
25984 * string/test-strnlen.c (do_one_test): Likewise.
25985 (do_test): Likewise.
25986 * string/test-strpbrk.c (do_one_test): Likewise.
25987 (do_test): Likewise.
25988 * string/test-strrchr.c (do_one_test): Likewise.
25989 (do_test): Likewise.
25990 * string/test-strspn.c (do_one_test): Likewise.
25991 (do_test): Likewise.
25992 * string/test-strstr.c (do_one_test): Likewise.
25993 (do_test): Likewise.
25994
25995 * benchtests/Makefile (string-bench): Add string benchmarks.
25996 * benchtests/bench-bcopy-ifunc.c: New file.
25997 * benchtests/bench-bcopy.c: New file.
25998 * benchtests/bench-bzero-ifunc.c: New file.
25999 * benchtests/bench-bzero.c: New file.
26000 * benchtests/bench-memccpy-ifunc.c: New file.
26001 * benchtests/bench-memccpy.c: New file.
26002 * benchtests/bench-memchr-ifunc.c: New file.
26003 * benchtests/bench-memchr.c: New file.
26004 * benchtests/bench-memcmp-ifunc.c: New file.
26005 * benchtests/bench-memcmp.c: New file.
26006 * benchtests/bench-memmem-ifunc.c: New file.
26007 * benchtests/bench-memmem.c: New file.
26008 * benchtests/bench-memmove-ifunc.c: New file.
26009 * benchtests/bench-memmove.c: New file.
26010 * benchtests/bench-mempcpy-ifunc.c: New file.
26011 * benchtests/bench-mempcpy.c: New file.
26012 * benchtests/bench-memset-ifunc.c: New file.
26013 * benchtests/bench-memset.c: New file.
26014 * benchtests/bench-rawmemchr-ifunc.c: New file.
26015 * benchtests/bench-rawmemchr.c: New file.
26016 * benchtests/bench-stpcpy-ifunc.c: New file.
26017 * benchtests/bench-stpcpy.c: New file.
26018 * benchtests/bench-stpncpy-ifunc.c: New file.
26019 * benchtests/bench-stpncpy.c: New file.
26020 * benchtests/bench-strcasecmp-ifunc.c: New file.
26021 * benchtests/bench-strcasecmp.c: New file.
26022 * benchtests/bench-strcasestr-ifunc.c: New file.
26023 * benchtests/bench-strcasestr.c: New file.
26024 * benchtests/bench-strcat-ifunc.c: New file.
26025 * benchtests/bench-strcat.c: New file.
26026 * benchtests/bench-strchr-ifunc.c: New file.
26027 * benchtests/bench-strchr.c: New file.
26028 * benchtests/bench-strchrnul-ifunc.c: New file.
26029 * benchtests/bench-strchrnul.c: New file.
26030 * benchtests/bench-strcmp-ifunc.c: New file.
26031 * benchtests/bench-strcmp.c: New file.
26032 * benchtests/bench-strcpy-ifunc.c: New file.
26033 * benchtests/bench-strcpy.c: New file.
26034 * benchtests/bench-strcspn-ifunc.c: New file.
26035 * benchtests/bench-strcspn.c: New file.
26036 * benchtests/bench-strlen-ifunc.c: New file.
26037 * benchtests/bench-strlen.c: New file.
26038 * benchtests/bench-strncasecmp-ifunc.c: New file.
26039 * benchtests/bench-strncasecmp.c: New file.
26040 * benchtests/bench-strncat-ifunc.c: New file.
26041 * benchtests/bench-strncat.c: New file.
26042 * benchtests/bench-strncmp-ifunc.c: New file.
26043 * benchtests/bench-strncmp.c: New file.
26044 * benchtests/bench-strncpy-ifunc.c: New file.
26045 * benchtests/bench-strncpy.c: New file.
26046 * benchtests/bench-strnlen-ifunc.c: New file.
26047 * benchtests/bench-strnlen.c: New file.
26048 * benchtests/bench-strpbrk-ifunc.c: New file.
26049 * benchtests/bench-strpbrk.c: New file.
26050 * benchtests/bench-strrchr-ifunc.c: New file.
26051 * benchtests/bench-strrchr.c: New file.
26052 * benchtests/bench-strspn-ifunc.c: New file.
26053 * benchtests/bench-strspn.c: New file.
26054 * benchtests/bench-strstr-ifunc.c: New file.
26055 * benchtests/bench-strstr.c: New file.
26056
26057 * benchtests/Makefile: Disable parallel execution of targets.
26058 (string-bench): Add memcpy.
26059 (benchset): New variable to store a list of benchmark sets.
26060 (bench-func): Renamed from bench.
26061 (bench-set): New target.
26062 (bench): Depend on bench-func and bench-set.
26063 * benchtests/README: Add section on benchmark sets.
26064 * benchtests/bench-memcpy-ifunc.c: New file.
26065 * benchtests/bench-memcpy.c: New file.
26066 * benchtests/bench-string.h: New file.
26067
26068 2013-06-11 Andreas Schwab <schwab@suse.de>
26069
26070 [BZ #15577]
26071 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26072 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26073 values in the triple.
26074 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26075 terminator in the group key.
26076
26077 2013-06-11 Andreas Jaeger <aj@suse.de>
26078
26079 * po/zh_TW.po: Update Chinese (traditional) translation from
26080 translation project.
26081
26082 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26083
26084 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26085 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26086 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26088 (clock_getcpuclockid): Likewise.
26089 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26090 Add weak_alias and libc_hidden_def.
26091 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26092 * rt/clock_gettime.c (clock_gettime): Rename to
26093 __clock_gettime. Add weak_alias and libc_hidden_def.
26094 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26095 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26096 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26097 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26098 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26099 Likewise.
26100 * rt/clock_settime.c (clock_settime): Rename to
26101 __clock_settime. Add weak_alias and libc_hidden_def.
26102 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26103
26104 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26105
26106 * mach/err_boot.sub: Remove trailing whitespace.
26107 * mach/err_ipc.sub: Likewise.
26108 * mach/err_mach.sub: Likewise.
26109
26110 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26111 (ROUNDING_TESTS_double): Likewise.
26112 (ROUNDING_TESTS_long_double): Likewise.
26113 (ROUNDING_TESTS): Likewise.
26114 * math/libm-test.inc: Include <math-tests.h>.
26115 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26116 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26117 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26118 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26119
26120 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26121
26122 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26123 of assigning.
26124
26125 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26126
26127 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26128 otherwise empty TRANS lines.
26129 * sysdeps/gnu/errlist.c: Regenerated.
26130
26131 * catgets/gencat.c (error_print): Use (void) in function
26132 definition.
26133 * crypt/crypt_util.c (__init_des): Likewise.
26134 * crypt/speeds.c (Stop): Likewise.
26135 (main): Likewise.
26136 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26137 * inet/ruserpass.c (token): Likewise.
26138 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26139 * intl/localealias.c (extend_alias_table): Likewise.
26140 * intl/plural-exp.c (init_germanic_plural): Likewise.
26141 * libio/fcloseall.c (__fcloseall): Likewise.
26142 * libio/genops.c (_IO_flush_all): Likewise.
26143 (_IO_flush_all_linebuffered): Likewise.
26144 (_IO_cleanup): Likewise.
26145 (_IO_iter_begin): Likewise.
26146 (_IO_iter_end): Likewise.
26147 (_IO_list_lock): Likewise.
26148 (_IO_list_unlock): Likewise.
26149 (_IO_list_resetlock): Likewise.
26150 * libio/getchar.c (getchar): Likewise.
26151 * libio/getchar_u.c (getchar_unlocked): Likewise.
26152 * libio/getwchar.c (getwchar): Likewise.
26153 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26154 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26155 * login/getpt.c (__getpt): Likewise.
26156 * login/tst-utmp.c (main): Likewise.
26157 * malloc/hooks.c (__malloc_check_init): Likewise.
26158 * malloc/malloc.c (__malloc_stats): Likewise.
26159 * malloc/mtrace.c (tr_break): Likewise.
26160 (mtrace): Likewise.
26161 (muntrace): Likewise.
26162 * misc/fstab.c (endfsent): Likewise.
26163 * misc/getclktck.c (__getclktck): Likewise.
26164 * misc/getdtsz.c (__getdtablesize): Likewise.
26165 * misc/gethostid.c (gethostid): Likewise.
26166 * misc/getpagesize.c (__getpagesize): Likewise.
26167 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26168 (__get_nprocs): Likewise.
26169 (__get_phys_pages): Likewise.
26170 (__get_avphys_pages): Likewise.
26171 * misc/getttyent.c (getttyent): Likewise.
26172 (setttyent): Likewise.
26173 (endttyent): Likewise.
26174 * misc/getusershell.c (getusershell): Likewise.
26175 (endusershell): Likewise.
26176 (setusershell): Likewise.
26177 (initshells): Likewise.
26178 * misc/hsearch.c (__hdestroy): Likewise.
26179 * misc/sync.c (sync): Likewise.
26180 * misc/syslog.c (closelog_internal): Likewise.
26181 (closelog): Likewise.
26182 * misc/ttyslot.c (ttyslot): Likewise.
26183 * misc/vhangup.c (vhangup): Likewise.
26184 * posix/fork.c (__fork): Likewise.
26185 * posix/getegid.c (__getegid): Likewise.
26186 * posix/geteuid.c (__geteuid): Likewise.
26187 * posix/getgid.c (__getgid): Likewise.
26188 * posix/getpid.c (__getpid): Likewise.
26189 * posix/getppid.c (__getppid): Likewise.
26190 * posix/getuid.c (__getuid): Likewise.
26191 * posix/pause.c (pause): Likewise.
26192 * posix/setpgrp.c (setpgrp): Likewise.
26193 * posix/setsid.c (__setsid): Likewise.
26194 * posix/test-vfork.c (noop): Likewise.
26195 * resolv/gethnamaddr.c (_endhtent): Likewise.
26196 (_gethtent): Likewise.
26197 (ht_endhostent): Likewise.
26198 (gethostent): Likewise.
26199 (dns_service): Likewise.
26200 * stdlib/drand48.c (drand48): Likewise.
26201 * stdlib/lrand48.c (lrand48): Likewise.
26202 * stdlib/mrand48.c (mrand48): Likewise.
26203 * stdlib/rand.c (rand): Likewise.
26204 * stdlib/random.c (__random): Likewise.
26205 * stdlib/setenv.c (clearenv): Likewise.
26206 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26207 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26208 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26209 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26210 (__get_nprocs): Likewise.
26211 (__get_phys_pages): Likewise.
26212 (__get_avphys_pages): Likewise.
26213 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26214 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26215 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26216 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26217 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26218 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26219 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26220 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26221 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26222 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26223 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26224 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26225 * sysdeps/posix/clock.c (clock): Likewise.
26226 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26227 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26228 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26229 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26230 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26232 (__get_nprocs_conf): Likewise.
26233 (__get_phys_pages): Likewise.
26234 (__get_avphys_pages): Likewise.
26235 * time/clock.c (clock): Likewise.
26236 * time/tzset.c (__tzname_max): Likewise.
26237
26238 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26239
26240 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26241 (__bswap_32): Do not use "register".
26242 * crypt/crypt.c (_ufc_doit_r): Likewise.
26243 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26244 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26245 * gmon/gmon.c (__monstartup): Likewise.
26246 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26247 * hurd/hurdmalloc.c (more_memory): Likewise.
26248 (malloc): Likewise.
26249 (free): Likewise.
26250 (realloc): Likewise.
26251 (malloc_fork_prepare): Likewise.
26252 (malloc_fork_parent): Likewise.
26253 (malloc_fork_child): Likewise.
26254 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26255 (_svcauth_des): Likewise.
26256 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26257 * inet/inet_net.c (inet_network): Likewise.
26258 * inet/inet_netof.c (inet_netof): Likewise.
26259 * inet/rcmd.c (__validuser2_sa): Likewise.
26260 * io/fts.c (fts_open): Likewise.
26261 (fts_load): Likewise.
26262 (fts_close): Likewise.
26263 (fts_read): Likewise.
26264 (fts_children): Likewise.
26265 (fts_build): Likewise.
26266 (fts_stat): Likewise.
26267 (fts_sort): Likewise.
26268 (fts_alloc): Likewise.
26269 (fts_lfree): Likewise.
26270 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26271 (_IO_file_xsgetn): Likewise.
26272 (_IO_file_xsgetn_mmap): Likewise.
26273 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26274 (_IO_cookie_write): Likewise.
26275 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26276 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26277 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26278 * malloc/obstack.c (_obstack_begin): Likewise.
26279 (_obstack_begin_1): Likewise.
26280 (_obstack_newchunk): Likewise.
26281 (_obstack_allocated_p): Likewise.
26282 (obstack_free): Likewise.
26283 (_obstack_memory_used): Likewise.
26284 * misc/getttyent.c (getttynam): Likewise.
26285 (getttyent): Likewise.
26286 (skip): Likewise.
26287 (value): Likewise.
26288 * misc/getusershell.c (initshells): Likewise.
26289 * misc/syslog.c (__vsyslog_chk): Likewise.
26290 * misc/ttyslot.c (ttyslot): Likewise.
26291 * nis/nis_hash.c (__nis_hash): Likewise.
26292 * posix/fnmatch_loop.c (FCT): Likewise.
26293 * posix/getconf.c (print_all): Likewise.
26294 (main): Likewise.
26295 * posix/getopt.c (exchange): Likewise.
26296 * posix/glob.c (globfree): Likewise.
26297 (prefix_array): Likewise.
26298 (__glob_pattern_type): Likewise.
26299 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26300 (NS_GET32): Likewise.
26301 (NS_PUT16): Likewise.
26302 (NS_PUT32): Likewise.
26303 * resolv/gethnamaddr.c (getanswer): Likewise.
26304 (gethostbyname2): Likewise.
26305 (gethostbyaddr): Likewise.
26306 (_gethtent): Likewise.
26307 (_gethtbyname2): Likewise.
26308 (_gethtbyaddr): Likewise.
26309 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26310 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26311 * resolv/res_init.c (__res_vinit): Likewise.
26312 (net_mask): Likewise.
26313 * resolv/res_mkquery.c (outchar): Likewise.
26314 (PRINT): Likewise.
26315 * stdio-common/printf_fp.c (outchar): Likewise.
26316 (PRINT): Likewise.
26317 * stdio-common/printf_fphex.c (outchar): Likewise.
26318 (PRINT): Likewise.
26319 * stdio-common/printf_size.c (outchar): Likewise.
26320 (PRINT): Likewise.
26321 * stdio-common/test_rdwr.c (main): Likewise.
26322 * stdio-common/tfformat.c (matches): Likewise.
26323 * stdio-common/vfprintf.c (outchar): Likewise.
26324 (printf_unknown): Likewise.
26325 (buffered_vfprintf): Likewise.
26326 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26327 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26328 (ReadFile): Likewise.
26329 * stdlib/qsort.c (SWAP): Likewise.
26330 (_quicksort): Likewise.
26331 * stdlib/setenv.c (__add_to_environ): Likewise.
26332 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26333 * stdlib/strtol_l.c (__strtol_l): Likewise.
26334 * stdlib/tst-strtod.c (main): Likewise.
26335 * stdlib/tst-strtol.c (main): Likewise.
26336 * stdlib/tst-strtoll.c (main): Likewise.
26337 * string/bits/string2.h (__strcmp_cc): Likewise.
26338 (__strcmp_cg): Likewise.
26339 (__strcspn_c1): Likewise.
26340 (__strcspn_c2): Likewise.
26341 (__strcspn_c3): Likewise.
26342 (__strspn_c1): Likewise.
26343 (__strspn_c2): Likewise.
26344 (__strspn_c3): Likewise.
26345 (__strsep_1c): Likewise.
26346 (__strsep_2c): Likewise.
26347 (__strsep_3c): Likewise.
26348 * string/memccpy.c (__memccpy): Likewise.
26349 * string/stpcpy.c (__stpcpy): Likewise.
26350 * string/strcmp.c (strcmp): Likewise.
26351 * string/strrchr.c (strrchr): Likewise.
26352 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26353 Likewise.
26354 * sysdeps/mach/hurd/getcwd.c
26355 (_hurd_canonicalize_directory_name_internal): Likewise.
26356 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26357 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26358 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26359 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26360 Likewise, in both definitions.
26361 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26362 definitions.
26363 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26364 64] (__bswap_64): Likewise.
26365 * time/test_time.c (main): Likewise.
26366 * time/tzfile.c (__tzfile_read): Likewise.
26367 (__tzfile_compute): Likewise.
26368 * time/tzset.c (__tzset_parse_tz): Likewise.
26369 (tzset_internal): Likewise.
26370 (compute_change): Likewise.
26371 * wcsmbs/wcscat.c (__wcscat): Likewise.
26372 * wcsmbs/wcschr.c (wcschr): Likewise.
26373 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26374 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26375 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26376 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26377 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26378 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26379 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26380 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26381 * wcsmbs/wmemset.c (wmemset): Likewise.
26382
26383 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26384
26385 * scripts/config.guess: Update to version 2013-05-16.
26386 * scripts/config.sub: Update to version 2013-04-24.
26387 * scripts/install-sh: Update to version 2011-11-20.07.
26388 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26389 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26390
26391 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26392
26393 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26394 * elf/sln.c: Likewise.
26395 * hurd/hurd/ioctl.h: Likewise.
26396 * hurd/hurdmalloc.c: Likewise.
26397 * hurd/xattr.c: Likewise.
26398 * include/shlib-compat.h: Likewise.
26399 * inet/ruserpass.c: Likewise.
26400 * libio/iofgets_u.c: Likewise.
26401 * libio/iofgetws_u.c: Likewise.
26402 * locale/programs/ld-identification.c: Likewise.
26403 * locale/programs/ld-time.c: Likewise.
26404 * mach/msg-destroy.c: Likewise.
26405 * nss/nss_files/files-netgrp.c: Likewise.
26406 * resolv/res_data.c: Likewise.
26407 * soft-fp/op-1.h: Likewise.
26408 * soft-fp/op-2.h: Likewise.
26409 * soft-fp/op-4.h: Likewise.
26410 * soft-fp/op-common.h: Likewise.
26411 * stdio-common/printf_fphex.c: Likewise.
26412 * stdlib/strtod_l.c: Likewise.
26413 * sunrpc/rpc/clnt.h: Likewise.
26414 * sysdeps/generic/framestate.c: Likewise.
26415 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26416 * sysdeps/i386/bsd-setjmp.S: Likewise.
26417 * sysdeps/i386/__longjmp.S: Likewise.
26418 * sysdeps/i386/setjmp.S: Likewise.
26419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26420 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26422 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26437 * sysdeps/ieee754/support.c: Likewise.
26438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26439 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26440 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26441 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26442 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26443 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26444 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26445 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26446 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26447 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26448 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26449 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26450 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26451 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26453 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26454 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26456
26457 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26458
26459 * posix/transbug.c: Remove executable mode.
26460
26461 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26462
26463 * crypt/speeds.c: Remove trailing whitespace.
26464 * dlfcn/default.c: Likewise.
26465 * elf/ifuncdep2.c: Likewise.
26466 * elf/ifuncmain1.c: Likewise.
26467 * elf/ifuncmain1vis.c: Likewise.
26468 * elf/testobj.h: Likewise.
26469 * elf/tst-stackguard1.c: Likewise.
26470 * gmon/sys/gmon.h: Likewise.
26471 * hurd/hurdmsg.c: Likewise.
26472 * hurd/new-fd.c: Likewise.
26473 * hurd/ports-get.c: Likewise.
26474 * iconvdata/ibm1008_420.c: Likewise.
26475 * inet/tst-getni1.c: Likewise.
26476 * inet/tst-getni2.c: Likewise.
26477 * libio/ioungetc.c: Likewise.
26478 * libio/wfiledoalloc.c: Likewise.
26479 * manual/libm-err-tab.pl: Likewise.
26480 * math/w_dremf.c: Likewise.
26481 * misc/ftruncate.c: Likewise.
26482 * posix/bug-glob2.c: Likewise.
26483 * posix/tst-pcre.c: Likewise.
26484 * posix/wait4.c: Likewise.
26485 * resolv/README: Likewise.
26486 * resolv/res_debug.h: Likewise.
26487 * resolv/tst-inet_ntop.c: Likewise.
26488 * setjmp/bug269-setjmp.c: Likewise.
26489 * soft-fp/extended.h: Likewise.
26490 * soft-fp/op-1.h: Likewise.
26491 * soft-fp/op-2.h: Likewise.
26492 * soft-fp/op-4.h: Likewise.
26493 * soft-fp/op-8.h: Likewise.
26494 * soft-fp/testit.c: Likewise.
26495 * stdio-common/bug16.c: Likewise.
26496 * stdlib/random.c: Likewise.
26497 * sunrpc/rpcsvc/rquota.x: Likewise.
26498 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26499 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26501 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26502 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26503 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26504 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26505 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26506 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26507 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26508 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26509 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26510 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26511 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26512 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26514 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26519 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26520 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26521 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26522 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26526 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26527 * sysdeps/ieee754/s_lib_version.c: Likewise.
26528 * sysdeps/mach/hurd/check_fds.c: Likewise.
26529 * sysdeps/mach/hurd/getsockname.c: Likewise.
26530 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26531 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26532 * sysdeps/powerpc/bits/link.h: Likewise.
26533 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26534 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26535 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26536 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26537 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26539 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26540 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26541 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26542 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26543 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26544 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26545 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26546 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26547 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26548 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26553 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26554 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26555 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26556 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26557 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26559 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26560 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26561 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26565 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26567 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26568 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26569 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26570 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26571 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26572 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26573 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26574 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26575 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26576 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26577 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26578 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26579 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26580 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26581 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26582 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26583 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26585 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26586 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26587 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26588 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26589 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26590 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26592 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26593 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26595 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26596 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26597 * sysdeps/powerpc/sysdep.h: Likewise.
26598 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26599 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26600 * sysdeps/sh/dl-trampoline.S: Likewise.
26601 * sysdeps/sh/memset.S: Likewise.
26602 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26603 * sysdeps/sh/strlen.S: Likewise.
26604 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26605 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26606 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26607 * sysdeps/sparc/sparc32/rem.S: Likewise.
26608 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26609 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26610 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26611 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26612 * sysdeps/sparc/sparc32/urem.S: Likewise.
26613 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26614 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26615 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26616 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26617 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26618 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26619 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26620 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26621 * sysdeps/unix/bsd/times.c: Likewise.
26622 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26623 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26627 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26628 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26629 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26630 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26631 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26632 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26633 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26634 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26635 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26636 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26637 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26638 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26639 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26640 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26642 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26643 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26644 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26645 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26646 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26647 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26648 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26649 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26650 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26651 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26652 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26653 * sysdeps/x86_64/strcspn.S: Likewise.
26654
26655 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26656
26657 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26658 generated file. Regenerate properly from gen-translit.pl.
26659 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26660 locale/C-translit.h.
26661
26662 2013-06-05 Andreas Schwab <schwab@suse.de>
26663
26664 [BZ #15100]
26665 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26666 week as 6 instead of -1.
26667 * time/tst-strptime.c (day_tests): Add test case.
26668
26669 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26670
26671 * sysdeps/generic/math_private.h
26672 (libc_feholdexcept_setround_53bit): Replace with
26673 libc_feholdsetround_53bit.
26674 (libc_feupdateenv_53bit): Replace with
26675 libc_feresetround_53bit.
26676 (SET_RESTORE_ROUND_53BIT): Adjust.
26677
26678 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26679
26680 * string/test-strchrnul.c: Add copyright header.
26681
26682 * posix/tst-getaddrinfo4.c: Increase test timeout.
26683
26684 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26685
26686 [BZ #15536]
26687 * math/libm-test.inc (MAX_EXP): Remove
26688 (MIN_EXP): Define.
26689 (ulp): Use MIN_EXP - MANT_DIG.
26690 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26691
26692 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26693
26694 * po/be.po: Revert last change.
26695 * po/zh_CN.po: Likewise.
26696 * po/header.pot: Likewise.
26697
26698 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26699
26700 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26701 link-libc-deps to empty as target-specific variable.
26702 * Makerules (link-libc-args): New variable.
26703 (libc-for-link): Likewise.
26704 (link-libc-deps): Likewise.
26705 (lib%.so): Depend on $(link-libc-deps). Link with
26706 $(link-libc-args).
26707 (build-module): Link with $(link-libc-args).
26708 (build-module-asneeded): Likewise.
26709 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26710 list of objects.
26711 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26712 target-specific variable.
26713 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26714 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26715 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26716 libc.
26717 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26718 libc and ld.so.
26719 ($(objpfx)libpcprofile.so): Likewise.
26720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26721 libc_nonshared.a.
26722 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26723 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26724 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26725 $(link-libc-deps).
26726 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26727 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26728 * login/Makefile ($(objpfx)libutil.so): Likewise.
26729 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26730 * math/Makefile ($(objpfx)libm.so): Likewise.
26731 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26732 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26733 variable instead of depending directly on libc.
26734 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26735 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26736 $(link-libc-deps).
26737 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26738 libc.
26739 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26740 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26741 ($(objpfx)libanl.so): Likewise.
26742 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26743 ld.so.
26744 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26745 $(link-libc-deps).
26746 * sysdeps/i386/fpu/Makefile: Remove file.
26747 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26748 ($(objpfx)libm.so): Remove dependency on ld.so.
26749
26750 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26751
26752 [BZ # 15553]
26753 * nis/yp_xdr.c (XDRMAXNAME): Define.
26754 (XDRMAXRECORD): Define.
26755 (xdr_domainname): Use XDRMAXNAME.
26756 (xdr_mapname): Likewise.
26757 (xdr_peername): Likewise.
26758 (xdr_keydat): Use XDRMAXRECORD.
26759 (xdr_valdat): Likewise.
26760
26761 2013-05-30 Jeff Law <law@redhat.com>
26762
26763 [BZ #14256]
26764 * manual/errno.texi (ESTALE): Update to account for more than
26765 just NFS file systems.
26766 * sysdeps/gnu/errlist.c: Regenerated.
26767
26768 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26769
26770 [BZ #15465]
26771 * elf/Makefile (tests): Add tst-null-argv.
26772 (modules-names): Add tst-null-argv-lib.
26773 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26774 (tst-null-argv-ENV): Set environment for tst-null-argv.
26775 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26776 (RTLD_PROGNAME): New macro.
26777 * elf/tst-null-argv.c: New test case.
26778 * elf/tst-null-argv-lib.c: Library for test case.
26779 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26780 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26781 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26782 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26783 * elf/dl-init.c (call_init): Likewise.
26784 (_dl_init): Likewise.
26785 * elf/dl-load.c (print_search_path): Likewise.
26786 (_dl_map_object): Likewise.
26787 * elf/dl-lookup.c (do_lookup_x): Likewise.
26788 (add_dependency): Likewise.
26789 (_dl_lookup_symbol_x): Likewise.
26790 (_dl_debug_bindings): Likewise.
26791 * elf/dl-open.c (_dl_show_scope): Likewise.
26792 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26793 * elf/dl-version.c (match_symbol): Likewise.
26794 (_dl_check_map_versions): Likewise.
26795 * elf/rtld.c (dl_main): Likewise.
26796 (print_unresolved): Use RTLD_PROGNAME.
26797 (print_missing_version): Likewise.
26798 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26799 (elf_machine_rela): Likewise.
26800 * sysdeps/powerpc/powerpc32/dl-machine.c
26801 (__process_machine_rela): Likewise.
26802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26803 Likewise.
26804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26805 Likewise.
26806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26807 Likewise.
26808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26809 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26810 Likewise.
26811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26812 Likewise.
26813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26814
26815 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26816
26817 * po/be.po: Add descriptive title.
26818 * po/zh_CN.po: Likewise.
26819 * po/header.pot: Likewise.
26820
26821 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26822
26823 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26824 error message.
26825 (enlarge_archive): Likewise.
26826
26827 2013-05-28 Ben North <ben@redfrontdoor.org>
26828
26829 * manual/arith.texi (frexp): It is the magnitude of the return
26830 value which lies in [0.5, 1), not the return value itself.
26831
26832 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26833
26834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26835
26836 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26837
26838 * stdio-common/bug26.c (main): Correct fscanf template.
26839
26840 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26841 declare _dl_skip_args.
26842
26843 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26844 Don't declare.
26845
26846 * manual/platform.texi: Add missing @end deftypefun.
26847
26848 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26849
26850 [BZ #15529]
26851 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26852 bit of mantissa of 2^16382.
26853 * math/libm-test.inc (hypot_test_data): Add more tests.
26854
26855 * math/libm-test.inc: Add drem and pow10 to list of tested
26856 functions.
26857 (pow10_test): New function.
26858 (drem_test): Likewise.
26859 (drem_test_tonearest): Likewise.
26860 (drem_test_towardzero): Likewise.
26861 (drem_test_downward): Likewise.
26862 (drem_test_upward): Likewise.
26863 (main): Call the new functions.
26864
26865 * math/libm-test.inc (finite_test_data): Remove.
26866 (finite_test): Run tests from isfinite_test_data.
26867 (gamma_test_data): Remove.
26868 (gamma_test): Run tests from lgamma_test_data.
26869 * sysdeps/i386/fpu/libm-test-ulps: Update.
26870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26871
26872 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26873
26874 * manual/platform.texi: Add PowerPC PPR function set documentation.
26875 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26876 implementation.
26877
26878 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26879
26880 * math/libm-test.inc (MAX_EXP): Define.
26881 (ULPDIFF): Define.
26882 (ulp): New function.
26883 (check_float_internal): Use ULPDIFF.
26884 (cpow_test): Disable failing test.
26885 (check_ulp): Test ulp() implemetnation.
26886 (main): Call check_ulp before starting tests.
26887
26888 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26889
26890 * math/gen-libm-test.pl (generate_testfile): Do not handle
26891 START_DATA and END_DATA.
26892 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26893 END_DATA.
26894 (acos_tonearest_test_data): Likewise.
26895 (acos_towardzero_test_data): Likewise.
26896 (acos_downward_test_data): Likewise.
26897 (acos_upward_test_data): Likewise.
26898 (acosh_test_data): Likewise.
26899 (asin_test_data): Likewise.
26900 (asin_tonearest_test_data): Likewise.
26901 (asin_towardzero_test_data): Likewise.
26902 (asin_downward_test_data): Likewise.
26903 (asin_upward_test_data): Likewise.
26904 (asinh_test_data): Likewise.
26905 (atan_test_data): Likewise.
26906 (atanh_test_data): Likewise.
26907 (atan2_test_data): Likewise.
26908 (cabs_test_data): Likewise.
26909 (cacos_test_data): Likewise.
26910 (cacosh_test_data): Likewise.
26911 (carg_test_data): Likewise.
26912 (casin_test_data): Likewise.
26913 (casinh_test_data): Likewise.
26914 (catan_test_data): Likewise.
26915 (catanh_test_data): Likewise.
26916 (cbrt_test_data): Likewise.
26917 (ccos_test_data): Likewise.
26918 (ccosh_test_data): Likewise.
26919 (ceil_test_data): Likewise.
26920 (cexp_test_data): Likewise.
26921 (cimag_test_data): Likewise.
26922 (clog_test_data): Likewise.
26923 (clog10_test_data): Likewise.
26924 (conj_test_data): Likewise.
26925 (copysign_test_data): Likewise.
26926 (cos_test_data): Likewise.
26927 (cos_tonearest_test_data): Likewise.
26928 (cos_towardzero_test_data): Likewise.
26929 (cos_downward_test_data): Likewise.
26930 (cos_upward_test_data): Likewise.
26931 (cosh_test_data): Likewise.
26932 (cosh_tonearest_test_data): Likewise.
26933 (cosh_towardzero_test_data): Likewise.
26934 (cosh_downward_test_data): Likewise.
26935 (cosh_upward_test_data): Likewise.
26936 (cpow_test_data): Likewise.
26937 (cproj_test_data): Likewise.
26938 (creal_test_data): Likewise.
26939 (csin_test_data): Likewise.
26940 (csinh_test_data): Likewise.
26941 (csqrt_test_data): Likewise.
26942 (ctan_test_data): Likewise.
26943 (ctan_tonearest_test_data): Likewise.
26944 (ctan_towardzero_test_data): Likewise.
26945 (ctan_downward_test_data): Likewise.
26946 (ctan_upward_test_data): Likewise.
26947 (ctanh_test_data): Likewise.
26948 (ctanh_tonearest_test_data): Likewise.
26949 (ctanh_towardzero_test_data): Likewise.
26950 (ctanh_downward_test_data): Likewise.
26951 (ctanh_upward_test_data): Likewise.
26952 (erf_test_data): Likewise.
26953 (erfc_test_data): Likewise.
26954 (exp_test_data): Likewise.
26955 (exp_tonearest_test_data): Likewise.
26956 (exp_towardzero_test_data): Likewise.
26957 (exp_downward_test_data): Likewise.
26958 (exp_upward_test_data): Likewise.
26959 (exp10_test_data): Likewise.
26960 (exp2_test_data): Likewise.
26961 (expm1_test_data): Likewise.
26962 (fabs_test_data): Likewise.
26963 (fdim_test_data): Likewise.
26964 (finite_test_data): Likewise.
26965 (floor_test_data): Likewise.
26966 (fma_test_data): Likewise.
26967 (fma_towardzero_test_data): Likewise.
26968 (fma_downward_test_data): Likewise.
26969 (fma_upward_test_data): Likewise.
26970 (fmax_test_data): Likewise.
26971 (fmin_test_data): Likewise.
26972 (fmod_test_data): Likewise.
26973 (fpclassify_test_data): Likewise.
26974 (frexp_test_data): Likewise.
26975 (gamma_test_data): Likewise.
26976 (hypot_test_data): Likewise.
26977 (ilogb_test_data): Likewise.
26978 (isfinite_test_data): Likewise.
26979 (isgreater_test_data): Likewise.
26980 (isgreaterequal_test_data): Likewise.
26981 (isinf_test_data): Likewise.
26982 (isless_test_data): Likewise.
26983 (islessequal_test_data): Likewise.
26984 (islessgreater_test_data): Likewise.
26985 (isnan_test_data): Likewise.
26986 (isnormal_test_data): Likewise.
26987 (issignaling_test_data): Likewise.
26988 (isunordered_test_data): Likewise.
26989 (j0_test_data): Likewise.
26990 (j1_test_data): Likewise.
26991 (jn_test_data): Likewise.
26992 (ldexp_test_data): Likewise.
26993 (lgamma_test_data): Likewise.
26994 (lrint_test_data): Likewise.
26995 (lrint_tonearest_test_data): Likewise.
26996 (lrint_towardzero_test_data): Likewise.
26997 (lrint_downward_test_data): Likewise.
26998 (lrint_upward_test_data): Likewise.
26999 (llrint_test_data): Likewise.
27000 (llrint_tonearest_test_data): Likewise.
27001 (llrint_towardzero_test_data): Likewise.
27002 (llrint_downward_test_data): Likewise.
27003 (llrint_upward_test_data): Likewise.
27004 (log_test_data): Likewise.
27005 (log10_test_data): Likewise.
27006 (log1p_test_data): Likewise.
27007 (log2_test_data): Likewise.
27008 (logb_test_data): Likewise.
27009 (logb_downward_test_data): Likewise.
27010 (lround_test_data): Likewise.
27011 (llround_test_data): Likewise.
27012 (modf_test_data): Likewise.
27013 (nearbyint_test_data): Likewise.
27014 (nextafter_test_data): Likewise.
27015 (nexttoward_test_data): Likewise.
27016 (pow_test_data): Likewise.
27017 (pow_tonearest_test_data): Likewise.
27018 (pow_towardzero_test_data): Likewise.
27019 (pow_downward_test_data): Likewise.
27020 (pow_upward_test_data): Likewise.
27021 (remainder_test_data): Likewise.
27022 (remainder_tonearest_test_data): Likewise.
27023 (remainder_towardzero_test_data): Likewise.
27024 (remainder_downward_test_data): Likewise.
27025 (remainder_upward_test_data): Likewise.
27026 (remquo_test_data): Likewise.
27027 (rint_test_data): Likewise.
27028 (rint_tonearest_test_data): Likewise.
27029 (rint_towardzero_test_data): Likewise.
27030 (rint_downward_test_data): Likewise.
27031 (rint_upward_test_data): Likewise.
27032 (round_test_data): Likewise.
27033 (scalb_test_data): Likewise.
27034 (scalbn_test_data): Likewise.
27035 (scalbln_test_data): Likewise.
27036 (signbit_test_data): Likewise.
27037 (sin_test_data): Likewise.
27038 (sin_tonearest_test_data): Likewise.
27039 (sin_towardzero_test_data): Likewise.
27040 (sin_downward_test_data): Likewise.
27041 (sin_upward_test_data): Likewise.
27042 (sincos_test_data): Likewise.
27043 (sinh_test_data): Likewise.
27044 (sinh_tonearest_test_data): Likewise.
27045 (sinh_towardzero_test_data): Likewise.
27046 (sinh_downward_test_data): Likewise.
27047 (sinh_upward_test_data): Likewise.
27048 (sqrt_test_data): Likewise.
27049 (tan_test_data): Likewise.
27050 (tan_tonearest_test_data): Likewise.
27051 (tan_towardzero_test_data): Likewise.
27052 (tan_downward_test_data): Likewise.
27053 (tan_upward_test_data): Likewise.
27054 (tanh_test_data): Likewise.
27055 (tgamma_test_data): Likewise.
27056 (trunc_test_data): Likewise.
27057 (y0_test_data): Likewise.
27058 (y1_test_data): Likewise.
27059 (yn_test_data): Likewise.
27060 (significand_test_data): Likewise.
27061
27062 * math/gen-libm-test.pl (@functions): Remove variable.
27063 (generate_testfile): Don't handle START and END lines.
27064 * math/libm-test.inc (START): New macro.
27065 (END): Likewise.
27066 (END_COMPLEX): Likewise.
27067 (acos_test): Use END macro without arguments.
27068 (acos_test_tonearest): Likewise.
27069 (acos_test_towardzero): Likewise.
27070 (acos_test_downward): Likewise.
27071 (acos_test_upward): Likewise.
27072 (acosh_test): Likewise.
27073 (asin_test): Likewise.
27074 (asin_test_tonearest): Likewise.
27075 (asin_test_towardzero): Likewise.
27076 (asin_test_downward): Likewise.
27077 (asin_test_upward): Likewise.
27078 (asinh_test): Likewise.
27079 (atan_test): Likewise.
27080 (atanh_test): Likewise.
27081 (atan2_test): Likewise.
27082 (cabs_test): Likewise.
27083 (cacos_test): Use END_COMPLEX macro without arguments.
27084 (cacosh_test): Likewise.
27085 (carg_test): Use END macro without arguments.
27086 (casin_test): Use END_COMPLEX macro without arguments.
27087 (casinh_test): Likewise.
27088 (catan_test): Likewise.
27089 (catanh_test): Likewise.
27090 (cbrt_test): Use END macro without arguments.
27091 (ccos_test): Use END_COMPLEX macro without arguments.
27092 (ccosh_test): Likewise.
27093 (ceil_test): Use END macro without arguments.
27094 (cexp_test): Use END_COMPLEX macro without arguments.
27095 (cimag_test): Use END macro without arguments.
27096 (clog_test): Use END_COMPLEX macro without arguments.
27097 (clog10_test): Likewise.
27098 (conj_test): Likewise.
27099 (copysign_test): Use END macro without arguments.
27100 (cos_test): Likewise.
27101 (cos_test_tonearest): Likewise.
27102 (cos_test_towardzero): Likewise.
27103 (cos_test_downward): Likewise.
27104 (cos_test_upward): Likewise.
27105 (cosh_test): Likewise.
27106 (cosh_test_tonearest): Likewise.
27107 (cosh_test_towardzero): Likewise.
27108 (cosh_test_downward): Likewise.
27109 (cosh_test_upward): Likewise.
27110 (cpow_test): Use END_COMPLEX macro without arguments.
27111 (cproj_test): Likewise.
27112 (creal_test): Use END macro without arguments.
27113 (csin_test): Use END_COMPLEX macro without arguments.
27114 (csinh_test): Likewise.
27115 (csqrt_test): Likewise.
27116 (ctan_test): Likewise.
27117 (ctan_test_tonearest): Likewise.
27118 (ctan_test_towardzero): Likewise.
27119 (ctan_test_downward): Likewise.
27120 (ctan_test_upward): Likewise.
27121 (ctanh_test): Likewise.
27122 (ctanh_test_tonearest): Likewise.
27123 (ctanh_test_towardzero): Likewise.
27124 (ctanh_test_downward): Likewise.
27125 (ctanh_test_upward): Likewise.
27126 (erf_test): Use END macro without arguments.
27127 (erfc_test): Likewise.
27128 (exp_test): Likewise.
27129 (exp_test_tonearest): Likewise.
27130 (exp_test_towardzero): Likewise.
27131 (exp_test_downward): Likewise.
27132 (exp_test_upward): Likewise.
27133 (exp10_test): Likewise.
27134 (exp2_test): Likewise.
27135 (expm1_test): Likewise.
27136 (fabs_test): Likewise.
27137 (fdim_test): Likewise.
27138 (finite_test): Likewise.
27139 (floor_test): Likewise.
27140 (fma_test): Likewise.
27141 (fma_test_towardzero): Likewise.
27142 (fma_test_downward): Likewise.
27143 (fma_test_upward): Likewise.
27144 (fmax_test): Likewise.
27145 (fmin_test): Likewise.
27146 (fmod_test): Likewise.
27147 (fpclassify_test): Likewise.
27148 (frexp_test): Likewise.
27149 (gamma_test): Likewise.
27150 (hypot_test): Likewise.
27151 (ilogb_test): Likewise.
27152 (isfinite_test): Likewise.
27153 (isgreater_test): Likewise.
27154 (isgreaterequal_test): Likewise.
27155 (isinf_test): Likewise.
27156 (isless_test): Likewise.
27157 (islessequal_test): Likewise.
27158 (islessgreater_test): Likewise.
27159 (isnan_test): Likewise.
27160 (isnormal_test): Likewise.
27161 (issignaling_test): Likewise.
27162 (isunordered_test): Likewise.
27163 (j0_test): Likewise.
27164 (j1_test): Likewise.
27165 (jn_test): Likewise.
27166 (ldexp_test): Likewise.
27167 (lgamma_test): Likewise.
27168 (lrint_test): Likewise.
27169 (lrint_test_tonearest): Likewise.
27170 (lrint_test_towardzero): Likewise.
27171 (lrint_test_downward): Likewise.
27172 (lrint_test_upward): Likewise.
27173 (llrint_test): Likewise.
27174 (llrint_test_tonearest): Likewise.
27175 (llrint_test_towardzero): Likewise.
27176 (llrint_test_downward): Likewise.
27177 (llrint_test_upward): Likewise.
27178 (log_test): Likewise.
27179 (log10_test): Likewise.
27180 (log1p_test): Likewise.
27181 (log2_test): Likewise.
27182 (logb_test): Likewise.
27183 (logb_test_downward): Likewise.
27184 (lround_test): Likewise.
27185 (llround_test): Likewise.
27186 (modf_test): Likewise.
27187 (nearbyint_test): Likewise.
27188 (nextafter_test): Likewise.
27189 (nexttoward_test): Likewise.
27190 (pow_test): Likewise.
27191 (pow_test_tonearest): Likewise.
27192 (pow_test_towardzero): Likewise.
27193 (pow_test_downward): Likewise.
27194 (pow_test_upward): Likewise.
27195 (remainder_test): Likewise.
27196 (remainder_test_tonearest): Likewise.
27197 (remainder_test_towardzero): Likewise.
27198 (remainder_test_downward): Likewise.
27199 (remainder_test_upward): Likewise.
27200 (remquo_test): Likewise.
27201 (rint_test): Likewise.
27202 (rint_test_tonearest): Likewise.
27203 (rint_test_towardzero): Likewise.
27204 (rint_test_downward): Likewise.
27205 (rint_test_upward): Likewise.
27206 (round_test): Likewise.
27207 (scalb_test): Likewise.
27208 (scalbn_test): Likewise.
27209 (scalbln_test): Likewise.
27210 (signbit_test): Likewise.
27211 (sin_test): Likewise.
27212 (sin_test_tonearest): Likewise.
27213 (sin_test_towardzero): Likewise.
27214 (sin_test_downward): Likewise.
27215 (sin_test_upward): Likewise.
27216 (sincos_test): Likewise.
27217 (sinh_test): Likewise.
27218 (sinh_test_tonearest): Likewise.
27219 (sinh_test_towardzero): Likewise.
27220 (sinh_test_downward): Likewise.
27221 (sinh_test_upward): Likewise.
27222 (sqrt_test): Likewise.
27223 (tan_test): Likewise.
27224 (tan_test_tonearest): Likewise.
27225 (tan_test_towardzero): Likewise.
27226 (tan_test_downward): Likewise.
27227 (tan_test_upward): Likewise.
27228 (tanh_test): Likewise.
27229 (tgamma_test): Likewise.
27230 (trunc_test): Likewise.
27231 (y0_test): Likewise.
27232 (y1_test): Likewise.
27233 (yn_test): Likewise.
27234 (significand_test): Likewise.
27235
27236 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27237
27238 [BZ #15381]
27239 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27240
27241 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27242
27243 [BZ #14894]
27244 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27245 __ppc_mdoio and __ppc_mdoom.
27246 * manual/platform.texi: Document new functions __ppc_yield,
27247 __ppc_mdoio and __ppc_mdoom.
27248
27249 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27250
27251 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27252 (main): Mention "tls" pseudo-hwcap is legacy.
27253 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27254
27255 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27256
27257 * math/gen-libm-test.pl (parse_args): Output only string of
27258 arguments as text for test name, not full call or descriptions of
27259 tests for extra outputs.
27260 (generate_testfile): Do not pass function name to parse_args.
27261 Generate this_func variable from START.
27262 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27263 field to arg_str.
27264 (struct test_ff_f_data): Likewise.
27265 (test_ff_f_data_nexttoward): Likewise.
27266 (struct test_fi_f_data): Likewise.
27267 (struct test_fl_f_data): Likewise.
27268 (struct test_if_f_data): Likewise.
27269 (struct test_fff_f_data): Likewise.
27270 (struct test_c_f_data): Likewise.
27271 (struct test_f_f1_data): Likewise. Remove field extra_name.
27272 (struct test_fF_f1_data): Likewise.
27273 (struct test_ffI_f1_data): Likewise.
27274 (struct test_c_c_data): Rename test_name field to arg_str.
27275 (struct test_cc_c_data): Likewise.
27276 (struct test_f_i_data): Likewise.
27277 (struct test_ff_i_data): Likewise.
27278 (struct test_f_l_data): Likewise.
27279 (struct test_f_L_data): Likewise.
27280 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27281 and extra2_name.
27282 (COMMON_TEST_SETUP): New macro.
27283 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27284 (COMMON_TEST_CLEANUP): Likewise.
27285 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27286 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27287 macros.
27288 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27289 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27290 macros.
27291 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27292 (RUN_TEST_fff_f): Take argument string. Call new setup and
27293 cleanup macros.
27294 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27295 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27296 macros.
27297 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27298 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27299 macros.
27300 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27301 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27302 cleanup macros.
27303 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27304 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27305 cleanup macros.
27306 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27307 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27308 cleanup macros.
27309 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27310 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27311 macros.
27312 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27313 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27314 macros.
27315 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27316 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27317 macros.
27318 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27319 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27320 cleanup macros.
27321 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27322 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27323 cleanup macros.
27324 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27325 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27326 macros.
27327 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27328 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27329 cleanup macros.
27330 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27331 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27332 macros.
27333 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27334 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27335 macros.
27336 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27337 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27338 cleanup macros.
27339 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27340
27341 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27342
27343 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27344 to _sifields.sigfault.
27345 (si_addr_lsb): Define new macro.
27346 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27347 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27348 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27349
27350 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27351
27352 [BZ #15441]
27353 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27354 returns -1.
27355 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27356 null return -1.
27357 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27358 loading the domain.
27359
27360 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27361
27362 * math/gen-libm-test.pl (parse_args): Do not include expected
27363 result in test name.
27364 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27368 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27370
27371 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27372
27373 * benchtests/Makefile: Sort function entries.
27374
27375 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27376 tanh, asinh, acosh, atanh.
27377 * benchtests/acos-inputs: New file.
27378 * benchtests/acosh-inputs: New file.
27379 * benchtests/asin-inputs: New file.
27380 * benchtests/asinh-inputs: New file.
27381 * benchtests/atanh-inputs: New file.
27382 * benchtests/cosh-inputs: New file.
27383 * benchtests/log-inputs: New file.
27384 * benchtests/sinh-inputs: New file.
27385 * benchtests/tanh-inputs: New file.
27386
27387 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27388
27389 [BZ #15339]
27390 * posix/tst-getaddrinfo4.c: New test.
27391 * posix/Makefile (tests): Add it.
27392
27393 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27394
27395 [BZ #15339]
27396 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27397 when no services were used.
27398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27399 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27400
27401 2013-05-21 Andreas Schwab <schwab@suse.de>
27402
27403 [BZ #15014]
27404 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27405 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27406 successful.
27407 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27408 redundant variable declarations and reallocation of buffer when
27409 parsing as IPv6 address. Always set NSS status when called from
27410 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27411 buffer too small. Correct computation of needed size.
27412 * nss/Makefile (tests): Add test-digits-dots.
27413 * nss/test-digits-dots.c: New test.
27414
27415 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27416
27417 * benchtests/Makefile: Remove instructions for adding
27418 benchmark tests.
27419 * benchtests/README: New file to explain how to execute and
27420 enhance the benchmark tests.
27421
27422 2013-05-21 Andreas Schwab <schwab@suse.de>
27423
27424 [BZ #15493]
27425 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27426 * setjmp/tst-sigsetjmp.c: New test.
27427
27428 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27429
27430 * sysdeps/x86_64/memset.S (memset): New implementation.
27431 (__bzero): Likewise.
27432 (__memset_tail): New function.
27433
27434 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27435
27436 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27437 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27438 __memcpy_sse2_unaligned ifunc selection.
27439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27440 Add memcpy-sse2-unaligned.S.
27441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27442 Add: __memcpy_sse2_unaligned.
27443
27444 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27445
27446 [BZ #15490]
27447 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27448 math_force_eval before restoring floating-point envrionment.
27449 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27451 Likewise.
27452 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27453 <math_private.h>.
27454 (__nearbyintl): Use math_force_eval before restoring
27455 floating-point environment.
27456 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27457
27458 * math/gen-libm-test.pl (special_functions): Remove.
27459 (parse_args): Don't handle TEST_extra. Handle functions with no
27460 return value.
27461 * math/libm-test.inc (struct test_sincos_data): Replace with
27462 struct test_fFF_11_data.
27463 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27464 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27465 (sincos_test_data): Change element type to struct
27466 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27467 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27468 RUN_TEST_LOOP_sincos.
27469 * math/README.libm-test: Don't mention special handling of
27470 individual functions.
27471 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27473 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27474 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27475 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27477
27478 * math/gen-libm-test.pl (get_variable): Remove function.
27479 (parse_args): Don't show pointer parameters to call in test
27480 names. Use "extra output N" in test names for extra outputs
27481 rather than naming variables.
27482
27483 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27484
27485 [BZ #15488]
27486 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27487 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27488 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27489 double tests.
27490 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27491 disable.
27492 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27493 check_long_double.
27494
27495 * math/gen-libm-test.pl (@tests): Remove variable.
27496 ($count): Likewise.
27497 (new_test): Remove function.
27498 (show_exceptions): New function.
27499 (special_functions): Use show_exceptions instead of new_test.
27500 (parse_args): Likewise.
27501 (generate_testfile): Pass only function name in generated call to
27502 print_max_error or print_complex_max_error.
27503 (get_ulps): Do not handle complex tests specially.
27504 (output_test): Rename to ...
27505 (get_all_ulps_for_test): ... this. Return a string rather than
27506 printing to a file. Require ulps to be present.
27507 (output_ulps): Generate arrays rather than #defines.
27508 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27509 (struct ulp_data): New type.
27510 (BUILD_COMPLEX_ULP): Remove macro.
27511 (compare_ulp_data): New function.
27512 (find_ulps): Likewise.
27513 (find_test_ulps): Likewise.
27514 (find_function_ulps): Likewise.
27515 (find_complex_function_ulps): Likewise.
27516 (print_max_error): Determine allowed ulps using
27517 find_function_ulps.
27518 (print_complex_max_error): Determine allowed ulps using
27519 find_complex_function_ulps.
27520 (check_float_internal): Determine max ulps using find_test_ulps.
27521 (check_float): Do not take max_ulp parameter. Update call to
27522 check_float_internal.
27523 (check_complex): Likewise.
27524 (check_int): Do not take max_ulp parameter.
27525 (check_long): Likewise.
27526 (check_bool): Likewise.
27527 (check_longlong): Likewise.
27528 (struct test_f_f_data): Remove max_ulp field.
27529 (struct test_ff_f_data): Likewise.
27530 (struct test_ff_f_data_nexttoward): Likewise.
27531 (struct test_fi_f_data): Likewise.
27532 (struct test_fl_f_data): Likewise.
27533 (struct test_if_f_data): Likewise.
27534 (struct test_fff_f_data): Likewise.
27535 (struct test_c_f_data): Likewise.
27536 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27537 (struct test_fF_f1_data): Likewise.
27538 (struct test_ffI_f1_data): Likewise.
27539 (struct test_c_c_data): Remove max_ulp field.
27540 (struct test_cc_c_data): Likewise.
27541 (struct test_f_i_data): Likewise.
27542 (struct test_ff_i_data): Likewise.
27543 (struct test_f_l_data): Likewise.
27544 (struct test_f_L_data): Likewise.
27545 (struct test_sincos_data): Likewise.
27546 (RUN_TEST_f_f): Do not handle ulps.
27547 (RUN_TEST_LOOP_f_f): Likewise.
27548 (RUN_TEST_2_f): Likewise.
27549 (RUN_TEST_LOOP_2_f): Likewise.
27550 (RUN_TEST_fff_f): Likewise.
27551 (RUN_TEST_LOOP_fff_f): Likewise.
27552 (RUN_TEST_c_f): Likewise.
27553 (RUN_TEST_LOOP_c_f): Likewise.
27554 (RUN_TEST_f_f1): Likewise.
27555 (RUN_TEST_LOOP_f_f1): Likewise.
27556 (RUN_TEST_fF_f1): Likewise.
27557 (RUN_TEST_LOOP_fF_f1): Likewise.
27558 (RUN_TEST_fI_f1): Likewise.
27559 (RUN_TEST_LOOP_fI_f1): Likewise.
27560 (RUN_TEST_ffI_f1): Likewise.
27561 (RUN_TEST_LOOP_ffI_f1): Likewise.
27562 (RUN_TEST_c_c): Likewise.
27563 (RUN_TEST_LOOP_c_c): Likewise.
27564 (RUN_TEST_cc_c): Likewise.
27565 (RUN_TEST_LOOP_cc_c): Likewise.
27566 (RUN_TEST_f_i): Likewise.
27567 (RUN_TEST_LOOP_f_i): Likewise.
27568 (RUN_TEST_f_i_tg): Likewise.
27569 (RUN_TEST_LOOP_f_i_tg): Likewise.
27570 (RUN_TEST_ff_i_tg): Likewise.
27571 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27572 (RUN_TEST_f_b): Likewise.
27573 (RUN_TEST_LOOP_f_b): Likewise.
27574 (RUN_TEST_f_b_tg): Likewise.
27575 (RUN_TEST_LOOP_f_b_tg): Likewise.
27576 (RUN_TEST_f_l): Likewise.
27577 (RUN_TEST_LOOP_f_l): Likewise.
27578 (RUN_TEST_f_L): Likewise.
27579 (RUN_TEST_LOOP_f_L): Likewise.
27580 (RUN_TEST_sincos): Likewise.
27581 (RUN_TEST_LOOP_sincos): Likewise.
27582
27583 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27584
27585 [BZ #15480]
27586 [BZ #15485]
27587 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27588 main case of finite arguments, set rounding mode to FE_TONEAREST
27589 and discard exceptions.
27590 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27591 exceptions.
27592 (remainder_tonearest_test_data): New variable.
27593 (remainder_test_tonearest): New function.
27594 (remainder_towardzero_test_data): New variable.
27595 (remainder_test_towardzero): New function.
27596 (remainder_downward_test_data): New variable.
27597 (remainder_test_downward): New function.
27598 (remainder_upward_test_data): New variable.
27599 (remainder_test_upward): New function.
27600 (main): Call the new test functions.
27601
27602 * math/libm-test.inc (struct test_f_f1_data): Remove field
27603 extra_init.
27604 (struct test_fF_f1_data): Likewise.
27605 (struct test_ffI_f1_data): Likewise.
27606 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27607 based on value of EXTRA_EXPECTED.
27608 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27609 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27610 EXTRA_VAR based on value of EXTRA_EXPECTED.
27611 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27612 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27613 EXTRA_VAR based on value of EXTRA_EXPECTED.
27614 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27615 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27616 EXTRA_VAR based on value of EXTRA_EXPECTED.
27617 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27618 * math/gen-libm-test.pl (parse_args): Don't output initializers
27619 for extra output values.
27620
27621 * math/libm-test.inc (check_int): Expect result to be exactly
27622 equal to expected value and do not handle ulps.
27623 (check_long): Likewise.
27624 (check_longlong): Likewise.
27625
27626 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27627 exceptions.
27628 (cimag_test_data): Likewise.
27629 (conj_test_data): Likewise.
27630 (copysign_test_data): Likewise.
27631 (cproj_test_data): Likewise.
27632 (creal_test_data): Likewise.
27633 (fabs_test_data): Likewise.
27634 (fdim_test_data): Likewise.
27635 (finite_test_data): Likewise.
27636 (floor_test_data): Likewise.
27637 (fmax_test_data): Likewise.
27638 (fmin_test_data): Likewise.
27639 (fmod_test_data): Likewise.
27640 (fpclassify_test_data): Likewise.
27641 (frexp_test_data): Likewise.
27642 (ilogb_test_data): Likewise.
27643 (isfinite_test_data): Likewise.
27644 (isgreater_test_data): Likewise.
27645 (isgreaterequal_test_data): Likewise.
27646 (isinf_test_data): Likewise.
27647 (isless_test_data): Likewise.
27648 (islessequal_test_data): Likewise.
27649 (islessgreater_test_data): Likewise.
27650 (isnan_test_data): Likewise.
27651 (isnormal_test_data): Likewise.
27652 (issignaling_test_data): Likewise.
27653 (isunordered_test_data): Likewise.
27654 (ldexp_test_data): Likewise.
27655 (lrint_test_data): Likewise.
27656 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27657 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27658 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27659 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27660 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27661 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27662 test input.
27663 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27664 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27665 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27666 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27667 that test input.
27668 (lrint_downward_test_data): Test for "inexact" exceptions.
27669 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27670 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27671 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27672 test input.
27673 (lrint_upward_test_data): Test for "inexact" exceptions.
27674 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27675 test input.
27676 (llrint_test_data): Test for "inexact" exceptions.
27677 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27678 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27679 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27680 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27681 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27682 (llrint_downward_test_data): Test for "inexact" exceptions.
27683 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27684 (llrint_upward_test_data): Test for "inexact" exceptions.
27685 (logb_test_data): Likewise.
27686 (logb_downward_test_data): Likewise.
27687 (nextafter_test_data): Likewise.
27688 (nexttoward_test_data): Likewise.
27689 (remainder_test_data): Likewise.
27690 (remquo_test_data): Likewise.
27691 (scalbn_test_data): Likewise.
27692 (scalbln_test_data): Likewise.
27693 (signbit_test_data): Likewise.
27694 (sqrt_test_data): Likewise.
27695 (significand_test_data): Likewise.
27696
27697 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27698
27699 [BZ #15424]
27700 * benchtests/bench-modf.c (struct args): Mark arg0 as
27701 volatile.
27702 * scripts/bench.pl: Mark members of struct args as volatile.
27703
27704 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27705
27706 [BZ # 15497]
27707 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27708 negative infinity on POWER6 or lower.
27709 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27710
27711 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27712
27713 [BZ #15442]
27714 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27715 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27716 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27717 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27718 (_FP_SETQNAN): New macro.
27719 (_FP_SETQNAN_SEMIRAW): Likewise.
27720 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27721 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27722 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27723 (FP_EXTEND): Use _FP_FRAC_SNANP.
27724 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27725 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27726 into account.
27727 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27728 New macro.
27729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27730 Likewise.
27731
27732 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27733
27734 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27735 with DIVIDE_BY_ZERO_EXCEPTION.
27736 (gamma_test_data): Likewise.
27737 (lgamma_test_data): Likewise.
27738 (log_test_data): Likewise.
27739 (log10_test_data): Likewise.
27740 (log2_test_data): Likewise.
27741 (tgamma_test_data): Likewise.
27742
27743 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27744 (acos_test_tonearest): Likewise.
27745 (acos_test_towardzero): Likewise.
27746 (acos_test_downward): Likewise.
27747 (acos_test_upward): Likewise.
27748 (acosh_test): Likewise.
27749 (asin_test): Likewise.
27750 (asin_test_tonearest): Likewise.
27751 (asin_test_towardzero): Likewise.
27752 (asin_test_downward): Likewise.
27753 (asin_test_upward): Likewise.
27754 (asinh_test): Likewise.
27755 (atan_test): Likewise.
27756 (atanh_test): Likewise.
27757 (atan2_test): Likewise.
27758 (cabs_test): Likewise.
27759 (cacos_test): Likewise.
27760 (cacosh_test): Likewise.
27761 (casin_test): Likewise.
27762 (casinh_test): Likewise.
27763 (catan_test): Likewise.
27764 (catanh_test): Likewise.
27765 (cbrt_test): Likewise.
27766 (ccos_test): Likewise.
27767 (ccosh_test): Likewise.
27768 (cexp_test): Likewise.
27769 (clog_test): Likewise.
27770 (clog10_test): Likewise.
27771 (cos_test): Likewise.
27772 (cos_test_tonearest): Likewise.
27773 (cos_test_towardzero): Likewise.
27774 (cos_test_downward): Likewise.
27775 (cos_test_upward): Likewise.
27776 (cosh_test): Likewise.
27777 (cosh_test_tonearest): Likewise.
27778 (cosh_test_towardzero): Likewise.
27779 (cosh_test_downward): Likewise.
27780 (cosh_test_upward): Likewise.
27781 (cpow_test): Likewise.
27782 (csin_test): Likewise.
27783 (csinh_test): Likewise.
27784 (csqrt_test): Likewise.
27785 (ctan_test): Likewise.
27786 (ctan_test_tonearest): Likewise.
27787 (ctan_test_towardzero): Likewise.
27788 (ctan_test_downward): Likewise.
27789 (ctan_test_upward): Likewise.
27790 (ctanh_test): Likewise.
27791 (ctanh_test_tonearest): Likewise.
27792 (ctanh_test_towardzero): Likewise.
27793 (ctanh_test_downward): Likewise.
27794 (ctanh_test_upward): Likewise.
27795 (erf_test): Likewise.
27796 (erfc_test): Likewise.
27797 (exp_test): Likewise.
27798 (exp_test_tonearest): Likewise.
27799 (exp_test_towardzero): Likewise.
27800 (exp_test_downward): Likewise.
27801 (exp_test_upward): Likewise.
27802 (exp10_test): Likewise.
27803 (exp2_test): Likewise.
27804 (expm1_test): Likewise.
27805 (fmod_test): Likewise.
27806 (gamma_test): Likewise.
27807 (hypot_test): Likewise.
27808 (j0_test): Likewise.
27809 (j1_test): Likewise.
27810 (jn_test): Likewise.
27811 (lgamma_test): Likewise.
27812 (log_test): Likewise.
27813 (log10_test): Likewise.
27814 (log1p_test): Likewise.
27815 (log2_test): Likewise.
27816 (logb_test_downward): Likewise.
27817 (pow_test): Likewise.
27818 (pow_test_tonearest): Likewise.
27819 (pow_test_towardzero): Likewise.
27820 (pow_test_downward): Likewise.
27821 (pow_test_upward): Likewise.
27822 (remainder_test): Likewise.
27823 (remquo_test): Likewise.
27824 (sin_test): Likewise.
27825 (sin_test_tonearest): Likewise.
27826 (sin_test_towardzero): Likewise.
27827 (sin_test_downward): Likewise.
27828 (sin_test_upward): Likewise.
27829 (sincos_test): Likewise.
27830 (sinh_test): Likewise.
27831 (sinh_test_tonearest): Likewise.
27832 (sinh_test_towardzero): Likewise.
27833 (sinh_test_downward): Likewise.
27834 (sinh_test_upward): Likewise.
27835 (sqrt_test): Likewise.
27836 (tan_test): Likewise.
27837 (tan_test_tonearest): Likewise.
27838 (tan_test_towardzero): Likewise.
27839 (tan_test_downward): Likewise.
27840 (tan_test_upward): Likewise.
27841 (tanh_test): Likewise.
27842 (tgamma_test): Likewise.
27843 (y0_test): Likewise.
27844 (y1_test): Likewise.
27845 (yn_test): Likewise.
27846
27847 * math/gen-libm-test.pl (adjust_arg): Remove function.
27848 (special_function): Remove argument $in_func. Only handle
27849 generating output for tables of tests, not inside functions.
27850 (parse_args): Likewise.
27851 (generate_testfile): Remove variable $in_func. Update call to
27852 parse_args.
27853 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27854 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27855 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27856 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27857 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27858 (MAX_VALUE_INIT): Rename macro to max_value.
27859 (MIN_VALUE_INIT): Rename macro to min_value.
27860 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27861 (plus_zero): Remove variable.
27862 (minus_zero): Likewise.
27863 (plus_infty): Likewise.
27864 (minus_infty): Likewise.
27865 (qnan_value): Likewise.
27866 (max_value): Likewise.
27867 (min_value): Likewise.
27868 (min_subnorm_value): Likewise.
27869
27870 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27871
27872 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27873 uint64_t or uint32_t usage.
27874 * crypt/sha256-block.c: Likewise.
27875 * crypt/sha256-crypt.c: Likewise.
27876 * crypt/sha256.c: Likewise.
27877 * crypt/sha512-block.c: Likewise.
27878 * crypt/sha512-crypt.c: Likewise.
27879 * crypt/sha512.c: Likewise.
27880 * debug/backtrace-tst.c: Likewise.
27881 * debug/pcprofiledump.c: Likewise.
27882 * elf/cache.c: Likewise.
27883 * elf/dl-cache.c: Likewise.
27884 * elf/dl-misc.c: Likewise.
27885 * elf/dl-profile.c: Likewise.
27886 * elf/dl-support.c: Likewise.
27887 * elf/ldconfig.c: Likewise.
27888 * elf/sprof.c: Likewise.
27889 * iconv/dummy-repertoire.c: Likewise.
27890 * iconv/iconv_charmap.c: Likewise.
27891 * iconv/skeleton.c: Likewise.
27892 * iconvdata/8bit-generic.c: Likewise.
27893 * iconvdata/cp737.h: Likewise.
27894 * iconvdata/cp775.h: Likewise.
27895 * iconvdata/ibm1008.h: Likewise.
27896 * iconvdata/ibm1025.h: Likewise.
27897 * iconvdata/ibm1046.h: Likewise.
27898 * iconvdata/ibm1097.h: Likewise.
27899 * iconvdata/ibm1112.h: Likewise.
27900 * iconvdata/ibm1122.h: Likewise.
27901 * iconvdata/ibm1123.h: Likewise.
27902 * iconvdata/ibm1124.h: Likewise.
27903 * iconvdata/ibm1129.h: Likewise.
27904 * iconvdata/ibm1130.h: Likewise.
27905 * iconvdata/ibm1132.h: Likewise.
27906 * iconvdata/ibm1133.h: Likewise.
27907 * iconvdata/ibm1137.h: Likewise.
27908 * iconvdata/ibm1140.h: Likewise.
27909 * iconvdata/ibm1141.h: Likewise.
27910 * iconvdata/ibm1142.h: Likewise.
27911 * iconvdata/ibm1143.h: Likewise.
27912 * iconvdata/ibm1144.h: Likewise.
27913 * iconvdata/ibm1145.h: Likewise.
27914 * iconvdata/ibm1146.h: Likewise.
27915 * iconvdata/ibm1147.h: Likewise.
27916 * iconvdata/ibm1148.h: Likewise.
27917 * iconvdata/ibm1149.h: Likewise.
27918 * iconvdata/ibm1153.h: Likewise.
27919 * iconvdata/ibm1154.h: Likewise.
27920 * iconvdata/ibm1155.h: Likewise.
27921 * iconvdata/ibm1156.h: Likewise.
27922 * iconvdata/ibm1157.h: Likewise.
27923 * iconvdata/ibm1158.h: Likewise.
27924 * iconvdata/ibm1160.h: Likewise.
27925 * iconvdata/ibm1161.h: Likewise.
27926 * iconvdata/ibm1162.h: Likewise.
27927 * iconvdata/ibm1163.h: Likewise.
27928 * iconvdata/ibm1164.h: Likewise.
27929 * iconvdata/ibm1166.h: Likewise.
27930 * iconvdata/ibm1167.h: Likewise.
27931 * iconvdata/ibm12712.h: Likewise.
27932 * iconvdata/ibm1390.h: Likewise.
27933 * iconvdata/ibm1399.h: Likewise.
27934 * iconvdata/ibm16804.h: Likewise.
27935 * iconvdata/ibm4517.h: Likewise.
27936 * iconvdata/ibm4899.h: Likewise.
27937 * iconvdata/ibm4909.h: Likewise.
27938 * iconvdata/ibm4971.h: Likewise.
27939 * iconvdata/ibm5347.h: Likewise.
27940 * iconvdata/ibm803.h: Likewise.
27941 * iconvdata/ibm856.h: Likewise.
27942 * iconvdata/ibm901.h: Likewise.
27943 * iconvdata/ibm902.h: Likewise.
27944 * iconvdata/ibm9030.h: Likewise.
27945 * iconvdata/ibm9066.h: Likewise.
27946 * iconvdata/ibm921.h: Likewise.
27947 * iconvdata/ibm922.h: Likewise.
27948 * iconvdata/ibm9448.h: Likewise.
27949 * iconvdata/isiri-3342.h: Likewise.
27950 * iconvdata/jis0201.h: Likewise.
27951 * include/link.h: Likewise.
27952 * include/netdb.h: Likewise.
27953 * inet/check_native.c: Likewise.
27954 * inet/check_pf.c: Likewise.
27955 * inet/getipv4sourcefilter.c: Likewise.
27956 * inet/getnameinfo.c: Likewise.
27957 * inet/getsourcefilter.c: Likewise.
27958 * inet/htonl.c: Likewise.
27959 * inet/setipv4sourcefilter.c: Likewise.
27960 * inet/setsourcefilter.c: Likewise.
27961 * inet/test-inet6_opt.c: Likewise.
27962 * inet/tst-network.c: Likewise.
27963 * locale/C-collate.c: Likewise.
27964 * locale/C-ctype.c: Likewise.
27965 * locale/C-time.c: Likewise.
27966 * locale/C-translit.h: Likewise.
27967 * locale/loadarchive.c: Likewise.
27968 * locale/programs/3level.h: Likewise.
27969 * locale/programs/charmap.c: Likewise.
27970 * locale/programs/charmap.h: Likewise.
27971 * locale/programs/ld-address.c: Likewise.
27972 * locale/programs/ld-collate.c: Likewise.
27973 * locale/programs/ld-ctype.c: Likewise.
27974 * locale/programs/ld-identification.c: Likewise.
27975 * locale/programs/ld-measurement.c: Likewise.
27976 * locale/programs/ld-messages.c: Likewise.
27977 * locale/programs/ld-monetary.c: Likewise.
27978 * locale/programs/ld-name.c: Likewise.
27979 * locale/programs/ld-numeric.c: Likewise.
27980 * locale/programs/ld-paper.c: Likewise.
27981 * locale/programs/ld-telephone.c: Likewise.
27982 * locale/programs/ld-time.c: Likewise.
27983 * locale/programs/linereader.c: Likewise.
27984 * locale/programs/locale.c: Likewise.
27985 * locale/programs/locarchive.c: Likewise.
27986 * locale/programs/locfile.h: Likewise.
27987 * locale/programs/repertoire.c: Likewise.
27988 * locale/programs/simple-hash.c: Likewise.
27989 * locale/programs/simple-hash.h: Likewise.
27990 * malloc/memusage.c: Likewise.
27991 * malloc/memusagestat.c: Likewise.
27992 * nis/nis_defaults.c: Likewise.
27993 * nis/nis_hash.c: Likewise.
27994 * nis/nis_print.c: Likewise.
27995 * nis/nis_xdr.c: Likewise.
27996 * nscd/connections.c: Likewise.
27997 * nscd/hstcache.c: Likewise.
27998 * nscd/nscd_gethst_r.c: Likewise.
27999 * nscd/nscd_getserv_r.c: Likewise.
28000 * nscd/nscd_helper.c: Likewise.
28001 * nscd/servicescache.c: Likewise.
28002 * nss/makedb.c: Likewise.
28003 * nss/nss_db/db-XXX.c: Likewise.
28004 * nss/nss_db/db-initgroups.c: Likewise.
28005 * nss/nss_db/db-netgrp.c: Likewise.
28006 * nss/nss_files/files-network.c: Likewise.
28007 * nss/nss_files/files-parse.c: Likewise.
28008 * posix/bug-regex5.c: Likewise.
28009 * posix/fnmatch_loop.c: Likewise.
28010 * posix/regcomp.c: Likewise.
28011 * posix/regexec.c: Likewise.
28012 * posix/tst-rfc3484-2.c: Likewise.
28013 * posix/tst-rfc3484-3.c: Likewise.
28014 * posix/tst-rfc3484.c: Likewise.
28015 * resolv/nss_dns/dns-canon.c: Likewise.
28016 * resolv/nss_dns/dns-network.c: Likewise.
28017 * resolv/res_init.c: Likewise.
28018 * resolv/res_mkquery.c: Likewise.
28019 * resolv/tst-aton.c: Likewise.
28020 * stdlib/cxa_atexit.c: Likewise.
28021 * stdlib/cxa_finalize.c: Likewise.
28022 * stdlib/gen-fpioconst.c: Likewise.
28023 * stdlib/strtol_l.c: Likewise.
28024 * string/tst-endian.c: Likewise.
28025 * sunrpc/auth_des.c: Likewise.
28026 * sunrpc/clnt_udp.c: Likewise.
28027 * sunrpc/rtime.c: Likewise.
28028 * sunrpc/svcauth_des.c: Likewise.
28029 * sunrpc/xdr.c: Likewise.
28030 * sunrpc/xdr_intXX_t.c: Likewise.
28031 * sunrpc/xdr_rec.c: Likewise.
28032 * sysdeps/generic/ldconfig.h: Likewise.
28033 * sysdeps/generic/ldsodefs.h: Likewise.
28034 * sysdeps/generic/memusage.h: Likewise.
28035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28042 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28043 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28045 * sysdeps/posix/getaddrinfo.c: Likewise.
28046 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28047 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28048 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28049 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28050 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28051 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28052 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28053 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28054 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28056 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28057 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28058 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28059 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28060 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28061 * sysdeps/x86_64/dl-tls.h: Likewise.
28062 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28063 * time/alt_digit.c: Likewise.
28064 * time/era.c: Likewise.
28065 * wcsmbs/tst-c16c32-1.c: Likewise.
28066
28067 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28068
28069 * math/libm-test.inc (struct test_sincos_data): New type.
28070 (RUN_TEST_LOOP_sincos): New macro.
28071 (sincos_test_data): New variable.
28072 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28073
28074 2013-05-16 Richard Henderson <rth@redhat.com>
28075
28076 * math/atest-exp2.c (LIMB64): New macro.
28077 (CONSTSZ): New macro.
28078 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28079 (hexdig): Move ...
28080 (print_mpn_fp): ... to function scope.
28081 (read_mpn_hex): Remove.
28082 (get_log2): Remove.
28083 (exp2_mpn): Use mp_log2.
28084 (main): Use mp_exp1.
28085
28086 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28087
28088 * math/libm-test.inc: Remove comment about not testing "inexact"
28089 exceptions.
28090 (INEXACT_EXCEPTION): New macro.
28091 (NO_INEXACT_EXCEPTION): Likewise.
28092 (INVALID_EXCEPTION_OK): Update value.
28093 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28094 (OVERFLOW_EXCEPTION_OK): Likewise.
28095 (UNDERFLOW_EXCEPTION_OK): Likewise.
28096 (IGNORE_ZERO_INF_SIGN): Likewise.
28097 (ERRNO_UNCHANGED): Likewise.
28098 (ERRNO_EDOM): Likewise.
28099 (ERRNO_ERANGE): Likewise.
28100 (test_exceptions): Handle testing "inexact" exceptions.
28101 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28102 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28103 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28104 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28105 INEXACT_EXCEPTION.
28106 (rint_towardzero_test_data): Likewise.
28107 (rint_downward_test_data): Likewise.
28108 (rint_upward_test_data): Likewise.
28109
28110 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28111 with OVERFLOW_EXCEPTION.
28112 (exp10_test_data): Likewise.
28113 (exp2_test_data): Likewise.
28114 (expm1_test_data): Likewise.
28115 (lgamma_test_data): Likewise.
28116 (pow_test_data): Likewise.
28117 (tgamma_test_data): Likewise.
28118 (yn_test_data): Remove duplicate test of overflow.
28119
28120 * math/libm-test.inc (struct test_cc_c_data): New type.
28121 (RUN_TEST_LOOP_cc_c): New macro.
28122 (cpow_test_data): New variable.
28123 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28124
28125 * math/libm-test.inc (struct test_f_L_data): New type.
28126 (RUN_TEST_LOOP_f_L): New macro.
28127 (llrint_test_data): New variable.
28128 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28129 (llrint_tonearest_test_data): New variable.
28130 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28131 (llrint_towardzero_test_data): New variable.
28132 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28133 (llrint_downward_test_data): New variable.
28134 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28135 (llrint_upward_test_data): New variable.
28136 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28137 (llround_test_data): New variable.
28138 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28139
28140 2013-05-13 Peter Collingbourne <pcc@google.com>
28141
28142 * math/atest-exp2.c (get_log2): Remove const attribute.
28143
28144 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28145
28146 * math/libm-test.inc (struct test_f_l_data): New type.
28147 (RUN_TEST_LOOP_f_l): New macro.
28148 (lrint_test_data): New variable.
28149 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28150 (lrint_tonearest_test_data): New variable.
28151 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28152 (lrint_towardzero_test_data): New variable.
28153 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28154 (lrint_downward_test_data): New variable.
28155 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28156 (lrint_upward_test_data): New variable.
28157 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28158 (lround_test_data): New variable.
28159 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28160
28161 2013-05-15 Peter Collingbourne <pcc@google.com>
28162
28163 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28164 (EXTRACT_WORDS64) Use where appropriate.
28165 (INSERT_WORDS64) Likewise.
28166
28167 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28168 constraints with x constraints.
28169 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28170
28171 * malloc/obstack.c (_obstack_compat): Add initializer.
28172
28173 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28174
28175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28176 si_trapno and add si_addr_lsb to _sifields.sigfault.
28177 (si_trapno): Remove macro.
28178 (si_addr_lsb): Define new macro.
28179 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28180
28181 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28182
28183 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28184 instead of TEST_f_l.
28185 (llrint_test_tonearest): Likewise.
28186 (llrint_test_towardzero): Likewise.
28187 (llrint_test_downward): Likewise.
28188 (llrint_test_upward): Likewise.
28189 (llround_test): Likewise.
28190
28191 * math/libm-test.inc (struct test_f_i_data): Add comment.
28192 (RUN_TEST_LOOP_f_b): New macro.
28193 (RUN_TEST_LOOP_f_b_tg): Likewise.
28194 (finite_test_data): New variable.
28195 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28196 (isfinite_test_data): New variable.
28197 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28198 (isinf_test_data): New variable.
28199 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28200 (isnan_test_data): New variable.
28201 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28202 (isnormal_test_data): New variable.
28203 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28204 (issignaling_test_data): New variable.
28205 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28206 (signbit_test_data): New variable.
28207 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28208
28209 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28210 with INVALID_EXCEPTION.
28211 (acosh_test_data): Likewise.
28212 (asin_test_data): Likewise.
28213 (atanh_test_data): Likewise.
28214 (fmod_test_data): Likewise.
28215 (log_test_data): Likewise.
28216 (log10_test_data): Likewise.
28217 (log2_test_data): Likewise.
28218 (pow_test_data): Likewise.
28219 (sqrt_test_data): Likewise.
28220 (y0_test_data): Likewise.
28221 (y1_test_data): Likewise.
28222 (yn_test_data): Likewise.
28223
28224 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28225 function contents.
28226
28227 * math/libm-test.inc (struct test_ff_i_data): New type.
28228 (RUN_TEST_LOOP_ff_i_tg): New macro.
28229 (isgreater_test_data): New variable.
28230 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28231 (isgreaterequal_test_data): New variable.
28232 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28233 (isless_test_data): New variable.
28234 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28235 (islessequal_test_data): New variable.
28236 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28237 (islessgreater_test_data): New variable.
28238 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28239 (isunordered_test_data): New variable.
28240 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28241
28242 2013-05-14 David S. Miller <davem@davemloft.net>
28243
28244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28245
28246 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28247
28248 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28249
28250 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28251 extra_test to int.
28252 (struct test_f_i_data): Change type of max_ulp to int.
28253
28254 * math/libm-test.inc (test_ffI_f1_data): New type.
28255 (RUN_TEST_LOOP_ffI_f1): New macro.
28256 (remquo_test_data): New variable.
28257 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28258
28259 * setjmp/tst-setjmp-fp.c: New file.
28260 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28261 (link-libm): New variable.
28262 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28263
28264 * math/libm-test.inc (struct test_f_i_data): New type.
28265 (RUN_TEST_LOOP_f_i): New macro.
28266 (RUN_TEST_LOOP_f_i_tg): Likewise.
28267 (fpclassify_test_data): New variable.
28268 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28269 (ilogb_test_data): New variable.
28270 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28271
28272 * math/libm-test.inc (scalbln_test): Correct function name in END
28273 call.
28274
28275 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28276 (RUN_TEST_LOOP_fI_f1): New macro.
28277 (frexp_test_data): New variable.
28278 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28279
28280 * math/libm-test.inc (struct test_fF_f1_data): New type.
28281 (RUN_TEST_LOOP_fF_f1): New macro.
28282 (modf_test_data): New variable.
28283 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28284
28285 * math/libm-test.inc (struct test_f_f1_data): New type.
28286 (RUN_TEST_LOOP_f_f1): New macro.
28287 (gamma_test_data): New variable.
28288 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28289 (lgamma_test_data): New variable.
28290 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28291
28292 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28293
28294 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28295 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28296 (main): Comment "tls" pseudo-hwcap.
28297
28298 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28299
28300 * math/libm-test.inc (struct test_fl_f_data): New type.
28301 (RUN_TEST_LOOP_fl_f): New variable.
28302 (scalbln_test_data): New variable.
28303 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28304
28305 * math/libm-test.inc (struct test_fi_f_data): New type.
28306 (RUN_TEST_LOOP_fi_f): New macro.
28307 (ldexp_test_data): New variable.
28308 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28309 (scalbn_test_data): New variable.
28310 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28311
28312 * math/libm-test.inc (struct test_c_f_data): New type.
28313 (RUN_TEST_LOOP_c_f): New macro.
28314 (cabs_test_data): New variable.
28315 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28316 (carg_test_data): New variable.
28317 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28318 (cimag_test_data): New variable.
28319 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28320 (creal_test_data): New variable.
28321 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28322
28323 * math/libm-test.inc (struct test_if_f_data): New type.
28324 (RUN_TEST_LOOP_if_f): New macro.
28325 (jn_test_data): New variable.
28326 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28327 (yn_test_data): New variable.
28328 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28329
28330 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28331
28332 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28333
28334 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28335 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28336
28337 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28338
28339 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28340 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28341 (bench-deps): Add bench-timing.h.
28342 * benchtests-bench-skeleton.c: Include bench-timing.h.
28343 (main): Use TIMING_* macros instead of clock_gettime.
28344 * benchtests/bench-timing.h: New file.
28345
28346 [BZ #14582]
28347 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28348 Renamed from _LIB_VERSION.
28349 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28350
28351 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28352
28353 * math/libm-test.inc (struct test_fff_f_data): New type.
28354 (RUN_TEST_LOOP_fff_f): New macro.
28355 (fma_test_data): New variable.
28356 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28357 (fma_towardzero_test_data): New variable.
28358 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28359 (fma_downward_test_data): New variable.
28360 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28361 (fma_upward_test_data): New variable.
28362 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28363
28364 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28365 (struct test_c_c_data): New type.
28366 (RUN_TEST_LOOP_c_c): New macro.
28367 (cacos_test_data): New variable.
28368 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28369 (cacosh_test_data): New variable.
28370 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28371 (casin_test_data): New variable.
28372 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28373 (casinh_test_data): New variable.
28374 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28375 (catan_test_data): New variable.
28376 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28377 (catanh_test_data): New variable.
28378 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28379 (ccos_test_data): New variable.
28380 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28381 (ccosh_test_data): New variable.
28382 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28383 (cexp_test_data): New variable.
28384 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28385 (clog_test_data): New variable.
28386 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28387 (clog10_test_data): New variable.
28388 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28389 (conj_test_data): New variable.
28390 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28391 (cproj_test_data): New variable.
28392 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28393 (csin_test_data): New variable.
28394 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28395 (csinh_test_data): New variable.
28396 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28397 (csqrt_test_data): New variable.
28398 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28399 (ctan_test_data): New variable.
28400 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28401 (ctan_tonearest_test_data): New variable.
28402 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28403 (ctan_towardzero_test_data): New variable.
28404 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28405 (ctan_downward_test_data): New variable.
28406 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28407 (ctan_upward_test_data): New variable.
28408 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28409 (ctanh_test_data): New variable.
28410 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28411 (ctanh_tonearest_test_data): New variable.
28412 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28413 (ctanh_towardzero_test_data): New variable.
28414 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28415 (ctanh_downward_test_data): New variable.
28416 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28417 (ctanh_upward_test_data): New variable.
28418 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28419 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28420 of BUILD_COMPLEX.
28421
28422 * math/libm-test.inc (struct test_ff_f_data): New type.
28423 (struct test_ff_f_data_nexttoward): Likewise.
28424 (RUN_TEST_LOOP_2_f): New macro.
28425 (RUN_TEST_LOOP_ff_f): Likewise.
28426 (atan2_test_data): New variable.
28427 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28428 (copysign_test_data): New variable.
28429 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28430 (fdim_test_data): New variable.
28431 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28432 (fmax_test_data): New variable.
28433 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28434 (fmin_test_data): New variable.
28435 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28436 (fmod_test_data): New variable.
28437 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28438 (hypot_test_data): New variable.
28439 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28440 (nextafter_test_data): New variable.
28441 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28442 (nexttoward_test_data): New variable.
28443 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28444 (pow_test_data): New variable.
28445 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28446 (pow_tonearest_test_data): New variable.
28447 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28448 (pow_towardzero_test_data): New variable.
28449 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28450 (pow_downward_test_data): New variable.
28451 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28452 (pow_upward_test_data): New variable.
28453 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28454 (remainder_test_data): New variable.
28455 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28456 (scalb_test_data): New variable.
28457 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28458 * sysdeps/i386/fpu/libm-test-ulps: Update.
28459
28460 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28461
28462 * math/libm-test.inc (fma_test): Use max_value instead of local
28463 variable fltmax.
28464 (nextafter_test): Likewise.
28465
28466 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28467 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28468 (acos_downward_test_data): New variable.
28469 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28470 (acos_upward_test_data): New variable.
28471 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28472 (acosh_test_data): New variable.
28473 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28474 (asin_test_data): New variable.
28475 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28476 (asin_tonearest_test_data): New variable.
28477 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28478 (asin_towardzero_test_data): New variable.
28479 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28480 (asin_downward_test_data): New variable.
28481 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28482 (asin_upward_test_data): New variable.
28483 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28484 (asinh_test_data): New variable.
28485 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28486 (atan_test_data): New variable.
28487 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28488 (atanh_test_data): New variable.
28489 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28490 (cbrt_test_data): New variable.
28491 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28492 (ceil_test_data): New variable.
28493 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28494 (cos_test_data): New variable.
28495 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28496 (cos_tonearest_test_data): New variable.
28497 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28498 (cos_towardzero_test_data): New variable.
28499 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28500 (cos_downward_test_data): New variable.
28501 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28502 (cos_upward_test_data): New variable.
28503 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28504 (cosh_test_data): New variable.
28505 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28506 (cosh_tonearest_test_data): New variable.
28507 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28508 (cosh_towardzero_test_data): New variable.
28509 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28510 (cosh_downward_test_data): New variable.
28511 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28512 (cosh_upward_test_data): New variable.
28513 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28514 (erf_test_data): New variable.
28515 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28516 (erfc_test_data): New variable.
28517 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28518 (exp_test_data): New variable.
28519 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28520 (exp_tonearest_test_data): New variable.
28521 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28522 (exp_towardzero_test_data): New variable.
28523 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28524 (exp_downward_test_data): New variable.
28525 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28526 (exp_upward_test_data): New variable.
28527 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28528 (exp10_test_data): New variable.
28529 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28530 (exp2_test_data): New variable.
28531 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28532 (expm1_test_data): New variable.
28533 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28534 (fabs_test_data): New variable.
28535 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28536 (floor_test_data): New variable.
28537 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28538 (j0_test_data): New variable.
28539 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28540 (j1_test_data): New variable.
28541 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28542 (log_test_data): New variable.
28543 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28544 (log10_test_data): New variable.
28545 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28546 (log1p_test_data): New variable.
28547 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28548 (log2_test_data): New variable.
28549 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28550 (logb_test_data): New variable.
28551 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28552 (logb_downward_test_data): New variable.
28553 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28554 (nearbyint_test_data): New variable.
28555 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28556 (rint_test_data): New variable.
28557 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28558 (rint_tonearest_test_data): New variable.
28559 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28560 (rint_towardzero_test_data): New variable.
28561 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28562 (rint_downward_test_data): New variable.
28563 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28564 (rint_upward_test_data): New variable.
28565 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28566 (round_test_data): New variable.
28567 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28568 (sin_test_data): New variable.
28569 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28570 (sin_tonearest_test_data): New variable.
28571 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28572 (sin_towardzero_test_data): New variable.
28573 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28574 (sin_downward_test_data): New variable.
28575 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28576 (sin_upward_test_data): New variable.
28577 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28578 (sinh_test_data): New variable.
28579 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28580 (sinh_tonearest_test_data): New variable.
28581 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28582 (sinh_towardzero_test_data): New variable.
28583 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28584 (sinh_downward_test_data): New variable.
28585 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28586 (sinh_upward_test_data): New variable.
28587 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28588 (sqrt_test_data): New variable.
28589 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28590 (tan_test_data): New variable.
28591 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28592 (tan_tonearest_test_data): New variable.
28593 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28594 (tan_towardzero_test_data): New variable.
28595 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28596 (tan_downward_test_data): New variable.
28597 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28598 (tan_upward_test_data): New variable.
28599 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28600 (tanh_test_data): New variable.
28601 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28602 (tgamma_test_data): New variable.
28603 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28604 (trunc_test_data): New variable.
28605 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28606 (y0_test_data): New variable.
28607 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28608 (y1_test_data): New variable.
28609 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28610 (significand_test_data): New variable.
28611 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28612
28613 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28614
28615 [BZ #12387]
28616 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28617
28618 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28619
28620 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28621
28622 2013-05-10 Andreas Jaeger <aj@suse.de>
28623
28624 [BZ #15448]
28625 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28626 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28627
28628 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28629
28630 * math/gen-libm-test.pl (adjust_arg): New function.
28631 (special_functions): Handle generating output in both functions
28632 and arrays.
28633 (parse_args): Likewise.
28634 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28635 $in_func argument to parse_args.
28636 * math/libm-test.inc (struct test_f_f_data): New type.
28637 (IF_ROUND_INIT_): New macro.
28638 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28639 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28640 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28641 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28642 (ROUND_RESTORE_): Likewise.
28643 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28644 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28645 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28646 (ROUND_RESTORE_FE_UPWARD): Likewise.
28647 (RUN_TEST_LOOP_f_f): New macro.
28648 (acos_test_data): New variable.
28649 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28650 (acos_tonearest_test_data): New variable.
28651 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28652
28653 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28654
28655 * benchtests/bench-skeleton.c (startup): Fix coding style.
28656
28657 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28658
28659 [BZ #6809]
28660 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28661 negative infinity argument.
28662 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28663 negative infinity argument.
28664 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28665 negative infinity argument.
28666 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28667 domain errors.
28668
28669 2013-05-10 Florian Weimer <fweimer@redhat.com>
28670
28671 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28672 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28673 * iconv/iconv_prog.c (main): Likewise.
28674 * locale/programs/charmap-dir.c (charmap_readdir)
28675 (fopen_uncompressed): Likewise.
28676 * locale/programs/locfile.c (siblings_uncached)
28677 (write_locale_data): Use lstat64 instead of lstat.
28678 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28679 stat.
28680
28681 2013-05-10 Andreas Jaeger <aj@suse.de>
28682
28683 [BZ #15395]
28684 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28685 localization.
28686 Include <locale.h>.
28687
28688 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28689
28690 * elf/dl-close.c (_dl_close_worker): Add comments.
28691
28692 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28693
28694 [BZ #15359]
28695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28696 high part of pi/2.
28697 (__ieee754_rem_pio2l): Update comments.
28698
28699 [BZ #15429]
28700 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28701 high part of pi/2.
28702 (__ieee754_rem_pio2l): Update comments.
28703
28704 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28705 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28706
28707 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28708 M_PI_4l.
28709
28710 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28711 (M_PI_34_LOG10El): Likewise.
28712 (M_PI2_LOG10El): Likewise.
28713 (M_PI4_LOG10El): Likewise.
28714 (M_PI_LOG10El): Likewise.
28715
28716 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28717
28718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28719
28720 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28721
28722 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28723 (MINUS_ZERO_INIT): Likewise.
28724 (PLUS_INFTY_INIT): Likewise.
28725 (MINUS_INFTY_INIT): Likewise.
28726 (QNAN_VALUE_INIT): Likewise.
28727 (MAX_VALUE_INIT): Likewise.
28728 (MIN_VALUE_INIT): Likewise.
28729 (MIN_SUBNORM_VALUE_INIT): Likewise.
28730 (plus_zero): Initialize with PLUS_ZERO_INIT.
28731 (minus_zero): Initialize with MINUS_ZERO_INIT.
28732 (plus_infty): Initialize with PLUS_INFTY_INIT.
28733 (minus_infty): Initialize with MINUS_INFTY_INIT.
28734 (qnan_value): Initialize with QNAN_VALUE_INIT.
28735 (max_value): Initialize with MAX_VALUE_INIT.
28736 (min_value): Initialize with MIN_VALUE_INIT.
28737 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28738
28739 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28740 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28741 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28742 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28743
28744 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28745 (RUN_TEST_2_f): Likewise.
28746 (RUN_TEST_ff_f): Likewise.
28747 (RUN_TEST_fi_f): Likewise.
28748 (RUN_TEST_fl_f): Likewise.
28749 (RUN_TEST_fff_f): Likewise.
28750 (RUN_TEST_c_f): Likewise.
28751 (RUN_TEST_f_f1): Likewise.
28752 (RUN_TEST_fF_f1): Likewise.
28753 (RUN_TEST_fI_f1): Likewise.
28754 (RUN_TEST_ffI_f1): Likewise.
28755 (RUN_TEST_c_c): Likewise.
28756 (RUN_TEST_cc_c): Likewise.
28757 (RUN_TEST_f_i): Likewise.
28758 (RUN_TEST_f_i_tg): Likewise.
28759 (RUN_TEST_ff_i_tg): Likewise.
28760 (RUN_TEST_f_b): Likewise.
28761 (RUN_TEST_f_b_tg): Likewise.
28762 (RUN_TEST_f_l): Likewise.
28763 (RUN_TEST_f_L): Likewise.
28764 (RUN_TEST_sincos): Likewise.
28765 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28766 whether to show exceptions. Do not include ");\n" in return
28767 value.
28768 (special_functions): Output call to RUN_TEST_sincos instead of
28769 check_float calls. Update calls to new_test.
28770 (parse_args): Output call to single RUN_TEST_* macro instead of
28771 check_* calls and other assignments. Update calls to new_test.
28772
28773 [BZ #2546]
28774 [BZ #2560]
28775 [BZ #5159]
28776 [BZ #15426]
28777 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28778 input to result for tgamma overflow.
28779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28780 (gamma_coeff): New variable.
28781 (NCOEFF): New macro.
28782 (gamma_positive): New function.
28783 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28784 underflow here. Use gamma_positive instead of exp (lgamma) for
28785 other arguments.
28786 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28787 (gamma_coeff): New variable.
28788 (NCOEFF): New macro.
28789 (gammaf_positive): New function.
28790 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28791 underflow here. Use gamma_positive instead of exp (lgamma) for
28792 other arguments.
28793 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28794 (gamma_coeff): New variable.
28795 (NCOEFF): New macro.
28796 (gammal_positive): New function.
28797 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28798 underflow here. Use gamma_positive instead of exp (lgamma) for
28799 other arguments.
28800 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28801 (gamma_coeff): New variable.
28802 (NCOEFF): New macro.
28803 (gammal_positive): New function.
28804 (__ieee754_gammal_r): Handle positive infinity, overflow and
28805 underflow here. Handle NaN the same as positive infinity. Remove
28806 check x < 0xffffffff for negative integers. Use gamma_positive
28807 instead of exp (lgamma) for other arguments.
28808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28809 (gamma_coeff): New variable.
28810 (NCOEFF): New macro.
28811 (gammal_positive): New function.
28812 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28813 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28818 * sysdeps/generic/math_private.h (__gamma_productf): New
28819 prototype.
28820 (__gamma_product): Likewise.
28821 (__gamma_productl): Likewise.
28822 * math/Makefile (libm-calls): Add gamma_product.
28823 * math/libm-test.inc (tgamma_test): Add more tests.
28824 * sysdeps/i386/fpu/libm-test-ulps: Update.
28825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28826
28827 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28828
28829 * benchtests/bench-skeleton.c (main): Preheat CPU.
28830
28831 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28832
28833 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28834
28835 2013-05-07 Roland McGrath <roland@hack.frob.com>
28836
28837 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28838 and _dl_skip_args_internal.
28839
28840 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28841
28842 * manual/message.texi (Message Translation): Talk about users.
28843 Message to key mapping impacts design.
28844
28845 2013-05-06 Roland McGrath <roland@hack.frob.com>
28846
28847 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28848
28849 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28850
28851 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28852 * sysdeps/wordsize-64/glob64.c: ... here.
28853
28854 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28855 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28856 New macros.
28857
28858 * debug/getlogin_r_chk.c: Moved to ...
28859 * login/getlogin_r_chk.c: ... here.
28860 * debug/Makefile (routines): Move getlogin_r_chk to ...
28861 * login/Makefile (routines): ... here.
28862 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28863 * login/Versions (libc: GLIBC_2.4): ... here.
28864
28865 * io/poll.c (__poll): Renamed from poll.
28866 Add libc_hidden_def.
28867 (poll): Define as weak alias.
28868
28869 * debug/ptsname_r_chk.c: Moved to ...
28870 * login/ptsname_r_chk.c: ... here.
28871 * debug/Makefile (routines): Move ptsname_r_chk to ...
28872 * login/Makefile (routines): ... here.
28873 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28874 * login/Versions (libc: GLIBC_2.4): ... here.
28875
28876 * posix/getlogin.c: Moved to ...
28877 * login/getlogin.c: ... here.
28878 * posix/getlogin_r.c: Moved to ...
28879 * login/getlogin_r.c: ... here.
28880 * posix/getlogin_r.c: Moved to ...
28881 * login/getlogin_r.c: ... here.
28882 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28883 * login/Makefile (routines): ... here.
28884 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28885 * login/Versions (libc: GLIBC_2.0): ... here.
28886
28887 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28888 (setrlimit): Define as weak alias.
28889
28890 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28891 Call __ names for open, ftruncate, and close.
28892 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28893 (truncate): Define as weak alias.
28894
28895 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28896
28897 * math/gen-libm-test.pl (parse_args): Initialize x before each
28898 test of frexp, modf and remquo.
28899
28900 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28901 test signgam value.
28902
28903 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28904
28905 [BZ #15418]
28906 [BZ #15419]
28907 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28908 internal tests.
28909 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28910
28911 2013-05-06 Roland McGrath <roland@hack.frob.com>
28912
28913 * elf/dl-writev.h: New file.
28914 * elf/dl-misc.c: Include it.
28915 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28916 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28917
28918 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28919
28920 * math/libm-test.inc (noXFails): Remove variable.
28921 (noXPasses): Likewise.
28922 (BUILD_COMPLEX_INT): Remove macro.
28923 (print_screen): Remove xfail argument.
28924 (print_screen_max_error): Likewise.
28925 (update_stats): Likewise.
28926 (print_max_error): Likewise. Update calls to other affected
28927 functions.
28928 (print_complex_max_error): Likewise.
28929 (test_single_exception): Update calls to print_screen.
28930 (test_single_errno): Likewise.
28931 (check_float_internal): Remove xfail argument. Update calls to
28932 other affected functions.
28933 (check_float): Likewise.
28934 (check_complex): Likewise.
28935 (check_int): Likewise.
28936 (check_long): Likewise.
28937 (check_bool): Likewise.
28938 (check_longlong): Likewise.
28939 (main): Don't print noXFails and noXPasses.
28940 * math/gen-libm-test.pl (top level): Don't mention expected
28941 failure handling in comment.
28942 (new_test): Don't handle expected failures.
28943 (parse_args): Don't mention expected failure handling in comment.
28944 (generate_testfile): Don't handle expected failures.
28945 (parse_ulps): Likewise.
28946 (print_ulps_file): Likewise.
28947 (get_failure): Remove function.
28948 (output_test): Don't handle expected failures.
28949 * make/README.libm-test: Don't mention expected failure handling.
28950
28951 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28952 (minus_zero): Likewise.
28953 (plus_infty): Likewise.
28954 (minus_infty): Likewise.
28955 (qnan_value): Likewise.
28956 (max_value): Likewise.
28957 (min_value): Likewise.
28958 (min_subnorm_value): Likewise.
28959 (initialize): Do not initialize those variables dynamically.
28960
28961 2013-05-03 Roland McGrath <roland@hack.frob.com>
28962
28963 * io/open.c (__open_2): Moved to ...
28964 * io/open_2.c: ... this new file.
28965 * io/open64.c (__open64_2): Moved to ...
28966 * io/open64_2.c: ... this new file.
28967 * io/openat.c (__openat_2): Moved to ...
28968 * io/openat_2.c: ... this new file.
28969 * io/openat64.c (__openat64_2): Moved to ...
28970 * io/openat64_2.c: ... this new file.
28971 * io/Makefile (routines): Add them.
28972 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28973 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28974 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28975 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28976 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28977 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28978 (__openat64): Add hidden_ver.
28979 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28980 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28981
28982 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28983 Separately conditionalize setting of GLRO(dl_sysinfo) so
28984 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28985 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28986
28987 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28988
28989 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28990 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28991 definition.
28992 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28993 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28994 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28995 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28996 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28997
28998 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28999
29000 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29001 test signgam value.
29002
29003 * math/libm-test.inc (hypot_test): Do not use
29004 IGNORE_ZERO_INF_SIGN.
29005
29006 2013-05-03 Andreas Jaeger <aj@suse.de>
29007
29008 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29009 Linux 3.9.
29010 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29011 (PF_MAX): Adjust for VSOCK change.
29012
29013 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29014
29015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29016
29017 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29018
29019 [BZ #15264]
29020 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29021 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29022 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29023
29024 2013-05-02 David S. Miller <davem@davemloft.net>
29025
29026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29027
29028 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29029
29030 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29031
29032 2013-05-01 Roland McGrath <roland@hack.frob.com>
29033
29034 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29035
29036 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29037
29038 [BZ #14952]
29039 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29040 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29041 Use __attribute__ ((__gnu_inline__)).
29042 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29043 Don't use __attribute__ ((__gnu_inline__)).
29044
29045 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29046
29047 [BZ #15423]
29048 * math/s_catan.c (__catan): Handle small real or imaginary part of
29049 input specially to avoid spurious underflow.
29050 * math/s_catanf.c (__catanf): Likewise.
29051 * math/s_catanh.c (__catanh): Likewise.
29052 * math/s_catanhf.c (__catanhf): Likewise.
29053 * math/s_catanhl.c (__catanhl): Likewise.
29054 * math/s_catanl.c (__catanl): Likewise.
29055 * math/libm-test.inc (catan_test): Add more tests.
29056 (catanh_test): Likewise.
29057 * sysdeps/i386/fpu/libm-test-ulps: Update.
29058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29059
29060 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29061
29062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29063
29064 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29065
29066 [BZ #15416]
29067 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29068 accurately for denominator in atan2.
29069 * math/s_catanf.c (__catanf): Likewise.
29070 * math/s_catanh.c (__catanh): Likewise.
29071 * math/s_catanhf.c (__catanhf): Likewise.
29072 * math/s_catanhl.c (__catanhl): Likewise.
29073 * math/s_catanl.c (__catanl): Likewise.
29074 * math/libm-test.inc (catan_test): Add more tests.
29075 (catanh_test): Likewise.
29076 * sysdeps/i386/fpu/libm-test-ulps: Update.
29077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29078
29079 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29080
29081 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29082
29083 * benchtests/Makefile (bench): Remove slow benchmarks.
29084 * benchtests/atan-inputs: Add slow benchmark inputs.
29085 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29086 (BENCH_FUNC): Accept variant offset.
29087 (VARIANT): Define.
29088 * benchtests/bench-skeleton.c (main): Run benchmark for each
29089 variant.
29090 * benchtests/cos-inputs: Add slow benchmark inputs.
29091 * benchtests/exp-inputs: Likewise.
29092 * benchtests/pow-inputs: Likewise.
29093 * benchtests/sin-inputs: Likewise.
29094 * benchtests/slowatan-inputs: Remove.
29095 * benchtests/slowatan.c: Remove.
29096 * benchtests/slowcos-inputs: Remove.
29097 * benchtests/slowcos.c: Remove.
29098 * benchtests/slowexp-inputs: Remove.
29099 * benchtests/slowexp.c: Remove.
29100 * benchtests/slowpow-inputs: Remove.
29101 * benchtests/slowpow.c: Remove.
29102 * benchtests/slowsin-inputs: Remove.
29103 * benchtests/slowsin.c: Remove.
29104 * benchtests/slowtan-inputs: Remove.
29105 * benchtests/slowtan.c: Remove.
29106 * benchtests/tan-inputs: Add slow benchmark inputs.
29107 * scripts/bench.pl: Parse comments and directives.
29108
29109 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29110 in CPPFLAGS.
29111 ($(objpfx)bench-%.c): Remove *-ITER.
29112 * benchtests/bench-modf.c: Remove definition of ITER.
29113 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29114 (main): Loop for DURATION seconds instead of fixed number of
29115 iterations.
29116 * scripts/bench.pl: Don't expect iterations in parameters.
29117
29118 2013-04-29 Roland McGrath <roland@hack.frob.com>
29119
29120 * io/fchdir.c (__fchdir): Renamed from fchdir.
29121 (fchdir): Define as weak alias.
29122
29123 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29124
29125 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29126 (ERRNO_EDOM): Likewise.
29127 (ERRNO_ERANGE): Likewise.
29128 (noErrnoTests): New variable.
29129 (init_max_error): Set errno to 0.
29130 (test_single_errno): New function.
29131 (test_errno): Likewise.
29132 (check_float_internal): Call test_errno. Set errno to 0.
29133 (check_complex): Refer to errno tests in comment.
29134 (check_int): Call test_errno. Set errno to 0.
29135 (check_long): Likewise.
29136 (check_bool): Likewise.
29137 (check_longlong): Likewise.
29138 (cos_test): Use ERRNO_* flags for errno tests instead of
29139 check_int.
29140 (expm1_test): Likewise.
29141 (fmod_test): Likewise.
29142 (ilogb_test): Likewise.
29143 (lgamma_test): Likewise.
29144 (pow_test): Likewise.
29145 (remainder_test): Likewise.
29146 (sin_test): Likewise.
29147 (tan_test): Likewise.
29148 (yn_test): Likewise.
29149 (initialize): Set errno to 0.
29150 (main): Print number of errno tests.
29151 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29152
29153 2013-04-29 Andreas Jaeger <aj@suse.de>
29154
29155 [BZ #15084]
29156 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29157 and RES_USEVC.
29158
29159 [BZ #15085]
29160 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29161 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29162 unimplemented.
29163
29164 [BZ #15380]
29165 * stdlib/random.c (__initstate): Return NULL if
29166 __initstate fails.
29167
29168 [BZ #15086]
29169 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29170 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29171 RES_SNGLKUPREOP.
29172
29173 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29174
29175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29176
29177 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29178
29179 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29180 of individual tests.
29181 (casin_test): Likewise.
29182 (casinh_test): Likewise.
29183
29184 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29185
29186 [BZ #15409]
29187 * math/s_catan.c (__catan): Handle arguments with large real or
29188 imaginary part separately without squaring.
29189 * math/s_catanf.c (__catanf): Likewise.
29190 * math/s_catanh.c (__catanh): Likewise.
29191 * math/s_catanhf.c (__catanhf): Likewise.
29192 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29193 and redefine.
29194 (__catanhl): Handle arguments with large real or imaginary part
29195 separately without squaring.
29196 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29197 and redefine.
29198 (__catanl): Handle arguments with large real or imaginary part
29199 separately without squaring.
29200 * math/libm-test.inc (catan_test): Add more tests.
29201 (catanh_test): Likewise.
29202 * sysdeps/i386/fpu/libm-test-ulps: Update.
29203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29204
29205 2013-04-27 Andreas Jaeger <aj@suse.de>
29206
29207 [BZ #15007]
29208 * stdlib/stdlib.h: Update guards for qecvt.
29209 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29210 <stdlib.h>.
29211
29212 2013-04-27 Allan McRae <allan@archlinux.org>
29213
29214 * sysdeps/i386/fpu/libm-test-ulps: Update.
29215
29216 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29217
29218 [BZ #15406]
29219 * math/s_catan.c: Include <float.h>.
29220 (__catan): Ensure underflow exception occurs for underflowed
29221 result.
29222 * math/s_catanf.c: Include <float.h>.
29223 (__catanf): Ensure underflow exception occurs for underflowed
29224 result.
29225 * math/s_catanh.c: Include <float.h>.
29226 (__catanh): Ensure underflow exception occurs for underflowed
29227 result.
29228 * math/s_catanhf.c: Include <float.h>.
29229 (__catanhf): Ensure underflow exception occurs for underflowed
29230 result.
29231 * math/s_catanhl.c: Include <float.h>.
29232 (__catanhl): Ensure underflow exception occurs for underflowed
29233 result.
29234 * math/s_catanl.c: Include <float.h>.
29235 (__catanl): Ensure underflow exception occurs for underflowed
29236 result.
29237 * math/libm-test.inc (catan_test): Add more tests.
29238 (catanh_test): Likewise.
29239
29240 [BZ #15405]
29241 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29242 underflowed result.
29243 * math/s_ccoshf.c (__ccoshf): Likewise.
29244 * math/s_ccoshl.c (__ccoshl): Likewise.
29245 * math/s_csin.c (__csin): Likewise.
29246 * math/s_csinf.c (__csinf): Likewise.
29247 * math/s_csinh.c (__csinh): Likewise.
29248 * math/s_csinhf.c (__csinhf): Likewise.
29249 * math/s_csinhl.c (__csinhl): Likewise.
29250 * math/s_csinl.c (__csinl): Likewise.
29251 * math/libm-test.inc (ccos_test): Add more tests.
29252 (ccosh_test): Likewise.
29253 (csin_test): Likewise.
29254 (csinh_test): Likewise.
29255
29256 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29257
29258 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29259 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29260 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29261 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29262 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29263 powerpc/power5+/fpu folders.
29264 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29265
29266
29267 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29268
29269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29270
29271 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29272
29273 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29274 additions to variable.
29275 [$(config-machine) = x86_64] (modules-names): Likewise.
29276 ($(objpfx)tst-audit3): Remove dependency.
29277 ($(objpfx)tst-audit3.out): Likewise.
29278 ($(objpfx)tst-audit4): Likewise.
29279 ($(objpfx)tst-audit4.out): Likewise.
29280 ($(objpfx)tst-audit5): Likewise.
29281 ($(objpfx)tst-audit5.out): Likewise.
29282 ($(objpfx)tst-audit6): Likewise.
29283 ($(objpfx)tst-audit6.out): Likewise.
29284 ($(objpfx)tst-audit7): Likewise.
29285 ($(objpfx)tst-audit7.out): Likewise.
29286 (tst-audit3-ENV): Remove variable.
29287 (tst-audit4-ENV): Likewise.
29288 (tst-audit5-ENV): Likewise.
29289 (tst-audit6-ENV): Likewise.
29290 (tst-audit7-ENV): Likewise.
29291 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29292 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29293 addition to variable.
29294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29295 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29299 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29300 tst-audit3, tst-audit4 and tst-audit5.
29301 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29302 tst-audit6 and tst-audit7.
29303 [$(subdir) = elf] (modules-names): Add audit modules for those
29304 tests.
29305 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29306 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29307 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29308 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29309 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29310 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29311 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29312 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29313 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29314 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29315 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29316 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29317 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29318 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29319 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29320 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29321 Likewise.
29322 [$(subdir) = elf && $(config-cflags-avx) = yes]
29323 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29324 [$(subdir) = elf && $(config-cflags-avx) = yes]
29325 (CFLAGS-tst-auditmod4a.c): Likewise.
29326 [$(subdir) = elf && $(config-cflags-avx) = yes]
29327 (CFLAGS-tst-auditmod4b.c): Likewise.
29328 [$(subdir) = elf && $(config-cflags-avx) = yes]
29329 (CFLAGS-tst-auditmod6b.c): Likewise.
29330 [$(subdir) = elf && $(config-cflags-avx) = yes]
29331 (CFLAGS-tst-auditmod6c.c): Likewise.
29332 [$(subdir) = elf && $(config-cflags-avx) = yes]
29333 (CFLAGS-tst-auditmod7b.c): Likewise.
29334 * elf/tst-audit3.c: Move to ...
29335 * sysdeps/x86_64/tst-audit3.c: ... here.
29336 * elf/tst-audit4.c: Move to ...
29337 * sysdeps/x86_64/tst-audit4.c: ... here.
29338 * elf/tst-audit5.c: Move to ...
29339 * sysdeps/x86_64/tst-audit5.c: ... here.
29340 * elf/tst-audit6.c: Move to ...
29341 * sysdeps/x86_64/tst-audit6.c: ... here.
29342 * elf/tst-audit7.c: Move to ...
29343 * sysdeps/x86_64/tst-audit7.c: ... here.
29344 * elf/tst-auditmod3a.c: Move to ...
29345 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29346 * elf/tst-auditmod3b.c: Move to ...
29347 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29348 * elf/tst-auditmod4a.c: Move to ...
29349 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29350 * elf/tst-auditmod4b.c: Move to ...
29351 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29352 * elf/tst-auditmod5a.c: Move to ...
29353 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29354 * elf/tst-auditmod5b.c: Move to ...
29355 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29356 * elf/tst-auditmod6a.c: Move to ...
29357 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29358 * elf/tst-auditmod6b.c: Move to ...
29359 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29360 * elf/tst-auditmod6c.c: Move to ...
29361 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29362 * elf/tst-auditmod7a.c: Move to ...
29363 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29364 * elf/tst-auditmod7b.c: Move to ...
29365 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29366
29367 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29368
29369 [BZ #15366]
29370 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29371 define unconditionally.
29372 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29373 define unconditionally.
29374 (INT8_C, INT16_C, etc.): Likewise.
29375
29376 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29377
29378 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29379 __ehdr_start with hidden visibility.
29380
29381 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29382
29383 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29384
29385 * math/libm-test.inc (cos_test): Use accurate hex constants.
29386 (sincost_test): Likewise.
29387
29388 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29389
29390 * math/libm-test.inc (catan_test): Add more tests.
29391 (catanh_test): Likewise.
29392
29393 * math/s_catanf.c (__catanf): Use suffixed floating-point
29394 constants.
29395 * math/s_catanhf.c (__catanhf): Likewise.
29396 * math/s_catanhl.c (__catanhl): Likewise.
29397 * math/s_catanl.c (__catanl): Likewise.
29398
29399 [BZ #15394]
29400 * math/s_catan.c (__catan): Calculate imaginary part of result
29401 with log1p not log unless computing log of number close to 0.
29402 * math/s_catanf.c (__catanf): Likewise.
29403 * math/s_catanl.c (__catanl): Likewise.
29404 * math/s_catanh.c (__catanh): Calculate real part of result with
29405 log1p not log unless computing log of number close to 0.
29406 * math/s_catanhf.c (__catanhf): Likewise.
29407 * math/s_catanhl.c (__catanhl): Likewise.
29408 * math/libm-test.inc (catan_test): Add more tests.
29409 (catanh_test): Likewise.
29410 * sysdeps/i386/fpu/libm-test-ulps: Update.
29411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29412
29413 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29414
29415 * benchtests/Makefile: Mention files in which fast and slow
29416 paths of math functions are implemented.
29417
29418 2013-04-23 Roland McGrath <roland@hack.frob.com>
29419
29420 * sysdeps/posix/timespec_get.c: New file.
29421
29422 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29423
29424 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29425 POWER.
29426 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29427 for POWER.
29428 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29429 powerpc/power5/fpu folders.
29430 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29431 * benchtests/Makefile: Add modf testcase.
29432 * benchtests/bench-modf.c: New file: Benchmark test for mo
29433
29434 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29435
29436 [BZ #14888]
29437 * time/Makefile (tests): Add tst-strptime-whitespace.
29438 * time/strptime_l.c (get_number): Use ISSPACE.
29439 (__strptime_internal): Likewise.
29440 * time/tst-strptime-whitespace.c: New test case.
29441
29442 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29443
29444 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29445 member.
29446 (_nss_files_init): Set it here.
29447
29448 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29449
29450 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29451 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29452 unsigned.
29453
29454 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29455
29456 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29457
29458 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29459
29460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29461 size just once.
29462
29463 2013-04-21 David S. Miller <davem@davemloft.net>
29464
29465 * po/ru.po: Update Russion translation from translation project.
29466
29467 2013-04-17 Adam Conrad <adconrad@0c3.net>
29468
29469 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29470 and setfsgid.
29471
29472 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29473
29474 * configure.in: Remove i386 configure warning. Remove i386 case.
29475 * configure: Regenerate.
29476 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29477 Add example to error message.
29478 * sysdeps/i386/configure: Regenerate.
29479
29480 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29481
29482 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29483 slowtan.
29484 * benchtests/cos-inputs: New file.
29485 * benchtests/slowcos-inputs: New file.
29486 * benchtests/slowcos.c: New file.
29487 * benchtests/slowtan-inputs: New file.
29488 * benchtests/slowtan.c: New file.
29489 * benchtests/tan-inputs: New file.
29490
29491 2013-04-16 Roland McGrath <roland@hack.frob.com>
29492
29493 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29494 considered kosher.
29495
29496 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29497
29498 * benchtests/Makefile: Include cppflags-iterator.mk to add
29499 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29500
29501 * Makefile.in (bench-clean): New target.
29502 * benchtests/Makefile (bench-clean): Likewise.
29503
29504 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29505
29506 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29507
29508 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29509
29510 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29511
29512 2013-04-15 Andreas Schwab <schwab@suse.de>
29513
29514 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29516 * nscd/pwdcache.c (cache_addpw): Likewise.
29517 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29518 more than recsize.
29519
29520 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29521
29522 * benchtests/Makefile (bench): Write all output to
29523 bench-out.tmp together.
29524
29525 2013-04-15 Andreas Schwab <schwab@suse.de>
29526
29527 * nscd/nscd.c (main): Don't fork again after closing files.
29528
29529 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29530
29531 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29532
29533 * benchtests/Rules (bench-deps): Collect dependencies into a
29534 single variable. Add Makefile to dependencies.
29535 ($(objpfx)bench-%.c): Depend on bench-deps.
29536
29537 2013-04-12 Roland McGrath <roland@hack.frob.com>
29538 Xavier Roche <roche+kml2@exalead.com>
29539
29540 [BZ #15361]
29541 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29542 just that it's a file descriptor.
29543 * manual/llio.texi (Synchronizing AIO Operations): Update description
29544 for EBADF error from aio_fsync.
29545
29546 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29547
29548 * Rules (bench): Move target definition...
29549 * benchtests/Makefile: ... here.
29550
29551 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29552
29553 * math/libm-test.inc (cos_test): Fix PI/2 test.
29554 (sincos_test): Likewise.
29555 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29556 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29557
29558 2013-04-11 Andreas Schwab <schwab@suse.de>
29559
29560 [BZ #13988]
29561 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29562 accept exponent character only when digits were seen.
29563 * stdio-common/Makefile (tests): Add bug26.
29564 * stdio-common/bug26.c: New file.
29565
29566 [BZ #14293]
29567 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29568 non-freeable.
29569
29570 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29571
29572 * Makeconfig (rtld-prefix): Define built linker prefix.
29573 * Rules (run-bench): Use it.
29574 * math/Makefile (run-regen-ulps): Likewise.
29575
29576 * Rules (bench): Remove eval.
29577
29578 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29579 Roland McGrath <roland@hack.frob.com>
29580 Ondrej Bilka <neleai@seznam.cz>
29581
29582 [BZ #15346]
29583 * time/getdate.c: Include ctype.h and alloca.h.
29584 (__getdate_r): Trim leading and trailing spaces of input.
29585 * time/tst-getdate.c (tests): Add tests with leading and
29586 trailing spaces.
29587
29588 2013-04-08 Roland McGrath <roland@hack.frob.com>
29589
29590 [BZ #14280]
29591 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29592 when computing value.
29593
29594 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29595
29596 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29597 Use testrun.sh to run libm tests.
29598
29599 [BZ #15309]
29600 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29601
29602 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29603
29604 [BZ #15264]
29605 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29606
29607 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29608
29609 * Makefile.in (regen-ulps): New target.
29610 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29611 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29612 [ifneq (no,$(PERL)] (regen-ulps): New target.
29613 [ifeq (no,$(PERL)] (regen-ulps): New target.
29614 * math/libm-test.inc (ulps_file_name): Define.
29615 (output_dir): New variable.
29616 (options): Add "output-dir" option.
29617 (parse_opt): Handle 'o' case.
29618 (main): If output_dir is non-NULL use it as a prefix
29619 otherwise use "".
29620 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29621
29622 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29623
29624 [BZ #10060, #10062]
29625 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29626 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29627 fail configure if __sync_val_compare_and_swap is not inlined.
29628 * sysdeps/i386/configure: Regenerate.
29629 * configure.in: Build for i686 when configured for i386.
29630 * configure: Regenerate.
29631 * README: Remove i386 reference.
29632
29633 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29634
29635 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29636 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29637
29638 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29639
29640 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29641 (lmsnanval): New variables.
29642 (F): Add conversion tests.
29643 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29644 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29645
29646 * stdio-common/tstdiomisc.c (F): Properly collect individual
29647 tests' results.
29648
29649 [BZ #14686, #15336]
29650 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29651 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29652 Instead, use input NaN values or generate a qNaN by arithmetic
29653 operation. Also fix bugs to comply with the standard.
29654 * math/libm-test.inc (remainder_test): Add more tests.
29655
29656 [BZ #15335, #15342]
29657 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29659 input NaN values or generate a qNaN by arithmetic operation.
29660
29661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29662 unreachable code.
29663
29664 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29665 definitions.
29666
29667 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29668
29669 [BZ #14478]
29670 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29671 underflowed result.
29672 * math/s_cexpf.c (__cexpf): Likewise.
29673 * math/s_cexpl.c (__cexpl): Likewise.
29674 * math/libm-test.inc (cexp_test): Add more tests.
29675
29676 2013-04-03 Andreas Schwab <schwab@suse.de>
29677
29678 [BZ #15330]
29679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29680 order arrays from heap if bigger than alloca cutoff.
29681
29682 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29683
29684 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29685 (SNAN_TESTS_double): Refer to GCC PR56831.
29686 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29687 GCC PR56828.
29688
29689 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29690
29691 * Rules (bench): Move bench.out after the run is complete.
29692
29693 * Rules (bench): Echo currently running benchmark.
29694
29695 * benchtests/Makefile (bench): Add atan and slowatan.
29696 * benchtests/atan-inputs: New file.
29697 * benchtests/slowatan-inputs: New file.
29698 * benchtests/slowatan.c: New file.
29699
29700 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29702 its value.
29703
29704 [BZ #15305]
29705 * sysdeps/unix/sysv/linux/kernel-features.h
29706 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29707 __ASSUME_XFS_RESTRICTED_CHOWN.
29708 * sysdeps/unix/sysv/linux/pathconf.c
29709 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29710 Save and restore errno.
29711
29712 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29713
29714 [BZ #15327]
29715 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29716 arguments using __kernel_casinh.
29717 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29718 arguments using __kernel_casinhf.
29719 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29720 arguments using __kernel_casinhl.
29721 * math/libm-test.inc (cacosh_test): Add more tests.
29722 * sysdeps/i386/fpu/libm-test-ulps: Update.
29723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29724
29725 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29726
29727 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29729
29730 * bench/Makefile (bench): Add sin and slowsin.
29731 * benchtests/sin-inputs: New file.
29732 * benchtests/slowsin-inputs: New file.
29733 * benchtests/slowsin.c: New file.
29734
29735 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29736 (bench): Add slowexp and slowpow.
29737 (exp-ITER): Increase iterations.
29738 (pow-ITER): Likewise.
29739 * benchtests/exp-inputs: Change input.
29740 * benchtests/pow-inputs: Likewise.
29741 * benchtests/slowexp-inputs: New file.
29742 * benchtests/slowexp.c: New file.
29743 * benchtests/slowpow-inputs: New file.
29744 * benchtests/slowpow.c: New file.
29745
29746 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29747
29748 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29749 instructions.
29750 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29751 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29752 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29753 * benchtests/Makefile: Add rint benchtest.
29754 * benchtests/rint-inputs: Input for rint benchtest.
29755
29756 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29757
29758 * Versions.def (libm): Add GLIBC_2.18.
29759 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29760 hidden libm prototypes.
29761 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29762 * math/Makefile (libm-calls): Add s_issignaling.
29763 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29764 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29765 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29766 declaration.
29767 * math/math.h [__USE_GNU] (issignaling): New macro.
29768 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29769 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29771 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29774 * manual/arith.texi (issignaling): New section.
29775 * manual/libm-err-tab.pl (@all_functions): Update comment.
29776 * math/gen-libm-test.pl (parse_args): Apply special handling for
29777 issignaling.
29778 * math/libm-test.inc (print_float, issignaling_test): New
29779 functions.
29780 (check_float_internal): Add issignaling checks.
29781 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29782 default definition.
29783 * sysdeps/powerpc/math-tests.h: New file.
29784 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29785 tests.
29786 * math/test-snan.c (TEST_FUNC): Likewise.
29787
29788 2013-03-30 David S. Miller <davem@davemloft.net>
29789
29790 * po/de.po: Update from translation team.
29791
29792 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29793
29794 [BZ #10357]
29795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29796 imaginary part less than 1.0 and real part less than 0.5
29797 specially.
29798 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29799 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29800 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29801 (cacos_test): Add more tests.
29802 (casin_test): Likewise.
29803 (casinh_test): Likewise.
29804 * sysdeps/i386/fpu/libm-test-ulps: Update.
29805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29806
29807 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29808
29809 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29810 ONE with its value.
29811
29812 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29813 (__pow_mp): Replace ONE and MONE with their values.
29814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29815 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29817 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29818 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29819 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29820
29821 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29822
29823 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29824 (__pow_mp): Replace ZERO and MZERO with their values.
29825 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29826 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29827 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29829 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29830 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29831 (__sqr): Likewise.
29832
29833 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29834
29835 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29836
29837 2013-03-28 Roland McGrath <roland@hack.frob.com>
29838
29839 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29840 Declare with __attribute__ ((weak)).
29841 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29842 Call __call_tls_dtors only if it's not NULL.
29843
29844 2013-03-28 Roland McGrath <roland@hack.frob.com>
29845
29846 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29847 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29848 magic __ehdr_start linker symbol if it's defined.
29849 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29850 them up here if it was already done.
29851
29852 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29853 (_dl_aux_init): Use const in cast when setting it.
29854 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29855 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29856 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29857
29858 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29859 Declare them here.
29860 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29861 * csu/libc-tls.c: Nor here.
29862 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29863
29864 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29865 (__libc_message): Never call vsyslog.
29866
29867 2013-03-28 Alan Modra <amodra@gmail.com>
29868
29869 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29870 Define as empty.
29871 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29872 Likewise.
29873
29874 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29875
29876 [BZ #15214]
29877 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29878 underflow.
29879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29880
29881 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29882
29883 [BZ #15304]
29884 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29885 Don't add gid passed as argument.
29886
29887 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29888
29889 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29890
29891 [BZ #15307]
29892 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29893 imaginary part between 1.0 and 1.5 and real part less than 0.5
29894 specially.
29895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29897 * math/libm-test.inc (cacos_test): Add more tests.
29898 (casin_test): Likewise.
29899 (casinh_test): Likewise.
29900 * sysdeps/i386/fpu/libm-test-ulps: Update.
29901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29902
29903 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29904
29905 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29906 constants.
29907 (norm): Likewise.
29908 (denorm): Likewise.
29909 (__dbl_mp): Likewise.
29910 (add_magnitudes): Likewise.
29911 (sub_magnitudes): Likewise.
29912 (__add): Likewise.
29913 (__sub): Likewise.
29914 (__mul): Likewise.
29915 (__sqr): Likewise.
29916 (__inv): Likewise.
29917 (__dvd): Likewise.
29918
29919 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29920 commented code.
29921 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29922 (__dubcos): Likewise.
29923 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29924 (__ieee754_acos): Likewise.
29925 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29926 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29927 (__exp1): Likewise.
29928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29930 (log1): Likewise.
29931 (my_log2): Likewise.
29932 (checkint): Likewise.
29933 * sysdeps/ieee754/dbl-64/e_remainder.c
29934 (__ieee754_remainder): Likewise.
29935 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29937 (bsloww): Likewise.
29938 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29939
29940 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29941 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29942 MANTISSA_STORE_T to store computations on mantissa. Use
29943 macros for rounding and division.
29944 (denorm): Likewise.
29945 (__dbl_mp): Likewise.
29946 (add_magnitudes): Likewise.
29947 (sub_magnitudes): Likewise.
29948 (__mul): Likewise.
29949 (__sqr): Likewise.
29950 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29951 powers of two in terms of TWOPOW macro.
29952 (mp_no): Make type of mantissa as MANTISSA_T.
29953 [!RADIXI]: Define RADIXI.
29954 [!TWO52]: Define TWO52.
29955 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29956
29957 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29958
29959 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29960 llroundl symbol when building for PPC32.
29961
29962 2013-03-24 Mark H Weaver <mhw@netris.org>
29963
29964 * manual/arith.texi (Normalization Functions): Fix prototypes for
29965 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29966
29967 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29968
29969 [BZ #13889]
29970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29971 high value to check if expl overflow.
29972 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29973 to check for underflow and overflow.
29974 * math/libm-test.inc: Add exp test.
29975
29976 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29977
29978 [BZ #11120]
29979 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29980 with NOT_IN_libc.
29981
29982 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29983
29984 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29985 symbol.
29986
29987 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29988
29989 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29990 wrap blocks consisting of several statements.
29991
29992 * sysdeps/generic/math-tests.h: New file.
29993 * sysdeps/i386/fpu/math-tests.h: Likewise.
29994 * math/test-snan.c: Include it.
29995 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29996
29997 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29998
29999 [BZ #15285]
30000 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30001 (__ieee754_j0l): Do not improve calculations using cos of twice
30002 input for inputs above LDBL_MAX / 2.0L.
30003 (__ieee754_y0l): Likewise.
30004 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30005 (__ieee754_j1l): Do not improve calculations using cos of twice
30006 input for inputs above LDBL_MAX / 2.0L.
30007 (__ieee754_y1l): Likewise.
30008 * math/libm-test.inc (j0_test): Add another test.
30009 (j1_test): Likewise.
30010 (y0_test): Likewise.
30011 (y1_test): Likewise.
30012 * sysdeps/i386/fpu/libm-test-ulps: Update.
30013
30014 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30015
30016 * Rules ($(objpfx)bench-%.c): Include code from a C source
30017 file.
30018
30019 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30020
30021 [BZ #15287]
30022 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30023 imaginary part 1.0 and real part less than 0.5 specially.
30024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30026 * math/libm-test.inc (cacos_test): Add more tests.
30027 (casin_test): Likewise.
30028 (casinh_test): Likewise.
30029 * sysdeps/i386/fpu/libm-test-ulps: Update.
30030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30031
30032 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30033
30034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30035 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30036
30037 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30038
30039 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30040 * config.make.in (config-cflags-sse4): Remove variable.
30041 (config-cflags-avx): Likewise.
30042 (config-cflags-sse2avx): Likewise.
30043 (config-cflags-novzeroupper): Likewise.
30044 (config-asflags-i686): Likewise.
30045 (have-mfma4): Likewise.
30046 (have-as-vis3): Likewise.
30047 (MIG): Likewise.
30048 * configure.in (MIG): Do not AC_SUBST.
30049 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30050 (libc_cv_cc_sse4): Do not AC_SUBST.
30051 (libc_cv_cc_avx): Likewise.
30052 (libc_cv_cc_sse2avx): Likewise.
30053 (libc_cv_cc_novzeroupper): Likewise.
30054 (libc_cv_cc_fma4): Likewise.
30055 (libc_cv_as_i686): Likewise.
30056 (libc_cv_sparc_as_vis3): Likewise.
30057 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30058 LIBC_CONFIG_VAR.
30059 (config-asflags-i686): Likewise.
30060 (config-cflags-avx): Likewise.
30061 (config-cflags-sse2avx): Likewise.
30062 (have-mfma4): Likewise.
30063 (config-cflags-novzeroupper): Likewise.
30064 * sysdeps/mach/configure.in (MIG): Likewise.
30065 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30066 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30067 LIBC_CONFIG_VAR.
30068 (config-cflags-avx): Likewise.
30069 (config-cflags-sse2avx): Likewise.
30070 (have-mfma4): Likewise.
30071 (config-cflags-novzeroupper): Likewise.
30072 * configure: Regenerated.
30073 * sysdeps/i386/configure: Likewise.
30074 * sysdeps/mach/configure: Likewise.
30075 * sysdeps/sparc/configure: Likewise.
30076 * sysdeps/x86_64/configure: Likewise.
30077
30078 2013-03-20 Roland McGrath <roland@hack.frob.com>
30079
30080 [BZ #14812]
30081 * locale/programs/localedef.c (options): Put N_ translation marker
30082 on argument names, not just descriptions.
30083
30084 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30085
30086 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30087
30088 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30089
30090 [BZ #14176]
30091 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30092
30093 2013-03-19 Roland McGrath <roland@hack.frob.com>
30094
30095 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30096 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30097 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30098 [!BEFORE_ABORT] (before_abort): New function.
30099 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30100 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30101 (writev_for_fatal): New function.
30102 (WRITEV_FOR_FATAL): New macro; call that.
30103 (backtrace_and_maps): New function.
30104 (BEFORE_ABORT): New macro; call that.
30105 (struct str_list): Type removed.
30106 (__libc_message, __libc_fatal): Functions removed.
30107 Include <sysdeps/posix/libc_fatal.c> instead.
30108
30109 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30110
30111 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30112 constants.
30113 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30114 double constants.
30115
30116 2013-03-19 Andreas Schwab <schwab@suse.de>
30117
30118 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30119 * sysdeps/gnu/configure: Regenerate.
30120
30121 * configure.in: Substitute libc_cv_rtlddir.
30122 * configure: Regenerate.
30123 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30124 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30125 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30126 * elf/Makefile (install-others, CFLAGS-interp.c)
30127 (ldso_install, common-ldd-rewrite): Likewise.
30128 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30129 $(inst_slibdir)/$(rtld-installed-name).
30130 * scripts/rellns-sh: Add -p option.
30131 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30132 for source.
30133
30134 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30135
30136 * manual/nptl.texi: Renamed to ...
30137 * manual/threads.texi: ... this.
30138 * manual/Makefile (chapters): Update.
30139
30140 2013-03-18 Roland McGrath <roland@hack.frob.com>
30141
30142 [BZ #14812]
30143 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30144 on argument names, not just descriptions.
30145 * malloc/memusagestat.c (options): Likewise.
30146 * nss/getent.c (options): Likewise.
30147
30148 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30149
30150 [BZ #14812]
30151 * iconv/iconv_prog.c (options): Put N_ translation marker
30152 on argument names, not just descriptions.
30153 * iconv/iconvconfig.c (options): Likewise.
30154
30155 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30156
30157 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30158 implementation which is faster on all x86_64 architectures.
30159 Tested on AMD, Intel Nehalem, SNB, IVB.
30160 * sysdeps/x86_64/strnlen.S: Likewise.
30161
30162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30163 Remove all multiarch strlen and strnlen versions.
30164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30165 Remove strlen and strnlen related parts.
30166
30167 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30168 Inline strlen part.
30169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30170
30171 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30172 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30173 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30174 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30175 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30176 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30177
30178 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30179
30180 * manual/memory.texi (Malloc Tunable Parameters):
30181 Sort parameters alphabetically. Add comments for missing entries.
30182
30183 2013-03-17 David S. Miller <davem@davemloft.net>
30184
30185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30186
30187 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30188
30189 [BZ #15283]
30190 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30191 for arguments at most half maximum finite value.
30192 * math/libm-test.inc (j0_test): Add more tests.
30193 (j1_test): Likewise.
30194 (y0_test): Likewise.
30195 (y1_test): Likewise.
30196 * sysdeps/i386/fpu/libm-test-ulps: Update.
30197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30198
30199 [BZ #14155]
30200 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30201 1 / x and functions P and Q for arguments above 0x1p256L.
30202 (__ieee754_y0l): Likewise.
30203 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30204 (__ieee754_y1l): Likewise.
30205 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30206 (j1_test): Likewise.
30207 (y0_test): Likewise.
30208 (y1_test): Likewise.
30209
30210 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30211
30212 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30213 variable.
30214
30215 2013-03-15 Roland McGrath <roland@hack.frob.com>
30216
30217 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30218 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30219 zero since it's initialized to EXEC_PAGESIZE.
30220
30221 * sysdeps/unix/sysv/linux/ldsodefs.h
30222 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30223 * sysdeps/generic/ldsodefs.h: ... here.
30224
30225 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30226
30227 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30228
30229 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30230 math/test-snan.c.
30231 * math/test-snan.c: Renamed from
30232 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30233 * math/Makefile (tests): Add test-snan.
30234 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30235 test-powerpc-snan.
30236
30237 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30238 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30239 functions.
30240 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30241 __builtin_nan family of functions.
30242 * math/libm-test.inc (initialize): Initialize qnan_value with
30243 __builtin_nan family of functions.
30244 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30245 Remove variables.
30246 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30247 Remove functions.
30248 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30249 storage class. Initialize qNaN_var and sNaN_var with
30250 __builtin_nan and __builtin_nans families of functions,
30251 respectively.
30252
30253 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30254 (sqrt_test): Remove duplicate test with qNaN input.
30255 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30256 (round_test, signbit_test, significand_test): Note missing +/-Inf
30257 as well as qNaN tests.
30258
30259 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30260 qNaN_var. Fix a few strings, too.
30261 * math/libm-test.inc (nan_value): Rename to qnan_value.
30262 * math/gen-libm-test.pl (%beautify): Adjust to that.
30263 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30264 * math/test-misc.c (main): Likewise.
30265 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30266 to __qnan_bytes, and __qnan_union, respectively.
30267 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30268 Likewise.
30269 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30270 and lqnanval, respectively.
30271 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30272 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30273 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30274 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30275
30276 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30277 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30278 doubles.
30279
30280 * math/test-misc.c (main): Fix copy'n'pastos.
30281 * misc/tst-efgcvt.c (special): Likewise.
30282
30283 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30284 Remove declarations.
30285
30286 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30287
30288 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30289 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30290 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30291 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30292
30293 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30294
30295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30296 macro to return vdso values correctly in IFUNC implementations.
30297 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30298 Optimization by using IFUNC.
30299
30300 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30301 Richard Henderson <rth@redhat.com>
30302 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30303
30304 * Makefile.in (bench): New target.
30305 * NEWS: Mention the benchmark framework.
30306 * Rules (bench): Likewise.
30307 (binaries-bench): Generate binaries for functions to
30308 benchmark.
30309 * benchtests/Makefile: New makefile for benchmark tests.
30310 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30311 programs.
30312 * benchtests/exp-inputs: New input file for EXP function.
30313 * benchtests/pow-inputs: New input file for POW function.
30314 * scripts/bench.pl: New script to generate source files for
30315 benchmark programs.
30316
30317 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30318
30319 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30320 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30321 computations on mantissa. Use macros for rounding and
30322 division.
30323 (denorm): Likewise.
30324 (__dbl_mp): Likewise.
30325 (add_magnitudes): Likewise.
30326 (sub_magnitudes): Likewise.
30327 (__mul): Likewise.
30328 (__sqr): Likewise.
30329 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30330 powers of two in terms of TWOPOW macro.
30331 (mp_no): Make type of mantissa as MANTISSA_T.
30332 [!RADIXI]: Define RADIXI.
30333 [!TWO52]: Define TWO52.
30334 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30335
30336 * manual/nptl.texi (cindex): Modify threads to pthreads.
30337
30338 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30339
30340 * sysdeps/x86_64/preconfigure: Regenerated.
30341
30342 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30343
30344 [BZ #14155]
30345 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30346 0x1p28 and above.
30347 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30348 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30349 0x1p28 and above.
30350 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30351 * math/libm-test.inc (j0_test): Do not allow one spurious
30352 underflow exception.
30353 (y1_test): Likewise.
30354
30355 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30356
30357 * manual/Makefile (chapters): Add nptl.
30358 * manual/debug.texi (Debugging Support): Add link to Threads
30359 chapter.
30360 * manual/nptl.texi: New file.
30361
30362 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30363
30364 2013-03-14 Petr Baudis <pasky@ucw.cz>
30365
30366 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30367 for non-NULL pointer before the memory validity test. Pointed
30368 out by Holger Brunck <holger.brunck@keymile.com>.
30369
30370 2013-03-13 Andreas Schwab <schwab@suse.de>
30371
30372 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30373 instead of .os.
30374
30375 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30376
30377 * timezone/zic.c: Update from tzcode 2013b.
30378
30379 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30380
30381 * manual/install.texi (Configuring and compiling):
30382 Mention i686 and i586.
30383 * INSTALL: Regenerate.
30384
30385 2013-03-12 Roland McGrath <roland@hack.frob.com>
30386
30387 * sysdeps/init_array/elf-init.c: New file.
30388 * csu/elf-init.c
30389 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30390 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30391
30392 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30393 __gmon_start__ as global, but as static with a .preinit_array pointer.
30394 * sysdeps/init_array/gmon-start.c: New file. Use that.
30395 * sysdeps/init_array/crti.S: New file, empty except for comments.
30396 * sysdeps/init_array/crtn.S: Likewise.
30397
30398 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30399
30400 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30401 definining bcopy.
30402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30403 Remove Prefer_SSE_for_memop.
30404 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30405 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30406 HAS_PREFER_SSE_FOR_MEMOP.
30407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30408 memset-x86-64.
30409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30410 Remove bzero, memset ifunc support.
30411 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30412 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30413 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30414 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30415
30416 2013-03-11 Andreas Schwab <schwab@suse.de>
30417
30418 [BZ #15234]
30419 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30420 by SHLIB_COMPAT.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30422 (GLIBC_2.16): Remove pthread_atfork.
30423
30424 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30425
30426 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30427 (ptestcases.h): Likewise.
30428
30429 2013-03-08 Roland McGrath <roland@hack.frob.com>
30430
30431 * Makeconfig ($(common-objpfx)config.status): Depend on
30432 sysdeps/*/preconfigure{,.in} too.
30433
30434 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30435
30436 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30437 (__free_hook): Use void * instead of __malloc_ptr_t.
30438 (__malloc_hook): Likewise.
30439 (__realloc_hook): Likewise.
30440 (__memalign_hook): Likewise.
30441 (__after_morecore_hook): Likewise.
30442 * malloc/arena.c (save_malloc_hook): Likewise.
30443 (save_free_hook): Likewise.
30444 * malloc/hooks.c (malloc_hook_ini): Likewise.
30445 (realloc_hook_ini): Likewise.
30446 (memalign_hook_ini): Likewise.
30447 * malloc/malloc.c (malloc_hook_ini): Likewise.
30448 (realloc_hook_ini): Likewise.
30449 (memalign_hook_ini): Likewise.
30450 (__free_hook): Likewise.
30451 (__malloc_hook): Likewise.
30452 (__realloc_hook): Likewise.
30453 (__memalign_hook): Likewise.
30454 (__libc_malloc): Likewise.
30455 (__libc_free): Likewise.
30456 (__libc_realloc): Likewise.
30457 (__libc_memalign): Likewise.
30458 (__libc_valloc): Likewise.
30459 (__libc_pvalloc): Likewise.
30460 (__libc_calloc): Likewise.
30461 (__posix_memalign): Likewise.
30462 * malloc/morecore.c (__sbrk): Likewise.
30463 (__default_morecore): Likewise.
30464
30465 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30466
30467 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30468 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30469 __malloc_ptrdiff_t.
30470
30471 * malloc/malloc.h (__malloc_size_t): Remove macro.
30472 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30473 __malloc_size_t.
30474 (old_memalign_hook): Likewise.
30475 (old_realloc_hook): Likewise.
30476 (struct hdr): Likewise.
30477 (flood): Likewise.
30478 (mallochook): Likewise.
30479 (memalignhook): Likewise.
30480 (reallochook): Likewise.
30481 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30482 (tr_old_realloc_hook): Likewise.
30483 (tr_old_memalign_hook): Likewise.
30484 (tr_mallochook): Likewise.
30485 (tr_reallochook): Likewise.
30486 (tr_memalignhook): Likewise.
30487
30488 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30489
30490 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30491 default_ldbl_pack and using as default implementation.
30492 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30493 implementation.
30494 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30495 redundant definition.
30496 (ldbl_insert_mantissa): Likewise.
30497 (ldbl_canonicalize): Likewise.
30498 (ldbl_nearbyint): Likewise.
30499 (ldbl_pack): Rename to ldbl_pack_ppc.
30500 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30501 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30502 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30503
30504 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30505
30506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30507 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30508 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30509 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30511 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30512 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30513 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30514
30515 2013-03-07 Andreas Jaeger <aj@suse.de>
30516
30517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30518 bits/mman-linux.h.
30519
30520 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30521
30522 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30523 Include mpa.h and declare __MPEXP.
30524 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30525 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30526 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30527 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30528 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30529 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30530 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30531
30532 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30533 (__slowpow): Use long double EXPL and LOGL functions to
30534 compute POW.
30535 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30536 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30537 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30538 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30539 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30540 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30541
30542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30543 intermediate variable to calculate exponent.
30544 (__sqr): Likewise.
30545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30546 Likewise.
30547 (__sqr): Likewise.
30548
30549 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30550 [!NO__SQR]: Define __sqr.
30551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30552 and NO__SQR. Remove all code except __mul and __sqr. Include
30553 sysdeps/ieee754/dbl-64/mpa.c.
30554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30555
30556 [BZ #12723]
30557 * posix/Makefile (tests): Add tst-pathconf.
30558 * posix/tst-pathconf.c: New test case.
30559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30560 _PC_PIPE_BUF.
30561 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30562
30563 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30564
30565 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30566
30567 2013-03-06 Andreas Jaeger <aj@suse.de>
30568
30569 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30570 definition via __MAP_ANONYMOUS.
30571
30572 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30573 it's not part of Linux headers.
30574
30575 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30576 (MAP_HUGE_MASK): Define.
30577
30578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30579 Define.
30580 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30582 Define.
30583 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30584 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30585 Define.
30586 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30587 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30588 Define.
30589 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30590
30591 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30592 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30593 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30594 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30595 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30596 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30597
30598 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30599 Handle f2fs.
30600
30601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30602 Handle f2fs and efivarfs.
30603
30604 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30605 f2fs.
30606
30607 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30608 (EFIVARFS_MAGIC): Add.
30609 (F2FS_LINK_MAX): Add.
30610
30611 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30612
30613 * stdio-common/vfprintf.c: Replace __builtin_expect with
30614 __glibc_unlikely.
30615
30616 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30617
30618 [BZ #13550]
30619 * sysdeps/generic/bp-sym.h: Remove file.
30620 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30621 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30622 <bp-sym.h> and <bp-asm.h>.
30623 (__longjmp): Don't use BP_SYM.
30624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30625 and <bp-asm.h>.
30626 (memcpy): Don't use BP_SYM.
30627 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30628 <bp-sym.h> and <bp-asm.h>.
30629 (memcpy): Don't use BP_SYM.
30630 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30631 <bp-asm.h>.
30632 (memcpy): Don't use BP_SYM.
30633 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30634 <bp-asm.h>.
30635 (memset): Don't use BP_SYM.
30636 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30637 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30638 (__bzero): Don't use BP_SYM.
30639 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30640 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30641 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30642 <bp-sym.h> and <bp-asm.h>.
30643 (memcmp): Don't use BP_SYM. Remove comment about bounded
30644 pointers.
30645 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30646 <bp-sym.h> and <bp-asm.h>.
30647 (memcpy): Don't use BP_SYM.
30648 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30649 <bp-sym.h> and <bp-asm.h>.
30650 (memset): Don't use BP_SYM.
30651 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30652 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30653 (__bzero): Don't use BP_SYM.
30654 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30655 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30656 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30657 <bp-sym.h> and <bp-asm.h>.
30658 (strncmp): Don't use BP_SYM. Remove comment about bounded
30659 pointers.
30660 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30661 <bp-sym.h> and <bp-asm.h>.
30662 (memcpy): Don't use BP_SYM.
30663 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30664 <bp-sym.h> and <bp-asm.h>.
30665 (memset): Don't use BP_SYM.
30666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30668 (__bzero): Don't use BP_SYM.
30669 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30670 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30671 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30672 <bp-sym.h> and <bp-asm.h>.
30673 (__memchr): Don't use BP_SYM.
30674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30675 <bp-sym.h> and <bp-asm.h>.
30676 (memcmp): Don't use BP_SYM. Remove comment about bounded
30677 pointers.
30678 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30679 <bp-sym.h> and <bp-asm.h>.
30680 (memcpy): Don't use BP_SYM.
30681 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30682 <bp-sym.h> and <bp-asm.h>.
30683 (__mempcpy): Don't use BP_SYM.
30684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30685 <bp-sym.h> and <bp-asm.h>.
30686 (__memrchr): Don't use BP_SYM.
30687 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30688 <bp-sym.h> and <bp-asm.h>.
30689 (memset): Don't use BP_SYM.
30690 (__bzero): Likewise.
30691 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30692 <bp-sym.h> and <bp-asm.h>.
30693 (__rawmemchr): Don't use BP_SYM.
30694 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30695 <bp-sym.h> and <bp-asm.h>.
30696 (__STRCMP): Don't use BP_SYM.
30697 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30698 <bp-sym.h> and <bp-asm.h>.
30699 (strchr): Don't use BP_SYM.
30700 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30701 <bp-sym.h> and <bp-asm.h>.
30702 (__strchrnul): Don't use BP_SYM.
30703 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30704 <bp-sym.h> and <bp-asm.h>.
30705 (strlen): Don't use BP_SYM.
30706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30707 <bp-sym.h> and <bp-asm.h>.
30708 (strncmp): Don't use BP_SYM. Remove comment about bounded
30709 pointers.
30710 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30711 <bp-sym.h> and <bp-asm.h>.
30712 (__strnlen): Don't use BP_SYM.
30713 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30714 <bp-sym.h> and <bp-asm.h>.
30715 (__GI__setjmp): Don't use BP_SYM.
30716 (_setjmp): Likewise.
30717 (__sigsetjmp): Likewise.
30718 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30719 (L(start_addresses)): Don't use BP_SYM.
30720 (_start): Likewise.
30721 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30722 <bp-asm.h>.
30723 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30724 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30725 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30726 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30727 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30728 <bp-asm.h>.
30729 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30730 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30731 about bounded pointers.
30732 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30733 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30734 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30735 <bp-asm.h>.
30736 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30737 about bounded pointers. Remove GKM FIXME comments.
30738 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30739 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30740 <bp-asm.h>.
30741 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30742 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30743 Remove GKM FIXME comments.
30744 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30745 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30746 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30747 <bp-asm.h>.
30748 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30749 about bounded pointers. Remove GKM FIXME comment.
30750 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30751 and <bp-asm.h>.
30752 (strncmp): Don't use BP_SYM. Remove comment about bounded
30753 pointers.
30754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30755 <bp-sym.h> and <bp-asm.h>.
30756 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30758 <bp-sym.h> and <bp-asm.h>.
30759 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30760 comment.
30761
30762 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30763
30764 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30765 call free(NULL).
30766
30767 2013-03-05 David S. Miller <davem@davemloft.net>
30768
30769 * po/es.po: Update from translation team.
30770
30771 2013-03-05 Andreas Jaeger <aj@suse.de>
30772
30773 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30774 <bits/mman-linux.h>.
30775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30776 is fine.
30777 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30778 <bits/mman-linux.h> to end of file.
30779 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30780 is fine.
30781 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30782 <bits/mman-linux.h> to end of file.
30783 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30784 is fine.
30785 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30786 <bits/mman-linux.h> to end of file.
30787
30788 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30789 (MCL_CURRENT, MCL_FUTURE): Define here.
30790
30791 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30792
30793 [BZ #15232]
30794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30795 attribute_hidden.
30796 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30797
30798 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30799
30800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30801 fourth parameter needed for rt_sigprocmask syscall.
30802 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30803 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30804 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30805 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30806 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30807 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30808
30809 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30810
30811 [BZ #13550]
30812 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30813 comment about bounded pointers.
30814 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30815 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30816
30817 2013-03-04 Andreas Jaeger <aj@suse.de>
30818
30819 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30820 common definitions.
30821
30822 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30823 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30824 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30825 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30826 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30827 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30828
30829 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30830
30831 [BZ #15055]
30832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30833 __ieee754_sqrl instead of __sqrl.
30834
30835 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30836
30837 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30838 * sysdeps/powerpc/fpu_control.h: ... here.
30839 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30840 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30841 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30842 * sysdeps/powerpc/bits/mathinline.h: ... here.
30843
30844 2013-03-01 Roland McGrath <roland@hack.frob.com>
30845
30846 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30847 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30848 to just [NEED_DL_SYSINFO_DSO].
30849 * elf/dl-support.c: Likewise.
30850 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30851 * elf/rtld.c (dl_main): Likewise.
30852 * elf/setup-vdso.h (setup_vdso): Likewise.
30853 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30854 * sysdeps/unix/sysv/linux/dl-sysdep.c
30855 (_dl_discover_osversion): Likewise.
30856
30857 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30858
30859 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30860 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30861
30862 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30863
30864 * NEWS: Mention libm performance improvements and non-x86 PI
30865 futex support.
30866
30867 * csu/libc-start.c (__pthread_initialize_minimal): Change
30868 function arguments.
30869 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30870
30871 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30872
30873 [BZ #13550]
30874 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30875 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30876 <bp-sym.h> and <bp-asm.h>.
30877 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30878 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30879 and <bp-asm.h>.
30880 (memcpy): Don't use BP_SYM.
30881 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30882 <bp-asm.h>.
30883 (__mpn_add_n): Don't use BP_SYM.
30884 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30885 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30886 and <bp-asm.h>.
30887 (__mpn_addmul_1): Don't use BP_SYM.
30888 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30889 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30890 <bp-sym.h>.
30891 (_setjmp): Don't use BP_SYM.
30892 (__novmx_setjmp): Likewise.
30893 (__GI__setjmp): Likewise.
30894 (__vmx_setjmp): Likewise.
30895 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30896 <bp-sym.h>.
30897 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30898 (__bzero): Don't use BP_SYM.
30899 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30900 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30901 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30902 <bp-sym.h> and <bp-asm.h>.
30903 (memcpy): Don't use BP_SYM.
30904 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30905 <bp-sym.h> and <bp-asm.h>.
30906 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30908 <bp-sym.h> and <bp-asm.h>.
30909 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30910 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30911 <bp-asm.h>.
30912 (__mpn_lshift): Don't use BP_SYM.
30913 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30914 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30915 <bp-asm.h>.
30916 (memset): Don't use BP_SYM.
30917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30919 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30920 <bp-asm.h>.
30921 (__mpn_mul_1): Don't use BP_SYM.
30922 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30924 <bp-sym.h> and <bp-asm.h>.
30925 (memcmp): Don't use BP_SYM.
30926 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30927 <bp-sym.h> and <bp-asm.h>.
30928 (memcpy): Don't use BP_SYM.
30929 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30930 <bp-sym.h> and <bp-asm.h>.
30931 (memset): Don't use BP_SYM.
30932 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30933 <bp-sym.h> and <bp-asm.h>.
30934 (strncmp): Don't use BP_SYM.
30935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30936 <bp-sym.h> and <bp-asm.h>.
30937 (memcpy): Don't use BP_SYM.
30938 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30939 <bp-sym.h> and <bp-asm.h>.
30940 (memset): Don't use BP_SYM.
30941 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30942 <bp-sym.h> and <bp-asm.h>.
30943 (__memchr): Don't use BP_SYM.
30944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30945 <bp-sym.h> and <bp-asm.h>.
30946 (memcmp): Don't use BP_SYM.
30947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30948 <bp-sym.h> and <bp-asm.h>.
30949 (memcpy): Don't use BP_SYM.
30950 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30951 <bp-sym.h> and <bp-asm.h>.
30952 (__mempcpy): Don't use BP_SYM.
30953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30954 <bp-sym.h> and <bp-asm.h>.
30955 (__memrchr): Don't use BP_SYM.
30956 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30957 <bp-sym.h> and <bp-asm.h>.
30958 (memset): Don't use BP_SYM.
30959 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30960 <bp-sym.h> and <bp-asm.h>.
30961 (__rawmemchr): Don't use BP_SYM.
30962 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30963 <bp-sym.h> and <bp-asm.h>.
30964 (__STRCMP): Don't use BP_SYM.
30965 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30966 <bp-sym.h> and <bp-asm.h>.
30967 (strchr): Don't use BP_SYM.
30968 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30969 <bp-sym.h> and <bp-asm.h>.
30970 (__strchrnul): Don't use BP_SYM.
30971 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30972 <bp-sym.h> and <bp-asm.h>.
30973 (strlen): Don't use BP_SYM.
30974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30975 <bp-sym.h> and <bp-asm.h>.
30976 (strncmp): Don't use BP_SYM.
30977 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30978 <bp-sym.h> and <bp-asm.h>.
30979 (__strnlen): Don't use BP_SYM.
30980 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30981 <bp-asm.h>.
30982 (__mpn_rshift): Don't use BP_SYM.
30983 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30984 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30985 <bp-sym.h> and <bp-asm.h>.
30986 (__sigsetjmp): Don't use BP_SYM.
30987 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30988 (L(start_addresses)): Don't use BP_SYM.
30989 (_start): Likewise.
30990 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30991 <bp-asm.h>.
30992 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30993 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30994 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30995 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30996 <bp-asm.h>.
30997 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30998 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30999 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31000 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31001 <bp-asm.h>.
31002 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31003 comments.
31004 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31005 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31006 <bp-asm.h>.
31007 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31008 FIXME comments.
31009 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31010 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31011 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31012 <bp-asm.h>.
31013 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31014 comment.
31015 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31016 and <bp-asm.h>.
31017 (strncmp): Don't use BP_SYM,
31018 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31019 <bp-asm.h>.
31020 (__mpn_sub_n): Don't use BP_SYM.
31021 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31022 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31023 and <bp-asm.h>.
31024 (__mpn_submul_1): Don't use BP_SYM.
31025 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31027 <bp-sym.h> and <bp-asm.h>.
31028 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31030 <bp-sym.h> and <bp-asm.h>.
31031 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31032 comment.
31033
31034 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31035
31036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31037 Use ZK to minimize writes to Z.
31038 (sub_magnitudes): Simplify code a bit.
31039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31040 Use ZK to minimize writes to Z.
31041 (sub_magnitudes): Simplify code a bit.
31042
31043 2013-02-27 Roland McGrath <roland@hack.frob.com>
31044
31045 * csu/gmon-start.c: Add special exception to license text.
31046
31047 2013-02-27 Richard Henderson <rth@redhat.com>
31048
31049 * scripts/config.guess: Update from config.git.
31050 * scripts/config.sub: Likewise.
31051
31052 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31053
31054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31055
31056 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31057
31058 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31059
31060 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31061
31062 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31063
31064 2013-02-26 Roland McGrath <roland@hack.frob.com>
31065
31066 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31067 [$(build-shared = yes].
31068
31069 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31070
31071 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31072 (__mul): Reduce iterations for calculating mantissa.
31073
31074 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31075 MPTWO.
31076 (__mpranred): Likewise.
31077
31078 [BZ #15160]
31079 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31080 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31081
31082 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31083
31084 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31085 Define __attribute__.
31086
31087 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31088
31089 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31090 unused.
31091 * posix/regex_internal.h (__attribute): Remove.
31092 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31093 (re_string_context_at): Likewise.
31094 (bitset_not): Use __attribute__ and mark function as possibly
31095 unused.
31096 (bitset_merge): Likewise.
31097 (bitset_mask): Likewise.
31098 (re_string_char_size_at): Likewise.
31099 (re_string_wchar_at): Likewise.
31100 (re_string_elem_size_at): Likewise.
31101
31102 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31103
31104 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31105 code.
31106 (cc32): Likewise.
31107
31108 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31109 (__acr): Likewise.
31110 (__cpy): Likewise.
31111 (norm): Likewise.
31112 (denorm): Likewise.
31113 (__dbl_mp): Likewise.
31114 (add_magnitudes): Likewise.
31115 (sub_magnitudes): Likewise.
31116 (__mul): Likewise.
31117 (__inv): Likewise.
31118
31119 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31120 style.
31121
31122 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31123 style.
31124
31125 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31126 code.
31127
31128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31129 up changes with default code.
31130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31131 Likewise.
31132
31133 2013-02-24 Allan McRae <allan@archlinux.org>
31134
31135 * manual/socket.texi (The Internet Namespace): Order menu items
31136 to match that in the file.
31137
31138 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31139 node listing of the info page menu.
31140
31141 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31142
31143 [BZ #13550]
31144 * sysdeps/i386/bp-asm.h: Remove file.
31145 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31146 (PARMS): Do not use macros from bp-asm.h.
31147 (S1): Likewise.
31148 (S2): Likewise.
31149 (SIZE): Likewise.
31150 (__mpn_add_n): Do not use BP_SYM
31151 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31152 "bp-asm.h".
31153 (PARMS): Do not use macros from bp-asm.h.
31154 (S1): Likewise.
31155 (SIZE): Likewise.
31156 (__mpn_addmul_1): Do not use BP_SYM
31157 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31158 "bp-asm.h".
31159 (PARMS): Do not use macros from bp-asm.h.
31160 (SIGMSK): Likewise.
31161 (_setjmp): Likewise. Do not use BP_SYM.
31162 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31163 "bp-asm.h".
31164 (PARMS): Do not use macros from bp-asm.h.
31165 (SIGMSK): Likewise.
31166 (setjmp): Likewise. Do not use BP_SYM.
31167 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31168 "bp-asm.h".
31169 (PARMS): Do not use macros from bp-asm.h.
31170 (__frexp): Do not use BP_SYM.
31171 (frexp): Likewise.
31172 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31173 "bp-asm.h".
31174 (PARMS): Do not use macros from bp-asm.h.
31175 (__frexpf): Do not use BP_SYM.
31176 (frexpf): Likewise.
31177 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31178 "bp-asm.h".
31179 (PARMS): Do not use macros from bp-asm.h.
31180 (__frexpl): Do not use BP_SYM.
31181 (frexpl): Likewise.
31182 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31183 "bp-asm.h".
31184 (PARMS): Do not use macros from bp-asm.h.
31185 (__remquo): Do not use BP_SYM.
31186 (remquo): Likewise.
31187 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31188 "bp-asm.h".
31189 (PARMS): Do not use macros from bp-asm.h.
31190 (__remquof): Do not use BP_SYM.
31191 (remquof): Likewise.
31192 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31193 "bp-asm.h".
31194 (PARMS): Do not use macros from bp-asm.h.
31195 (__remquol): Do not use BP_SYM.
31196 (remquol): Likewise.
31197 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31198 "bp-asm.h".
31199 (PARMS): Do not use macros from bp-asm.h.
31200 (DEST): Likewise.
31201 (SRC): Likewise.
31202 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31203 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31204 "bp-asm.h".
31205 (PARMS): Do not use macros from bp-asm.h.
31206 (strlen): Do not use BP_SYM.
31207 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31208 "bp-asm.h".
31209 (PARMS): Do not use macros from bp-asm.h.
31210 (S1): Likewise.
31211 (S2): Likewise.
31212 (SIZE): Likewise.
31213 (__mpn_add_n): Do not use BP_SYM.
31214 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31215 "bp-asm.h".
31216 (PARMS): Do not use macros from bp-asm.h.
31217 (S1): Likewise.
31218 (SIZE): Likewise.
31219 (__mpn_addmul_1): Do not use BP_SYM.
31220 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31221 weak_alias.
31222 (bzero): Likewise.
31223 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31224 "bp-asm.h".
31225 (PARMS): Do not use macros from bp-asm.h.
31226 (S): Likewise.
31227 (SIZE): Likewise.
31228 (__mpn_lshift): Do not use BP_SYM.
31229 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31230 "bp-asm.h".
31231 (PARMS): Do not use macros from bp-asm.h.
31232 (DEST): Likewise.
31233 (SRC): Likewise.
31234 (LEN): Likewise.
31235 (memcpy): Likewise. Do not use BP_SYM.
31236 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31237 libc_hidden_def and weak_alias.
31238 (mempcpy): Do not use BP_SYM in weak_alias.
31239 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31240 "bp-asm.h".
31241 (PARMS): Do not use macros from bp-asm.h.
31242 (DEST): Likewise.
31243 (LEN): Likewise.
31244 [!BZERO_P] (CHR): Likewise.
31245 (memset): Likewise. Do not use BP_SYM.
31246 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31247 "bp-asm.h".
31248 (PARMS): Do not use macros from bp-asm.h.
31249 (S1): Likewise.
31250 (SIZE): Likewise.
31251 (__mpn_mul_1): Do not use BP_SYM.
31252 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31253 "bp-asm.h".
31254 (PARMS): Do not use macros from bp-asm.h.
31255 (S): Likewise.
31256 (SIZE): Likewise.
31257 (__mpn_rshift): Do not use BP_SYM.
31258 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31259 "bp-asm.h".
31260 (PARMS): Do not use macros from bp-asm.h.
31261 (STR): Likewise.
31262 (CHR): Likewise.
31263 (strchr): Likewise. Do not use BP_SYM.
31264 (index): Do not use BP_SYM in weak_alias.
31265 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31266 "bp-asm.h".
31267 (PARMS): Do not use macros from bp-asm.h.
31268 (DEST): Likewise.
31269 (SRC): Likewise.
31270 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31271 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31272 "bp-asm.h".
31273 (PARMS): Do not use macros from bp-asm.h.
31274 (strlen): Do not use BP_SYM.
31275 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31276 "bp-asm.h".
31277 (PARMS): Do not use macros from bp-asm.h.
31278 (S1): Likewise.
31279 (S2): Likewise.
31280 (SIZE): Likewise.
31281 (__mpn_sub_n): Do not use BP_SYM.
31282 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31283 "bp-asm.h".
31284 (PARMS): Do not use macros from bp-asm.h.
31285 (S1): Likewise.
31286 (SIZE): Likewise.
31287 (__mpn_submul_1): Do not use BP_SYM.
31288 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31289 "bp-asm.h".
31290 (PARMS): Do not use macros from bp-asm.h.
31291 (S1): Likewise.
31292 (S2): Likewise.
31293 (SIZE): Likewise.
31294 (__mpn_add_n): Do not use BP_SYM.
31295 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31296 weak_alias.
31297 (bzero): Likewise.
31298 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31299 "bp-asm.h".
31300 (PARMS): Do not use macros from bp-asm.h.
31301 (BLK2): Likewise.
31302 (LEN): Likewise.
31303 (memcmp): Do not use BP_SYM.
31304 (bcmp): Do not use BP_SYM in weak_alias.
31305 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31306 "bp-asm.h".
31307 (PARMS): Do not use macros from bp-asm.h.
31308 (DEST): Likewise.
31309 (SRC): Likewise.
31310 (LEN): Likewise.
31311 (memcpy): Likewise. Do not use BP_SYM.
31312 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31313 "bp-asm.h".
31314 (PARMS): Do not use macros from bp-asm.h.
31315 (DEST): Likewise.
31316 (SRC): Likewise.
31317 (LEN): Likewise.
31318 (memmove): Likewise. Do not use BP_SYM.
31319 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31320 "bp-asm.h".
31321 (PARMS): Do not use macros from bp-asm.h.
31322 (DEST): Likewise.
31323 (SRC): Likewise.
31324 (LEN): Likewise.
31325 (__mempcpy): Likewise. Do not use BP_SYM.
31326 (mempcpy): Do not use BP_SYM in weak_alias.
31327 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31328 "bp-asm.h".
31329 (PARMS): Do not use macros from bp-asm.h.
31330 (DEST): Likewise.
31331 (LEN): Likewise.
31332 [!BZERO_P] (CHR): Likewise.
31333 (memset): Likewise. Do not use BP_SYM.
31334 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31335 "bp-asm.h".
31336 (PARMS): Do not use macros from bp-asm.h.
31337 (STR2): Likewise.
31338 (strcmp): Do not use BP_SYM.
31339 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31340 "bp-asm.h".
31341 (PARMS): Do not use macros from bp-asm.h.
31342 (STR): Likewise.
31343 (DELIM): Likewise.
31344 [USE_AS_STRTOK_R] (SAVE): Likewise.
31345 (FUNCTION): Likewise. Do not use BP_SYM.
31346 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31347 aliases.
31348 (strtok_r): Likewise.
31349 (__GI___strtok_r): Likewise.
31350 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31351 (PARMS): Do not use macros from bp-asm.h.
31352 (S): Likewise.
31353 (SIZE): Likewise.
31354 (__mpn_lshift): Do not use BP_SYM.
31355 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31356 (PARMS): Do not use macros from bp-asm.h.
31357 (STR): Likewise.
31358 (CHR): Likewise.
31359 (__memchr): Do not use BP_SYM.
31360 (memchr): Do not use BP_SYM in weak_alias.
31361 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31362 (PARMS): Do not use macros from bp-asm.h.
31363 (BLK2): Likewise.
31364 (LEN): Likewise.
31365 (memcmp): Do not use BP_SYM.
31366 (bcmp): Do not use BP_SYM in weak_alias.
31367 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31368 (PARMS): Do not use macros from bp-asm.h.
31369 (S1): Likewise.
31370 (SIZE): Likewise.
31371 (__mpn_mul_1): Do not use BP_SYM.
31372 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31373 "bp-asm.h".
31374 (PARMS): Do not use macros from bp-asm.h.
31375 (STR): Likewise.
31376 (CHR): Likewise.
31377 (__rawmemchr): Do not use BP_SYM.
31378 (rawmemchr): Do not use BP_SYM in weak_alias.
31379 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31380 (PARMS): Do not use macros from bp-asm.h.
31381 (S): Likewise.
31382 (SIZE): Likewise.
31383 (__mpn_rshift): Do not use BP_SYM.
31384 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31385 (PARMS): Do not use macros from bp-asm.h.
31386 (SIGMSK): Likewise.
31387 (__sigsetjmp): Likewise. Do not use BP_SYM.
31388 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31389 (_start): Do not use BP_SYM.
31390 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31391 (PARMS): Do not use macros from bp-asm.h.
31392 (DEST): Likewise.
31393 (SRC): Likewise.
31394 (__stpcpy): Likewise. Do not use BP_SYM.
31395 (stpcpy): Do not use BP_SYM in weak_alias.
31396 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31397 "bp-asm.h".
31398 (PARMS): Do not use macros from bp-asm.h.
31399 (DEST): Likewise.
31400 (SRC): Likewise.
31401 (LEN): Likewise.
31402 (__stpncpy): Likewise. Do not use BP_SYM.
31403 (stpncpy): Do not use BP_SYM in weak_alias.
31404 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31405 (PARMS): Do not use macros from bp-asm.h.
31406 (STR): Likewise.
31407 (CHR): Likewise.
31408 (strchr): Likewise. Do not use BP_SYM.
31409 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31410 "bp-asm.h".
31411 (PARMS): Do not use macros from bp-asm.h.
31412 (STR): Likewise.
31413 (CHR): Likewise.
31414 (__strchrnul): Likewise. Do not use BP_SYM.
31415 (strchrnul): Do not use BP_SYM in weak_alias.
31416 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31417 "bp-asm.h".
31418 (PARMS): Do not use macros from bp-asm.h.
31419 (STOP): Likewise.
31420 (strcspn): Do not use BP_SYM.
31421 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31422 "bp-asm.h".
31423 (PARMS): Do not use macros from bp-asm.h.
31424 (STR): Likewise.
31425 (STOP): Likewise.
31426 (strpbrk): Likewise. Do not use BP_SYM.
31427 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31428 "bp-asm.h".
31429 (PARMS): Do not use macros from bp-asm.h.
31430 (STR): Likewise.
31431 (CHR): Likewise.
31432 (strrchr): Likewise. Do not use BP_SYM.
31433 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31434 (PARMS): Do not use macros from bp-asm.h.
31435 (SKIP): Likewise.
31436 (strspn): Do not use BP_SYM.
31437 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31438 (PARMS): Do not use macros from bp-asm.h.
31439 (STR): Likewise.
31440 (DELIM): Likewise.
31441 (SAVE): Likewise.
31442 (FUNCTION): Likewise. Do not use BP_SYM.
31443 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31444 aliases.
31445 (strtok_r): Likewise.
31446 (__GI___strtok_r): Likewise.
31447 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31448 (PARMS): Do not use macros from bp-asm.h.
31449 (S1): Likewise.
31450 (S2): Likewise.
31451 (SIZE): Likewise.
31452 (__mpn_sub_n): Do not use BP_SYM.
31453 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31454 "bp-asm.h".
31455 (PARMS): Do not use macros from bp-asm.h.
31456 (S1): Likewise.
31457 (SIZE): Likewise.
31458 (__mpn_submul_1): Do not use BP_SYM.
31459 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31460 <bp-sym.h>.
31461 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31462 and <bp-asm.h>.
31463 (PARMS): Do not use macros from bp-asm.h.
31464 (FLAGS): Likewise.
31465 (PTID): Likewise.
31466 (TLS): Likewise.
31467 (CTID): Likewise.
31468 (__clone): Do not use BP_SYM.
31469 (clone): Do not use BP_SYM in weak_alias.
31470 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31471 and <bp-asm.h>.
31472 (PARMS): Do not use macros from bp-asm.h.
31473 (LEN): Likewise.
31474 (__mmap64): Do not use BP_SYM.
31475 (mmap64): Do not use BP_SYM in weak_alias.
31476 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31477 <bp-sym.h> and <bp-asm.h>.
31478 (PARMS): Do not use macros from bp-asm.h.
31479 (__posix_fadvise64_l64): Do not use BP_SYM.
31480 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31481 (PARMS): Do not use macros from bp-asm.h.
31482 (NSOPS): Likewise.
31483 (semtimedop): Do not use BP_SYM.
31484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31485 and <bp-asm.h>.
31486
31487 2013-02-21 Allan McRae <allan@archlinux.org>
31488
31489 * manual/message.texi (Charset conversion in gettext):
31490 Move @end statement to beginning of line.
31491
31492 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31493
31494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31495 static.
31496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31497 Likewise.
31498
31499 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31500 (denorm): Likewise.
31501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31503
31504 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31505
31506 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31507 tail-call to the resolved function if pltexit isn't needed.
31508
31509 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31510
31511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31512 or Y being zero as being unlikely.
31513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31514 Likewise.
31515
31516 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31517
31518 * manual/nss.texi (System Databases and Name Service Switch):
31519 Remove frobnicate @pxref.
31520
31521 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31522
31523 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31524 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31525
31526 2013-02-20 Petr Machata <pmachata@redhat.com>
31527
31528 * elf/elf.h (R_ARM_TARGET1): New macro.
31529 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31530 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31531 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31532 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31533 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31534 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31535 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31536 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31537 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31538 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31539 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31540 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31541 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31542 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31543 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31544 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31545 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31546 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31547 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31548 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31549 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31550 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31551 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31552 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31553 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31554 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31555 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31556 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31557 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31558 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31559 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31560 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31561 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31562 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31563 (R_ARM_THM_GOT_BREL12): Likewise.
31564 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31565 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31566 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31567 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31568 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31569 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31570 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31571 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31572 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31573
31574 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31575
31576 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31577 __attribute_used__ to __attribute__ ((unused)).
31578
31579 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31580
31581 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31582 powerpc mpa.c.
31583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31584 comment formatting.
31585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31586
31587 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31588
31589 [BZ #13550]
31590 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31591 Remove macro.
31592 (ENTER): Remove both macro definitions.
31593 (LEAVE): Likewise.
31594 (CHECK_BOUNDS_LOW): Likewise.
31595 (CHECK_BOUNDS_HIGH): Likewise.
31596 (CHECK_BOUNDS_BOTH): Likewise.
31597 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31598 (RETURN_BOUNDED_POINTER): Likewise.
31599 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31600 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31601 (POP_ERRNO_LOCATION_RETURN): Likewise.
31602 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31603 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31604 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31605 macros.
31606 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31607 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31608 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31609 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31610 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31611 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31612 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31613 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31614 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31615 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31616 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31617 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31618 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31619 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31620 removed macros.
31621 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31622 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31623 macros.
31624 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31625 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31626 * sysdeps/i386/i586/memset.S (memset): Likewise.
31627 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31628 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31629 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31630 macros.
31631 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31632 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31633 Change uses of L(2) to L(out).
31634 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31635 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31636 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31637 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31638 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31639 removed macros.
31640 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31641 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31642 macros.
31643 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31644 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31645 (RETURN): Do not use macro LEAVE.
31646 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31647 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31648 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31649 * sysdeps/i386/i686/memset.S (memset): Likewise.
31650 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31651 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31652 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31653 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31654 Likewise.
31655 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31656 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31657 L(1_2) and L(1_3) into L(1).
31658 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31659 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31660 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31661 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31662 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31663 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31664 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31665 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31666 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31667 macros.
31668 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31669 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31670 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31671 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31672 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31673 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31674 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31675 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31676 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31677 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31678 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31679 * sysdeps/i386/strspn.S (strspn): Likewise.
31680 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31681 conditional code.
31682 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31683 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31684 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31685 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31686 L(1_3) into L(1_1).
31687 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31688 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31689 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31690 macros.
31691 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31692
31693 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31694
31695 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31696 macro.
31697
31698 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31699
31700 * math/atest-exp.c (exp_mpn): Remove ROUND.
31701 * math/atest-exp2.c (exp_mpn): Likewise.
31702 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31703
31704 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31705 * stdlib/tst-tls-atexit-lib.c: Likewise.
31706 * stdlib/tst-tls-atexit.c: Likewise.
31707
31708 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31709
31710 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31711 and __attribute_alloc_size__.
31712
31713 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31714
31715 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31716 __attribute_alloc_size__.
31717 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31718 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31719
31720 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31721
31722 * include/programs/xmalloc.h: New file.
31723 * catgets/gencat.c: Include it.
31724 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31725 * elf/pldd.c: Likewise.
31726 * iconv/iconv_charmap.c: Likewise.
31727 * iconv/iconvconfig.c: Likewise.
31728 * iconv/strtab.c: Likewise.
31729 * locale/programs/locale.c: Likewise.
31730 * locale/programs/localedef.h: Likewise.
31731 * locale/programs/simple-hash.c: Likewise.
31732 * nscd/nscd.h: Likewise.
31733 * nss/makedb.c: Likewise.
31734 * sysdeps/generic/ldconfig.h: Likewise.
31735
31736 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31737
31738 * Versions.def: Add GLIBC_2.18.
31739 * include/link.h (struct link_map): New member l_tls_dtor_count.
31740 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31741 (__call_tls_dtors): Likewise.
31742 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31743 __cxa_thread_atexit_impl.
31744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31745 Likewise.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31747 Likewise.
31748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31749 Likewise.
31750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31751 Likewise.
31752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31754 Likewise.
31755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31756 Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31759 Likewise.
31760 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31761 (tests): Add test case tst-tls-atexit.
31762 (modules-names): Add shared library for tst-tls-atexit.
31763 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31764 (GLIBC_PRIVATE): Add __call_tls_dtors.
31765 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31766 for libstdc++.
31767 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31768 * stdlib/tst-tls-atexit.c: New test case.
31769 * stdlib/tst-tls-atexit-lib.c: New test case.
31770
31771 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31772
31773 * elf/Versions (ld): Add _dl_find_dso_for_object.
31774 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31775 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31776 (dl_open_worker): Use _dl_find_dso_for_object.
31777 * elf/dl-sym.c (do_sym): Likewise.
31778 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31779
31780 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31781
31782 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31783 Syntactic changes only.
31784 (_dl_runtime_profile): Do a tail-call to the resolved function.
31785
31786 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31787
31788 [BZ #13550]
31789 * sysdeps/x86_64/bp-asm.h: Remove file.
31790 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31791 <bp-sym.h> and <bp-asm.h>.
31792 (__clone): Do not use BP_SYM.
31793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31794 <bp-sym.h> and <bp-asm.h>.
31795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31796 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31797 "bp-asm.h".
31798 (_setjmp): Do not use BP_SYM.
31799 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31800 "bp-asm.h".
31801 (setjmp): Do not use BP_SYM.
31802 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31803 libc_hidden_def.
31804 (mempcpy): Do not use BP_SYM in weak_alias.
31805 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31806 "bp-asm.h".
31807 (strchr): Do not use BP_SYM.
31808 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31809 "bp-asm.h".
31810 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31811 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31812 (_start): Do not use BP_SYM.
31813 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31814 "bp-asm.h".
31815 (strcat): Do not use BP_SYM.
31816 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31817 "bp-asm.h".
31818 (STRCMP): Do not use BP_SYM.
31819 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31820 "bp-asm.h".
31821 (STRCPY): Do not use BP_SYM.
31822 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31823 "bp-asm.h".
31824 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31825 "bp-asm.h".
31826 (FUNCTION): Do not use BP_SYM.
31827 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31828 weak_alias.
31829 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31830
31831 2013-02-17 Andreas Jaeger <aj@suse.de>
31832
31833 * time/Versions: Sort entries.
31834 * string/Versions: Likewise.
31835 * resolv/Versions: Likewise.
31836 * posix/Versions: Likewise.
31837 * iconv/Versions: Likewise.
31838 * elf/Versions: Likewise.
31839 * wcsmbs/Versions: Likewise.
31840
31841 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31842
31843 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31844 loop termination condition.
31845
31846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31847 variable to calculate EZ.
31848 (__sqr): Likewise.
31849
31850 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31851 the lower precision input.
31852
31853 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31854
31855 [BZ #13550]
31856 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31857 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31858 (run-via-rtld-prefix): Do not handle %-bp tests.
31859 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31860 (all-object-suffixes): Remove .ob.
31861 (bppfx): Remove variable.
31862 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31863 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31864 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31865 [$(build-bounded) = yes] (libtype.ob): Likewise.
31866 * Makerules (elide-routines.ob): Remove variable.
31867 (do-tests-clean): Do not handle *-bp.out.
31868 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31869 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31870 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31871 (tests): Do not include $(tests-bp.out).
31872 (xtests): Do not include $(xtests-bp.out).
31873 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31874 [$(build-bounded) = yes] ($(addprefix
31875 $(objpfx),$(binaries-bounded))): Remove rule.
31876 ($(objpfx)%-bp.out): Remove rule.
31877 * config.make.in (build-bounded): Remove variable.
31878 * crypt/Makefile [$(build-bounded) = yes]
31879 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31880 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31881 append to variable.
31882 [$(build-bounded) = yes] (install-lib): Likewise.
31883 [$(build-bounded) = yes] (generated): Likewise.
31884 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31885 Remove rule.
31886 * intl/Makefile [$(build-bounded) = yes]
31887 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31888 * math/Makefile [$(build-bounded) = yes]
31889 ($(tests:%=$(objpfx)%-bp): Likewise.
31890 * misc/Makefile [$(build-bounded) = yes]
31891 ($(objpfx)tst-tsearch-bp): Likewise.
31892 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31893 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31894 Remove dependency.
31895 * string/Makefile (o-objects.ob): Remove variable.
31896 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31897 (CFLAGS-.ob): Remove variable.
31898 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31899 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31900 both definitions of variable.
31901 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31902 (ASFLAGS-.ob): Remove variable.
31903
31904 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31905
31906 [BZ #13550]
31907 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31908 Remove __BOUNDED_POINTERS__ from condition.
31909 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31910 * string/bits/string2.h [!__NO_STRING_INLINES &&
31911 !__BOUNDED_POINTERS__]: Likewise.
31912 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31913 Likewise.
31914 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31915 Remove conditional code.
31916 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31917 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31918 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31919 condition.
31920
31921 [BZ #13550]
31922 * csu/libc-start.c: Do not include <bp-sym.h>.
31923 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31924 * elf/dl-open.c: Do not include <bp-sym.h>.
31925 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31926 * math/fegetenv.c: Do not include <bp-sym.h>.
31927 (fegetenv): Do not use BP_SYM in versioned symbols.
31928 * nptl/sysdeps/pthread/bits/libc-lockP.h
31929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31930 <bp-sym.h>.
31931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31932 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31934 (__pthread_mutex_destroy): Likewise.
31935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31936 (__pthread_mutex_lock): Likewise.
31937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31938 (__pthread_mutex_trylock): Likewise.
31939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31940 (__pthread_mutex_unlock): Likewise.
31941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31942 (__pthread_mutexattr_init): Likewise.
31943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31944 (__pthread_mutexattr_destroy): Likewise.
31945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31946 (__pthread_mutexattr_settype): Likewise.
31947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31948 (__pthread_rwlock_init): Likewise.
31949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31950 (__pthread_rwlock_destroy): Likewise.
31951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31952 (__pthread_rwlock_rdlock): Likewise.
31953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31954 (__pthread_rwlock_tryrdlock): Likewise.
31955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31956 (__pthread_rwlock_wrlock): Likewise.
31957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31958 (__pthread_rwlock_trywrlock): Likewise.
31959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31960 (__pthread_rwlock_unlock): Likewise.
31961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31962 (__pthread_key_create): Likewise.
31963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31964 (__pthread_setspecific): Likewise.
31965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31966 (__pthread_getspecific): Likewise.
31967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31968 Likewise.
31969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31970 (_pthread_cleanup_push_defer): Likewise.
31971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31972 (_pthread_cleanup_pop_restore): Likewise.
31973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31974 (pthread_setcancelstate): Likewise.
31975 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31976 <bp-sym.h>.
31977 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31978 (memchr): Do not use BP_SYM in weak_alias.
31979 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31980 (fegetenv): Do not use BP_SYM in versioned symbols.
31981 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31982 (fesetenv): Do not use BP_SYM in versioned symbols.
31983 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31984 (feupdateenv): Do not use BP_SYM in versioned symbols.
31985 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31986 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31987 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31988 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31989 (open64): Do not use BP_SYM in weak_alias.
31990 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31991 (fegetenv): Do not use BP_SYM in versioned symbols.
31992 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31993 (fesetenv): Do not use BP_SYM in versioned symbols.
31994 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31995 (feupdateenv): Do not use BP_SYM in versioned symbols.
31996 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31997 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31998 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31999 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32000 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32001 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32002 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32003 <bp-sym.h>.
32004 (__libc_start_main): Do not use BP_SYM.
32005
32006 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32007
32008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32009 redundant return line.
32010 (norm): Likewise.
32011 (denorm): Likewise.
32012 (dbl_mp): Likewise.
32013 (sub_magnitudes): Likewise.
32014 (__add): Likewise.
32015 (__sub): Likewise.
32016 (__mul): Likewise.
32017 (__inv): Likewise.
32018 (__dvd): Likewise.
32019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32020 (norm): Likewise.
32021 (denorm): Likewise.
32022 (dbl_mp): Likewise.
32023 (sub_magnitudes): Likewise.
32024 (__add): Likewise.
32025 (__sub): Likewise.
32026 (__mul): Likewise.
32027 (__inv): Likewise.
32028 (__dvd): Likewise.
32029
32030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32031 instead of __mul.
32032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32033 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32034 (cc32): Likewise.
32035
32036 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32037 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32039 of __mul for squares.
32040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32041 function
32042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32043 Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32045 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32046
32047 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32048
32049 [BZ #13550]
32050 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32051 code.
32052 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32053 prototype or function definition. Rename ubp_* variables and
32054 parameters. Remove argv definitions conditional on
32055 [__BOUNDED_POINTERS__].
32056 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32057 * elf/dl-runtime.c (_dl_fixup): Likewise.
32058 * include/set-hooks.h (RUN_HOOK): Likewise.
32059 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32060 definition.
32061 * string/strcpy.c (strcpy): Do not use __unbounded.
32062 * sysdeps/generic/frame.h (struct layout): Likewise.
32063 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32064 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32065 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32066 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32067 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32068 (__backtrace): Likewise.
32069 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32070 use __ptrvalue.
32071 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32072 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32073 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32074 Likewise.
32075 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32076 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32077 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32078 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32079 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32080 Do not use __unbounded.
32081 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32082 Rename __unboundedrlimits parameter to rlimits in prototype.
32083 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32084 Do not use __unbounded.
32085 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32086 not use __ptrvalue.
32087 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32088 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32089 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32090 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32091 __ptrvalue or __unbounded.
32092 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32093 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32094 use __unbounded.
32095 (__new_msgctl): Do not use __ptrvalue.
32096 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32097 __unbounded.
32098 (__libc_msgrcv): Do not use __ptrvalue.
32099 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32100 startup_info): Do not use __unbounded.
32101 (__libc_start_main): Likewise. Rename ubp_* variables and
32102 parameters. Remove argv definitions conditional on
32103 [__BOUNDED_POINTERS__].
32104 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32105 __ptrvalue.
32106 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32107 use __unbounded.
32108 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32109 or __ptrvalue.
32110 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32111 use __unbounded.
32112 (__new_shmctl): Do not use __ptrvalue.
32113 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32114 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32115 Likewise.
32116 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32117 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32118 (__libc_sigaction): Likewise.
32119 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32121 Likewise.
32122 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32123
32124 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32125
32126 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32127
32128 * string/mempcpy.c: Implement by calling memcpy.
32129
32130 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32131
32132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32133
32134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32135 evaluation.
32136
32137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32138 values in the mantissa.
32139
32140 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32141 minimize writes to Z.
32142 (sub_magnitudes): Simplify code a bit.
32143
32144 2013-02-12 Roland McGrath <roland@hack.frob.com>
32145
32146 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32147 from the message. The linker prefixes all warnings with that already.
32148
32149 2013-02-12 Andreas Schwab <schwab@suse.de>
32150
32151 [BZ #15078]
32152 * posix/regexec.c (extend_buffers): Add parameter min_len.
32153 (check_matching): Pass minimum needed length.
32154 (clean_state_log_if_needed): Likewise.
32155 (get_subexp): Likewise.
32156 * posix/Makefile (tests): Add bug-regex34.
32157 (bug-regex34-ENV): Define.
32158 * posix/bug-regex34.c: New file.
32159
32160 [BZ #11561]
32161 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32162 elements compare against the byte sequence of it, not its name.
32163 * posix/Makefile (tests): Add bug-regex35.
32164 (bug-regex35-ENV): Define.
32165 * posix/bug-regex35.c: New file.
32166
32167 2013-02-11 Tom de Vries <tom@codesourcery.com>
32168
32169 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32170 comment.
32171 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32172 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32173 (CHECK_EOL): Add undef.
32174
32175 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32176
32177 * bits/stdlib-bsearch.h: New file.
32178 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32179 * stdlib/stdlib.h: Likewise.
32180
32181 2013-02-11 Roland McGrath <roland@hack.frob.com>
32182
32183 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32184 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32185 declaration.
32186 * manual/search.texi (Array Search Function): Add missing const in
32187 lfind prototype.
32188 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32189 declaration to use rlim_t.
32190 (Basic Scheduling Functions): Remove erroneous const from
32191 sched_getparam prototype. Remove erroneous * from
32192 sched_get_priority_max and sched_get_priority_min prototypes.
32193 (Resource Usage): Fix summary @comment on vtimes to refer to
32194 sys/vtimes.h rather than vtimes.h.
32195 Add missing *s in vtimes prototype.
32196 (Limits on Resources): Fix ulimit prototype to return long int.
32197 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32198 prototypes to use long int rather than double.
32199 (BSD Random): Fix initstate and setstate to use char *, not void *.
32200 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32201 prototype to make second argument 'struct aiocb64 *const[]'.
32202 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32203 (Status of AIO Operations): Remove erroneous const in aio_return and
32204 aio_return64 prototypes.
32205 (Synchronizing I/O): Fix sync prototype to return void.
32206 * manual/startup.texi (Suboptions): Remove an erroneous const in
32207 getsubopt prototype.
32208 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32209 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32210 use size_t rather than int.
32211 (Scanning All Users): Likewise for getpwent_r.
32212 (Setting Groups): Add missing const to setgroups prototype.
32213 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32214 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32215 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32216 'const void *' rather than 'const char *'.
32217 (Host Address Functions): Likewise for inet_ntop.
32218 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32219 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32220 ssize_t for return value.
32221 (Sending Data): Likewise for send, sendto, sendmsg.
32222 (Socket Option Functions): Add a missing const in setsockopt prototype.
32223 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32224 use wchar_t for the argument.
32225 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32226 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32227 take no arguments.
32228 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32229 double/float/long double for second argument.
32230 Fix return types of significand, significandf, significandl.
32231 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32232 argument in fchmod prototype.
32233 (File Owner): Use uid_t and gid_t in fchown prototype.
32234 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32235 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32236 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32237 use 'const struct dirent **' as argument types to CMP function pointer
32238 argument.
32239 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32240 (File Times): Fix summary magic @comment for struct utimbuf and utime
32241 to refer to utime.h, not time.h.
32242 * manual/string.texi (Argz Functions): Add missing const in
32243 argz_extract and argz_next prototypes.
32244 (Finding Tokens in a String): Likewise for basename.
32245 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32246 (Copying and Concatenation): Fix typo in wmemmove prototype.
32247 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32248 (Signal Stack): Remove erroneous const in sigstack prototype.
32249 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32250 prototype.
32251 (Simple Calendar Time): Likewise for stime.
32252 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32253 prototype.
32254 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32255 say sys/sysctl.h instead.
32256 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32257 and vsyslog prototypes.
32258
32259 2013-02-11 Tom de Vries <tom@codesourcery.com>
32260
32261 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32262 Remove.
32263
32264 2013-02-11 Roland McGrath <roland@hack.frob.com>
32265
32266 * misc/sys/mman.h: Fix typo in mremap comment.
32267
32268 2013-02-08 Roland McGrath <roland@hack.frob.com>
32269
32270 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32271 the '\0' terminator.
32272
32273 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32274
32275 [BZ #13550]
32276 * debug/segfault.c: Don't include <bp-checks.h>.
32277 * sysdeps/generic/bp-checks.h: Remove file.
32278 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32279 (__GETDENTS): Don't use CHECK_N.
32280 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32281 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32282 (__getgroups): Don't use CHECK_N.
32283 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32284 (setgroups): Don't use CHECK_N.
32285 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32286 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32287 (__libc_msgrcv): Don't use CHECK_N.
32288 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32289 (__libc_msgsnd): Don't use CHECK_N.
32290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32291 <bp-checks.h>.
32292 (__libc_pread): Don't use CHECK_N.
32293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32294 include <bp-checks.h>.
32295 (__libc_pread64): Don't use CHECK_N.
32296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32297 include <bp-checks.h>.
32298 (__libc_pwrite): Don't use CHECK_N.
32299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32300 include <bp-checks.h>.
32301 (__libc_pwrite64): Don't use CHECK_N.
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32303 <bp-checks.h>.
32304 (__libc_pread): Don't use CHECK_N.
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32306 include <bp-checks.h>.
32307 (__libc_pread64): Don't use CHECK_N.
32308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32309 include <bp-checks.h>.
32310 (__libc_pwrite): Don't use CHECK_N.
32311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32312 include <bp-checks.h>.
32313 (__libc_pwrite64): Don't use CHECK_N.
32314 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32315 (do_pread): Don't use CHECK_N.
32316 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32317 (do_pread64): Don't use CHECK_N.
32318 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32319 (do_pwrite): Don't use CHECK_N.
32320 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32321 (do_pwrite64): Don't use CHECK_N.
32322 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32323 (__libc_readv): Don't use CHECK_N.
32324 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32325 (semop): Don't use CHECK_N.
32326 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32327 <bp-checks.h>.
32328 (semtimedop): Don't use CHECK_N.
32329 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32330 (__libc_pread): Don't use CHECK_N.
32331 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32332 <bp-checks.h>.
32333 (__libc_pread64): Don't use CHECK_N.
32334 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32335 <bp-checks.h>.
32336 (__libc_pwrite): Don't use CHECK_N.
32337 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32338 <bp-checks.h>.
32339 (__libc_pwrite64): Don't use CHECK_N.
32340 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32341 <bp-checks.h>.
32342 (__libc_msgrcv): Don't use CHECK_N.
32343 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32344 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32345 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32346 (__libc_writev): Don't use CHECK_N.
32347
32348 2013-02-08 Roland McGrath <roland@hack.frob.com>
32349
32350 * string/strcpy.c: Removed unused variable.
32351
32352 * Makeconfig (+sysdep-includes): Define with := rather than =.
32353 Use an existing include/ subdir of each sysdeps dir before it.
32354
32355 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32356
32357 * nscd/connection.c (register_traced_file): Comment function.
32358 [HAVE_INOTIFY] (union __inev): Define.
32359 [HAVE_INOTIFY] (inotify_check_files): New function.
32360 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32361 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32362 clear_db_cache.
32363 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32364
32365 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32366
32367 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32368 loaded if not already and that a failure is permanent.
32369
32370 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32371
32372 [BZ #15006]
32373 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32374 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32375
32376 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32377
32378 [BZ #13550]
32379 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32380 (CHECK_1_NULL_OK): Likewise.
32381 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32382 (__fxstat): Do not use CHECK_1.
32383 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32384 <bp-checks.h>.
32385 (___fxstat64): Do not use CHECK_1.
32386 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32387 <bp-checks.h>.
32388 (__fxstatat): Do not use CHECK_1.
32389 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32390 <bp-checks.h>.
32391 (__fxstatat64): Do not use CHECK_1.
32392 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32393 <bp-checks.h>.
32394 (__fxstat): Do not use CHECK_1.
32395 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32396 <bp-checks.h>.
32397 (__fxstatat): Do not use CHECK_1.
32398 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32399 <bp-checks.h>.
32400 (__getresgid): Do not use CHECK_1.
32401 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32402 <bp-checks.h>.
32403 (__getresuid): Do not use CHECK_1.
32404 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32405 <bp-checks.h>.
32406 (__lxstat): Do not use CHECK_1.
32407 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32408 <bp-checks.h>.
32409 (__old_msgctl): Do not use CHECK_1.
32410 (__new_msgctl): Likewise.
32411 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32412 <bp-checks.h>.
32413 (__new_setrlimit): Do not use CHECK_1.
32414 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32415 <bp-checks.h>.
32416 (__old_shmctl): Do not use CHECK_1.
32417 (__new_shmctl): Likewise.
32418 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32419 <bp-checks.h>.
32420 (__xstat): Do not use CHECK_1.
32421 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32422 (__lxstat): Do not use CHECK_1.
32423 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32424 <bp-checks.h>.
32425 (___lxstat64): Do not use CHECK_1.
32426 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32427 (__old_msgctl): Do not use CHECK_1.
32428 (__new_msgctl): Likewise.
32429 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32430 <bp-checks.h>.
32431 (__gettimeofday): Do not use CHECK_1.
32432 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32433 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32434 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32435 <bp-checks.h>.
32436 (__gettimeofday): Do not use CHECK_1.
32437 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32438 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32439 (__new_shmctl): Do not use CHECK_1.
32440 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32441 <bp-checks.h>.
32442 (do_sigtimedwait): Do not use CHECK_1.
32443 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32444 <bp-checks.h>.
32445 (do_sigwaitinfo): Do not use CHECK_1.
32446 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32447 <bp-checks.h>.
32448 (msgctl): Do not use CHECK_1.
32449 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32450 <bp-checks.h>.
32451 (shmctl): Do not use CHECK_1.
32452 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32453 (ustat): Do not use CHECK_1.
32454 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32455 <bp-checks.h>.
32456 (__fxstat): Do not use CHECK_1.
32457 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32458 <bp-checks.h>.
32459 (__fxstatat): Do not use CHECK_1.
32460 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32461 <bp-checks.h>.
32462 (__lxstat): Do not use CHECK_1.
32463 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32464 <bp-checks.h>.
32465 (__xstat): Do not use CHECK_1.
32466 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32467 (__xstat): Do not use CHECK_1.
32468 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32469 (___xstat64): Do not use CHECK_1.
32470
32471 [BZ #13550]
32472 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32473 definitions.
32474 (CHECK_BOUNDS_HIGH): Likewise.
32475 * string/strcpy.c: Do not include <bp-checks.h>.
32476 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32477
32478 2013-02-07 Roland McGrath <roland@hack.frob.com>
32479
32480 * nscd/nscd-client.h (__nscd_drop_map_ref):
32481 Add __attribute__ ((unused)).
32482 * nis/nss-nisplus.h (niserr2nss): Likewise.
32483
32484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32485 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32486
32487 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32488 Remove inline keyword.
32489 * include/rounding-mode.h (round_away): Likewise.
32490 * libio/wfileops.c (adjust_wide_data): Likewise.
32491 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32492 (__m128i_strloadu_tolower): Likewise.
32493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32494 (__m128i_strloadu_tolower): Likewise.
32495 * time/mktime.c (ydhms_diff): Likewise.
32496 * locale/elem-hash.h (elem_hash): Likewise.
32497 * locale/setlocale.c (setdata): Likewise.
32498 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32499 (re_string_wchar_at): Likewise.
32500 (bitset_not, bitset_merge, bitset_mask): Likewise.
32501 [!(__GNUC__ > 3)] (inline): Remove macro.
32502 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32503 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32504 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32505 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32506 * string/memcmp.c (memcmp_bytes): Likewise.
32507 * locale/programs/locarchive.c (compute_hashval): Likewise.
32508 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32509 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32510 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32511 * nss/getent.c (print_rpc, print_protocols): Likewise.
32512 (print_passwd, print_group, print_aliases): Likewise.
32513 * nis/nss-nisplus.h (niserr2nss): Likewise.
32514 * nscd/connections.c (restart_p): Likewise.
32515 Change return type to bool.
32516
32517 2013-02-05 Roland McGrath <roland@hack.frob.com>
32518
32519 * Makeconfig (all-Depend-files): Add existing
32520 $(sorted-subdirs:=/Depend) files.
32521 (all-subdirs): Remove nss.
32522 * sysdeps/unix/inet/Subdirs: Add it here instead.
32523 * hesiod/Depend: New file.
32524
32525 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32526 instead of calling alloca.
32527
32528 * io/lseek.c (__lseek): Rename to __libc_lseek.
32529 Define __lseek as an alias.
32530
32531 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32532
32533 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32534
32535 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32536 else clause and remove check for non-standard endianness.
32537
32538 2013-02-04 David S. Miller <davem@davemloft.net>
32539
32540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32541
32542 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32543
32544 [BZ #13550]
32545 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32546 (__ubp_memchr): Remove prototype.
32547 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32548 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32549 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32550 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32551 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32552 Remove alias.
32553 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32554 (__ubp_memchr): Likewise.
32555 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32556 (__ubp_memchr): Likewise.
32557 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32558 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32559 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32560 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32561 CHECK_STRING.
32562 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32563 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32564 (__getcwd): Do not use CHECK_STRING.
32565 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32566 <bp-checks.h>.
32567 (__real_chown): Do not use CHECK_STRING.
32568 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32569 <bp-checks.h>.
32570 (fchownat): Do not use CHECK_STRING.
32571 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32572 CHECK_STRING.
32573 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32574 <bp-checks.h>.
32575 (__lchown): Do not use CHECK_STRING.
32576 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32577 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32578 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32579 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32581 include <bp-checks.h>.
32582 (truncate64): Do not use CHECK_STRING.
32583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32584 <bp-checks.h>.
32585 (__real_chown): Do not use CHECK_STRING.
32586 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32587 <bp-checks.h>.
32588 (__lchown): Do not use CHECK_STRING.
32589 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32590 <bp-checks.h>.
32591 (__chown): Do not use CHECK_STRING.
32592 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32593 <bp-checks.h>.
32594 (truncate64): Do not use CHECK_STRING.
32595 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32596 Likewise.
32597 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32598 (__xmknod): Do not use CHECK_STRING.
32599 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32600 <bp-checks.h>.
32601 (__xmknodat): Do not use CHECK_STRING.
32602 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32603 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32604
32605 2013-02-04 Andreas Schwab <schwab@suse.de>
32606
32607 [BZ #14142]
32608 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32609 * include/netdb.h: Likewise for h_errno.
32610 * elf/tst-stackguard1.c: Include <tls.h>.
32611
32612 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32613
32614 * elf/link.h (struct link_map): Extend the l_addr comment.
32615 * include/link.h (struct link_map): Likewise.
32616
32617 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32618
32619 [BZ #13550]
32620 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32621 (BOUNDED_1): Remove macro.
32622 * debug/backtrace.c: Don't include <bp-checks.h>.
32623 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32624 (__backtrace): Likewise.
32625 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32626 <bp-checks.h>.
32627 (__backtrace): Don't use BOUNDED_1.
32628 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32629 <bp-checks.h>.
32630 (__backtrace): Don't use BOUNDED_1.
32631 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32632 (__backtrace): Don't use BOUNDED_1.
32633 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32634 (shmat): Don't use BOUNDED_N.
32635
32636 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32637
32638 [BZ #13550]
32639 * sysdeps/generic/bp-start.h: Remove file.
32640 * csu/libc-start.c: Don't include <bp-start.h>.
32641 (LIBC_START_MAIN): Set up __environ directly instead of using
32642 INIT_ARGV_and_ENVIRON.
32643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32644 <bp-start.h>.
32645
32646 [BZ #13550]
32647 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32648 definitions.
32649 (CHECK_FCNTL): Likewise.
32650 (CHECK_N_PAGES): Likewise.
32651
32652 [BZ #13550]
32653 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32654 definitions.
32655 (CHECK_SIGSET_NULL_OK): Likewise.
32656 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32657 <bp-checks.h>.
32658 (sigpending): Don't use CHECK_SIGSET.
32659 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32660 <bp-checks.h>.
32661 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32662 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32663 <bp-checks.h>.
32664 (do_sigsuspend): Don't use CHECK_SIGSET.
32665 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32666 use CHECK_SIGSET.
32667 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32668 (do_sigwait): Don't use CHECK_SIGSET.
32669 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32670 use CHECK_SIGSET.
32671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32672 include <bp-checks.h>.
32673 (sigpending): Don't use CHECK_SIGSET.
32674 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32675 include <bp-checks.h>.
32676 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32677 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32678 <bp-checks.h>.
32679 (sigpending): Don't use CHECK_SIGSET.
32680 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32681 <bp-checks.h>.
32682 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32683
32684 [BZ #13550]
32685 * sysdeps/generic/bp-semctl.h: Remove file.
32686 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32687 <bp-checks.h> and <bp-semctl.h>.
32688 (__old_semctl): Don't use CHECK_SEMCTL.
32689 (__new_semctl): Likewise.
32690 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32691 and <bp-semctl.h>.
32692 (__old_semctl): Don't use CHECK_SEMCTL.
32693 (__new_semctl): Likewise.
32694 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32695 <bp-checks.h> and <bp-semctl.h>.
32696 (__old_semctl): Don't use CHECK_SEMCTL.
32697 (__new_semctl): Likewise.
32698 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32699 <bp-checks.h> and <bp-semctl.h>.
32700 (semctl): Don't use CHECK_SEMCTL.
32701
32702 [BZ #13550]
32703 * Makerules (elide-bp-thunks): Remove variable.
32704 (elide-routines.oS): Don't use $(elide-bp-thunks).
32705 (elide-routines.os): Likewise.
32706 (elide-routines.o): Likewise.
32707 (elide-routines.op): Likewise.
32708 (elide-routines.og): Likewise.
32709 (objects): Don't use $(bp-thunks).
32710 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32711 include.
32712 (common-generated): Do not add s-proto-bp.d.
32713 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32714 (int): Likewise.
32715 (typ): Likewise.
32716 Do not generate makefile rules for bounded-pointer thunks.
32717 * sysdeps/generic/bp-thunks.h: Remove file.
32718 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32719 * sysdeps/unix/s-proto-bp.S: Likewise.
32720
32721 [BZ #15062]
32722 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32723 parts of result separately when argument is not close to line from
32724 -i to i and one part of argument is small.
32725 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32726 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32727 * math/libm-test.inc (cacos_test): Add more tests.
32728 (casin_test): Likewise.
32729 (casinh_test): Likewise.
32730 * sysdeps/i386/fpu/libm-test-ulps: Update.
32731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32732
32733 2013-01-31 David S. Miller <davem@davemloft.net>
32734
32735 * po/de.po: Update from translation team.
32736
32737 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32738
32739 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32740
32741 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32742
32743 * configure.in (_AC_PROG_CC_C89): New definition.
32744 * configure: Regenerate.
32745
32746 * configure.in (AC_PROG_CPP): New definition.
32747 * configure: Regenerate.
32748
32749 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32750
32751 * debug/tst-backtrace.h: New file.
32752 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32753 (ret): Remove variable.
32754 (x): Likewise.
32755 (FAIL): Remove macro.
32756 (NO_INLINE): Likewise.
32757 (fn1): Use match function instead of strstr.
32758 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32759 (ret): Remove variable.
32760 (x): Likewise.
32761 (FAIL): Remove macro.
32762 (NO_INLINE): Likewise.
32763 (fn): Use match function instead of strstr.
32764 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32765 (ret): Remove variable.
32766 (x): Likewise.
32767 (FAIL): Remove macro.
32768 (NO_INLINE): Likewise.
32769 (handle_signal): Use match function instead of strstr.
32770 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32771 (ret): Remove variable.
32772 (x): Likewise.
32773 (FAIL): Remove macro.
32774 (NO_INLINE): Likewise.
32775 (handle_signal): Use match function instead of strstr.
32776
32777 2013-01-23 Roland McGrath <roland@hack.frob.com>
32778
32779 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32780
32781 2013-01-23 David S. Miller <davem@davemloft.net>
32782
32783 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32784 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32785 argument of CAS if possible.
32786 * sysdeps/sparc/sparc64/bits/atomic.h
32787 (__arch_compare_and_exchange_val_32_acq): Likewise.
32788 (__arch_compare_and_exchange_val_64_acq): Likewise.
32789
32790 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32791
32792 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32793 * sysdeps/posix/ulimit.c: ... this.
32794 Include <limits.h>.
32795 * sysdeps/unix/bsd/ulimit.c: Remove file.
32796
32797 2013-01-23 Adam Conrad <adconrad@0c3.net>
32798
32799 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32800 (LDFLAGS-tst-array5): Likewise.
32801
32802 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32803
32804 [BZ #15036]
32805 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32806 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32807 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32808 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32809
32810 2013-01-21 David S. Miller <davem@davemloft.net>
32811
32812 * sysdeps/sparc/backtrace.c: New file.
32813 * sysdeps/sparc/sparc32/backtrace.h: New file.
32814 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32815 * sysdeps/sparc/sparc64/backtrace.h: New file.
32816 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32817 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32818 -funwind-tables.
32819
32820 2013-01-21 Andreas Schwab <schwab@suse.de>
32821
32822 [BZ #15020]
32823 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32824 closed its stdout.
32825
32826 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32827
32828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32829 "mpa2.h".
32830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32831
32832 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32833 Mark Mitchell <mark@codesourcery.com>
32834 Tom de Vries <tom@codesourcery.com>
32835 Paul Pluzhnikov <ppluzhnikov@google.com>
32836
32837 * debug/tst-backtrace2.c: New file.
32838 * debug/tst-backtrace3.c: Likewise.
32839 * debug/tst-backtrace4.c: Likewise.
32840 * debug/tst-backtrace5.c: Likewise.
32841 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32842 (CFLAGS-tst-backtrace3.c): Likewise.
32843 (CFLAGS-tst-backtrace4.c): Likewise.
32844 (CFLAGS-tst-backtrace5.c): Likewise.
32845 (LDFLAGS-tst-backtrace2): Likewise.
32846 (LDFLAGS-tst-backtrace3): Likewise.
32847 (LDFLAGS-tst-backtrace4): Likewise.
32848 (LDFLAGS-tst-backtrace5): Likewise.
32849 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32850 tst-backtrace4 and tst-backtrace5.
32851
32852 2013-01-18 Anton Blanchard <anton@samba.org>
32853 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32854
32855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32856 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32857 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32858 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32860 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32861 "+r" and remove output regs list as redundant. Add explicit inline
32862 asm to specify register of return val to work around compiler codegen
32863 bug. Remove (int) cast on return value. Add return type parameter to
32864 use in macro so that this macro does not truncate return value for
32865 64-bit values.
32866 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32867 pass to INTERNAL_VSYSCALL_NCS.
32868 (INLINE_VSYSCALL): Add 'long int' as return type to
32869 INTERNAL_VSYSCALL_NCS macro invocation.
32870 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32871 INTERNAL_VSYSCALL_NCS macro invocation.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32873
32874 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32875
32876 [BZ #14496]
32877 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32878 Fix application of SIMD FP exception mask.
32879
32880 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32881 mp_no from a power of two.
32882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32883 __mpexp_twomm1. Use __pow_mp.
32884
32885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32886 multiplication.
32887
32888 2013-01-17 David S. Miller <davem@davemloft.net>
32889
32890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32891
32892 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32893
32894 [BZ #15023]
32895 * include/complex.h: Condition contents on [!_COMPLEX_H].
32896 (__kernel_casinhf): New prototype.
32897 (__kernel_casinh): Likewise.
32898 (__kernel_casinhl): Likewise.
32899 * math/Makefile (libm_calls): Add k_casinh.
32900 * math/k_casinh.c: New file.
32901 * math/k_casinhf.c: Likewise.
32902 * math/k_casinhl.c: Likewise.
32903 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32904 finite nonzero arguments.
32905 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32906 finite nonzero arguments.
32907 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32908 finite nonzero arguments.
32909 * math/s_casinh.c: Do not include <float.h>.
32910 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32911 * math/s_casinhf.c: Do not include <float.h>.
32912 (__casinhf): Move code for finite nonzero arguments to
32913 k_casinhf.c.
32914 * math/s_casinhl.c: Do not include <float.h>.
32915 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32916 redefine.
32917 (__casinhl): Move code for finite nonzero arguments to
32918 k_casinhl.c.
32919 * math/libm-test.inc (cacos_test): Add more tests.
32920 * sysdeps/i386/fpu/libm-test-ulps: Update.
32921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32922
32923 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32924
32925 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32926 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32927 [!HAVE_MREMAP]: Remove [defined linux] case.
32928 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32929
32930 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32931
32932 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32933
32934 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32935
32936 * elf/elf.h (R_386_SIZE32): New relocation.
32937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32938 R_386_SIZE32.
32939 (elf_machine_rela): Likewise.
32940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32941 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32942
32943 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32944
32945 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32946 (FP_FAST_FMA): Do not define.
32947 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32948 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32949 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32950 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32951 !_SOFT_FLOAT]: Likewise.
32952 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32954 value.
32955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32956 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32958 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32959 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32960 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32961 file.
32962
32963 2013-01-16 Andreas Schwab <schwab@suse.de>
32964
32965 [BZ #14327]
32966 * include/stdlib.h (__mktemp): Add declaration.
32967 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32968 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32969
32970 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32971
32972 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32973 definitions.
32974 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32975 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32976 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32977 definitions here.
32978 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32979 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32980 definitions.
32981 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32982 and ONE.
32983 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32984 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32985 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32986 definitions.
32987 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32988 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32989 definitions.
32990 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32991
32992 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32993
32994 2013-01-15 David S. Miller <davem@davemloft.net>
32995
32996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32997 trunc{,f} to libm-sysdep_routes.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33000 file.
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33003 file.
33004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33005 file.
33006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33008 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33009 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33010 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33011 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33012 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33013 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33014
33015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33016 nearbyint{,f} to libm-sysdep_routes.
33017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33019 New file.
33020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33021 file.
33022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33023 New file.
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33025 file.
33026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33028 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33029 file.
33030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33031 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33032 file.
33033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33034 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33035 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33036
33037 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33038 libc_feholdexcept and libc_fesetenv.
33039
33040 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33041
33042 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33043
33044 2013-01-14 David S. Miller <davem@davemloft.net>
33045
33046 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33047 (SPARC_ASM_VIS2_IFUNC): Likewise.
33048 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33050 use of 'siam' instruction.
33051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33052 Likewise.
33053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33054 Likewise.
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33056 Likewise.
33057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33062 file.
33063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33064 file.
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33066 file.
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33068 file.
33069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33074 new VIS2 routines.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33078 Likewise.
33079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33084 routines to libm-sysdep_routines.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33086
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33088 fdim/fdimf to libm-sysdep_routines.
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33090 file.
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33093 file.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33097 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33098 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33099 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33100 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33101
33102 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33103
33104 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33105 to optimize copies.
33106
33107 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33110
33111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33112 local variable MPTWO.
33113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33114 Likewise.
33115
33116 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33117
33118 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33119 GLOB_NOESCAPE.
33120
33121 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33122
33123 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33124
33125 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33126
33127 * manual/pattern.texi (glob_t): Document gl_flags.
33128 (glob64_t): Likewise.
33129
33130 2013-01-11 David S. Miller <davem@davemloft.net>
33131
33132 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33133 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33134 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33135 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33136 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33137 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33138 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33139 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33140 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33141 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33142 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33143 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33144 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33145
33146 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33147 sparc V9 rather than using V8 code.
33148 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33149 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33150
33151 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33152 Move to...
33153 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33154 Here.
33155
33156 2013-01-11 Roland McGrath <roland@hack.frob.com>
33157
33158 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33159 not in the main loop.
33160 * configure: Regenerated.
33161
33162 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33163
33164 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33165 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33166 to just #else.
33167 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33168 [!__GLIBC_HAVE_LONG_LONG] case.
33169 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33170 condition to just #else.
33171 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33172 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33173 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33174 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33175 unconditional.
33176 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33177 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33178 #elif condition to just #else.
33179 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33180 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33181 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33182 #elif condition to just #else.
33183
33184 2013-01-11 Steve Ellcey <sellcey@mips.com>
33185
33186 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33187 (EF_MIPS_ARCH_64): Fix value.
33188 (EF_MIPS_ARCH_32R2): New.
33189 (EF_MIPS_ARCH_64R2): New.
33190
33191 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33192
33193 * Makeconfig (+link-pie-before-libc): New.
33194 (+link-pie-after-libc): Likewise.
33195 (+link-pie-tests): Likewise.
33196 (+link-pie): Rewritten.
33197 (link-before-libc): Remove $(config-LDFLAGS).
33198 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33199 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33200 (config-LDFLAGS): Renamed to ...
33201 (rtld-LDFLAGS): This.
33202 (rtld-tests-LDFLAGS): New macro.
33203 (link-libc-rpath-link): Likewise.
33204 (link-libc-tests-rpath-link): Likewise.
33205 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33206 (link-libc): Prepand $(link-libc-rpath-link).
33207 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33208 (test-program-prefix): New macro.
33209 (test-via-rtld-prefix): Likewise.
33210 (test-program-cmd): Likewise.
33211 (host-test-program-cmd): Likewise.
33212 * Makefile ($(common-objpfx)testrun.sh): Replace
33213 $(run-program-prefix) with $(test-program-prefix).
33214 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33215 $(rtld-LDFLAGS).
33216 ($(common-objpfx)shlib.lds): Likewise.
33217 (build-module-helper): Likewise.
33218 ($(common-objpfx)format.lds): Likewise.
33219 * Rules (binaries-pie-tests): New.
33220 (binaries-pie-notests): Likewise.
33221 (binaries-pie): Rewritten.
33222 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33223 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33224 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33225 (make-test-out): Replace $(host-built-program-cmd) with
33226 $(host-test-program-cmd).
33227 * config.make.in (build-hardcoded-path-in-tests): New variable.
33228 * configure.in (--enable-hardcoded-path-in-tests): New configure
33229 option.
33230 (hardcoded_path_in_tests): New AC_SUBST.
33231 * configure: Regenerated.
33232 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33233 $(built-program-cmd) with $(test-program-cmd).
33234 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33235 (test_program_cmd): This.
33236 * elf/Makefile ($(objpfx)order.out): Run test with
33237 $(test-program-prefix).
33238 ($(objpfx)order2.out): Likewise.
33239 ($(objpfx)tst-initorder.out): Likewise.
33240 ($(objpfx)tst-initorder2.out): Likewise.
33241 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33242 $(test-program-cmd).
33243 ($(objpfx)tst-array1-static.out): Likewise.
33244 ($(objpfx)tst-array2.out): Likewise.
33245 ($(objpfx)tst-array3.out): Likewise.
33246 ($(objpfx)tst-array4.out): Likewise.
33247 ($(objpfx)tst-array5.out): Likewise.
33248 ($(objpfx)tst-array5-static.out): Likewise.
33249 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33250 $(test-program-cmd).
33251 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33252 $(run-program-prefix) with $(test-program-prefix).
33253 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33254 (test_program_prefix): This.
33255 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33256 $(run-program-prefix) with $(test-program-prefix).
33257 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33258 (test_program_prefix): This.
33259 * iconvdata/tst-tables.sh: Likewise.
33260 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33261 $(run-program-prefix) with $(test-program-prefix).
33262 ($(objpfx)tst-translit.out): Likewise.
33263 ($(objpfx)tst-gettext2.out): Likewise.
33264 ($(objpfx)tst-gettext4.out): Likewise.
33265 ($(objpfx)tst-gettext6.out): Likewise.
33266 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33267 (test_program_prefix): This.
33268 * intl/tst-gettext2.sh: Likewise.
33269 * intl/tst-gettext4.sh Likewise.
33270 * intl/tst-gettext6.sh: Likewise.
33271 * intl/tst-translit.sh: Likewise.
33272 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33273 with $(test-program-cmd).
33274 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33275 $(run-program-prefix) with $(test-program-prefix).
33276 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33277 (test_program_prefix): This.
33278 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33279 $(run-program-prefix) with $(test-program-prefix).
33280 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33281 (test_program_prefix): This.
33282 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33283 * posix/Makefile ($(objpfx)globtest.out): Replace
33284 $(run-via-rtld-prefix) and $(test-wrapper) with
33285 $(test-program-prefix) and $(test-via-rtld-prefix).
33286 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33287 $(test-program-prefix).
33288 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33289 $(host-test-program-cmd).
33290 (tst-spawn-ARGS): Likewise.
33291 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33292 $(test-program-prefix).
33293 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33294 (test_via_rtld_prefix): This.
33295 (test_wrapper): Renamed to ...
33296 (test_program_prefix): This.
33297 (run_program_prefix): Replaced by test_program_prefix.
33298 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33299 (test_program_prefix): This.
33300 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33301 with $(host-test-program-cmd).
33302 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33303 $(run-program-prefix) with $(test-program-prefix).
33304 ($(objpfx)tst-printf.out): Likewise.
33305 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33306 $(test-program-cmd).
33307 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33308 (test_program_prefix): This.
33309 * stdio-common/tst-unbputc.sh: Likewise.
33310 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33311 $(run-program-prefix) with $(test-program-prefix).
33312 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33313 (test_program_prefix): This.
33314 * string/Makefile ($(objpfx)tst-svc.out): Replace
33315 $(built-program-cmd) with $(test-program-cmd).
33316
33317 2013-01-11 Andreas Jaeger <aj@suse.de>
33318
33319 [BZ #15003]
33320 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33321 value. Sync with Linux 3.7.
33322
33323 2013-01-10 David S. Miller <davem@davemloft.net>
33324
33325 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33326 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33327 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33328
33329 2013-01-10 Roland McGrath <roland@hack.frob.com>
33330
33331 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33332 never set.
33333 * configure: Regenerated.
33334
33335 2013-01-10 David S. Miller <davem@davemloft.net>
33336
33337 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33338 sparc V9 rather than using V8 code.
33339 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33340 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33341
33342 2013-01-10 Roland McGrath <roland@hack.frob.com>
33343
33344 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33345 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33346 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33347 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33348 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33349 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33350 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33351 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33352 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33353 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33354 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33355 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33356 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33357 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33358 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33359 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33360 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33361 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33362 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33363 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33364 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33365 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33366 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33367 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33368 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33369 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33370 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33371
33372 2013-01-10 David S. Miller <davem@davemloft.net>
33373
33374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33375
33376 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 * posix/Makefile (tests-static): New variable.
33379 (tests): Add $(tests-static).
33380 (tst-exec-static-ARGS): New variable.
33381 (tst-spawn-static-ARGS): Likewise.
33382 * posix/tst-exec-static.c: New file.
33383 * posix/tst-spawn-static.c: Likewise.
33384 * posix/tst-exec.c: Support run directly.
33385 * posix/tst-spawn.c: Likewise.
33386
33387 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33388
33389 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33390 long.
33391 * math/bits/mathcalls.h (llrint): Likewise.
33392 (llround): Likewise.
33393 * stdlib/stdlib.h (struct drand48_data): Likewise.
33394 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33395 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33396 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33397 Likewise.
33398 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33399 Likewise.
33400 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33401 (elf_greg_t): Likewise.
33402 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33403 (__jmp_buf): Likewise.
33404 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33405 definitions.
33406 (llrint): Likewise, for all definitions.
33407 (llrintl): Likewise.
33408
33409 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33410 Remove [__GNUC__] condition.
33411 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33412 condition to just [__USE_ISOC99].
33413 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33414
33415 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 [BZ #14200]
33418 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33419 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33420 defined.
33421 (_POSIX_V6_ILP32_OFF32): Likewise.
33422 (_XBS5_ILP32_OFF32): Likewise.
33423 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33424 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33425
33426 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33427
33428 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33429
33430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33431 doubles __mpexp_twomm1. Adjust usage.
33432 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33433 Remove.
33434
33435 2013-01-10 Andreas Schwab <schwab@suse.de>
33436
33437 [BZ #14964]
33438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33439 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33440
33441 2013-01-09 David S. Miller <davem@davemloft.net>
33442
33443 [BZ #15003]
33444 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33445 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33446 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33447 (TCP_FASTOPEN): Define.
33448 (tcp_repair_opt): New structure.
33449 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33450 enum values.
33451 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33452 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33453 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33454 (tcp_cookie_transactions): New structure.
33455
33456 2013-01-09 Anton Blanchard <anton@samba.org>
33457
33458 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33459 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33460 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33462
33463 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33464
33465 * include/features.h (__USE_ANSI): Remove.
33466
33467 2013-01-09 Roland McGrath <roland@hack.frob.com>
33468
33469 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33470
33471 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33472
33473 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33474
33475 * sysdeps/s390/fpu/libm-test-ulps: Update.
33476
33477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33478
33479 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33480 (__acr): Likewise.
33481 (__cpy): Likewise.
33482 (norm): Likewise.
33483 (denorm): Likewise.
33484 (__mp_dbl): Likewise.
33485 (__dbl_mp): Likewise.
33486 (add_magnitudes): Likewise.
33487 (sub_magnitudes): Likewise.
33488 (__add): Likewise.
33489 (__sub): Likewise.
33490 (__mul): Likewise.
33491 (__inv): Likewise.
33492 (__dvd): Likewise.
33493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33494 (__acr): Likewise.
33495 (__cpy): Likewise.
33496 (norm): Likewise.
33497 (denorm): Likewise.
33498 (__mp_dbl): Likewise.
33499 (__dbl_mp): Likewise.
33500 (add_magnitudes): Likewise.
33501 (sub_magnitudes): Likewise.
33502 (__add): Likewise.
33503 (__sub): Likewise.
33504 (__mul): Likewise.
33505 (__inv): Likewise.
33506 (__dvd): Likewise.
33507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33508 (__acr): Likewise.
33509 (__cpy): Likewise.
33510 (norm): Likewise.
33511 (denorm): Likewise.
33512 (__mp_dbl): Likewise.
33513 (__dbl_mp): Likewise.
33514 (add_magnitudes): Likewise.
33515 (sub_magnitudes): Likewise.
33516 (__add): Likewise.
33517 (__sub): Likewise.
33518 (__mul): Likewise.
33519 (__inv): Likewise.
33520 (__dvd): Likewise.
33521
33522 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33523
33524 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33525 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33526 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33527 2 && __USE_EXTERN_INLINES]: Likewise.
33528
33529 2013-01-08 Andreas Jaeger <aj@suse.de>
33530
33531 [BZ# 14985]
33532 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33533 Remove.
33534 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33535 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33536
33537 2013-01-07 Anton Blanchard <anton@samba.org>
33538
33539 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33540 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33541 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33542 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33543 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33544 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33545 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33546 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33548 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33549 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33550 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33551 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33552 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33553 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33554 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33555 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33557 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33560 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33562 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33563 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33564 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33565 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33568 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33569 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33571 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33572 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33573 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33575 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33578 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33579 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33581 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33582
33583 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33584
33585 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33586 (__MALLOC_PMT): Likewise.
33587 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33588 [__GNUC__], only on [_LIBC].
33589 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33590 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33591 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33592 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33593 forward declaration.
33594 (realloc_hook_ini): Likewise.
33595 (memalign_hook_ini): Likewise.
33596 (__libc_memalign): Do not use __MALLOC_PMT in variable
33597 declaration.
33598 (__libc_valloc): Likewise.
33599 (__libc_pvalloc): Likewise.
33600 (__libc_calloc): Likewise.
33601 (__posix_memalign): Likewise.
33602
33603 [BZ #14996]
33604 * math/s_casinh.c: Include <float.h>.
33605 (__casinh): Do not do computation with squaring and square root
33606 for large arguments.
33607 * math/s_casinhf.c: Include <float.h>.
33608 (__casinhf): Do not do computation with squaring and square root
33609 for large arguments.
33610 * math/s_casinhl.c: Include <float.h>.
33611 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33612 (__casinhl): Do not do computation with squaring and square root
33613 for large arguments.
33614 * math/libm-test.inc (casin_test): Add more tests.
33615 (casinh_test): Likewise.
33616 * sysdeps/i386/fpu/libm-test-ulps: Update.
33617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33618
33619 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33620
33621 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33622 (__x86_64_raw_data_cache_size): Likewise.
33623 (__x86_64_data_cache_size_half): Likewise.
33624 (__x86_64_raw_data_cache_size_half): Likewise.
33625 (__x86_64_shared_cache_size): Likewise.
33626 (__x86_64_raw_shared_cache_size): Likewise.
33627 (__x86_64_shared_cache_size_half): Likewise.
33628 (__x86_64_raw_shared_cache_size_half): Likewise.
33629 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33630 to ...
33631 (__x86_data_cache_size): This.
33632 (__x86_64_raw_data_cache_size): Renamed to ...
33633 (__x86_raw_data_cache_size): This.
33634 (__x86_64_data_cache_size_half): Renamed to ...
33635 (__x86_data_cache_size_half): This.
33636 (__x86_64_raw_data_cache_size_half): Renamed to ...
33637 (__x86_raw_data_cache_size_half): This.
33638 (__x86_64_shared_cache_size): Renamed to ...
33639 (__x86_shared_cache_size): This.
33640 (__x86_64_raw_shared_cache_size): Renamed to ...
33641 (__x86_raw_shared_cache_size): This.
33642 (__x86_64_shared_cache_size_half): Renamed to ...
33643 (__x86_shared_cache_size_half): This.
33644 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33645 (__x86_raw_shared_cache_size_half): This.
33646 * sysdeps/x86_64/memcpy.S: Updated.
33647 * sysdeps/x86_64/memset.S: Likewise.
33648 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33651
33652 2013-01-04 David S. Miller <davem@davemloft.net>
33653
33654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33655
33656 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33657
33658 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33659 1 to avoid redefinition warning.
33660 (__USE_GNU): Don't define.
33661 (init_signaling_nan): Protoize.
33662
33663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33664
33665 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33666
33667 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33669 (__cpymn): Likewise.
33670 (norm): Remove commented code.
33671 (denorm): Likewise.
33672 (__mp_dbl): Likewise.
33673 (__inv): Likewise.
33674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33675 (__cpymn): Likewise.
33676 (norm): Remove commented code.
33677 (denorm): Likewise.
33678 (__mp_dbl): Likewise.
33679 (__inv): Likewise.
33680
33681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33682 mp_no value for 1.0 and 2.0.
33683 (norm): Use RADIXI instead of radixi.d.
33684 (denorm): Likewise.
33685 (__mul): Use 0.0 instead of zero.d.
33686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33687 mp_no value for 1.0 and 2.0.
33688 (norm): Use RADIXI instead of radixi.d.
33689 (denorm): Likewise.
33690 (__mul): Use 0.0 instead of zero.d.
33691
33692 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33693
33694 [BZ #14994]
33695 * math/s_casinh.c (__casinh): Reduce finite argument to first
33696 quadrant then set signs of results at the end.
33697 * math/s_casinhf.c (__casinhf): Likewise.
33698 * math/s_casinhl.c (__casinhl): Likewise.
33699 * math/libm-test.inc (casin_test): Add more tests.
33700 (casinh_test): Likewise.
33701 * sysdeps/i386/fpu/libm-test-ulps: Update.
33702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33703
33704 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33705
33706 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33707
33708 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33709
33710 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33711 declarations.
33712 (denorm): Likewise.
33713 (__mp_dbl): Likewise.
33714 (__inv): Likewise.
33715
33716 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33717 and adjust the header comment.
33718
33719 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33720 variable name from declaration.
33721
33722 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33723
33724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33725 Initialize COMMON_CPUID_INDEX_7 element.
33726 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33727 (CPUID_RTM): Likewise.
33728 (HAS_RTM): Likewise.
33729 (COMMON_CPUID_INDEX_7): New enum.
33730
33731 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33732
33733 [BZ #14981]
33734 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33735 size is zero, record memory as freed.
33736
33737 2013-01-03 Andreas Jaeger <aj@suse.de>
33738
33739 * po/ia.po: Add new Interlingua translation.
33740
33741 2012-01-03 Allan McRae <allan@archlinux.org>
33742
33743 * locale/programs/localedef.c: Fix description of '--posix' flag.
33744
33745 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33746
33747 * NEWS: Update dates in second copyright notice.
33748 * README: Update copyright dates in example.
33749 * manual/libc.texinfo: Update copyright dates.
33750 * scripts/test-installation.pl: Update copyright date in --version
33751 output.
33752
33753 * hurd/ctty-input.c: Fix copyright notice formatting.
33754 * hurd/ctty-output.c: Likewise.
33755 * hurd/dtable.c: Likewise.
33756 * hurd/hurd-raise.c: Likewise.
33757 * hurd/hurdprio.c: Likewise.
33758 * hurd/msgportdemux.c: Likewise.
33759 * misc/sys/file.h: Likewise.
33760 * misc/sys/ioctl.h: Likewise.
33761 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33762 * sysdeps/mach/hurd/chdir.c: Likewise.
33763 * sysdeps/mach/hurd/fchdir.c: Likewise.
33764 * sysdeps/mach/hurd/rename.c: Likewise.
33765 * sysdeps/mach/hurd/rmdir.c: Likewise.
33766 * sysdeps/mach/hurd/seekdir.c: Likewise.
33767 * sysdeps/mach/hurd/setsid.c: Likewise.
33768 * sysdeps/posix/wait3.c: Likewise.
33769
33770 * All files with FSF copyright notices: Update copyright dates
33771 using scripts/update-copyrights.
33772 * intl/plural.c: Regenerated.
33773 * locale/programs/charmap-kw.h: Likewise.
33774 * locale/programs/locfile-kw.h: Likewise.
33775
33776 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33777
33778 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33779 four values.
33780
33781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33782 calculation loop and add branch prediction.
33783
33784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33785 check access beyond bounds of m1np.
33786
33787 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33788 MPTWO.
33789 (__inv): Remove local variable MPTWO to use the global
33790 constant.
33791 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33793 variable MPTWO.
33794 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33795 MP3HALFS static const.
33796
33797 2013-01-01 David S. Miller <davem@davemloft.net>
33798
33799 * po/ca.po: Update from translation team.
33800
33801 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33802
33803 * scripts/update-copyrights: New file.
33804 * Makeconfig: Reformat copyright notice.
33805 * ctype/ctype.h: Likewise.
33806 * debug/swprintf_chk.c: Likewise.
33807 * elf/dl-cache.c: Likewise.
33808 * elf/dl-debug.c: Likewise.
33809 * elf/dl-object.c: Likewise.
33810 * grp/initgroups.c: Likewise.
33811 * hurd/Makefile: Likewise.
33812 * hurd/hurd/signal.h: Likewise.
33813 * hurd/hurdfault.c: Likewise.
33814 * hurd/hurdioctl.c: Likewise.
33815 * hurd/hurdlookup.c: Likewise.
33816 * hurd/intr-msg.c: Likewise.
33817 * iconv/gconv_open.c: Likewise.
33818 * libio/swprintf.c: Likewise.
33819 * locale/lc-ctype.c: Likewise.
33820 * locale/nl_langinfo.c: Likewise.
33821 * mach/Machrules: Likewise.
33822 * mach/Makefile: Likewise.
33823 * malloc/obstack.h: Likewise.
33824 * manual/Makefile: Likewise.
33825 * manual/tsort.awk: Likewise.
33826 * misc/bits/stab.def: Likewise.
33827 * nis/nis_print_group_entry.c: Likewise.
33828 * nis/nis_table.c: Likewise.
33829 * nis/nss_compat/compat-pwd.c: Likewise.
33830 * nis/nss_compat/compat-spwd.c: Likewise.
33831 * po/Makefile: Likewise.
33832 * posix/fnmatch.c: Likewise.
33833 * posix/regex.h: Likewise.
33834 * resolv/Makefile: Likewise.
33835 * resolv/nss_dns/dns-network.c: Likewise.
33836 * resolv/res_hconf.c: Likewise.
33837 * scripts/gen-sorted.awk: Likewise.
33838 * soft-fp/soft-fp.h: Likewise.
33839 * stdio-common/printf.h: Likewise.
33840 * stdlib/monetary.h: Likewise.
33841 * stdlib/random.c: Likewise.
33842 * stdlib/random_r.c: Likewise.
33843 * sysdeps/generic/Makefile: Likewise.
33844 * sysdeps/gnu/Makefile: Likewise.
33845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33873 * sysdeps/mach/hurd/errnos.awk: Likewise.
33874 * sysdeps/mach/hurd/fork.c: Likewise.
33875 * sysdeps/mach/hurd/getcwd.c: Likewise.
33876 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33877 * sysdeps/mach/hurd/mmap.c: Likewise.
33878 * sysdeps/mach/hurd/utimes.c: Likewise.
33879 * sysdeps/mach/hurd/xmknod.c: Likewise.
33880 * sysdeps/posix/profil.c: Likewise.
33881 * sysdeps/posix/readdir_r.c: Likewise.
33882 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33883 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33884 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33885 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33887 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33889 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33891 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33893 * sysdeps/pthread/lio_listio.c: Likewise.
33894 * sysdeps/sparc/dl-procinfo.h: Likewise.
33895 * sysdeps/unix/i386/sysdep.S: Likewise.
33896 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33897 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33898 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33899 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33901 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33902 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33903 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33904 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33905 * sysdeps/wordsize-32/divdi3.c: Likewise.
33906 * time/sys/time.h: Likewise.
33907 * wcsmbs/Makefile: Likewise.
33908
33909 2013-01-01 David S. Miller <davem@davemloft.net>
33910
33911 * po/fr.po: Update from translation team.
33912
33913 * catgets/gencat.c: Update copyright year.
33914 * csu/version.c: Likewise.
33915 * debug/catchsegv.sh: Likewise.
33916 * debug/pcprofiledump.c: Likewise.
33917 * debug/xtrace.sh: Likewise.
33918 * elf/ldconfig.c: Likewise.
33919 * elf/ldd.bash.in: Likewise.
33920 * elf/pldd.c: Likewise.
33921 * elf/sotruss.ksh: Likewise.
33922 * elf/sprof.c: Likewise.
33923 * iconv/iconv_prog.c: Likewise.
33924 * iconv/iconvconfig.c: Likewise.
33925 * locale/programs/locale.c: Likewise.
33926 * locale/programs/localedef.c: Likewise.
33927 * login/programs/pt_chown.c: Likewise.
33928 * malloc/memusage.sh: Likewise.
33929 * malloc/memusagestat.c: Likewise.
33930 * malloc/mtrace.pl: Likewise.
33931 * nscd/nscd.c: Likewise.
33932 * nss/getent.c: Likewise.
33933 * nss/makedb.c: Likewise.
33934 * posix/getconf.c: Likewise.
33935
33936 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33937
33938 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33939 numbers.
33940
33941 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33942
33943 * math/bits/mathcalls.h (modf): Use __nonnull.
33944
33945 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33946
33947 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33948 (split): Use macro CN instead of the bare value.
33949 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33950 could be used.
33951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33952 instead of the bare value.
33953 (power1): Likewise.
33954
33955 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33956
33957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33958 __ATAN_TWOM.
33959 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33960
33961 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33962 their values.
33963 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33965 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33966 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33967
33968 2012-12-28 Andreas Jaeger <aj@suse.de>
33969
33970 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33971 values are from Linux 3.7.
33972
33973 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33974 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33975
33976 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33977
33978 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33979 TRUE case.
33980
33981 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33982 (norm): Likewise.
33983 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33984 variables with preprocessor constants.
33985 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33986 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33987 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33988
33989 2012-12-27 Bruno Haible <bruno@clisp.org>
33990
33991 [BZ #14317]
33992 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33993 only if needed.
33994
33995 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33996
33997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33998 and use variable directly.
33999 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34000
34001 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34002 MPONE.
34003 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34004 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34005 variable MPONE.
34006 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34008 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34009 include directive. Remove local variable MPONE.
34010 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34012 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34013
34014 2012-12-25 David S. Miller <davem@davemloft.net>
34015
34016 * version.h (RELEASE): Set to "development".
34017 (VERSION): Set to "2.17.90".
34018 * NEWS: Add 2.18 section.
34019
34020 2012-12-21 David S. Miller <davem@davemloft.net>
34021
34022 * po/hr.po: Update from translation team.
34023
34024 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34025
34026 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34027
34028 2012-12-19 Steve Ellcey <sellcey@mips.com>
34029
34030 * NEWS: Mention new memcpy for MIPS.
34031
34032 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34033
34034 * manual/contrib.texi (Contributors): Spelling correction.
34035
34036 2012-12-15 David S. Miller <davem@davemloft.net>
34037
34038 * po/ru.po: Update from translation team.
34039
34040 2012-12-13 David S. Miller <davem@davemloft.net>
34041
34042 * NEWS: Mention IFUNC testsuite enhancements.
34043
34044 * po/pl.po: Update from translation team.
34045 * po/bg.po: Likewise.
34046
34047 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34048 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34049
34050 2012-12-11 David S. Miller <davem@davemloft.net>
34051
34052 * po/sv.po: Update from translation team.
34053
34054 * po/vi.po: Update from translation team.
34055
34056 * po/cs.po: Update from translation team.
34057
34058 * po/de.po: Update from translation team.
34059 * po/eo.po: Likewise.
34060 * po/nl.po: Likewise.
34061
34062 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34063
34064 [BZ #14246]
34065 * manual/argp.texi (Argp Helper Functions): Move node to follow
34066 Argp Parsing State.
34067
34068 [BZ #14872]
34069 * manual/conf.texi (Limits on File System Capacity): Mention if
34070 terminating null is included in the max size.
34071
34072 2012-12-10 Andreas Jaeger <aj@suse.de>
34073
34074 * po/cs.po: Update from translation team.
34075
34076 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34077
34078 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34079 void pointer and cast to uintptr_t.
34080 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34081 path.
34082 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34083 * sysdeps/s390/s390-64/memset.S: Likewise.
34084
34085 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34086
34087 [BZ #14833]
34088 * menual/message.texi (Message Translation): Fix typos.
34089 (Helper programs for gettext): Likewise.
34090
34091 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34092
34093 [BZ #14898]
34094 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34095 Change to -1.
34096
34097 2012-12-07 David S. Miller <davem@davemloft.net>
34098
34099 * po/libc.pot: Update.
34100
34101 2012-12-07 Richard Henderson <rth@redhat.com>
34102
34103 [BZ #10114]
34104 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34105 normal/normal case to before the switch.
34106 (_FP_DIV): Likewise.
34107
34108 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34109 Mike Frysinger <vapier@gentoo.org>
34110
34111 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34112 check for __NR_fadvise64_64.
34113
34114 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34115
34116 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34117 0, not just to plain "0" as a statement.
34118 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34119 with cw.
34120
34121 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34122
34123 * NEWS: Use sourceware.org in Bugzilla URL.
34124
34125 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34126
34127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34128 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34129
34130 * stdio-common/tst-put-error.c (do_test): Add newline to the
34131 padded test to ensure flush.
34132
34133 2012-12-05 Jeff Law <law@redhat.com>
34134
34135 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34136
34137 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34138
34139 * README: Don't refer to ports add-on as distributed separately.
34140 Mention AArch64 in list of systems supported in the ports add-on.
34141
34142 * LICENSES: Add more non-FSF copyright and license notices.
34143
34144 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34145 ((unused)).
34146
34147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34148
34149 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34150 10000 as width of padded output.
34151
34152 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34153
34154 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34155
34156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34157 variable LX with __attribute__ ((unused)).
34158 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34159 Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34163 with __attribute__ ((unused)).
34164
34165 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34166
34167 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34168
34169 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34170
34171 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34172 (CFLAGS-nldbl-acos.c): New variable.
34173 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34174 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34175 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34176 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34177 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34178 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34179 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34180 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34181 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34182 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34183 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34184 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34185 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34186 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34187 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34188 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34189 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34190 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34191 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34192 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34193 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34194 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34195 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34196 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34197 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34198 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34199 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34200 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34201 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34202 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34203 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34204 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34205 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34206 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34207 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34208 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34209 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34210 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34211 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34212 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34213 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34214 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34215 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34216 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34217 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34218 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34219 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34220 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34221 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34222 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34223 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34224 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34225 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34226 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34227 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34228 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34229 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34230 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34231 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34232 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34233 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34234 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34235 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34236 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34237 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34238 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34239 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34240 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34241 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34242 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34243 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34244 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34245 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34246 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34247 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34248 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34249 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34250 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34251 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34252 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34253 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34254 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34255 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34256 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34257 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34258 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34259 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34260 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34261 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34262 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34263 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34264 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34265 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34266 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34267 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34268 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34269 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34270
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34272 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34273
34274 [BZ #14914]
34275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34276 whole low double instead of just low 47 bits when splitting values
34277 into two parts.
34278
34279 2012-12-03 Allan McRae <allan@archlinux.org>
34280
34281 * manual/stdio.texi (Predefined Printf Handlers): Remove
34282 @hsep and @vsep usage.
34283
34284 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34285
34286 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34287 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34288
34289 2012-12-03 Jeff Law <law@redhat.com>
34290
34291 * time/sys/time.h (settimeofday): Do not mark TV argument
34292 as __nonnull.
34293
34294 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34295
34296 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34297 when currently writing and seek to current position when not.
34298 * libio/Makefile (tests): Remove bug-fclose1.
34299 * libio/bug-fclose1.c: Delete.
34300
34301 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34302
34303 * manual/arith.texi (feenableexcept): Fix typo.
34304 (fedisableexcept): Likewise.
34305
34306 2012-11-30 Roland McGrath <roland@hack.frob.com>
34307
34308 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34309 second, differently-typed declaration, rather than a cast.
34310
34311 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34312
34313 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34314 * include/rpc/svc.h: ... here.
34315
34316 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34317
34318 [BZ #13013]
34319 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34320 depending n and resplen2 to catch cases where answer
34321 equals answerp2.
34322
34323 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34324
34325 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34326 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34327
34328 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34329
34330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34331
34332 2012-11-29 Roland McGrath <roland@hack.frob.com>
34333
34334 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34335
34336 2012-11-28 Jeff Law <law@redhat.com>
34337
34338 [BZ #13761]
34339 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34340 dataset_temporary. Track alloca usage into alloca_used.
34341 If dataset is large allocate and release it via malloc/free.
34342
34343 2012-06-04 Florian Weimer <fweimer@redhat.com>
34344
34345 [BZ #14197]
34346 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34347
34348 2012-11-28 David S. Miller <davem@davemloft.net>
34349
34350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34351
34352 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34353
34354 [BZ #14803]
34355 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34356 of pi/2 rounded to nearest to 64 bits.
34357 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34358 nearest to 64 bits.
34359 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34360 bits.
34361
34362 2012-11-28 Jeff Law <law@redhat.com>
34363 Martin Osvald <mosvald@redhat.com>
34364
34365 [BZ #14889]
34366 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34367 * sunrpc/svc.c: Include time.h.
34368 (__svc_accept_failed): New function.
34369 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34370 any reason other than EINTR, call __svc_accept_failed.
34371 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34372 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34373
34374 2012-11-28 Andreas Schwab <schwab@suse.de>
34375
34376 * scripts/abilist.awk: Also handle indirect functions in .opd
34377 section.
34378
34379 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34380
34381 [BZ #13881]
34382 * sysdeps/x86/fpu/powl_helper.c: New file.
34383 * sysdeps/x86/fpu/Makefile: Likewise.
34384 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34385 (p3): New object.
34386 (__ieee754_powl): Use __powl_helper for finite arguments except
34387 integer exponents below 8.
34388 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34389 (p3): New object.
34390 (__ieee754_powl): Use __powl_helper for finite arguments except
34391 integer exponents below 8.
34392 * math/libm-test.inc (pow_test): Add more tests and enable some
34393 previously disabled tests.
34394 * sysdeps/i386/fpu/libm-test-ulps: Update.
34395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34396
34397 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34398 Carlos O'Donell <carlos_odonell@mentor.com>
34399
34400 * nss/makedb.c (is_prime): Assert that input is odd and greater
34401 than 4. Note that fact in a comment too.
34402 (next_prime): Add 4 to input.
34403
34404 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34405
34406 [BZ #11741]
34407 * libio/Makefile (tests): Add test case tst-fwrite-error.
34408 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34409 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34410 * libio/tst-fwrite-error.c: New test case.
34411
34412 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34413
34414 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34415 before casting to void *.
34416 * include/libc-internal.h (__pointer_type): New macro.
34417 (__integer_if_pointer_type_sub): Likewise.
34418 (__integer_if_pointer_type): Likewise.
34419 (cast_to_integer): Likewise.
34420 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34421 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34422 before casting to atomic64_t.
34423 (atomic_exchange_acq): Likewise.
34424 (__arch_exchange_and_add_body): Likewise.
34425 (__arch_add_body): Likewise.
34426 (atomic_add_negative): Likewise.
34427 (atomic_add_zero): Likewise.
34428
34429 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34430
34431 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34432 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34433 (add_fdes): Likewise.
34434 (linear_search_fdes): Likewise.
34435 (binary_search_unencoded_fdes): Likewise.
34436
34437 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34438
34439 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34440
34441 2012-11-24 Adam Conrad <adconrad@0c3.net>
34442
34443 * configure.in: Autodetect C++ header directories.
34444 * configure: Regenerated.
34445
34446 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34447
34448 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34449
34450 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34451
34452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34453
34454 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34455
34456 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34457 LDBL_MANT_DIG == 106]: Disable some tests.
34458 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34459 Likewise.
34460 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34461 Likewise.
34462
34463 [BZ #14871]
34464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34465 input for small inputs. Return +/- pi/2 for large inputs.
34466 * math/libm-test.inc (atan_test): Add more tests.
34467
34468 * sysdeps/generic/unwind-dw2-fde-glibc.c
34469 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34470 __attribute__ ((unused)).
34471
34472 [BZ #14645]
34473 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34474 x * y if x and y are nonzero and z is zero.
34475
34476 [BZ #14811]
34477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34478 nonzero exponents with absolute value below 0x1p-117 to +/-
34479 0x1p-117.
34480
34481 [BZ #14869]
34482 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34483 up arguments below 2**-450, not just those below 2**-500.
34484 * math/libm-test.inc (hypot_test): Add another test.
34485
34486 [BZ #14868]
34487 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34488 Return a+b for ratio over 2**120, not 2**60.
34489 * math/libm-test.inc (hypot_test): Add another test.
34490
34491 * math/libm-test.inc (clog_test): Use
34492 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34493 (clog10_test): Likewise.
34494
34495 [BZ #6778]
34496 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34497
34498 2012-11-22 Andreas Schwab <schwab@suse.de>
34499
34500 * sysdeps/i386/fpu/libm-test-ulps: Update.
34501
34502 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34503
34504 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34505 printf output with newline.
34506
34507 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34508
34509 [BZ #14865]
34510 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34511 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34512 -z nodlopen, -z initfirst and -z execstack support.
34513 * configure: Regenerated.
34514
34515 * elf/elf.h (DF_1_NODIRECT): New macro.
34516 (DF_1_IGNMULDEF): Likewise.
34517 (DF_1_NOKSYMS): Likewise.
34518 (DF_1_NOHDR): Likewise.
34519 (DF_1_EDITED): Likewise.
34520 (DF_1_NORELOC): Likewise.
34521 (DF_1_SYMINTPOSE): Likewise.
34522 (DF_1_GLOBAUDIT): Likewise.
34523 (DF_1_SINGLETON): Likewise.
34524 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34525 DT_1_SUPPORTED_MASK bits.
34526 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34527
34528 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34529
34530 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34531
34532 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34533
34534 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34535 macro.
34536
34537 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34538 (sendmmsg): Move declarations...
34539 * socket/sys/socket.h: ... here.
34540 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34541 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34542 include it from...
34543 * socket/recvmmsg.c: ... this new file.
34544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34545 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34546 definition of __sendmmsg hidden.
34547 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34548 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34549 Move ENOSYS stub into and include it from...
34550 * socket/sendmmsg.c: ... this new file.
34551 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34552 (sysdep_routines): Move recvmmsg and sendmmsg...
34553 * socket/Makefile (routines): ... here.
34554 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34555 (GLIBC_PRIVATE): Add __sendmmsg.
34556 * include/sys/socket.h (__sendmmsg): Add declarations.
34557 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34558 sendmmsg.
34559
34560 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34561
34562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34563 variable I1 with __attribute__ ((unused)).
34564 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34565
34566 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34567
34568 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34569 DUMMY variables with __attribute__ ((unused)).
34570
34571 * bits/byteswap.h: Include <bits/types.h>.
34572 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34573
34574 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34575
34576 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34577 string_t. Do not manually set errno.
34578 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34579 length with __strnlen. Make sure to both set errno and return it on
34580 failure.
34581
34582 2012-11-19 David S. Miller <davem@davemloft.net>
34583
34584 With help from Joseph Myers.
34585 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34586 very large arguments properly.
34587 * math/libm-test.inc (atan_test): New tests.
34588 (atan2_test): New tests.
34589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34591
34592 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34593
34594 [BZ #14856]
34595 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34596 Define to 3.
34597
34598 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34599 [POSIX] (EADDRNOTAVAIL): Likewise.
34600 [POSIX] (EAFNOSUPPORT): Likewise.
34601 [POSIX] (EALREADY): Likewise.
34602 [POSIX] (ECONNABORTED): Likewise.
34603 [POSIX] (ECONNREFUSED): Likewise.
34604 [POSIX] (ECONNRESET): Likewise.
34605 [POSIX] (EDESTADDRREQ): Likewise.
34606 [POSIX] (EDQUOT): Likewise.
34607 [POSIX] (EHOSTUNREACH): Likewise.
34608 [POSIX] (EIDRM): Likewise.
34609 [POSIX] (EISCONN): Likewise.
34610 [POSIX] (ELOOP): Likewise.
34611 [POSIX] (EMULTIHOP): Likewise.
34612 [POSIX] (ENETDOWN): Likewise.
34613 [POSIX] (ENETUNREACH): Likewise.
34614 [POSIX] (ENOBUFS): Likewise.
34615 [POSIX] (ENODATA): Likewise.
34616 [POSIX] (ENOLINK): Likewise.
34617 [POSIX] (ENOMSG): Likewise.
34618 [POSIX] (ENOPROTOOPT): Likewise.
34619 [POSIX] (ENOSR): Likewise.
34620 [POSIX] (ENOSTR): Likewise.
34621 [POSIX] (ENOTCONN): Likewise.
34622 [POSIX] (ENOTSOCK): Likewise.
34623 [POSIX] (EOPNOTSUPP): Likewise.
34624 [POSIX] (EOVERFLOW): Likewise.
34625 [POSIX] (EPROTO): Likewise.
34626 [POSIX] (EPROTONOSUPPORT): Likewise.
34627 [POSIX] (EPROTOTYPE): Likewise.
34628 [POSIX] (ESTALE): Likewise.
34629 [POSIX] (ETIME): Likewise.
34630 [POSIX] (ETXTBSY): Likewise.
34631 [POSIX] (EWOULDBLOCK): Likewise.
34632 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34633 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34634 [POSIX] (SEEK_CUR): Likewise.
34635 [POSIX] (SEEK_END): Likewise.
34636 [POSIX || UNIX98] (mode_t): Do not require.
34637 [POSIX] (off_t): Likewise.
34638 [POSIX] (pid_t): Likewise.
34639 [POSIX] (sys/stat.h): Do not allow header.
34640 [POSIX] (unistd.h): Likewise.
34641 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34642 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34643 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34644 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34645 require.
34646 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34647 sigevent): Specify elements.
34648 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34649 entry.
34650 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34651 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34652
34653 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34654 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34655 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34656 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34657 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34658 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34659 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34660 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34661 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34662 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34663 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34664 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34665 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34667 Likewise.
34668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34669 Likewise.
34670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34671 Likewise.
34672 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34673 Likewise.
34674 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34675 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34676 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34677 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34678 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34679 Specify lower bound on value.
34680 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34681 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34682 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34683 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34684 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34685 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34686 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34687 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34688 value.
34689 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34690 as optional.
34691 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34692 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34693 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34694 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34695 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34696 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34697 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34698 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34699 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34700 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34701 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34702 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34703 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34704 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34705 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34706 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34707 entry.
34708 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34709 optional.
34710 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34711 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34712 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34713 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34714 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34715 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34716 Likewise.
34717 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34718 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34719 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34720 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34721 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34722 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34724 as optional.
34725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34726 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34727 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34728 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34729 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34730 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34731 specify as optional.
34732 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34733 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34734 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34735 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34736 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34737 [XPG3] (NL_LANGMAX): Likewise.
34738 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34739 [POSIX || XPG3] (NL_NMAX): Likewise.
34740 [POSIX || XPG3] (NL_SETMAX): Likewise.
34741 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34742 [XPG3] (NZERO): Likewise.
34743 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34744 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34745 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34746 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34747 (REG_ERANGE): Expect.
34748 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34749 optional-constant.
34750 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34751 Use (void) in prototype.
34752 [POSIX] (*_t): Allow.
34753 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34754 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34755 (WRDE_BADVAL): Expect.
34756
34757 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34758 expect.
34759 [XPG3 || XPG4] (O_RSYNC): Likewise.
34760 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34761 Likewise.
34762 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34763 [XPG3 || XPG4] (sigqueue): Likewise.
34764 [XPG3 || XPG4] (sigtimedwait): Likewise.
34765 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34766 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34767 [XPG3 || XPG4] (vsnprintf): Likewise.
34768 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34769 Likewise.
34770 [XPG3 || XPG4] (blksize_t): Likewise.
34771 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34772 Likewise.
34773 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34774 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34775 [XPG3 || XPG4] (struct itimerspec): Likewise.
34776 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34777 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34778 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34779 [XPG3 || XPG4] (clockid_t): Likewise.
34780 [XPG3 || XPG4] (timer_t): Likewise.
34781 [XPG3 || XPG4] (clock_getres): Likewise.
34782 [XPG3 || XPG4] (clock_gettime): Likewise.
34783 [XPG3 || XPG4] (clock_settime): Likewise.
34784 [XPG3 || XPG4] (nanosleep): Likewise.
34785 [XPG3 || XPG4] (timer_create): Likewise.
34786 [XPG3 || XPG4] (timer_delete): Likewise.
34787 [XPG3 || XPG4] (timer_gettime): Likewise.
34788 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34789 [XPG3 || XPG4] (timer_settime): Likewise.
34790 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34791 [XPG3 || XPG4] (getlogin_r): Likewise.
34792 [XPG3 || XPG4] (pread): Likewise.
34793 [XPG3 || XPG4] (pthread_atfork): Likewise.
34794 [XPG3 || XPG4] (pwrite): Likewise.
34795
34796 [BZ #14835]
34797 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34798 <bits/siginfo.h>.
34799
34800 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34801
34802 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34803 finalizing MALLSTREAM.
34804
34805 * sysdeps/mach/hurd/syncfs.c: New file.
34806
34807 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34808
34809 [BZ #14719]
34810 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34811 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34813 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34814 (_nss_dns_gethostbyname4_r): Likewise.
34815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34816 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34817
34818 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34819
34820 [BZ #13763]
34821 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34822
34823 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34824
34825 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34826 * elf/cache.c (print_entry): Print ",AArch64" for
34827 FLAG_AARCH64_LIB64
34828
34829 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34830 * elf/cache.c (print_entry): Print ",hard-float" for
34831 FLAG_ARM_LIBHF.
34832
34833 2012-11-18 David S. Miller <davem@davemloft.net>
34834
34835 With help from Joseph Myers.
34836 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34837 cutoff to 2**-13.
34838 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34839 cutoff to 2**-25.
34840 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34841 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34842 small.
34843 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34844 * math/libm-test.inc (y0_test): New tests.
34845 (y1_test): New tests.
34846 * sysdeps/i386/fpu/libm-test-ulps: Update.
34847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34849
34850 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34851
34852 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34853 64-bit targets.
34854 * configure: Regenerated.
34855
34856 2012-11-17 David S. Miller <davem@davemloft.net>
34857
34858 [BZ #14811]
34859 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34860 nonzero exponents with absolute value below 0x1p-128 to +/-
34861 0x1p-128.
34862
34863 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34864
34865 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34866
34867 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34868
34869 * posix/getconf-speclist.c: New file.
34870 * posix/posix-envs.def: Likewise.
34871 * posix/confstr.c (START_ENV_GROUP): New macro.
34872 (END_ENV_GROUP): Likewise.
34873 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34874 (KNOWN_PRESENT_ENV_STRING): Likewise.
34875 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34876 (UNKNOWN_ENVIRONMENT): Likewise.
34877 (confstr): Include posix-envs.def instead of handling
34878 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34879 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34880 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34881 (END_ENV_GROUP): Likewise.
34882 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34883 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34884 (UNKNOWN_ENVIRONMENT): Likewise.
34885 (__sysconf): Include posix-envs.def instead of handling associated
34886 cases directly here.
34887 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34888 preprocessing getconf-speclist.c rather than running getconf or
34889 generating empty file.
34890
34891 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34892
34893 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34894
34895 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34896
34897 [BZ #14672]
34898 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34899
34900 2012-11-16 David S. Miller <davem@davemloft.net>
34901
34902 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34903 smaller than LDBL_EPSILON/2.0L, just return xm1.
34904
34905 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34906
34907 * elf/tst-array1.c (init): Set constructor priority to 1000.
34908 (fini): Set destructor priority to 1000.
34909 * elf/tst-array2dep.c: Likewise.
34910
34911 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34912
34913 [BZ #11741]
34914 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34915 (_IO_new_file_xsputn): Also return EOF if none of the input
34916 data was written when overflow failed.
34917 * libio/iopadn.c (_IO_padn): Likewise.
34918 * libio/iowpadn.c (_IO_wpadn): Likewise.
34919 * stdio-common/tst-put-error.c: Add copyright notice.
34920 (do_test): Add case for printing padded string.
34921 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34922 _IO_padn returned error.
34923 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34924 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34925 return EOF.
34926
34927 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34928
34929 * libio/libioP.h: Add comment note that the references to C++
34930 bits are now obsolete.
34931
34932 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34933
34934 * math/libm-test.inc (check_complex): Use asprintf.
34935
34936 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34937
34938 * debug/pcprofiledump.c (print_version): Update copyright year.
34939 * malloc/memusagestat.c (print_version): Likewise.
34940
34941 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34942
34943 [BZ #14831]
34944 * elf/Makefile (tests): Add tst-audit8.
34945 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34946 ($(objpfx)tst-audit8.out): New target.
34947 (tst-audit8-ENV): New variable.
34948 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34949 audit if l_reloc_result is NULL.
34950 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34951 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34952 * elf/tst-audit8.c: New file.
34953
34954 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34955
34956 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34957 * misc/Makefile (CFLAGS-select.c): Define.
34958 * posix/Makefile (CFLAGS-pause.c): Define.
34959
34960 2012-11-13 David S. Miller <davem@davemloft.net>
34961
34962 * crypt/Makefile: Move test targets after toplevel Rules
34963 inclusion. Grab any necessary sysdep routines when linking.
34964 * crypt/md5.c (md5_process_block): Remove define, we will always
34965 name it __md5_process_block.
34966 (md5_finish_ctx): Update md5_process_block call.
34967 (md5_stream): Likewise.
34968 (md5_process_bytes): Likewise.
34969 (md5_process_block): Rename to __md5_process_block and move to ...
34970 * crypt/md5-block.c: ... here.
34971 * crypt/sha256.c (sha256_process_block): Move to ...
34972 * crypt/sha256-block.c: ... here.
34973 * crypt/sha512.c (sha512_process_block): Move to ...
34974 * crypt/sha512-block.c: ... here.
34975 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34976 path.
34977 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34978 * sysdeps/sparc/sparc64/multiarch/Makefile
34979 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34980 crypt subdir.
34981 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34983 multiarch changes.
34984 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34985 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34986 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34987 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34988 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34989 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34990 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34991 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34992 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34993 file.
34994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34996 file.
34997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34998
34999 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35000
35001 * timezone/tzselect.ksh: Update from tzcode git revision
35002 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35003 * timezone/zdump.c: Likewise.
35004 * timezone/zic.c: Likewise.
35005 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35006 in TZVERSION setting, not $(PKGVERSION).
35007 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35008 REPORT_BUGS_TO settings.
35009
35010 [BZ #14838]
35011 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35012 macro.
35013
35014 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35015
35016 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35017 detection to immediately after _FP_ROUND().
35018 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35019 bits are 0.
35020
35021 2012-11-11 David S. Miller <davem@davemloft.net>
35022
35023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35024 inttypes.h
35025 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35026 __close rather than their public counterparts.
35027
35028 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35029
35030 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35031 file.
35032 [UNIX98] (sem_timedwait): Do not expect.
35033 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35034 [XPG4 || UNIX98] (sockatmark): Do not expect.
35035 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35036 (clock_getcpuclockid): Do not expect.
35037 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35038 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35039 Do not expect.
35040 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35041 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35042 [UNIX98] (vwscanf): Likewise.
35043 [UNIX98] (vswscanf): Likewise.
35044
35045 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35046
35047 * timezone/version.h: Remove file.
35048 * timezone/README: Do not refer to version.h.
35049 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35050 $(objpfx)version.h.
35051 ($(objpfx)zdump.o): Likewise.
35052 ($(objpfx)version.h): New target.
35053
35054 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35055 2012i.
35056 * timezone/README: Don't mention modification to tzselect.ksh.
35057 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35058 work on unmodified tzselect.ksh. Substitute version numbers in
35059 tzselect.ksh.
35060
35061 * Makefile (format-me): Remove.
35062 (INSTALL): Adjust indentation. Use commands directly instead of
35063 using $(format-me).
35064
35065 * aclocal.m4 (ACX_PKGVERSION): New macro.
35066 (ACX_BUGURL): Likewise.
35067 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35068 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35069 (REPORT_BUGS_TO): Likewise.
35070 * configure: Regenerated.
35071 * config.h.in (PKGVERSION): New macro.
35072 (REPORT_BUGS_TO): Likewise.
35073 * config.make.in (PKGVERSION): New variable.
35074 (PKGVERSION_TEXI): Likewise.
35075 (REPORT_BUGS_TO): Likewise.
35076 (REPORT_BUGS_TEXI): Likewise.
35077 * Makefile (format-me): Use -I$(common-objpfx)manual.
35078 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35079 ($(common-objpfx)manual/%): New target.
35080 (manual/%): Remove target.
35081 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35082 (print_version): Use PKGVERSION.
35083 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35084 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35085 and REPORT_BUGS_TO.
35086 ($(objpfx)xtrace): Likewise.
35087 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35088 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35089 (print_version): Use PKGVERSION.
35090 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35091 (do_version): Use PKGVERSION.
35092 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35093 REPORT_BUGS_TO.
35094 (common-ldd-rewrite): Likewise.
35095 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35096 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35097 (print_version): Use PKGVERSION.
35098 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35099 * elf/pldd.c (argp_program_bug_address): Remove variable.
35100 (more_help): New function.
35101 (argp): Use more_help.
35102 (print_version): Use PKGVERSION.
35103 * elf/sln.c (main): Use PKGVERSION.
35104 (usage): Use REPORT_BUGS_TO.
35105 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35106 (top level): Use PKGVERSION.
35107 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35108 (print_version): Use PKGVERSION.
35109 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35110 (print_version): Use PKGVERSION.
35111 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35112 (print_version): Use PKGVERSION.
35113 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35114 (print_version): Use PKGVERSION.
35115 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35116 (print_version): Use PKGVERSION.
35117 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35118 (print_version): Use PKGVERSION.
35119 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35120 and BUGURL.
35121 ($(objpfx)memusage): Likewise.
35122 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35123 (do_version): Use PKGVERSION.
35124 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35125 (print_version): Use PKGVERSION.
35126 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35127 ($PKGVERSION): New variable.
35128 ($REPORT_BUGS_TO): Likewise.
35129 (usage): Use $REPORT_BUGS_TO.
35130 (top level): Use $PKGVERSION.
35131 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35132 ($(objpfx)pkgvers.texi): New rule.
35133 ($(objpfx)stamp-pkgvers): Likewise.
35134 * manual/install.texi: Include pkgvers.texi.
35135 (--with-pkgversion): Document new configure option.
35136 (--with-bugurl): Likewise.
35137 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35138 than necessarily for this particular distribution. Use
35139 REPORT_BUGS_TO for where to report bugs.
35140 * INSTALL: Regenerated.
35141 * manual/libc.texinfo: Include pkgvers.texi.
35142 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35143 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35144 (print_version): Use PKGVERSION.
35145 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35146 (print_version): Use PKGVERSION.
35147 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35148 (print_version): Use PKGVERSION.
35149 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35150 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35151 macro.
35152 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35153 (print_version): Use PKGVERSION.
35154 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35155 (print_version): Use PKGVERSION.
35156 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35157 and PKGVERSION.
35158
35159 * timezone/checktab.awk: Update from tzcode 2012i.
35160 * timezone/ialloc.c: Likewise.
35161 * timezone/private.h: Likewise.
35162 * timezone/scheck.c: Likewise.
35163 * timezone/tzfile.h: Likewise.
35164 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35165 (TZVERSION): Hardcode tzcode version number.
35166 * timezone/zdump.c: Update from tzcode 2012i.
35167 * timezone/zic.c: Likewise.
35168 * timezone/version.h: New file.
35169 * timezone/README: Describe version.h. Update upstream location.
35170
35171 [BZ #14824]
35172 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35173 (mktemp): Enable declaration.
35174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35178 Likewise.
35179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35180 Likewise.
35181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35182 Likewise.
35183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35184 Likewise.
35185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35186 Likewise.
35187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35188 Likewise.
35189
35190 [BZ #14821]
35191 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35192 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35193 for copies of such integer values.
35194 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35195 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35196
35197 2012-11-09 Andreas Jaeger <aj@suse.de>
35198
35199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35200 definitions and declarations that are provided by
35201 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35202
35203 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35204
35205 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35206 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35207 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35208 definition.
35209
35210 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35211
35212 * elf/elf.h: Update comment before AArch64 relocations.
35213
35214 2012-11-07 David S. Miller <davem@davemloft.net>
35215
35216 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35217 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35218 (__start_context): Declare.
35219 (__makecontext_ret): Delete.
35220 (__makecontext): Hook up __start_context instead of
35221 __makecontext_ret.
35222 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35223 (sysdep_routines): Add __start_context when in stdlib.
35224
35225 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35226
35227 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35228 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35229 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35230 hardcoded "nm".
35231 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35232 (READELF): New variable. Use it instead of hardcoded "readelf".
35233
35234 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35235
35236 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35237 * sysdeps/x86/Makefile: Here.
35238 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35239 * sysdeps/x86/tst-xmmymm.sh: This.
35240
35241 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35242
35243 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35244 expectations.
35245 [UNIX98] (pthread_barrier_t): Do not expect.
35246 [UNIX98] (pthread_barrierattr_t): Likewise.
35247 [UNIX98] (pthread_spinlock_t): Likewise.
35248 [UNIX98] (pthread_barrier_destroy): Likewise.
35249 [UNIX98] (pthread_barrier_init): Likewise.
35250 [UNIX98] (pthread_barrier_wait): Likewise.
35251 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35252 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35253 [UNIX98] (pthread_barrierattr_init): Likewise.
35254 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35255 [UNIX98] (pthread_getcpuclockid): Likewise.
35256 [UNIX98] (pthread_mutex_timedlock): Likewise.
35257 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35258 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35259 [UNIX98] (pthread_sigmask): Likewise.
35260 [UNIX98] (pthread_spin_destroy): Likewise.
35261 [UNIX98] (pthread_spin_init): Likewise.
35262 [UNIX98] (pthread_spin_lock): Likewise.
35263 [UNIX98] (pthread_spin_trylock): Likewise.
35264 [UNIX98] (pthread_spin_unlock): Likewise.
35265 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35266 Do not expect.
35267 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35268 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35269 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35270 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35271 [XPG3 || XPG4] (pthread_key_t): Likewise.
35272 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35273 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35274 [XPG3 || XPG4] (pthread_once_t): Likewise.
35275 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35276 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35277 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35278 [XPG3 || XPG4] (pthread_t): Likewise.
35279
35280 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35281 not expect.
35282 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35283
35284 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35285 Change function return type to int.
35286
35287 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35288 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35289 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35290 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35291 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35292 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35293 [!POSIX] (posix_madvise): Likewise.
35294 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35295 && !UNIX98].
35296 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35297 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35298 (mode_t): Likewise.
35299 (posix_mem_offset): Likewise.
35300 (posix_typed_mem_get_info): Likewise.
35301 (posix_typed_mem_open): Likewise.
35302
35303 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35304 Change condition to [XOPEN2K8].
35305
35306 * conform/conformtest.pl: Preprocess allow-header data with -x c
35307 instead of from stdin.
35308 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35309 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35310 [C99-based standards] (cerfc): Likewise.
35311 [C99-based standards] (cexp2): Likewise.
35312 [C99-based standards] (cexpm1): Likewise.
35313 [C99-based standards] (clog10): Likewise.
35314 [C99-based standards] (clog1p): Likewise.
35315 [C99-based standards] (clog2): Likewise.
35316 [C99-based standards] (clgamma): Likewise.
35317 [C99-based standards] (ctgamma): Likewise.
35318 [C99-based standards] (cerff): Likewise.
35319 [C99-based standards] (cerfcf): Likewise.
35320 [C99-based standards] (cexp2f): Likewise.
35321 [C99-based standards] (cexpm1f): Likewise.
35322 [C99-based standards] (clog10f): Likewise.
35323 [C99-based standards] (clog1pf): Likewise.
35324 [C99-based standards] (clog2f): Likewise.
35325 [C99-based standards] (clgammaf): Likewise.
35326 [C99-based standards] (ctgammaf): Likewise.
35327 [C99-based standards] (cerfl): Likewise.
35328 [C99-based standards] (cerfcl): Likewise.
35329 [C99-based standards] (cexp2l): Likewise.
35330 [C99-based standards] (cexpm1l): Likewise.
35331 [C99-based standards] (clog10l): Likewise.
35332 [C99-based standards] (clog1pl): Likewise.
35333 [C99-based standards] (clog2l): Likewise.
35334 [C99-based standards] (clgammal): Likewise.
35335 [C99-based standards] (ctgammal): Likewise.
35336 * conform/data/inttypes.h-data [C99-based standards]: Include
35337 stdint.h-data. Remove all expectations for stdint.h contents.
35338 [C99-based standards] (PRI*): Do not allow.
35339 [C99-based standards] (SCN*): Likewise.
35340 [C99-based standards] (*_t): Likewise.
35341 [C99-based-standards] (PRId8): Expect macro.
35342 [C99-based-standards] (PRIi8): Likewise.
35343 [C99-based-standards] (PRIo8): Likewise.
35344 [C99-based-standards] (PRIu8): Likewise.
35345 [C99-based-standards] (PRIx8): Likewise.
35346 [C99-based-standards] (PRIX8): Likewise.
35347 [C99-based-standards] (SCNd8): Likewise.
35348 [C99-based-standards] (SCNi8): Likewise.
35349 [C99-based-standards] (SCNo8): Likewise.
35350 [C99-based-standards] (SCNu8): Likewise.
35351 [C99-based-standards] (SCNx8): Likewise.
35352 [C99-based-standards] (PRIdLEAST8): Likewise.
35353 [C99-based-standards] (PRIiLEAST8): Likewise.
35354 [C99-based-standards] (PRIoLEAST8): Likewise.
35355 [C99-based-standards] (PRIuLEAST8): Likewise.
35356 [C99-based-standards] (PRIxLEAST8): Likewise.
35357 [C99-based-standards] (PRIXLEAST8): Likewise.
35358 [C99-based-standards] (SCNdLEAST8): Likewise.
35359 [C99-based-standards] (SCNiLEAST8): Likewise.
35360 [C99-based-standards] (SCNoLEAST8): Likewise.
35361 [C99-based-standards] (SCNuLEAST8): Likewise.
35362 [C99-based-standards] (SCNxLEAST8): Likewise.
35363 [C99-based-standards] (PRIdFAST8): Likewise.
35364 [C99-based-standards] (PRIiFAST8): Likewise.
35365 [C99-based-standards] (PRIoFAST8): Likewise.
35366 [C99-based-standards] (PRIuFAST8): Likewise.
35367 [C99-based-standards] (PRIxFAST8): Likewise.
35368 [C99-based-standards] (PRIXFAST8): Likewise.
35369 [C99-based-standards] (SCNdFAST8): Likewise.
35370 [C99-based-standards] (SCNiFAST8): Likewise.
35371 [C99-based-standards] (SCNoFAST8): Likewise.
35372 [C99-based-standards] (SCNuFAST8): Likewise.
35373 [C99-based-standards] (SCNxFAST8): Likewise.
35374 [C99-based-standards] (PRId16): Likewise.
35375 [C99-based-standards] (PRIi16): Likewise.
35376 [C99-based-standards] (PRIo16): Likewise.
35377 [C99-based-standards] (PRIu16): Likewise.
35378 [C99-based-standards] (PRIx16): Likewise.
35379 [C99-based-standards] (PRIX16): Likewise.
35380 [C99-based-standards] (SCNd16): Likewise.
35381 [C99-based-standards] (SCNi16): Likewise.
35382 [C99-based-standards] (SCNo16): Likewise.
35383 [C99-based-standards] (SCNu16): Likewise.
35384 [C99-based-standards] (SCNx16): Likewise.
35385 [C99-based-standards] (PRIdLEAST16): Likewise.
35386 [C99-based-standards] (PRIiLEAST16): Likewise.
35387 [C99-based-standards] (PRIoLEAST16): Likewise.
35388 [C99-based-standards] (PRIuLEAST16): Likewise.
35389 [C99-based-standards] (PRIxLEAST16): Likewise.
35390 [C99-based-standards] (PRIXLEAST16): Likewise.
35391 [C99-based-standards] (SCNdLEAST16): Likewise.
35392 [C99-based-standards] (SCNiLEAST16): Likewise.
35393 [C99-based-standards] (SCNoLEAST16): Likewise.
35394 [C99-based-standards] (SCNuLEAST16): Likewise.
35395 [C99-based-standards] (SCNxLEAST16): Likewise.
35396 [C99-based-standards] (PRIdFAST16): Likewise.
35397 [C99-based-standards] (PRIiFAST16): Likewise.
35398 [C99-based-standards] (PRIoFAST16): Likewise.
35399 [C99-based-standards] (PRIuFAST16): Likewise.
35400 [C99-based-standards] (PRIxFAST16): Likewise.
35401 [C99-based-standards] (PRIXFAST16): Likewise.
35402 [C99-based-standards] (SCNdFAST16): Likewise.
35403 [C99-based-standards] (SCNiFAST16): Likewise.
35404 [C99-based-standards] (SCNoFAST16): Likewise.
35405 [C99-based-standards] (SCNuFAST16): Likewise.
35406 [C99-based-standards] (SCNxFAST16): Likewise.
35407 [C99-based-standards] (PRId32): Likewise.
35408 [C99-based-standards] (PRIi32): Likewise.
35409 [C99-based-standards] (PRIo32): Likewise.
35410 [C99-based-standards] (PRIu32): Likewise.
35411 [C99-based-standards] (PRIx32): Likewise.
35412 [C99-based-standards] (PRIX32): Likewise.
35413 [C99-based-standards] (SCNd32): Likewise.
35414 [C99-based-standards] (SCNi32): Likewise.
35415 [C99-based-standards] (SCNo32): Likewise.
35416 [C99-based-standards] (SCNu32): Likewise.
35417 [C99-based-standards] (SCNx32): Likewise.
35418 [C99-based-standards] (PRIdLEAST32): Likewise.
35419 [C99-based-standards] (PRIiLEAST32): Likewise.
35420 [C99-based-standards] (PRIoLEAST32): Likewise.
35421 [C99-based-standards] (PRIuLEAST32): Likewise.
35422 [C99-based-standards] (PRIxLEAST32): Likewise.
35423 [C99-based-standards] (PRIXLEAST32): Likewise.
35424 [C99-based-standards] (SCNdLEAST32): Likewise.
35425 [C99-based-standards] (SCNiLEAST32): Likewise.
35426 [C99-based-standards] (SCNoLEAST32): Likewise.
35427 [C99-based-standards] (SCNuLEAST32): Likewise.
35428 [C99-based-standards] (SCNxLEAST32): Likewise.
35429 [C99-based-standards] (PRIdFAST32): Likewise.
35430 [C99-based-standards] (PRIiFAST32): Likewise.
35431 [C99-based-standards] (PRIoFAST32): Likewise.
35432 [C99-based-standards] (PRIuFAST32): Likewise.
35433 [C99-based-standards] (PRIxFAST32): Likewise.
35434 [C99-based-standards] (PRIXFAST32): Likewise.
35435 [C99-based-standards] (SCNdFAST32): Likewise.
35436 [C99-based-standards] (SCNiFAST32): Likewise.
35437 [C99-based-standards] (SCNoFAST32): Likewise.
35438 [C99-based-standards] (SCNuFAST32): Likewise.
35439 [C99-based-standards] (SCNxFAST32): Likewise.
35440 [C99-based-standards] (PRId64): Likewise.
35441 [C99-based-standards] (PRIi64): Likewise.
35442 [C99-based-standards] (PRIo64): Likewise.
35443 [C99-based-standards] (PRIu64): Likewise.
35444 [C99-based-standards] (PRIx64): Likewise.
35445 [C99-based-standards] (PRIX64): Likewise.
35446 [C99-based-standards] (SCNd64): Likewise.
35447 [C99-based-standards] (SCNi64): Likewise.
35448 [C99-based-standards] (SCNo64): Likewise.
35449 [C99-based-standards] (SCNu64): Likewise.
35450 [C99-based-standards] (SCNx64): Likewise.
35451 [C99-based-standards] (PRIdLEAST64): Likewise.
35452 [C99-based-standards] (PRIiLEAST64): Likewise.
35453 [C99-based-standards] (PRIoLEAST64): Likewise.
35454 [C99-based-standards] (PRIuLEAST64): Likewise.
35455 [C99-based-standards] (PRIxLEAST64): Likewise.
35456 [C99-based-standards] (PRIXLEAST64): Likewise.
35457 [C99-based-standards] (SCNdLEAST64): Likewise.
35458 [C99-based-standards] (SCNiLEAST64): Likewise.
35459 [C99-based-standards] (SCNoLEAST64): Likewise.
35460 [C99-based-standards] (SCNuLEAST64): Likewise.
35461 [C99-based-standards] (SCNxLEAST64): Likewise.
35462 [C99-based-standards] (PRIdFAST64): Likewise.
35463 [C99-based-standards] (PRIiFAST64): Likewise.
35464 [C99-based-standards] (PRIoFAST64): Likewise.
35465 [C99-based-standards] (PRIuFAST64): Likewise.
35466 [C99-based-standards] (PRIxFAST64): Likewise.
35467 [C99-based-standards] (PRIXFAST64): Likewise.
35468 [C99-based-standards] (SCNdFAST64): Likewise.
35469 [C99-based-standards] (SCNiFAST64): Likewise.
35470 [C99-based-standards] (SCNoFAST64): Likewise.
35471 [C99-based-standards] (SCNuFAST64): Likewise.
35472 [C99-based-standards] (SCNxFAST64): Likewise.
35473 [C99-based-standards] (PRIdMAX): Likewise.
35474 [C99-based-standards] (PRIiMAX): Likewise.
35475 [C99-based-standards] (PRIoMAX): Likewise.
35476 [C99-based-standards] (PRIuMAX): Likewise.
35477 [C99-based-standards] (PRIxMAX): Likewise.
35478 [C99-based-standards] (PRIXMAX): Likewise.
35479 [C99-based-standards] (SCNdMAX): Likewise.
35480 [C99-based-standards] (SCNiMAX): Likewise.
35481 [C99-based-standards] (SCNoMAX): Likewise.
35482 [C99-based-standards] (SCNuMAX): Likewise.
35483 [C99-based-standards] (SCNxMAX): Likewise.
35484 [C99-based-standards] (PRIdPTR): Likewise.
35485 [C99-based-standards] (PRIiPTR): Likewise.
35486 [C99-based-standards] (PRIoPTR): Likewise.
35487 [C99-based-standards] (PRIuPTR): Likewise.
35488 [C99-based-standards] (PRIxPTR): Likewise.
35489 [C99-based-standards] (PRIXPTR): Likewise.
35490 [C99-based-standards] (SCNdPTR): Likewise.
35491 [C99-based-standards] (SCNiPTR): Likewise.
35492 [C99-based-standards] (SCNoPTR): Likewise.
35493 [C99-based-standards] (SCNuPTR): Likewise.
35494 [C99-based-standards] (SCNxPTR): Likewise.
35495 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35496 allow.
35497 * conform/data/stdint.h-data: Update comments to clarify
35498 requirements.
35499 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35500 type.
35501 [C99-based standards] (INT8_MAX): Likewise.
35502 [C99-based standards] (INT16_MIN): Likewise.
35503 [C99-based standards] (INT16_MAX): Likewise.
35504 [C99-based standards] (INT32_MIN): Likewise.
35505 [C99-based standards] (INT32_MAX): Likewise.
35506 [C99-based standards] (INT64_MIN): Likewise.
35507 [C99-based standards] (INT64_MAX): Likewise.
35508 [C99-based standards] (UINT8_MAX): Likewise.
35509 [C99-based standards] (UINT16_MAX): Likewise.
35510 [C99-based standards] (UINT32_MAX): Likewise.
35511 [C99-based standards] (UINT64_MAX): Likewise.
35512 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35513 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35514 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35515 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35516 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35517 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35518 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35519 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35520 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35521 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35522 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35523 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35524 [C99-based standards] (INT_FAST8_MIN): Likewise.
35525 [C99-based standards] (INT_FAST8_MAX): Likewise.
35526 [C99-based standards] (INT_FAST16_MIN): Likewise.
35527 [C99-based standards] (INT_FAST16_MAX): Likewise.
35528 [C99-based standards] (INT_FAST32_MIN): Likewise.
35529 [C99-based standards] (INT_FAST32_MAX): Likewise.
35530 [C99-based standards] (INT_FAST64_MIN): Likewise.
35531 [C99-based standards] (INT_FAST64_MAX): Likewise.
35532 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35533 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35534 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35535 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35536 [C99-based standards] (INTPTR_MIN): Likewise.
35537 [C99-based standards] (INTPTR_MAX): Likewise.
35538 [C99-based standards] (UINTPTR_MAX): Likewise.
35539 [C99-based standards] (INTMAX_MIN): Likewise.
35540 [C99-based standards] (INTMAX_MAX): Likewise.
35541 [C99-based standards] (UINTMAX_MAX): Likewise.
35542 [C99-based standards] (PTRDIFF_MIN): Likewise.
35543 [C99-based standards] (PTRDIFF_MAX): Likewise.
35544 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35545 [C99-based standards] (SIZE_MAX): Likewise.
35546 [C99-based standards] (WCHAR_MAX): Likewise.
35547 [C99-based standards] (WINT_MAX): Likewise.
35548 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35549 constraint on value.
35550 [C99-based standards] (WCHAR_MIN): Likewise.
35551 [C99-based standards] (WINT_MIN): Likewise.
35552 [C99-based standards] (*_t): Allow.
35553 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35554 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35555 Include math.h-data and complex.h-data. Remove all expectations
35556 of math.h and complex.h contents.
35557 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35558 at end of line.
35559 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35560 (struct tm): Expect tag.
35561 [C99-based-standards] (wcstof): Expect function.
35562 [C99-based-standards] (wcstold): Likewise.
35563 [C99-based-standards] (wcstoll): Likewise.
35564 [C99-based-standards] (wcstoull): Likewise.
35565 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35566 macro-int-constant. Specify type.
35567 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35568 constraint on value.
35569 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35570 Specify type.
35571 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35572 Specify value.
35573 [ISO C standards]: Do not allow headers.
35574 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35575 wcs[abcdefghijklmnopqrstuvwxyz]*.
35576 [ISO C standards] (*_t): Do not allow.
35577 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35578 Expect function.
35579 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35580 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35581 Specify type.
35582 [ISO C standards]: Do not allow headers.
35583 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35584 is[abcdefghijklmnopqrstuvwxyz]*.
35585 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35586 to[abcdefghijklmnopqrstuvwxyz]*.
35587 [ISO C standards] (*_t): Do not allow.
35588 * conform/data/stdalign.h-data: New file.
35589 * conform/data/stdbool.h-data: Likewise.
35590 * conform/data/stdnoreturn.h-data: Likewise.
35591
35592 2012-11-07 Roland McGrath <roland@hack.frob.com>
35593
35594 [BZ #14815]
35595 * manual/filesys.texi (Directory Entries): Typo fix.
35596 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35597
35598 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35599
35600 * elf/elf.h (EM_AARCH64): New macro.
35601 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35602 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35603 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35604 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35605 (R_AARCH64_TLSDESC): Likewise.
35606 (NT_ARM_TLS): Likewise.
35607 (NT_ARM_HW_BREAK): Likewise.
35608 (NT_ARM_HW_WATCH): Likewise.
35609
35610 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35611
35612 [BZ #14811]
35613 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35614 (__ieee754_powl): Saturate nonzero exponents with absolute value
35615 below 0x1p-79 to +/- 0x1p-79.
35616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35617 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35618 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35619 nonzero exponents with absolute value below 0x1p-32 to +/-
35620 0x1p-32.
35621 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35622 (__ieee754_powl): Saturate nonzero exponents with absolute value
35623 below 0x1p-79 to +/- 0x1p-79.
35624 * math/libm-test.inc (pow_test): Add more tests.
35625
35626 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35627
35628 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35629 _dl_s390_cap_flags with kernel. Increase string length.
35630 (_dl_s390_platforms): Add z196 and zEC12.
35631
35632 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35633
35634 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35635 Change XOPEN21K to XOPEN2K.
35636
35637 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35638
35639 * string/memmove.c: Use memcpy when possible.
35640
35641 2012-11-06 Andreas Jaeger <aj@suse.de>
35642
35643 * po/eo.po: Update from translation team.
35644
35645 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35646
35647 [BZ #14793]
35648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35649 exponent and small x and y exponents, scale x or y up. Increase
35650 by 2 the exponent used in scaling up.
35651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35653 * math/libm-test.inc (fma_test): Add more tests.
35654 (fma_test_towardzero): Likewise.
35655 (fma_test_downward): Likewise.
35656 (fma_test_upward): Likewise.
35657
35658 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35659
35660 [BZ #14805]
35661 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35662 fenv_t *.
35663
35664 [BZ #14801]
35665 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35666 namespace for names of struct fields.
35667 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35668 fenv_t fields.
35669 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35670 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35671
35672 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35673
35674 [BZ #3665]
35675 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35676
35677 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35678
35679 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35680 PTR_DEMANGLE.
35681
35682 [BZ #5246]
35683 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35684 PTR_DEMANGLE.
35685
35686 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35687
35688 [BZ #14797]
35689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35690 definitely overflow as x * y not x * y + z.
35691 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35693 * math/libm-test.inc (fma_test): Add more tests.
35694 (fma_test_towardzero): Likewise.
35695 (fma_test_downward): Likewise.
35696 (fma_test_upward): Likewise.
35697
35698 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35699
35700 [BZ #157]
35701
35702 * include/stub-tag.h: Remove file.
35703 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35704 '#include' of it.
35705 * manual/maint.texi (Porting): Don't reference it.
35706 * Makerules ($(objpfx)stubs): Likewise.
35707 * dirent/closedir.c: Don't include <stub-tag.h>.
35708 * dirent/dirfd.c: Likewise.
35709 * dirent/fdopendir.c: Likewise.
35710 * dirent/getdents.c: Likewise.
35711 * dirent/getdents64.c: Likewise.
35712 * dirent/opendir.c: Likewise.
35713 * dirent/readdir.c: Likewise.
35714 * dirent/readdir64.c: Likewise.
35715 * dirent/readdir64_r.c: Likewise.
35716 * dirent/readdir_r.c: Likewise.
35717 * dirent/rewinddir.c: Likewise.
35718 * dirent/seekdir.c: Likewise.
35719 * dirent/telldir.c: Likewise.
35720 * gmon/profil.c: Likewise.
35721 * grp/setgroups.c: Likewise.
35722 * inet/if_index.c: Likewise.
35723 * io/access.c: Likewise.
35724 * io/chdir.c: Likewise.
35725 * io/chmod.c: Likewise.
35726 * io/chown.c: Likewise.
35727 * io/close.c: Likewise.
35728 * io/dup.c: Likewise.
35729 * io/dup2.c: Likewise.
35730 * io/dup3.c: Likewise.
35731 * io/euidaccess.c: Likewise.
35732 * io/faccessat.c: Likewise.
35733 * io/fchdir.c: Likewise.
35734 * io/fchmod.c: Likewise.
35735 * io/fchmodat.c: Likewise.
35736 * io/fchown.c: Likewise.
35737 * io/fchownat.c: Likewise.
35738 * io/fcntl.c: Likewise.
35739 * io/flock.c: Likewise.
35740 * io/fstatfs.c: Likewise.
35741 * io/fstatfs64.c: Likewise.
35742 * io/fstatvfs.c: Likewise.
35743 * io/fstatvfs64.c: Likewise.
35744 * io/futimens.c: Likewise.
35745 * io/fxstat.c: Likewise.
35746 * io/fxstat64.c: Likewise.
35747 * io/fxstatat.c: Likewise.
35748 * io/fxstatat64.c: Likewise.
35749 * io/getcwd.c: Likewise.
35750 * io/isatty.c: Likewise.
35751 * io/lchmod.c: Likewise.
35752 * io/lchown.c: Likewise.
35753 * io/link.c: Likewise.
35754 * io/linkat.c: Likewise.
35755 * io/lseek.c: Likewise.
35756 * io/lseek64.c: Likewise.
35757 * io/lxstat64.c: Likewise.
35758 * io/mkdir.c: Likewise.
35759 * io/mkdirat.c: Likewise.
35760 * io/mkfifo.c: Likewise.
35761 * io/mkfifoat.c: Likewise.
35762 * io/open.c: Likewise.
35763 * io/open64.c: Likewise.
35764 * io/openat.c: Likewise.
35765 * io/openat64.c: Likewise.
35766 * io/pipe.c: Likewise.
35767 * io/pipe2.c: Likewise.
35768 * io/poll.c: Likewise.
35769 * io/posix_fadvise.c: Likewise.
35770 * io/posix_fadvise64.c: Likewise.
35771 * io/posix_fallocate.c: Likewise.
35772 * io/posix_fallocate64.c: Likewise.
35773 * io/read.c: Likewise.
35774 * io/readlink.c: Likewise.
35775 * io/readlinkat.c: Likewise.
35776 * io/rmdir.c: Likewise.
35777 * io/sendfile.c: Likewise.
35778 * io/sendfile64.c: Likewise.
35779 * io/statfs.c: Likewise.
35780 * io/statfs64.c: Likewise.
35781 * io/statvfs.c: Likewise.
35782 * io/statvfs64.c: Likewise.
35783 * io/symlink.c: Likewise.
35784 * io/symlinkat.c: Likewise.
35785 * io/ttyname.c: Likewise.
35786 * io/ttyname_r.c: Likewise.
35787 * io/umask.c: Likewise.
35788 * io/unlink.c: Likewise.
35789 * io/unlinkat.c: Likewise.
35790 * io/utime.c: Likewise.
35791 * io/utimensat.c: Likewise.
35792 * io/write.c: Likewise.
35793 * io/xmknod.c: Likewise.
35794 * io/xmknodat.c: Likewise.
35795 * io/xstat.c: Likewise.
35796 * io/xstat64.c: Likewise.
35797 * login/getpt.c: Likewise.
35798 * login/grantpt.c: Likewise.
35799 * login/unlockpt.c: Likewise.
35800 * math/e_acoshl.c: Likewise.
35801 * math/e_acosl.c: Likewise.
35802 * math/e_asinl.c: Likewise.
35803 * math/e_atan2l.c: Likewise.
35804 * math/e_atanhl.c: Likewise.
35805 * math/e_coshl.c: Likewise.
35806 * math/e_expl.c: Likewise.
35807 * math/e_fmodl.c: Likewise.
35808 * math/e_gammal_r.c: Likewise.
35809 * math/e_hypotl.c: Likewise.
35810 * math/e_j0l.c: Likewise.
35811 * math/e_j1l.c: Likewise.
35812 * math/e_jnl.c: Likewise.
35813 * math/e_lgammal_r.c: Likewise.
35814 * math/e_log10l.c: Likewise.
35815 * math/e_log2l.c: Likewise.
35816 * math/e_logl.c: Likewise.
35817 * math/e_powl.c: Likewise.
35818 * math/e_rem_pio2l.c: Likewise.
35819 * math/e_sinhl.c: Likewise.
35820 * math/e_sqrtl.c: Likewise.
35821 * math/fclrexcpt.c: Likewise.
35822 * math/fedisblxcpt.c: Likewise.
35823 * math/feenablxcpt.c: Likewise.
35824 * math/fegetenv.c: Likewise.
35825 * math/fegetexcept.c: Likewise.
35826 * math/fegetround.c: Likewise.
35827 * math/feholdexcpt.c: Likewise.
35828 * math/fesetenv.c: Likewise.
35829 * math/fesetround.c: Likewise.
35830 * math/feupdateenv.c: Likewise.
35831 * math/fgetexcptflg.c: Likewise.
35832 * math/fraiseexcpt.c: Likewise.
35833 * math/fsetexcptflg.c: Likewise.
35834 * math/ftestexcept.c: Likewise.
35835 * math/k_cosl.c: Likewise.
35836 * math/k_rem_pio2l.c: Likewise.
35837 * math/k_sinl.c: Likewise.
35838 * math/k_tanl.c: Likewise.
35839 * math/s_asinhl.c: Likewise.
35840 * math/s_atanl.c: Likewise.
35841 * math/s_cbrtl.c: Likewise.
35842 * math/s_erfl.c: Likewise.
35843 * math/s_expm1l.c: Likewise.
35844 * math/s_log1pl.c: Likewise.
35845 * math/s_tanhl.c: Likewise.
35846 * misc/acct.c: Likewise.
35847 * misc/brk.c: Likewise.
35848 * misc/chflags.c: Likewise.
35849 * misc/chroot.c: Likewise.
35850 * misc/fchflags.c: Likewise.
35851 * misc/fgetxattr.c: Likewise.
35852 * misc/flistxattr.c: Likewise.
35853 * misc/fremovexattr.c: Likewise.
35854 * misc/fsetxattr.c: Likewise.
35855 * misc/fsync.c: Likewise.
35856 * misc/ftruncate.c: Likewise.
35857 * misc/futimes.c: Likewise.
35858 * misc/futimesat.c: Likewise.
35859 * misc/getdomain.c: Likewise.
35860 * misc/getdtsz.c: Likewise.
35861 * misc/gethostid.c: Likewise.
35862 * misc/gethostname.c: Likewise.
35863 * misc/getloadavg.c: Likewise.
35864 * misc/getpagesize.c: Likewise.
35865 * misc/getsysstats.c: Likewise.
35866 * misc/getxattr.c: Likewise.
35867 * misc/gtty.c: Likewise.
35868 * misc/ioctl.c: Likewise.
35869 * misc/lgetxattr.c: Likewise.
35870 * misc/listxattr.c: Likewise.
35871 * misc/llistxattr.c: Likewise.
35872 * misc/lremovexattr.c: Likewise.
35873 * misc/lsetxattr.c: Likewise.
35874 * misc/lutimes.c: Likewise.
35875 * misc/madvise.c: Likewise.
35876 * misc/mincore.c: Likewise.
35877 * misc/mlock.c: Likewise.
35878 * misc/mlockall.c: Likewise.
35879 * misc/mmap.c: Likewise.
35880 * misc/mprotect.c: Likewise.
35881 * misc/msync.c: Likewise.
35882 * misc/munlock.c: Likewise.
35883 * misc/munlockall.c: Likewise.
35884 * misc/munmap.c: Likewise.
35885 * misc/preadv.c: Likewise.
35886 * misc/preadv64.c: Likewise.
35887 * misc/ptrace.c: Likewise.
35888 * misc/pwritev.c: Likewise.
35889 * misc/pwritev64.c: Likewise.
35890 * misc/readv.c: Likewise.
35891 * misc/reboot.c: Likewise.
35892 * misc/remap_file_pages.c: Likewise.
35893 * misc/removexattr.c: Likewise.
35894 * misc/revoke.c: Likewise.
35895 * misc/select.c: Likewise.
35896 * misc/setdomain.c: Likewise.
35897 * misc/setegid.c: Likewise.
35898 * misc/seteuid.c: Likewise.
35899 * misc/sethostid.c: Likewise.
35900 * misc/sethostname.c: Likewise.
35901 * misc/setregid.c: Likewise.
35902 * misc/setreuid.c: Likewise.
35903 * misc/setxattr.c: Likewise.
35904 * misc/sstk.c: Likewise.
35905 * misc/stty.c: Likewise.
35906 * misc/swapoff.c: Likewise.
35907 * misc/swapon.c: Likewise.
35908 * misc/sync.c: Likewise.
35909 * misc/syncfs.c: Likewise.
35910 * misc/syscall.c: Likewise.
35911 * misc/truncate.c: Likewise.
35912 * misc/ualarm.c: Likewise.
35913 * misc/usleep.c: Likewise.
35914 * misc/ustat.c: Likewise.
35915 * misc/utimes.c: Likewise.
35916 * misc/vhangup.c: Likewise.
35917 * misc/writev.c: Likewise.
35918 * posix/_exit.c: Likewise.
35919 * posix/alarm.c: Likewise.
35920 * posix/execve.c: Likewise.
35921 * posix/fexecve.c: Likewise.
35922 * posix/fork.c: Likewise.
35923 * posix/fpathconf.c: Likewise.
35924 * posix/getaddrinfo.c: Likewise.
35925 * posix/getegid.c: Likewise.
35926 * posix/geteuid.c: Likewise.
35927 * posix/getgid.c: Likewise.
35928 * posix/getgroups.c: Likewise.
35929 * posix/getlogin.c: Likewise.
35930 * posix/getlogin_r.c: Likewise.
35931 * posix/getpgid.c: Likewise.
35932 * posix/getpid.c: Likewise.
35933 * posix/getppid.c: Likewise.
35934 * posix/getresgid.c: Likewise.
35935 * posix/getresuid.c: Likewise.
35936 * posix/getsid.c: Likewise.
35937 * posix/getuid.c: Likewise.
35938 * posix/glob64.c: Likewise.
35939 * posix/nanosleep.c: Likewise.
35940 * posix/pathconf.c: Likewise.
35941 * posix/pause.c: Likewise.
35942 * posix/posix_madvise.c: Likewise.
35943 * posix/pread.c: Likewise.
35944 * posix/pread64.c: Likewise.
35945 * posix/pwrite.c: Likewise.
35946 * posix/pwrite64.c: Likewise.
35947 * posix/sched_getaffinity.c: Likewise.
35948 * posix/sched_getp.c: Likewise.
35949 * posix/sched_gets.c: Likewise.
35950 * posix/sched_primax.c: Likewise.
35951 * posix/sched_primin.c: Likewise.
35952 * posix/sched_rr_gi.c: Likewise.
35953 * posix/sched_setaffinity.c: Likewise.
35954 * posix/sched_setp.c: Likewise.
35955 * posix/sched_sets.c: Likewise.
35956 * posix/sched_yield.c: Likewise.
35957 * posix/setgid.c: Likewise.
35958 * posix/setlogin.c: Likewise.
35959 * posix/setpgid.c: Likewise.
35960 * posix/setresgid.c: Likewise.
35961 * posix/setresuid.c: Likewise.
35962 * posix/setsid.c: Likewise.
35963 * posix/setuid.c: Likewise.
35964 * posix/sleep.c: Likewise.
35965 * posix/spawni.c: Likewise.
35966 * posix/sysconf.c: Likewise.
35967 * posix/times.c: Likewise.
35968 * posix/wait.c: Likewise.
35969 * posix/wait3.c: Likewise.
35970 * posix/wait4.c: Likewise.
35971 * posix/waitpid.c: Likewise.
35972 * resolv/gai_sigqueue.c: Likewise.
35973 * resource/getpriority.c: Likewise.
35974 * resource/getrlimit.c: Likewise.
35975 * resource/getrusage.c: Likewise.
35976 * resource/nice.c: Likewise.
35977 * resource/setpriority.c: Likewise.
35978 * resource/setrlimit.c: Likewise.
35979 * resource/ulimit.c: Likewise.
35980 * rt/aio_cancel.c: Likewise.
35981 * rt/aio_fsync.c: Likewise.
35982 * rt/aio_read.c: Likewise.
35983 * rt/aio_sigqueue.c: Likewise.
35984 * rt/aio_suspend.c: Likewise.
35985 * rt/aio_write.c: Likewise.
35986 * rt/clock_getres.c: Likewise.
35987 * rt/clock_gettime.c: Likewise.
35988 * rt/clock_nanosleep.c: Likewise.
35989 * rt/clock_settime.c: Likewise.
35990 * rt/lio_listio.c: Likewise.
35991 * rt/mq_close.c: Likewise.
35992 * rt/mq_getattr.c: Likewise.
35993 * rt/mq_notify.c: Likewise.
35994 * rt/mq_open.c: Likewise.
35995 * rt/mq_receive.c: Likewise.
35996 * rt/mq_send.c: Likewise.
35997 * rt/mq_setattr.c: Likewise.
35998 * rt/mq_timedreceive.c: Likewise.
35999 * rt/mq_timedsend.c: Likewise.
36000 * rt/mq_unlink.c: Likewise.
36001 * rt/shm_open.c: Likewise.
36002 * rt/shm_unlink.c: Likewise.
36003 * rt/timer_create.c: Likewise.
36004 * rt/timer_delete.c: Likewise.
36005 * rt/timer_getoverr.c: Likewise.
36006 * rt/timer_gettime.c: Likewise.
36007 * rt/timer_settime.c: Likewise.
36008 * setjmp/__longjmp.c: Likewise.
36009 * setjmp/setjmp.c: Likewise.
36010 * signal/kill.c: Likewise.
36011 * signal/killpg.c: Likewise.
36012 * signal/raise.c: Likewise.
36013 * signal/sigaction.c: Likewise.
36014 * signal/sigaltstack.c: Likewise.
36015 * signal/sigblock.c: Likewise.
36016 * signal/sigignore.c: Likewise.
36017 * signal/sigintr.c: Likewise.
36018 * signal/signal.c: Likewise.
36019 * signal/sigpause.c: Likewise.
36020 * signal/sigpending.c: Likewise.
36021 * signal/sigqueue.c: Likewise.
36022 * signal/sigreturn.c: Likewise.
36023 * signal/sigset.c: Likewise.
36024 * signal/sigsetmask.c: Likewise.
36025 * signal/sigstack.c: Likewise.
36026 * signal/sigsuspend.c: Likewise.
36027 * signal/sigtimedwait.c: Likewise.
36028 * signal/sigvec.c: Likewise.
36029 * signal/sigwait.c: Likewise.
36030 * signal/sigwaitinfo.c: Likewise.
36031 * signal/sysv_signal.c: Likewise.
36032 * socket/accept.c: Likewise.
36033 * socket/accept4.c: Likewise.
36034 * socket/bind.c: Likewise.
36035 * socket/connect.c: Likewise.
36036 * socket/getpeername.c: Likewise.
36037 * socket/getsockname.c: Likewise.
36038 * socket/getsockopt.c: Likewise.
36039 * socket/isfdtype.c: Likewise.
36040 * socket/listen.c: Likewise.
36041 * socket/recv.c: Likewise.
36042 * socket/recvfrom.c: Likewise.
36043 * socket/recvmsg.c: Likewise.
36044 * socket/send.c: Likewise.
36045 * socket/sendmsg.c: Likewise.
36046 * socket/sendto.c: Likewise.
36047 * socket/setsockopt.c: Likewise.
36048 * socket/shutdown.c: Likewise.
36049 * socket/sockatmark.c: Likewise.
36050 * socket/socket.c: Likewise.
36051 * socket/socketpair.c: Likewise.
36052 * stdio-common/ctermid.c: Likewise.
36053 * stdio-common/cuserid.c: Likewise.
36054 * stdio-common/remove.c: Likewise.
36055 * stdio-common/rename.c: Likewise.
36056 * stdio-common/renameat.c: Likewise.
36057 * stdio-common/tempname.c: Likewise.
36058 * stdlib/getcontext.c: Likewise.
36059 * stdlib/makecontext.c: Likewise.
36060 * stdlib/setcontext.c: Likewise.
36061 * stdlib/swapcontext.c: Likewise.
36062 * stdlib/system.c: Likewise.
36063 * streams/fattach.c: Likewise.
36064 * streams/fdetach.c: Likewise.
36065 * streams/getmsg.c: Likewise.
36066 * streams/getpmsg.c: Likewise.
36067 * streams/putmsg.c: Likewise.
36068 * streams/putpmsg.c: Likewise.
36069 * sysdeps/unix/bsd/getpt.c: Likewise.
36070 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36071 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36072 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36074 Likewise.
36075 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36076 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36077 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36078 * sysvipc/msgctl.c: Likewise.
36079 * sysvipc/msgget.c: Likewise.
36080 * sysvipc/msgrcv.c: Likewise.
36081 * sysvipc/msgsnd.c: Likewise.
36082 * sysvipc/semctl.c: Likewise.
36083 * sysvipc/semget.c: Likewise.
36084 * sysvipc/semop.c: Likewise.
36085 * sysvipc/semtimedop.c: Likewise.
36086 * sysvipc/shmat.c: Likewise.
36087 * sysvipc/shmctl.c: Likewise.
36088 * sysvipc/shmdt.c: Likewise.
36089 * sysvipc/shmget.c: Likewise.
36090 * termios/tcdrain.c: Likewise.
36091 * termios/tcflow.c: Likewise.
36092 * termios/tcflush.c: Likewise.
36093 * termios/tcgetattr.c: Likewise.
36094 * termios/tcgetpgrp.c: Likewise.
36095 * termios/tcsendbrk.c: Likewise.
36096 * termios/tcsetattr.c: Likewise.
36097 * termios/tcsetpgrp.c: Likewise.
36098 * time/adjtime.c: Likewise.
36099 * time/clock.c: Likewise.
36100 * time/getitimer.c: Likewise.
36101 * time/gettimeofday.c: Likewise.
36102 * time/setitimer.c: Likewise.
36103 * time/settimeofday.c: Likewise.
36104 * time/stime.c: Likewise.
36105 * time/time.c: Likewise.
36106
36107 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36108
36109 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36110 /usr/old/bin.
36111
36112 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36113 instead of spaces.
36114 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36115
36116 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36117
36118 [BZ #14796]
36119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36120 FE_TONEAREST before applying Dekker multiplication and Knuth
36121 addition. Clear inexact exceptions and check for exact zero
36122 results afterwards.
36123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36126 * math/libm-test.inc (fma_test): Add more tests.
36127 (fma_test_towardzero): Likewise.
36128 (fma_test_downward): Likewise.
36129 (fma_test_upward): Likewise.
36130 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36131 function.
36132 (libc_fesetround): New macro.
36133 (libc_fesetroundf): Likewise.
36134 (libc_fesetroundl): Likewise.
36135 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36136 function.
36137 (libc_fesetround_387): Likewise.
36138 (libc_fesetroundf): New macro.
36139 (libc_fesetround): Likewise.
36140 (libc_fesetroundl): Likewise.
36141 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36142 function.
36143 (libc_fesetroundf): New macro.
36144 (libc_fesetround): Likewise.
36145 (libc_fesetroundl): Likewise.
36146 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36147 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36148 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36149 libm_hidden_ver.
36150 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36151 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36152 libm_hidden_def.
36153 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36154 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36155 libm_hidden_ver.
36156 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36157 libm_hidden_def.
36158
36159 [BZ #3439]
36160 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36161 integer constant usable in #if and use that to give value to enum
36162 constant.
36163 (FE_DIVBYZERO): Likewise.
36164 (FE_UNDERFLOW): Likewise.
36165 (FE_OVERFLOW): Likewise.
36166 (FE_INVALID): Likewise.
36167 (FE_INVALID_SNAN): Likewise.
36168 (FE_INVALID_ISI): Likewise.
36169 (FE_INVALID_IDI): Likewise.
36170 (FE_INVALID_ZDZ): Likewise.
36171 (FE_INVALID_IMZ): Likewise.
36172 (FE_INVALID_COMPARE): Likewise.
36173 (FE_INVALID_SOFTWARE): Likewise.
36174 (FE_INVALID_SQRT): Likewise.
36175 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36176 (FE_TONEAREST): Likewise.
36177 (FE_TOWARDZERO): Likewise.
36178 (FE_UPWARD): Likewise.
36179 (FE_DOWNWARD): Likewise.
36180 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36181 (FE_DIVBYZERO): Likewise.
36182 (FE_OVERFLOW): Likewise.
36183 (FE_UNDERFLOW): Likewise.
36184 (FE_INEXACT): Likewise.
36185 (FE_TONEAREST): Likewise.
36186 (FE_DOWNWARD): Likewise.
36187 (FE_UPWARD): Likewise.
36188 (FE_TOWARDZERO): Likewise.
36189 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36190 (FE_UNDERFLOW): Likewise.
36191 (FE_OVERFLOW): Likewise.
36192 (FE_DIVBYZERO): Likewise.
36193 (FE_INVALID): Likewise.
36194 (FE_TONEAREST): Likewise.
36195 (FE_TOWARDZERO): Likewise.
36196 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36197 (FE_OVERFLOW): Likewise.
36198 (FE_UNDERFLOW): Likewise.
36199 (FE_DIVBYZERO): Likewise.
36200 (FE_INEXACT): Likewise.
36201 (FE_TONEAREST): Likewise.
36202 (FE_TOWARDZERO): Likewise.
36203 (FE_UPWARD): Likewise.
36204 (FE_DOWNWARD): Likewise.
36205 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36206 (FE_DIVBYZERO): Likewise.
36207 (FE_OVERFLOW): Likewise.
36208 (FE_UNDERFLOW): Likewise.
36209 (FE_INEXACT): Likewise.
36210 (FE_TONEAREST): Likewise.
36211 (FE_DOWNWARD): Likewise.
36212 (FE_UPWARD): Likewise.
36213 (FE_TOWARDZERO): Likewise.
36214
36215 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36216
36217 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36218
36219 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36220
36221 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36222 commands. Quote $PWD.
36223 (blacklist_exports): Don't use remove_newlines. Replace "declare
36224 -x" by "export".
36225 (remove_newlines): Remove.
36226
36227 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36228
36229 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36230 * stdlib/stdlib.h (atof): Moved to ...
36231 * include/bits/stdlib-float.h: Here. New file.
36232 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36233 * stdlib/bits/stdlib-float.h: New file.
36234 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36235 -mno-sse -mno-mmx.
36236 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36237 <xmmintrin.h>.
36238
36239 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36240
36241 * conform/conformtest.pl (@headers): Add fenv.h.
36242 * conform/data/fenv.h-data: New file.
36243 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36244 include of <math/fenv.h>.
36245
36246 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36247 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36248 && !UNIX98]. Enables tests for XOPEN2K8.
36249 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36250 POSIX2008]: Likewise.
36251
36252 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36253 (struct rusage): Do not expect type or its members.
36254
36255 [BZ #3439]
36256 * math/math.h (FP_NAN): Define macro to integer constant usable in
36257 #if and use that to give value to enum constant.
36258 (FP_INFINITE): Likewise.
36259 (FP_ZERO): Likewise.
36260 (FP_SUBNORMAL): Likewise.
36261 (FP_NORMAL): Likewise.
36262
36263 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36264
36265 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36266 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36267 arguments.
36268
36269 2012-11-02 Roland McGrath <roland@hack.frob.com>
36270
36271 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36272 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36273 autoconf-time if not.
36274 * configure.in: Remove AC_PREREQ.
36275
36276 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36277
36278 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36279 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36280 of the internal implementation.
36281
36282 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36283
36284 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36285 except include of <misc/sys/syslog.h>.
36286
36287 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36288
36289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36290 function returns with a NULL context exit with zero.
36291
36292 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36293
36294 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36295
36296 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36297
36298 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36299 (run_program_cmd): This.
36300 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36301 (tst_langinfo): New variable. Use it.
36302
36303 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36304
36305 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36306 floating point opcodes.
36307
36308 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36309
36310 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36311 variable.
36312
36313 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36314
36315 * sysdeps/mach/hurd/powerpc: Remove directory.
36316 * sysdeps/mach/powerpc: Likewise.
36317
36318 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36319
36320 * scripts/check-local-headers.sh: Ignore c++ headers.
36321
36322 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36323
36324 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36325 __libc_cleanup_region_start argument.
36326
36327 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36328
36329 [BZ #14784]
36330 [BZ #14785]
36331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36332 x * y using scaling, not as x * y + z.
36333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36335 * math/libm-test.inc (fma_test): Add more tests.
36336 (fma_test_towardzero): Likewise.
36337 (fma_test_downward): Likewise.
36338 (fma_test_upward): Likewise.
36339
36340 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36341
36342 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36343
36344 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36345
36346 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36347 New variable.
36348
36349 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36350
36351 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36352
36353 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36354
36355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36356 Fix sort order.
36357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36358 Likewise.
36359
36360 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36361
36362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36363 Fix the order of the list for glibc 2.17.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36365 Likewise.
36366
36367 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36368
36369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36370
36371 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36372
36373 [BZ #14610]
36374 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36375 for low part of x being zero before using __atanl (y).
36376 * math/libm-test.inc (atan2_test): Add another test.
36377
36378 * manual/install.texi (Configuring and compiling): Document
36379 general use of test-wrapper and test-wrapper-env.
36380 * INSTALL: Regenerated.
36381
36382 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36383 (__fma): Do not extract and scale down low bits on after-rounding
36384 systems when result rounded to normal precision would have normal
36385 exponent.
36386 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36387 (__fmal): Do not extract and scale down low bits on after-rounding
36388 systems when result rounded to normal precision would have normal
36389 exponent.
36390 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36391 (__fmal): Do not extract and scale down low bits on after-rounding
36392 systems when result rounded to normal precision would have normal
36393 exponent.
36394 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36395 macro.
36396 (fma_test): Add more tests.
36397 (fma_test_towardzero): Likewise.
36398 (fma_test_downward): Likewise.
36399 (fma_test_upward): Likewise.
36400
36401 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36402
36403 * sysdeps/i386/tininess.h: Renamed to ...
36404 * sysdeps/x86/tininess.h: This.
36405 * sysdeps/x86_64/tininess.h: Removed.
36406
36407 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36408
36409 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36410 input. Use $(build-program-cmd).
36411 ($(objpfx)tst-array1-static.out): Likewise.
36412 ($(objpfx)tst-array2.out): Likewise.
36413 ($(objpfx)tst-array3.out): Likewise.
36414 ($(objpfx)tst-array4.out): Likewise.
36415 ($(objpfx)tst-array5.out): Likewise.
36416 ($(objpfx)tst-array5-static.out): Likewise.
36417
36418 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36419
36420 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36421 if defined.
36422
36423 * nss/nsswitch.h (nss_interface_function): Provide new
36424 macro for use with NSS functions.
36425 * grp/initgroups.c: Use new macro.
36426 * nss/getXXbyYY.c: Likewise.
36427 * nss/getXXbyYY_r.c: Likewise.
36428 * nss/getXXent.c: Likewise.
36429 * nss/getXXent_r.c: Likewise.
36430 * sysdeps/posix/getaddrinfo.c: Likewise.
36431
36432 2012-10-30 Andreas Jaeger <aj@suse.de>
36433
36434 * po/ru.po: Update Russion translation from translation project.
36435
36436 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36437
36438 [BZ #14152]
36439 [BZ #14783]
36440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36441 result and shift together with sticky bit instead of replicating
36442 round-to-nearest rounding.
36443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36444 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36445 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36446 missing underflow exceptions.
36447 (fma_test_towardzero): Add more tests.
36448 (fma_test_downward): Likewise.
36449 (fma_test_upward): Likewise.
36450
36451 [BZ #14047]
36452 * sysdeps/generic/tininess.h: New file.
36453 * sysdeps/i386/tininess.h: Likewise.
36454 * sysdeps/sh/tininess.h: Likewise.
36455 * sysdeps/x86_64/tininess.h: Likewise.
36456 * stdlib/tst-strtod-underflow.c: Likewise.
36457 * stdlib/tst-tininess.c: Likewise.
36458 * stdlib/strtod_l.c: Include <tininess.h>.
36459 (round_and_return): Do not set errno for exact underflow cases.
36460 Force an underflow exception when setting errno for underflow.
36461 Determine underflow based on rounding to normal precision if
36462 TININESS_AFTER_ROUNDING.
36463 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36464 ERANGE for exact underflow cases.
36465 * stdlib/Makefile (tests): Add tst-tininess and
36466 tst-strtod-underflow.
36467 ($(objpfx)tst-tininess): Use $(link-libm).
36468 ($(objpfx)tst-strtod-underflow): Likewise.
36469
36470 2012-10-30 Andreas Jaeger <aj@suse.de>
36471
36472 [BZ#14767]
36473 * elf/Makefile (tests): Remove conditional for have-initfini-array
36474 since this is now always required and the variable does not exist
36475 anymore.
36476 (tests-static): Likewise.
36477 (modules-names): Likewise.
36478
36479 * po/eo.po: Add Esperanto translation from translation project.
36480
36481 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36482 merged with constructor/destructor.
36483 (init_array): Likewise.
36484 * elf/tst-array2dep.c (fini_array): Likewise.
36485 (init_array): Likewise.
36486
36487 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36488
36489 * manual/message.texi: Delete @cartouche tags.
36490
36491 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36492
36493 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36494 EOPNOTSUPP.
36495 * sysdeps/mach/hurd/fsync.c: Likewise.
36496
36497 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36498 [_POSIX_REALTIME_SIGNALS]: Change condition to
36499 [_POSIX_REALTIME_SIGNALS > 0].
36500
36501 2012-10-27 Andreas Jaeger <aj@suse.de>
36502
36503 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36504 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36506 [__WORDSIZE != 64]: Likewise.
36507
36508 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36509
36510 * iconvdata/tst-table.sh: Remove ${SHELL}.
36511 * iconvdata/tst-tables.sh: Likewise.
36512
36513 2012-10-25 David S. Miller <davem@davemloft.net>
36514
36515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36516 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36517 of strtoull.
36518
36519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36520 ifunc-impl-list.c
36521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36522 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36523 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36524 file.
36525
36526 2012-10-25 Roland McGrath <roland@hack.frob.com>
36527
36528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36529 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36530 __getdirentries.
36531
36532 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36533 Jim Blandy <jimb@codesourcery.com>
36534
36535 * scripts/cross-test-ssh.sh: New file.
36536 * manual/install.texi (Configuring and compiling): Document use of
36537 cross-test-ssh.sh.
36538 * INSTALL: Regenerated.
36539
36540 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36541
36542 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36543 EOPNOTSUPP.
36544
36545 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36546
36547 * Makeconfig (run-program-prefix): Fix comment.
36548
36549 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36550 Jim Blandy <jimb@codesourcery.com>
36551
36552 * Makeconfig (test-wrapper): New variable,
36553 (test-wrapper-env): Likewise.
36554 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36555 (run-built-tests): Define to yes.
36556 (run-program-prefix): Use $(test-wrapper).
36557 (built-program-cmd): Likewise.
36558 * Rules (make-test-out): Use $(test-wrapper-env) and
36559 $(host-built-program-cmd).
36560 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36561 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36562 tst-pathopt.sh.
36563 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36564 $(test-wrapper-env) to tst-rtld-load-self.sh.
36565 ($(objpfx)order2.out): Use $(test-wrapper).
36566 ($(objpfx)tst-initorder.out): Likewise.
36567 ($(objpfx)tst-initorder2.out): Likewise.
36568 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36569 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36570 (test_wrapper_env): New variable. Use it to run ld.so.
36571 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36572 Use it to run ld.so.
36573 (test_wrapper_env): Likewise.
36574 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36575 $(test-wrapper) to run-iconv-test.sh.
36576 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36577 (ICONV): Use $test_wrapper.
36578 * posix/Makefile ($(objpfx)globtest.out): Pass
36579 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36580 globtest.sh, not $(run-program-prefix).
36581 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36582 (test_wrapper): Likewise.
36583 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36584 set together with run_via_rtld_prefix.
36585 (run_program_prefix): Define in terms of test_wrapper and
36586 run_via_rtld_prefix.
36587
36588 2012-10-24 Roland McGrath <roland@hack.frob.com>
36589
36590 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36591 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36592 Targets removed.
36593
36594 [BZ #14743]
36595 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36596 Declare __clock_getres, __clock_gettime, __clock_settime,
36597 __clock_nanosleep, and __clock_getcpuclockid.
36598 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36599 Remove librt_hidden_def (clock_gettime).
36600 * sysdeps/unix/clock_gettime.c: Likewise.
36601 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36602 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36603 * rt/clock_getres.c: Define __clock_getres as an alias.
36604 * sysdeps/posix/clock_getres.c: Likewise.
36605 * rt/clock_settime.c: Define __clock_settime as an alias.
36606 * sysdeps/unix/clock_settime.c: Likewise.
36607 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36608 * sysdeps/unix/clock_nanosleep.c: Likewise.
36609 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36610 * rt/clock-compat.c: New file.
36611 * rt/Makefile (librt-routines): Add clock-compat and move
36612 $(clock-routines) to ...
36613 (routines): ... here, new variable.
36614 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36615 Don't add get_clockfreq here.
36616 * rt/Versions (libc: GLIBC_2.17): New version set.
36617 Add clock_* symbols here.
36618 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36620 (GLIBC_2.17): Add clock_* symbols.
36621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36625 Likewise.
36626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36627 Likewise.
36628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36632 * NEWS: Mention the move.
36633
36634 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36635 Use __open, __read, __close rather than their public counterparts.
36636 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36637 (__get_clockfreq_via_cpuinfo): Likewise.
36638 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36639 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36640
36641 * config.h.in (HAVE_IFUNC): New #undef.
36642 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36643 was successful.
36644 * configure: Regenerated.
36645
36646 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36647
36648 * configure.in: Move READELF check to start of file.
36649 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36650 libc_cv_asm_gnu_indirect_function in the process.
36651 * configure: Regenerated.
36652
36653 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36654
36655 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36656 send the output to /dev/null.
36657 (libc_cv_cc_with_libunwind): Likewise.
36658 (libc_cv_as_noexecstack): Likewise.
36659 * configure: Regenerate.
36660
36661 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36662
36663 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36664
36665 * posix/globtest.sh (TMPDIR): Do not set.
36666 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36667 (testout): Likewise.
36668
36669 2012-10-24 Andreas Jaeger <aj@suse.de>
36670
36671 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36672 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36673 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36674 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36675 posix_fadvise64, posix_fallocate64.
36676
36677 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36678 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36679 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36680 Likewise.
36681 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36682 Likewise.
36683 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36684
36685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36686 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36687 <bits/fcntl-linux.h>.
36688 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36689
36690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36691 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36692 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36693 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36694 [__WORDSIZE != 64]: Likewise.
36695
36696 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36697
36698 * Makeconfig (run-built-tests): New variable.
36699 * Rules [$(cross-compiling) = yes]: Change condition to
36700 [$(run-built-tests) = no].
36701 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36702 to [$(run-built-tests) = yes].
36703 * elf/Makefile [$(cross-compiling) = no]: Likewise
36704 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36705 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36706 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36707 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36708 * io/Makefile [$(cross-compiling) = no]: Likewise.
36709 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36710 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36711 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36712 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36713 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36714 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36715 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36716 * string/Makefile [$(cross-compiling) = no]: Likewise.
36717
36718 * posix/Makefile ($(objpfx)globtest.out): Pass
36719 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36720 $(rtld-installed-name).
36721 * posix/globtest.sh (elf_objpfx): Remove variable.
36722 (rtld_installed_name): Likewise.
36723 (library_path): Likewise.
36724 (run_program_prefix): New variable. Use for running globtest
36725 binary.
36726
36727 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36728 Joseph Myers <joseph@codesourcery.com>
36729
36730 * Makeconfig (host-built-program-cmd): New variable.
36731 * elf/Makefile (tst-stackguard1-ARGS): Use
36732 $(host-built-program-cmd).
36733 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36734 (tst-spawn-ARGS): Likewise.
36735 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36736
36737 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36738 Jim Blandy <jimb@codesourcery.com>
36739
36740 * Makeconfig (run-via-rtld-prefix): New variable.
36741 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36742 (built-program-cmd): Likewise.
36743
36744 2012-10-22 Andreas Jaeger <aj@suse.de>
36745
36746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36747 __O_RSYNC if it exists, otherwise to O_SYNC.
36748
36749 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36750 Joseph Myers <joseph@codesourcery.com>
36751
36752 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36753 /dev/null.
36754 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36755 from /dev/null
36756 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36757 /dev/null.
36758
36759 2012-10-22 Andreas Jaeger <aj@suse.de>
36760
36761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36762 Define always.
36763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36764
36765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36766 bits/fcntl-linux.h.
36767
36768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36769 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36770
36771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36772 to __O_LARGEFILE.
36773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36774 to __O_LARGEFILE.
36775
36776 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36777 Joseph Myers <joseph@codesourcery.com>
36778
36779 * config.make.in (NM): New variable.
36780
36781 2012-10-21 Andreas Jaeger <aj@suse.de>
36782
36783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36784 definitions and declarations that are provided by
36785 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36786
36787 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36788
36789 [BZ #14683]
36790 * elf/Makefile (tests-static): Add tst-leaks1-static.
36791 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36792 ($(objpfx)tst-leaks1-static): New rule.
36793 ($(objpfx)tst-leaks1-static-mem): Likewise.
36794 (tst-leaks1-static-ENV): New macro.
36795 * elf/dl-open.c (dl_open_worker): Check the main application
36796 only if SHARED is defined.
36797 * elf/tst-leaks1-static.c: New file.
36798
36799 2012-10-20 Andreas Jaeger <aj@suse.de>
36800
36801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36802 generic values for Linux.
36803 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36804 and declarations that are provided by <bits/fcntl-linux.h> and
36805 include <bits/fcntl-linux.h>.
36806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36808
36809 2012-10-20 Roland McGrath <roland@hack.frob.com>
36810
36811 * io/fcntl.h: Move include of <bits/types.h> to the top and
36812 include it unconditionally.
36813
36814 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36815
36816 * wcsmbs/Makefile (tests-ifunc): New variable.
36817 (tests): Add $(tests-ifunc).
36818 * wcsmbs/test-wcschr-ifunc.c: New file.
36819 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36820 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36821 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36822 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36823 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36824
36825 * string/Makefile (tests-ifunc): New variable.
36826 (tests): Add $(tests-ifunc).
36827 * string/test-memccpy.c (TEST_NAME): New macro.
36828 * string/test-memchr.c (TEST_NAME): Likewise.
36829 * string/test-memcmp.c (TEST_NAME): Likewise.
36830 * string/test-memcpy.c (TEST_NAME): Likewise.
36831 * string/test-memmem.c (TEST_NAME): Likewise.
36832 * string/test-memmove.c (TEST_NAME): Likewise.
36833 * string/test-memset.c (TEST_NAME): Likewise.
36834 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36835 * string/test-stpcpy.c (TEST_NAME): Likewise.
36836 * string/test-stpncpy.c (TEST_NAME): Likewise.
36837 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36838 * string/test-strcasestr.c (TEST_NAME): Likewise.
36839 * string/test-strcat.c (TEST_NAME): Likewise.
36840 * string/test-strchr.c (TEST_NAME): Likewise.
36841 * string/test-strcmp.c(TEST_NAME): Likewise.
36842 * string/test-strcpy.c (TEST_NAME): Likewise.
36843 * string/test-strcspn.c (TEST_NAME): Likewise.
36844 * string/test-strlen.c (TEST_NAME): Likewise.
36845 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36846 * string/test-strncmp.c (TEST_NAME): Likewise.
36847 * string/test-strncpy.c (TEST_NAME): Likewise.
36848 * string/test-strnlen.c (TEST_NAME): Likewise.
36849 * string/test-strpbrk.c (TEST_NAME): Likewise.
36850 * string/test-strrchr.c (TEST_NAME): Likewise.
36851 * string/test-strspn.c (TEST_NAME): Likewise.
36852 * string/test-strstr.c (TEST_NAME): Likewise.
36853 * string/test-bcopy-ifunc.c: New file.
36854 * string/test-bzero-ifunc.c: Likewise.
36855 * string/test-memccpy-ifunc.c: Likewise.
36856 * string/test-memchr-ifunc.c: Likewise.
36857 * string/test-memcmp-ifunc.c: Likewise.
36858 * string/test-memcpy-ifunc.c: Likewise.
36859 * string/test-memmem-ifunc.c: Likewise.
36860 * string/test-memmove-ifunc.c: Likewise.
36861 * string/test-mempcpy-ifunc.c: Likewise.
36862 * string/test-memset-ifunc.c: Likewise.
36863 * string/test-rawmemchr-ifunc.c: Likewise.
36864 * string/test-stpcpy-ifunc.c: Likewise.
36865 * string/test-stpncpy-ifunc.c: Likewise.
36866 * string/test-strcasecmp-ifunc.c: Likewise.
36867 * string/test-strcasestr-ifunc.c: Likewise.
36868 * string/test-strcat-ifunc.c: Likewise.
36869 * string/test-strchr-ifunc.c: Likewise.
36870 * string/test-strchrnul-ifunc.c: Likewise.
36871 * string/test-strcmp-ifunc.c: Likewise.
36872 * string/test-strcpy-ifunc.c: Likewise.
36873 * string/test-strcspn-ifunc.c: Likewise.
36874 * string/test-strlen-ifunc.c: Likewise.
36875 * string/test-strncasecmp-ifunc.c: Likewise.
36876 * string/test-strncat-ifunc.c: Likewise.
36877 * string/test-strncmp-ifunc.c: Likewise.
36878 * string/test-strncpy-ifunc.c: Likewise.
36879 * string/test-strnlen-ifunc.c: Likewise.
36880 * string/test-strpbrk-ifunc.c: Likewise.
36881 * string/test-strrchr-ifunc.c: Likewise.
36882 * string/test-strspn-ifunc.c: Likewise.
36883 * string/test-strstr-ifunc.c: Likewise.
36884
36885 * debug/Makefile (tests-ifunc): New variable.
36886 (tests): Add $(tests-ifunc).
36887 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36888 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36889 * debug/test-stpcpy_chk-ifunc.c: New file.
36890 * debug/test-strcpy_chk-ifunc.c: Likewise.
36891
36892 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36893
36894 [BZ #13601]
36895 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36896 header is not read in.
36897
36898 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36899
36900 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36901 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36902 directly. Pass built executable to script as
36903 $(built-program-cmd).
36904 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36905 $testprogram without using LD_LIBRARY_PATH and $ldso.
36906
36907 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36908 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36909 $(rtld-installed-name).
36910 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36911 (rtld_installed_name): Likewise.
36912 (library_path): Likewise.
36913 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36914 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36915 $(run-program-prefix) to tst-tables.sh.
36916 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36917 it to run tst-table-from and tst-table-to.
36918 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36919 Pass it to tst-table.sh.
36920 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36921 $(run-program-prefix) to tst-gettext.sh.
36922 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36923 tst-translit.sh.
36924 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36925 tst-gettext2.sh.
36926 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36927 to run tst-gettext.
36928 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36929 to run tst-gettext2.
36930 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36931 to run tst-translit.
36932 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36933 $(run-program-prefix) to tst-mtrace.sh.
36934 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36935 to run tst-mtrace.
36936 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36937 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36938 $(rtld-installed-name).
36939 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36940 (rtld_installed_name): Likewise.
36941 (run_program_prefix): New variable. Use it to run wordexp-test.
36942
36943 * Makeconfig (ARCH): Remove all definitions.
36944 (machine): Likewise.
36945 [ARCH]: Remove conditional code.
36946 [!objdir]: Give error.
36947 [!objdir] (objpfx): Remove.
36948 [!objdir] (common-objpfx): Likewise.
36949 [!objdir] (common-objdir): Likewise.
36950 * configure.in (config_makefile): Remove. Hardcode Makefile in
36951 AC_CONFIG_FILES call.
36952 * configure: Regenerated.
36953
36954 [BZ #13888]
36955 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36956 or TMPDIR.
36957 (testout): Likewise.
36958
36959 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36960 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36961 $(rtld-installed-name).
36962 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36963 (rtld_installed_name): Likwise.
36964 (runit): Remove function.
36965 (run_getconf): New variable, Use it for running getconf binary.
36966
36967 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36968
36969 [BZ #14716]
36970 * string/test-memmem.c (check_result): New function.
36971 (do_one_test): Use it.
36972 (check1): New function.
36973 (test_main): Use it.
36974
36975 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36976
36977 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36978
36979 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36980
36981 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36982 (_G_LSEEK64): Likewise.
36983 (_G_MMAP64): Likewise.
36984 (_G_FSTAT64): Likewise.
36985 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36986 (_G_LSEEK64): Likewise.
36987 (_G_MMAP64): Likewise.
36988 (_G_FSTAT64): Likewise.
36989 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36990 unconditional. Call __mmap64 directly.
36991 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36992 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36993 __lseek64 directly.
36994 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36995 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36996 __mmap64 directly.
36997 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36998 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36999 __lseek64 directly.
37000 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37001 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37002 __lseek64 directly.
37003 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37004 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37005 __lseek64 directly.
37006 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37007 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37008 __fxstat64 directly.
37009 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37010 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37011 unconditional.
37012 (freopen64) [!_G_OPEN64]: Remove conditional code.
37013 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37014 unconditional.
37015 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37016 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37017 unconditional.
37018 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37019 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37020 unconditional.
37021 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37022 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37023 unconditional.
37024 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37025 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37026 unconditional.
37027 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37028 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37029 unconditional.
37030 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37031 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37032 unconditional.
37033 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37034
37035 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37036
37037 [BZ #12140]
37038 * manual/memory.texi (Malloc Tunable Parameters): Add note
37039 about free list pointers overwriting some perturb bytes.
37040 Wording suggested by Roland McGrath.
37041
37042 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37043
37044 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37045 (lgamma_test): Likewise.
37046 (tgamma_test): Likewise.
37047
37048 2012-10-16 Florian Weimer <fweimer@redhat.com>
37049
37050 [BZ #14700]
37051 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37052 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37053
37054 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37055
37056 * NEWS: Mention BZ #14716.
37057 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37058 when removing AVAILABLE1_USES_J macro.
37059
37060 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37061
37062 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37063 (__bswap_64): __uint64_t for unsigned 64-bit int.
37064
37065 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37066
37067 * include/string.h (memmem): Declare libc hidden alias.
37068 * string/memmem.c (memmem): Define libc hidden alias.
37069 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37070 __read, __close instead of open, read, close.
37071
37072 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37073
37074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37075 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37076 global and hidden.
37077 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37078 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37079 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37080 Likewise.
37081 (__rawmemchr_sse2): Likewise.
37082 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37083 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37084 (__strchr_sse2): Likewise.
37085 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37086 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37087 (__strcasecmp_sse2): Likewise.
37088 (__strncasecmp_sse2): Likewise.
37089 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37090 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37091 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37092 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37093 (__strrchr_sse2): Likewise.
37094 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37095 ifunc-impl-list.c.
37096 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37097 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37098 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37099 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37100 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37101 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37102 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37103 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37104 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37105 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37106 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37107 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37108 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37109 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37110 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37111 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37112 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37113 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37114 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37115 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37116 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37117 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37118 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37119 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37120 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37121 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37122 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37123 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37124 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37125 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37126
37127 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37128 global and hidden.
37129 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37130 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37131 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37132 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37133 Likewise.
37134 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37135 Likewise.
37136 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37137 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37138 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37139 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37140 ifunc-impl-list.c.
37141 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37142 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37143 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37144 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37145 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37146 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37147 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37148 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37149 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37150 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37151 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37152 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37153 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37154 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37155 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37156 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37157 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37158 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37159 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37160 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37161 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37162 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37163 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37164 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37165 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37166 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37167 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37168 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37169 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37170 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37171 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37173 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37174 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37175 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37176 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37177 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37178 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37179 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37180 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37181 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37182
37183 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37184 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37185 * include/ifunc-impl-list.h: New file.
37186 * misc/ifunc-impl-list.c: Likewise.
37187 * misc/Makefile (routines): Add ifunc-impl-list.
37188 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37189 * string/test-string.h: Include <ifunc-impl-list.h>.
37190 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37191 TEST_NAME]: New variables.
37192 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37193 are defined.
37194 (test_init): Call __libc_ifunc_impl_list to initialize
37195 func_list if TEST_IFUNC and TEST_NAME are defined.
37196
37197 * string/Makefile (strop-tests): Add bcopy and bzero.
37198 * string/test-bcopy.c: New file.
37199 * string/test-bzero.c: Likewise.
37200 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37201 defined.
37202 * string/test-memset.c: Support bzero test if TEST_BZERO is
37203 defined.
37204 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37205 __libc_memmove.
37206 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37207 __libc_memset.
37208 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37209 of memset.
37210
37211 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37212
37213 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37214 * configure: Regenerated.
37215
37216 * Makeconfig (+link-static-before-libc): Don't include
37217 $(link-static-libc).
37218
37219 * libio/libio.h (_IO_pos_t): Remove.
37220
37221 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37222
37223 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37224 McGrath.
37225
37226 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37227
37228 * crypt/crypt-entry.c: Include fips-private.h.
37229 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37230 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37231 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37232 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37233
37234 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37235
37236 * crypt/crypt-private.h: Include stdbool.h.
37237 (_ufc_setup_salt_r): Return bool.
37238 * crypt/crypt-entry.c: Include errno.h.
37239 (__crypt_r): Return NULL with EINVAL for bad salt.
37240 * crypt/crypt_util.c (bad_for_salt): New.
37241 (_ufc_setup_salt_r): Check that salt is long enough and within
37242 the specified alphabet.
37243 * crypt/badsalttest.c: New file.
37244 * crypt/Makefile (tests): Add it.
37245 ($(objpfx)badsalttest): New.
37246
37247 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37248
37249 * NEWS: Add entry for BZ #14602.
37250
37251 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37252
37253 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37254 type-generic.
37255 * math/libm-test.inc: Update comment listing what functions and
37256 macros are tested.
37257 (isgreater_test): New function.
37258 (isgreaterequal_test): Likewise.
37259 (isless_test): Likewise.
37260 (islessequal_test): Likewise.
37261 (islessgreater_test): Likewise.
37262 (isunordered_test): Likewise.
37263 (main): Call the new functions.
37264
37265 2012-10-09 Roland McGrath <roland@hack.frob.com>
37266
37267 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37268 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37269 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37270 * sysdeps/i386/configure: Regenerated.
37271 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37272 * sysdeps/mach/configure: Regenerated.
37273 * sysdeps/mach/hurd/configure: Regenerated.
37274 * sysdeps/powerpc/configure: Regenerated.
37275 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37276 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37277 * sysdeps/s390/s390-32/configure: Regenerated.
37278 * sysdeps/s390/s390-64/configure: Regenerated.
37279 * sysdeps/sh/configure: Regenerated.
37280 * sysdeps/sparc/configure: Regenerated.
37281 * sysdeps/unix/sysv/linux/configure: Regenerated.
37282 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37283 * sysdeps/x86_64/configure: Regenerated.
37284
37285 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37286 defined. Don't check if MAP is NULL.
37287
37288 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37289
37290 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37291 (_G_stat64): Likewise.
37292 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37293 (_G_stat64): Likewise.
37294 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37295 instead of struct _G_stat64.
37296 * libio/fileops.c (mmap_remap_check): Likewise.
37297 (decide_maybe_mmap): Likewise.
37298 (_IO_new_file_seekoff): Likewise.
37299 (_IO_file_stat): Likewise.
37300 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37301 _G_off64_t.
37302 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37303 instead of struct _G_stat64.
37304 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37305
37306 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37307
37308 [BZ #14602]
37309 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37310 Replace with ...
37311 (CHECK_EOL): New macro.
37312 (two_way_short_needle): Check beginning of haystack for EOL. Use
37313 CHECK_EOL.
37314 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37315 Replace with CHECK_EOL.
37316 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37317 Replace with CHECK_EOL.
37318
37319 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37320
37321 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37322 type-generic.
37323 * math/libm-test.inc: Update comment listing what functions and
37324 macros are tested.
37325 (finite_test): New function.
37326 (isinf_test): Likewise.
37327 (isnan_test): Likewise.
37328 (fpclassify_test): Test subnormal input.
37329 (isfinite_test): Likewise.
37330 (isnormal_test): Likewise.
37331 (main): Call the new functions.
37332
37333 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37334
37335 [BZ #14660]
37336 * Makerules (%.dynsym): Force C locale when running
37337 $(OBJDUMP) --dynamic-syms.
37338
37339 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37340
37341 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37342 <stdint.h>.
37343
37344 2012-10-06 David S. Miller <davem@davemloft.net>
37345
37346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37347 upper 32-bits of the length value in %o2 since we use branch-on-register
37348 tests which consider the entire 64-bit register.
37349
37350 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37351
37352 * string/test-strstr.c (check2): Add a test for page boundary.
37353
37354 2012-10-05 David S. Miller <davem@davemloft.net>
37355
37356 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37357 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37358 file.
37359 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37360 sysdep_routines.
37361 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37362 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37363 and bzero when HWCAP_SPARC_CRYPTO is present.
37364
37365 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37366
37367 [BZ #14602]
37368 * string/test-strstr.c (check2): New function.
37369 (test_main): Call check2.
37370
37371 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37372 and bug-strchr1.
37373 * string/bug-strcasestr1.c (do_test): Moved to ...
37374 * string/test-strcasestr.c (check1): Here. New function.
37375 (do_one_test): Break out result checking code into ...
37376 (check_result): This. New function.
37377 (do_one_test): Call check_result.
37378 (test_main): Call check1.
37379 * string/bug-strchr1.c (do_test): Moved to ...
37380 * string/test-strchr.c (check1): Here. New function.
37381 (do_one_test): Break out result checking code into ...
37382 (check_result): This. New function.
37383 (do_one_test): Call check_result.
37384 (test_main): Call check1.
37385 * string/bug-strstr1.c (main): Moved to ...
37386 * string/test-strstr.c (check1): Here. New function.
37387 (do_one_test): Break out result checking code into ...
37388 (check_result): This. New function.
37389 (do_one_test): Call check_result.
37390 (test_main): Call check1.
37391 * string/bug-strcasestr1.c: Removed.
37392 * string/bug-strchr1.c: Likewise.
37393 * string/bug-strstr1.c: Likewise.
37394
37395 * elf/Makefile (dl-routines): Add hwcaps.
37396 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37397 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37398 (_dl_important_hwcaps): Moved to ...
37399 * elf/dl-hwcaps.c: Here. New file.
37400 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37401
37402 [BZ #14557]
37403 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37404 if IS_IN_rtld isn't defined.
37405
37406 * elf/dl-support.c (_dl_sysinfo_map): New.
37407 Include "get-dynamic-info.h" and "setup-vdso.h".
37408 (_dl_non_dynamic_init): Call setup_vdso.
37409 * elf/dynamic-link.h: Don't include <assert.h>.
37410 (elf_get_dynamic_info): Moved to ...
37411 * elf/get-dynamic-info.h: Here. New file.
37412 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37413 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37414 * elf/setup-vdso.h: Here. New file.
37415 * elf/rtld.c: Include "setup-vdso.h".
37416 (dl_main): Call setup_vdso.
37417
37418 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37419
37420 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37421 creal in comment listing functions tested. List finite, isinf,
37422 isnan, isless, islessequal, isgreater, isgreaterequal,
37423 islessgreater, isunordered, lgamma_r and pow10 as functions and
37424 macros not tested. Mention which functions not tested are aliases
37425 for other functions. Fix typo. Note that signs of NaNs are not
37426 tested.
37427
37428 * scripts/config.guess: Update from config.git.
37429 * scripts/config.sub: Likewise.
37430
37431 2012-10-04 Roland McGrath <roland@hack.frob.com>
37432
37433 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37434 * misc/madvise.c (madvise): Renamed to __madvise.
37435 Make madvise a weak alias.
37436 * include/sys/mman.h: Declare __madvise.
37437 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37438 * sysdeps/unix/syscalls.list
37439 (madvise): Make __madvise the strong name, and madvise a weak alias.
37440 * sysdeps/unix/sysv/linux/syscalls.list
37441 (madvise, mmap): Remove redundant entries.
37442 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37443 * malloc/malloc.c (mtrim): Likewise.
37444 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37445
37446 2012-10-03 Roland McGrath <roland@hack.frob.com>
37447
37448 * sysdeps/mach/hurd/dl-cache.c: File removed.
37449 * config.h.in (USE_LDCONFIG): New #undef.
37450 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37451 * configure: Regenerated.
37452 * elf/Makefile (dl-routines): Add dl-cache only under
37453 [$(use-ldconfig) = yes].
37454 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37455 cache on [USE_LDCONFIG].
37456 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37457 [USE_LDCONFIG].
37458 * elf/rtld.c (dl_main): Likewise.
37459
37460 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37461
37462 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37463 _SC_LEVEL4_CACHE_LINESIZE.
37464
37465 2012-10-03 Roland McGrath <roland@hack.frob.com>
37466
37467 * sysdeps/unix/bsd/confstr.h: File removed.
37468
37469 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37470
37471 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37472 sys/sdt-config.h.
37473
37474 2012-10-02 Roland McGrath <roland@hack.frob.com>
37475
37476 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37477 Make 'mapoff' field ElfW(Off) rather than off_t.
37478
37479 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37480
37481 * nscd/Makefile: Remove nscd-cflags and all its users.
37482 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37483 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37484
37485 [BZ #10631]
37486 * malloc.c (malloc_printerr): Clarify error message.
37487
37488 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37489
37490 [BZ #14648]
37491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37492 Set bit_FMA_Usable if FMA is supported.
37493 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37494 macro.
37495 (bit_FMA4_Usable): Updated.
37496 (index_FMA_Usable): New macro.
37497 (CPUID_FMA): Likewise
37498 (HAS_FMA): Defined with bit_FMA_Usable.
37499
37500 2012-10-01 Roland McGrath <roland@hack.frob.com>
37501
37502 * bits/types.h (__swblk_t): Type removed.
37503 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37504 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37506 (__SWBLK_T_TYPE): Likewise.
37507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37508 (__SWBLK_T_TYPE): Likewise.
37509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37510 (__SWBLK_T_TYPE): Likewise.
37511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37512 (__SWBLK_T_TYPE): Likewise.
37513
37514 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37515 Honza Horak <hhorak@redhat.com>
37516
37517 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37518 (xdr_mapname): Use YPMAXMAP as maxsize.
37519 (xdr_peername): Use YPMAXPEER as maxsize.
37520 (xdr_keydat): Use YPAXRECORD as maxsize.
37521 (xdr_valdat): Use YPMAXRECORD as maxsize.
37522
37523 2012-10-01 Roland McGrath <roland@hack.frob.com>
37524
37525 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37526
37527 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37528 * csu/init-first.c: ... here.
37529 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37530 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37532 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37533 * sysdeps/i386/init-first.c: File removed.
37534 * sysdeps/sh/init-first.c: File removed.
37535
37536 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37537
37538 [BZ #14645]
37539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37540 if x * y might underflow to zero and z is zero.
37541 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37543 * math/libm-test.inc (min_subnorm_value): New variable.
37544 (fma_test): Add more tests.
37545 (fma_test_towardzero): Likewise.
37546 (fma_test_downward): Likewise
37547 (fma_test_upward): Likewise.
37548 (initialize): Set min_subnorm_value.
37549
37550 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37551
37552 [BZ #14638]
37553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37554 0 + 0.
37555 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37556 mode for addition resulting in exact zero.
37557 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37559 exact 0 + 0.
37560 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37562 * math/libm-test.inc (fma_test): Add more tests.
37563 (fma_test_towardzero): New function.
37564 (fma_test_downward): Likewise.
37565 (fma_test_upward): Likewise.
37566 (main): Call the new functions.
37567
37568 2012-09-28 David S. Miller <davem@davemloft.net>
37569
37570 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37571
37572 2012-09-28 Roland McGrath <roland@hack.frob.com>
37573
37574 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37575 instead of SIGALRM.
37576
37577 * sysdeps/gnu/_G_config.h: Moved to ...
37578 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37579 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37580 * sysdeps/generic/_G_config.h: ... here.
37581
37582 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37583
37584 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37585
37586 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37587 Conditionalize target on [libnss_test1.so-version].
37588
37589 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37590
37591 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37592 (elfobjdir): Move out of conditionals.
37593
37594 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37595 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37596 (__nss_lookup_function): Conditionalize label remove_from_tree on
37597 [!DO_STATIC_NSS || SHARED], matching its only use.
37598
37599 2012-09-28 David S. Miller <davem@davemloft.net>
37600
37601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37602 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37603 file.
37604 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37605 sysdep_routines.
37606 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37608 when HWCAP_SPARC_CRYPTO is present.
37609
37610 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37611
37612 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37613
37614 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37615
37616 [BZ #6530]
37617 * stdio-common/vfprintf.c (process_string_arg): Revert
37618 2000-07-22 change.
37619
37620 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37621
37622 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37623 for testcase.
37624 * stdio-common/tst-sprintf.c: Include <locale.h>
37625 (main): Test sprintf's handling of incomplete multibyte
37626 characters.
37627
37628 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * elf/dl-runtime.c (VERSYMIDX): Removed.
37631 * elf/dl-version.c (VERSYMIDX): Likewise.
37632 * elf/do-rel.h (VERSYMIDX): Likewise.
37633 (VALIDX): Likewise.
37634 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37635 * elf/rtld.c (VALIDX): Likewise.
37636 (ADDRIDX): Likewise.
37637 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37638 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37639 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37640 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37641 (VALIDX): Likewise.
37642 (ADDRIDX): Likewise.
37643
37644 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37645
37646 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37647
37648 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37649
37650 [BZ #11438]
37651 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37652 to global scope.
37653 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37654 addresses are in the same scope as 192.0.2/24.
37655 * posix/gai.conf: Document new scope table defaults.
37656
37657 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37658
37659 [BZ #5298]
37660 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37661 for ftell. Compute offsets from write pointers instead.
37662 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37663
37664 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37665
37666 [BZ #14543]
37667 * libio/Makefile (tests): New test case tst-fseek.
37668 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37669 combination works in wide mode.
37670 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37671 state when the external buffer state changes.
37672
37673 2012-09-27 David S. Miller <davem@davemloft.net>
37674
37675 [BZ #14376]
37676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37677 pass reloc->r_addend in as the 'high' argument to
37678 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37679
37680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37681
37682 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37683
37684 * rt/tst-aio2.c: Include <pthread.h>.
37685 * rt/tst-aio3.c: Likewise.
37686
37687 2012-09-27 Steve Ellcey <sellcey@mips.com>
37688
37689 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37690
37691 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37694 contents on [SHARED].
37695
37696 2012-09-26 Marek Polacek <polacek@redhat.com>
37697
37698 [BZ #14530]
37699 [BZ #13741]
37700 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37701 for C++ and GCC <4.3 as well as for non GCC compilers.
37702
37703 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37704
37705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37706
37707 2012-09-25 Roland McGrath <roland@hack.frob.com>
37708
37709 * Makefile.in (all, install): Declare with .PHONY.
37710 Reported by Michael Hope <michael.hope@linaro.org>.
37711
37712 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37713
37714 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37715 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37716 system header.
37717 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37718 Likewise.
37719 (sydep_routines): Add the new and the internal functions.
37720 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37721 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37723 (GLIBC_2.17): Add the new function.
37724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37725 (GLIBC_2.17): Likewise.
37726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37727 (GLIBC_2.17): Likewise.
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37729 (GLIBC_2.17): Likewise.
37730 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37731
37732 2012-09-25 Alan Modra <amodra@gmail.com>
37733
37734 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37735 Add release barrier before setting once_control to say
37736 initialisation is done. Add hints on lwarx. Use macro in
37737 place of isync.
37738 (clear_once_control): Add release barrier.
37739
37740 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37741
37742 [BZ #13629]
37743 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37744 specially.
37745 * math/s_clog10.c (__clog10): Likewise.
37746 * math/s_clog10f.c (__clog10f): Likewise.
37747 * math/s_clog10l.c (__clog10l): Likewise.
37748 * math/s_clogf.c (__clogf): Likewise.
37749 * math/s_clogl.c (__clogl): Likewise.
37750 * math/Makefile (libm-calls): Add x2y2m1.
37751 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37752 (__x2y2m1): Likewise.
37753 (__x2y2m1l): Likewise.
37754 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37755 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37758 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37759 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37760 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37761 * sysdeps/i386/fpu/libm-test-ulps: Update.
37762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37763
37764 [BZ #14621]
37765 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37766 int as type of variable DEPTH.
37767 (glob): Use size_t instead of int as type of variables NEWCOUNT
37768 and OLD_PATHC.
37769
37770 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37771
37772 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37773 Add s_sincosf-sse2.
37774 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37775 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37776 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37777 macros for using routine as __sincosf_ia32.
37778 Use macro for function declaration and weak_alias.
37779 * sysdeps/i386/fpu/libm-test-ulps: Update.
37780
37781 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37783
37784 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37785 subnormal argument.
37786 * math/s_cexpf.c (__cexpf): Likewise.
37787 * math/s_csinf.c (__csinf): Likewise.
37788 * math/s_csinhf.c (__csinhf): Likewise.
37789 * math/s_ctanf.c (__ctanf): Likewise.
37790 * math/s_ctanhf.c (__ctanhf): Likewise.
37791 * math/s_ccosh.c (__ccoshf): Likewise.
37792 * math/s_cexp.c (__cexpl): Likewise.
37793 * math/s_csin.c (__csin): Likewise.
37794 * math/s_csinh.c (__csinh): Likewise.
37795 * math/s_ctan.c (__ctan): Likewise.
37796 * math/s_ctanh.c (ctanh): Likewise.
37797 * math/s_ccoshl.c (__ccoshl): Likewise.
37798 * math/s_cexpl.c (__cexpl): Likewise.
37799 * math/s_csinl.c (__csinl): Likewise.
37800 * math/s_csinhl.c (__csinhl): Likewise.
37801 * math/s_ctanl.c (__ctanl): Likewise.
37802 * math/s_ctanhl.c (__ctanhl): Likewise.
37803
37804 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37805
37806 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37807 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37808 (_IO_off_t): Define to __off_t, not _G_off_t.
37809 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37810 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37811 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37812 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37813 type of __dummy and __dummy2 fields.
37814 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37815 (_G_ssize_t): Likewise.
37816 (_G_off_t): Likewise.
37817 (_G_pid_t): Likewise.
37818 (_G_uid_t): Likewise.
37819 (_G_wchar_t): Likewise.
37820 (_G_wint_t): Likewise.
37821 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37822 (_G_ssize_t): Likewise.
37823 (_G_off_t): Likewise.
37824 (_G_pid_t): Likewise.
37825 (_G_uid_t): Likewise.
37826 (_G_wchar_t): Likewise.
37827 (_G_wint_t): Likewise.
37828 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37829 (_G_ssize_t): Likewise.
37830 (_G_off_t): Likewise.
37831 (_G_pid_t): Likewise.
37832 (_G_uid_t): Likewise.
37833 (_G_wchar_t): Likewise.
37834 (_G_wint_t): Likewise.
37835
37836 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37837
37838 * malloc/arena.c: Include malloc-sysdep.h.
37839 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37840 is sufficient to shrink the heap or an unmap is needed.
37841 * sysdeps/generic/malloc-sysdep.h: New file. Define
37842 new function check_may_shrink_heap.
37843 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37844 new function check_may_shrink_heap.
37845
37846 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37847
37848 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37849 comments.
37850
37851 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37852
37853 * catgets/test-gencat.sh: Add "set -e".
37854 * elf/tst-pathopt.sh: Likewise.
37855 * grp/tst_fgetgrent.sh: Likewise.
37856 * iconvdata/run-iconv-test.sh: Likewise.
37857 * intl/tst-gettext.sh: Likewise.
37858 * intl/tst-gettext2.sh: Likewise.
37859 * intl/tst-gettext4.sh: Likewise.
37860 * intl/tst-gettext6.sh: Likewise.
37861 * intl/tst-translit.sh: Likewise.
37862 * io/ftwtest-sh: Likewise.
37863 * libio/test-freopen.sh: Likewise.
37864 * malloc/tst-mtrace.sh: Likewise.
37865 * posix/globtest.sh: Likewise.
37866 * posix/tst-getconf.sh: Likewise.
37867 * posix/wordexp-tst.sh: Likewise.
37868 * stdio-common/tst-printf.sh: Likewise.
37869 * stdio-common/tst-unbputc.sh: Likewise.
37870 * stdlib/tst-fmtmsg.sh: Likewise.
37871 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37872 * catgets/Makefile: Do not specify -e option when running
37873 testsuite shell scripts.
37874 * elf/Makefile: Likewise.
37875 * grp/Makefile: Likewise.
37876 * iconvdata/Makefile: Likewise.
37877 * intl/Makefile: Likewise.
37878 * io/Makefile: Likewise.
37879 * libio/Makefile: Likewise.
37880 * malloc/Makefile: Likewise.
37881 * posix/Makefile: Likewise.
37882 * stdio-common/Makefile: Likewise.
37883 * stdlib/Makefile: Likewise.
37884 * sysdeps/x86_64/Makefile: Likewise.
37885
37886 * io/ftwtest-sh: Add copyright header.
37887 * posix/globtest.sh: Likewise.
37888 * posix/tst-getconf.sh: Likewise.
37889 * posix/wordexp-tst.sh: Likewise.
37890 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37891
37892 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37893
37894 [BZ #13679]
37895 * Makeconfig (+link): Defined as $(+link-static) if
37896 $(build-shared) isn't yes.
37897 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37898 isn't yes.
37899 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37900
37901 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37902
37903 [BZ #14562]
37904 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37905 new chunk size with MALLOC_ALIGN_MASK.
37906
37907 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37908
37909 [BZ #5044]
37910 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37911 <rounding-mode.h>.
37912 (__printf_fphex): Determine rounding using get_rounding_mode and
37913 round_away.
37914 * stdio-common/tst-printf-round.c (struct hex_test): New
37915 structure.
37916 (hex_tests): New variable.
37917 (test_hex_in_one_mode): New function.
37918 (do_test): Also run tests for hex float output.
37919
37920 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37921
37922 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37923 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37924 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37925 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37926 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37927 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37928 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37929 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37930
37931 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37932
37933 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37934 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37935 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37936 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37937
37938 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37939
37940 [BZ #14579]
37941 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37942 mode only.
37943 * elf/tst-rtld-load-self.sh: New test.
37944 * elf/Makefile: Run it.
37945
37946 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37947
37948 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37949 (tst-writev-ENV): Remove.
37950 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37951
37952 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37953
37954 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37955
37956 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37957
37958 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37959 unconditional.
37960 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37961 Likewise.
37962 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37963 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37964 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37965 Likewise.
37966
37967 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37968
37969 [BZ #14587]
37970 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37971 * config.make.in (have-cpp-asm-debuginfo): Removed.
37972 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37973 * configure: Regenerated.
37974
37975 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37976
37977 [BZ #5044]
37978 * stdio-common/printf_fp.c: Include <stdbool.h> and
37979 <rounding-mode.h>.
37980 (___printf_fp): Determine rounding using get_rounding_mode and
37981 round_away.
37982 * stdio-common/tst-printf-round.c: New file.
37983 * stdio-common/Makefile (tests): Add tst-printf-round.
37984 (link-libm): New variable.
37985 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37986
37987 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37988
37989 [BZ #14576]
37990 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37991 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37992 Likewise.
37993 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37994 Likewise.
37995
37996 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37997
37998 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37999 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38000 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38001 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38002
38003 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38004
38005 [BZ #14518]
38006 * include/rounding-mode.h: New file.
38007 * sysdeps/generic/get-rounding-mode.h: Likewise.
38008 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38009 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38010 (MAX_VALUE): New macro.
38011 (MIN_VALUE): Likewise.
38012 (overflow_value): New function.
38013 (underflow_value): Likewise.
38014 (round_and_return): Use overflow_value and underflow_value to
38015 determine return values in overflow and underflow cases. Use
38016 round_away to determine rounding depending on rounding mode.
38017 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38018 determine return values in overflow and underflow cases.
38019 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38020 (struct test_results): New structure.
38021 (struct test): Use struct test_results to store expected results
38022 for all rounding modes.
38023 (TEST): Include expected results for all rounding modes.
38024 (test_in_one_mode): New function.
38025 (do_test): Use test_in_one_mode to compute and check results.
38026 Check results for all rounding modes.
38027 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38028 $(link-libm).
38029
38030 2012-12-09 Allan McRae <allan@archlinux.org>
38031
38032 * sysdeps/i386/fpu/libm-test-ulps: Update
38033
38034 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38035
38036 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38037 (_G_int32_t): Likewise.
38038 (_G_uint16_t): Likewise.
38039 (_G_uint32_t): Likewise.
38040 (_G_HAVE_BOOL): Likewise.
38041 (_G_HAVE_ATEXIT): Likewise.
38042 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38043 (_G_HAVE_IO_FILE_OPEN): Likewise.
38044 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38045 (_G_int32_t): Likewise.
38046 (_G_uint16_t): Likewise.
38047 (_G_uint32_t): Likewise.
38048 (_G_HAVE_BOOL): Likewise.
38049 (_G_HAVE_ATEXIT): Likewise.
38050 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38051 (_G_HAVE_IO_FILE_OPEN): Likewise.
38052 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38053 (_G_int32_t): Likewise.
38054 (_G_uint16_t): Likewise.
38055 (_G_uint32_t): Likewise.
38056 (_G_HAVE_BOOL): Likewise.
38057 (_G_HAVE_ATEXIT): Likewise.
38058 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38059 (_G_HAVE_IO_FILE_OPEN): Likewise.
38060
38061 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38062
38063 * csu/libc-tls.c: Update copyright years.
38064
38065 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38066
38067 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38068 [!_G_USING_THUNKS]: Remove conditional code.
38069 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38070 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38071
38072 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38073 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38074 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38075 (_G_VTABLE_LABEL_PREFIX): Likewise.
38076 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38077 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38079 (_G_VTABLE_LABEL_PREFIX): Likewise.
38080 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38081 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38082 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38083 (_G_VTABLE_LABEL_PREFIX): Likewise.
38084 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38085
38086 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 * libio/Makefile: Include ../Makeconfig before tests.
38089 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38090 only if $(build-shared) is yes.
38091
38092 * iconv/gconv_db.c: Update copyright years.
38093
38094 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38095
38096 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38097 unwind info if defined PIC. Fix special cases description.
38098 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38099
38100 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38101 DP_HI_MASK entry.
38102 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38103
38104 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38105
38106 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38107
38108 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38109 is NULL.
38110
38111 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38112 (LDLIBS-tst-chk4): This.
38113 (LDFLAGS-tst-chk5): Renamed to ...
38114 (LDLIBS-tst-chk5): This.
38115 (LDFLAGS-tst-chk6): Renamed to ...
38116 (LDLIBS-tst-chk6): This.
38117 (LDFLAGS-tst-lfschk4): Renamed to ...
38118 (LDLIBS-tst-lfschk4): This.
38119 (LDFLAGS-tst-lfschk5): Renamed to ...
38120 (LDLIBS-tst-lfschk5): This.
38121 (LDFLAGS-tst-lfschk6): Renamed to ...
38122 (LDLIBS-tst-lfschk6): This.
38123
38124 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38125 on $(common-objpfx)soversions.mk.
38126
38127 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38128
38129 [BZ #10014]
38130 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38131 example host name.
38132
38133 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38134
38135 * malloc/arena.c (arena_get_retry): New function that gets
38136 another arena for the caller to try its request on.
38137 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38138 current arena cannot fulfill the request.
38139 (__libc_memalign): Likewise.
38140 (__libc_memalign): Likewise.
38141 (__libc_pvalloc): Likewise.
38142 (__libc_calloc): Likewise.
38143
38144 2012-09-05 John Tobey <john.tobey@gmail.com>
38145
38146 [BZ #13542]
38147 * manual/arith.texi (Operations on Complex): Fix description
38148 of carg branch cut.
38149
38150 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38151
38152 [BZ #10014]
38153 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38154 host name.
38155
38156 [BZ #10038]
38157 * manual/memory.texi (Memory): Make order of menu items match
38158 order of sections.
38159
38160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38161
38162 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38163 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38164 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38165
38166 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38167
38168 * csu/libc-tls.c (static_dtv): Renamed to ...
38169 (_dl_static_dtv): This. Make it global.
38170 (_dl_initial_dtv): Removed.
38171 (__libc_setup_tls): Updated.
38172 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38173 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38174 DL_INITIAL_DTV.
38175
38176 2012-09-06 Petr Machata <pmachata@redhat.com>
38177
38178 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38179 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38180 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38181 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38182
38183 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38184
38185 [BZ #14545]
38186 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38187 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38188 freeing dtv[-1].
38189
38190 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38191
38192 [BZ #14544]
38193 * Makeconfig (link-static-before-libc): Replace $(+prector)
38194 with $(+prectorT).
38195 (link-static-after-libc): Replace $(+postctor) with
38196 $(+postctorT).
38197 (link-bounded): Replace $(+prector)/$(+postctor) with
38198 $(+prectorT)/$(+postctorT).
38199 (+prectorT): New macro.
38200 (+postctorT): Likewise.
38201
38202 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38203
38204 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38205 (round_str): Handle values above the maximum for IBM long double
38206 as inexact.
38207 * stdlib/tst-strtod-round.c (tests): Regenerated.
38208
38209 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38210
38211 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38212 assembler flag.
38213 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38214 zarch_nohighgprs around the zarch optimized routines.
38215 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38216 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38217 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38218 for zarch.
38219
38220 2012-09-05 David S. Miller <davem@davemloft.net>
38221
38222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38223
38224 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38225 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38226 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38227 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38228 entries.
38229
38230 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38231
38232 * malloc/arena.c: Fold copyright years.
38233 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38234
38235 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38236
38237 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38238
38239 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38240
38241 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38242
38243 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38244
38245 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38246 change internal state upon failure.
38247
38248 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38249
38250 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38251 * malloc/memusage.c (mmap): Likewise.
38252 (mmap64, mremap): Likewise. Adjust name in comment.
38253
38254 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38255
38256 * libio/fileops.c: Fix typos in comments.
38257 * libio/oldfileops.c: Likewise.
38258 * libio/wfileops.c: Likewise.
38259
38260 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38261
38262 [BZ #1349]
38263 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38264 (tst-malloc-usable-ENV): Set environment for test case.
38265 * malloc/hooks.c (malloc_check_get_size): New function to get
38266 requested size.
38267 * malloc/malloc.c (musable): Use malloc_check_get_size.
38268 * malloc/tst-malloc-usable.c: New test case.
38269
38270 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38271
38272 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38273
38274 2012-09-05 Allan McRae <allan@archlinux.org>
38275
38276 [BZ #13966]
38277 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38278 determine header location.
38279 * configure: Regenerated.
38280
38281 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38282
38283 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38284 float format.
38285 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38286 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38287 format.
38288 (test): Regenerate.
38289
38290 2012-09-04 David S. Miller <davem@davemloft.net>
38291
38292 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38293 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38294 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38295
38296 2012-09-04 Florian Weimer <fweimer@redhat.com>
38297
38298 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38299 failures.
38300
38301 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38302
38303 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38304
38305 [BZ #9914]
38306 * libio/iogetdelim.c: Include <limits.h>.
38307 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38308 + len + 1 would overflow.
38309
38310 2012-09-03 Andreas Jaeger <aj@suse.de>
38311
38312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38313 * sysdeps/i386/fpu/libm-test-ulps: Update.
38314
38315 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38316
38317 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38318 Add s_sinf-sse2, s_conf-sse2.
38319
38320 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38321 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38322 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38323 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38324
38325 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38326 for using routine as __sinf_ia32.
38327 Use macro for function declaration and weak_alias.
38328 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38329 for using routine as __cosf_ia32.
38330 Use macro for function declaration and weak_alias.
38331
38332 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38333 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38334
38335 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38336 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38338
38339 * math/libm-test.inc (cos_test): Add more test cases.
38340 (sin_test): Likewise.
38341 (sincos_test): Likewise.
38342
38343 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38344
38345 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38346 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38347 hidden.
38348 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38349
38350 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38351
38352 [BZ #14538]
38353 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38354 first element of the GOT.
38355 (elf_machine_load_address): Return the difference between
38356 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38357
38358 2012-09-01 Allan McRae <allan@archlinux.org>
38359
38360 [BZ #13412]
38361 * configure.in (AWK): Require gawk version 3.0 or later.
38362 * configure: Regenerated.
38363
38364 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38365
38366 * sysdeps/unix/sysv/linux/kernel-features.h
38367 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38368 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38369 [__NR_clock_getres]: Make code unconditional.
38370 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38371 (clock_getcpuclockid): Remove code left unreachable by removal of
38372 conditionals.
38373 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38374 code unconditional.
38375 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38376 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38377 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38378 Make code unconditional.
38379 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38380 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38381 * sysdeps/unix/sysv/linux/clock_settime.c
38382 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38383 conditional code.
38384 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38385 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38386
38387 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38388
38389 [BZ #14476]
38390 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38391 scripts/test-installation.pl.
38392
38393 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38394 and $ld_so_version if it is set.
38395
38396 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38397
38398 [BZ #14516]
38399 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38400 failure if reading from procfs failed.
38401 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38402
38403 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38404
38405 * sysdeps/unix/sysv/linux/kernel-features.h
38406 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38407 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38408 Remove conditional code.
38409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38410 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38411 Remove conditional code.
38412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38413 * sysdeps/unix/sysv/linux/i386/fxstat.c
38414 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38416 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38417 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38419 * sysdeps/unix/sysv/linux/i386/lxstat.c
38420 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38422 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38423 Remove conditional code.
38424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38425 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38426 Remove conditional code.
38427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38428 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38429 <kernel-features.h>.
38430 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38431 Remove.
38432 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38433 Remove conditional code.
38434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38435 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38436 Remove conditional.
38437
38438 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38439
38440 [BZ #5400]
38441 * NEWS: Add fixed bug number.
38442
38443 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38444
38445 [BZ #14519]
38446 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38447 underflowing exponent in case of negative sign.
38448 * stdlib/tst-strtod-round-data: Add more tests.
38449 * stdlib/tst-strtod-round.c (tests): Regenerated.
38450
38451 [BZ #3479]
38452 * stdlib/strtod_l.c (NDIG): Remove.
38453 (HEXNDIG): Likewise.
38454 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38455 smallest representable value.
38456 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38457 lie within an exact representation of 1/2 ulp of the result.
38458 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38459 unconditionally.
38460 (TENS_P9_IDX): Define unconditionally.
38461 (TENS_P9_SIZE): Likewise.
38462 (TENS_P10_IDX): Likewise.
38463 (TENS_P10_SIZE): Likewise.
38464 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38465 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38466 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38467 entries for 10^2^13 and 10^2^14.
38468 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38469 (TENS_P13_IDX): Define.
38470 (TENS_P13_SIZE): Likewise.
38471 (TENS_P14_IDX): Likewise.
38472 (TENS_P14_SIZE): Likewise.
38473 (_fpioconst_pow10): Change array size to
38474 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38475 unconditional.
38476 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38477 1024]: Add entries for 10^2^13 and 10^2^14.
38478 [LAST_POW10 > _LAST_POW10]: Remove #error.
38479 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38480 (_fpioconst_pow10): Change array size to
38481 FPIOCONST_POW10_ARRAY_SIZE.
38482 * stdlib/gen-fpioconst.c: New file.
38483 * stdlib/gen-tst-strtod-round.c: Likewise.
38484 * stdlib/tst-strtod-round-data: Likewise.
38485 * stdlib/tst-strtod-round.c: Likewise.
38486 * stdlib/Makefile (tests): Add tst-strtod-round.
38487
38488 [BZ #14459]
38489 * stdlib/strtod_l.c: Include <stdint.h>.
38490 (NDEBUG): Do not define.
38491 (round_and_return): Change EXPONENT parameter to type intmax_t.
38492 Rearrange calculations to avoid internal overflow possibilities.
38493 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38494 Rearrange calculations to avoid internal overflow possibilities.
38495 Assert that number fits inside MPNSIZE limbs.
38496 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38497 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38498 calculations and add assertions to avoid internal overflow
38499 possibilities. Add casts to avoid signed/unsigned operations.
38500 * stdlib/tst-strtod-overflow.c: New file.
38501 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38502
38503 2012-08-25 Marek Polacek <polacek@redhat.com>
38504
38505 * time/time.h: Fix some typos in comments.
38506
38507 2012-08-23 Roland McGrath <roland@hack.frob.com>
38508
38509 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38510 * posix/tst-rfc3484-2.c: Likewise.
38511 * posix/tst-rfc3484-3.c: Likewise.
38512
38513 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38514
38515 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38516 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38517
38518 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38519
38520 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38521 #include of fxstatat64.c.
38522
38523 2012-08-22 Roland McGrath <roland@hack.frob.com>
38524
38525 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38526 * shadow/getspent_r.c: Likewise.
38527 * shadow/getspnam.c: Likewise.
38528 * shadow/getspnam_r.c: Likewise.
38529 * gshadow/getsgent.c: Likewise.
38530 * gshadow/getsgent_r.c: Likewise.
38531 * gshadow/getsgnam.c: Likewise.
38532 * gshadow/getsgnam_r.c: Likewise.
38533 * inet/getnetbyad.c: Likewise.
38534 * inet/getnetbyad_r.c: Likewise.
38535 * inet/getnetbynm.c: Likewise.
38536 * inet/getnetbynm_r.c: Likewise.
38537 * inet/getnetent.c: Likewise.
38538 * inet/getnetent_r.c: Likewise.
38539 * inet/getproto.c: Likewise.
38540 * inet/getproto_r.c: Likewise.
38541 * inet/getprtent.c: Likewise.
38542 * inet/getprtent_r.c: Likewise.
38543 * inet/getprtname.c: Likewise.
38544 * inet/getprtname_r.c: Likewise.
38545 * inet/getrpcbyname.c: Likewise.
38546 * inet/getrpcbyname_r.c: Likewise.
38547 * inet/getrpcbynumber.c: Likewise.
38548 * inet/getrpcbynumber_r.c: Likewise.
38549 * inet/getrpcent.c: Likewise.
38550 * inet/getrpcent_r.c: Likewise.
38551 * inet/getaliasent.c: Likewise.
38552 * inet/getaliasent_r.c: Likewise.
38553 * inet/getaliasname.c: Likewise.
38554 * inet/getaliasname_r.c: Likewise.
38555 * nscd/getgrgid_r.c: Likewise.
38556 * nscd/getgrnam_r.c: Likewise.
38557 * nscd/gethstbyad_r.c: Likewise.
38558 * nscd/gethstbynm3_r.c: Likewise.
38559 * nscd/getpwnam_r.c: Likewise.
38560 * nscd/getpwuid_r.c: Likewise.
38561 * nscd/getsrvbynm_r.c: Likewise.
38562 * nscd/getsrvbypt_r.c: Likewise.
38563 * nscd/gai.c: Likewise.
38564
38565 * configure.in (build_nscd): New substituted variable, set
38566 by --disable-build-nscd and defaults to $use_nscd.
38567 * configure: Regenerated.
38568 * config.make.in (build-nscd): New substituted variable.
38569 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38570 Change conditional to require [$(build-nscd) = yes] as well.
38571 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38572
38573 [BZ# 13696]
38574 * configure.in (use_nscd): New substituted variable, set by
38575 --disable-nscd. If enabled, define USE_NSCD.
38576 * configure: Regenerated.
38577 * config.h.in: Add USE_NSCD.
38578 * config.make.in (use-nscd): New substituted variable.
38579 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38580 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38581 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38582 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38583 (CFLAGS-getgrnam_r.c): Likewise.
38584 (CFLAGS-initgroups.c): Likewise.
38585 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38586 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38587 Variables removed.
38588 * inet/getnetgrent_r.c
38589 (nscd_setnetgrent): New function, broken out of ...
38590 (setnetgrent): ... here. Call it.
38591 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38592 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38593 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38594 * nscd/Makefile (routines, aux): Move definitions after include of
38595 Makeconfig. Conditionalize on [$(use-nscd) != no].
38596 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38597 Conditionalize on [USE_NSCD].
38598 (is_nscd, nscd_init_cb): Likewise.
38599 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38600 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38601 * nss/nss_db/db-init.c: Likewise.
38602 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38603 [USE_NSCD].
38604 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38605 (make_request): Use it.
38606 (cache_valid_p): New function.
38607 (__check_pf): Use it.
38608 * NEWS: Add item for --disable-nscd.
38609
38610 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38611
38612 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38613 to support sed >= 4.2.1-20-ga9bf076.
38614 * configure: Regenerated.
38615
38616 2012-08-22 Roland McGrath <roland@hack.frob.com>
38617
38618 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38619 Conditionalize whole body on [IREL].
38620
38621 2012-08-22 Jeff Law <law@redhat.com>
38622
38623 [BZ #14505]
38624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38625 if the family is PF_UNSPEC.
38626
38627 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38628
38629 * Makerules (lib-version): Rename from V.
38630 (install-lib-nosubdir): Change V to lib-version.
38631
38632 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38633
38634 [BZ #14252]
38635 * powerpc32/power6/wcschr.c: New file.
38636 * powerpc32/power6/wcscpy.c: New file.
38637 * powerpc32/power6/wcsrchr.c: New file.
38638 * powerpc64/power6/wcschr.c: New file.
38639 * powerpc64/power6/wcscpy.c: New file.
38640 * powerpc64/power6/wcsrchr.c: New file.
38641
38642 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38643
38644 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38645 (two_way_short_needle): Use it.
38646 * string/strstr.c (AVAILABLE1_USES_J): Define.
38647 * string/strcasestr.c: Likewise.
38648
38649 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38650 array references.
38651 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38652
38653 [BZ #11607]
38654 * NEWS: Add an entry.
38655 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38656 define their defaults.
38657 (two_way_short_needle): Detect end-of-string on-the-fly.
38658 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38659 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38660 * string/bug-strcasestr1.c: New test.
38661 * string/Makefile: Run it.
38662
38663 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38664
38665 [BZ #11607]
38666 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38667 the first character.
38668
38669 2012-08-21 Roland McGrath <roland@hack.frob.com>
38670
38671 * csu/elf-init.c (__libc_csu_irel): Function removed.
38672 * csu/libc-start.c (apply_irel): New function.
38673 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38674
38675 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38676
38677 * sysdeps/unix/sysv/linux/kernel-features.h
38678 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38679 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38680 <kernel-features.h>.
38681 [__NR_fadvise64_64]: Make code unconditional.
38682 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38683 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38684 !__NR_fadvise64_64)]: Likewise.
38685 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38686 !__NR_fadvise64_64))]: Likewise.
38687 [__NR_fadvise64]: Make code unconditional.
38688 [!__NR_fadvise64]: Remove conditional code.
38689 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38690 <kernel-features.h>.
38691 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38692 unconditional.
38693 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38694 conditional code.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38696 not include <kernel-features.h>.
38697 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38698 unconditional.
38699 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38700 conditional code.
38701 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38702 include <kernel-features.h>.
38703 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38704 unconditional.
38705 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38706 conditional code.
38707
38708 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38709
38710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38711 slight instruction rearrangements per scrollpipe analysis.
38712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38713
38714 2012-08-20 Roland McGrath <roland@hack.frob.com>
38715
38716 * manual/syslog.texi (syslog; vsyslog, closelog):
38717 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38718 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38719
38720 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38721 DSOCAPS to match condition on defining it.
38722
38723 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38724
38725 * sysdeps/unix/sysv/linux/kernel-features.h
38726 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38728 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38729 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38731 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38732 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38734 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38735 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38736
38737 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38738 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38739
38740 * sysdeps/unix/sysv/linux/kernel-features.h
38741 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38742 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38743 unconditional.
38744 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38745 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38746 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38747 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38748 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38749 Make code unconditional.
38750 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38751 (__mmap64) [!__NR_mmap2]: Likewise.
38752 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38753 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38754 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38755 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38756 [__NR_mmap2]: Make code unconditional.
38757 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38758 (__mmap64) [!__NR_mmap2]: Likewise.
38759
38760 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38761
38762 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38763
38764 2012-08-18 Andreas Jaeger <aj@suse.de>
38765
38766 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38767
38768 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38769
38770 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38771 * include/unistd.h (__have_sock_cloexec): Likewise.
38772 (__have_pipe2): Likewise.
38773 (__have_dup3): Likewise.
38774
38775 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38776
38777 [BZ #9685]
38778 * include/unistd.h (__have_pipe2): Change define into an extern int.
38779 (__have_dup3): Likewise.
38780 * socket/have_sock_cloexec.c: Include fcntl.h.
38781 (__have_pipe2): New variable.
38782 (__have_dup3): Likewise.
38783
38784 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38785
38786 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38787
38788 2012-08-17 Marek Polacek <polacek@redhat.com>
38789
38790 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38791 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38792
38793 2012-08-17 Roland McGrath <roland@hack.frob.com>
38794
38795 * configure.in: Add AC_SUBST for sysheaders.
38796 * configure: Regenerated.
38797 * config.make.in (sysheaders): New substituted variable.
38798
38799 * sysdeps/unix/mkfifo.c: Moved ...
38800 * sysdeps/posix/mkfifo.c: ... here.
38801 * sysdeps/unix/mkfifoat.c: Moved ...
38802 * sysdeps/posix/mkfifoat.c: ... here.
38803
38804 * sysdeps/unix/utime.c: Moved ...
38805 * sysdeps/posix/utime.c: ... here.
38806
38807 * sysdeps/unix/time.c: Moved ...
38808 * sysdeps/posix/time.c: ... here.
38809 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38810 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38811
38812 * sysdeps/unix/nice.c: Moved ...
38813 * sysdeps/posix/nice.c: ... here.
38814
38815 * sysdeps/unix/alarm.c: Moved ...
38816 * sysdeps/posix/alarm.c: ... here.
38817
38818 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38819
38820 2012-08-17 Jeff Law <law@redhat.com>
38821
38822 * intl/Makefile (codeset_mo): New variable.
38823 ($(codeset_mo)): New target.
38824 (tst-codeset.out): Depend on that. Remove explicit rule.
38825 (tst-gettext3.out, tst-gettext5.out): Likewise.
38826 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38827 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38828 * intl/tst-codeset.sh: Remove.
38829 * intl/tst-gettext3.sh: Likewise.
38830 * intl/tst-gettext5.sh: Likewise.
38831
38832 2012-08-17 Roland McGrath <roland@hack.frob.com>
38833
38834 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38835 * sysdeps/unix/syscalls.list: ... here.
38836
38837 * sysdeps/posix/getaddrinfo.c
38838 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38839 (gaiconf_init, gaiconf_reload): Use them.
38840 [!_STATBUF_ST_NSEC]
38841 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38842 Define using time_t rather than struct timespec.
38843
38844 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38845 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38846 Macros removed.
38847 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38848 [!NO_THREADS].
38849 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38850 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38851 Likewise.
38852
38853 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38854 __libc_cleanup_push argument.
38855
38856 * bits/param.h: New file.
38857 * misc/sys/param.h: New file.
38858 * include/sys/param.h: New file.
38859 * misc/Makefile (headers): Add bits/param.h.
38860 * sysdeps/generic/sys/param.h: File removed.
38861 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38862 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38863 * sysdeps/mach/hurd/bits/param.h: New file.
38864 * sysdeps/mach/hurd/sys/param.h: File removed.
38865
38866 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38867 last change.
38868
38869 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38870 [_IO_MTSAFE_IO].
38871 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38872 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38873 New macros.
38874
38875 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38876 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38877 rather than -D_IO_MTSAFE_IO conditionally.
38878 * stdio-common/Makefile (CPPFLAGS): Likewise.
38879 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38880 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38881 Use $(libio-mtsafe).
38882 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38883 of -D_IO_MTSAFE_IO.
38884 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38885 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38886 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38887 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38888 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38889 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38890 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38891 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38892 (CFLAGS-fread_u_chk.c): Likewise.
38893 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38894 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38895 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38896 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38897 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38898 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38899 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38900 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38901 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38902
38903 * libio/Makefile: Test [$(libc-reentrant) = yes]
38904 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38905
38906 * Makeconfig
38907 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38908 * sysdeps/pthread/configure: File removed.
38909 * sysdeps/pthread/Makeconfig: New file.
38910 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38911 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38912
38913 2012-08-16 Gary Benson <gbenson@redhat.com>
38914
38915 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38916 unmapping the first object in a namespace.
38917
38918 2012-08-16 Roland McGrath <roland@hack.frob.com>
38919
38920 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38921 (__internal_setnetgrent): ... this. Add internal_function to
38922 definition. Add libc_hidden_def.
38923 (setnetgrent): Update caller.
38924 (internal_endnetgrent): Renamed to ...
38925 (__internal_endnetgrent): ... this. Add internal_function to
38926 definition. Add libc_hidden_def.
38927 (endnetgrent): Update caller.
38928 (internal_getnetgrent_r): Renamed to ...
38929 (__internal_getnetgrent_r): ... this. Add internal_function to
38930 definition. Add libc_hidden_def.
38931 (__getnetgrent_r): Update caller.
38932 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38933
38934 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38935
38936 * stdlib/longlong.h: Update from GCC.
38937
38938 2012-08-16 Roland McGrath <roland@hack.frob.com>
38939
38940 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38941 on _QL, which is set by umul_ppmm but never used.
38942 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38943 variables, which are set by GMP macros but never used.
38944 * stdio-common/_itowa.c (_itowa): Likewise.
38945 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38946 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38947
38948 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38949
38950 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38951 struct La_sh_regs is not constant.
38952 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38953 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38954 and struct La_sparc64_regs are not constant.
38955
38956 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38957
38958 * sysdeps/unix/sysv/linux/kernel-features.h
38959 (__ASSUME_POSIX_TIMERS): Remove.
38960 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38961 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38962 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38963 Make code unconditional.
38964 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38965 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38966 Make code unconditional.
38967 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38968 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38969 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38970 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38971 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38972 Make code unconditional.
38973 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38974 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38975 (__libc_missing_posix_timers): Remove.
38976
38977 2012-08-15 Roland McGrath <roland@hack.frob.com>
38978
38979 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38980 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38981
38982 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38983
38984 * elf/dl-sym.c: Include <stdlib.h>.
38985
38986 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38987 constants, which avoids warnings in 32-bit builds.
38988
38989 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38990 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38991
38992 * misc/lseek.c: File moved to ...
38993 * io/lseek.c: ... here.
38994
38995 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38996
38997 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38998 shifting LEN more than 31 bits at once.
38999
39000 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39001
39002 [BZ #14195]
39003 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39004 segmentation fault for a case of two empty input strings.
39005 * string/test-strncasecmp.c (check1): Renamed to...
39006 (bz12205): ...this.
39007 (bz14195): Add new testcase for two empty input strings and N > 0.
39008 (test_main): Call new testcase, adapt for renamed function.
39009
39010 2012-08-15 Andreas Jaeger <aj@suse.de>
39011
39012 [BZ #14090]
39013 * crypt/md5test2.c: New test, based on test supplied by Serge
39014 Belyshev <belyshev@depni.sinp.msu.ru>.
39015 * crypt/Makefile (xtests): Add md5test-giant..
39016 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39017
39018 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39019
39020 [BZ #14090]
39021 * crypt/md5.c (md5_process_block): Don't assume the buffer
39022 length is less than 2**32.
39023 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39024 length is less than 2**64.
39025
39026 2012-08-15 Roland McGrath <roland@hack.frob.com>
39027
39028 * string/str-two-way.h: Include <sys/param.h>.
39029 (MAX): Macro removed.
39030
39031 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39032 Move #define and #undef of memmove to just before and after
39033 including <string.h>.
39034
39035 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39036 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39037 and after including <string.h>. Move declarations of
39038 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39039 to before #include "string/memmove.c".
39040
39041 * include/dirent.h: Declare __getdirentries.
39042
39043 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39044 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39045
39046 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39047
39048 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39049 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39050 * sysdeps/i386/configure: Regenerated.
39051 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39052 STABS_CURRENT_FILE, and STABS_FUN.
39053 (END): Remove call to STABS_FUN_END.
39054 (STABS_CURRENT_FILE1): Delete.
39055 (STABS_CURRENT_FILE): Likewise.
39056 (STABS_FUN): Likewise.
39057 (STABS_FUN_END): Likewise.
39058 (STABS_FUN2): Likewise.
39059 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39060 * sysdeps/x86_64/configure: Regenerated.
39061
39062 2012-08-14 Roland McGrath <roland@hack.frob.com>
39063
39064 * elf/dl-open.c: Include <atomic.h>.
39065 * elf/dl-lookup.c: Likewise.
39066
39067 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39068
39069 * sysdeps/unix/sysv/linux/kernel-features.h
39070 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39071 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39072 unconditionally.
39073 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39074 unconditionally.
39075 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39076 condition on __ASSUME_CLONE_THREAD_FLAGS.
39077
39078 2012-08-14 Andreas Jaeger <aj@suse.de>
39079
39080 * sysdeps/i386/fpu/libm-test-ulps: Update.
39081
39082 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39083
39084 * include/atomic.h (atomic_exchange_and_add): Split into ...
39085 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39086 New atomic macros.
39087
39088 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39089
39090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39091
39092 2012-08-13 Jeff Law <law@redhat.com>
39093
39094 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39095 null byte in the output string.
39096
39097 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39098
39099 * sysdeps/unix/sysv/linux/kernel-features.h
39100 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39101 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39102 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39103 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39104 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39105 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39106 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39107
39108 2012-08-09 Jeff Law <law@redhat.com>
39109
39110 [BZ #13939]
39111 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39112 When avoid_arena is set, don't retry in the that arena. Pick the
39113 next one, whatever it might be.
39114 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39115 (arena_lock): Pass in new parameter to arena_get2.
39116 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39117 arena_get2.
39118 (__libc_malloc): Unify retrying after main arena failure with
39119 __libc_memalign version.
39120 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39121
39122 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39123
39124 [BZ #14166]
39125 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39126 to __redirect_strstr.
39127 (__strstr_sse42): Use typeof __redirect_strstr.
39128 (__strstr_ia32): Likewise.
39129 (__libc_strstr): New prototype.
39130 (strstr): Renamed to ...
39131 (__libc_strstr): This.
39132 (strstr): New strong alias of __libc_strstr.
39133 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39134 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39135 __redirect_time.
39136 Include <time.h>.
39137 (__libc_time): New prototype.
39138 (time_ifunc): Replace time with __libc_time.
39139 (time): New strong alias and hidden definition of __libc_time.
39140 (__GI_time): Remove strong alias.
39141 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39142 Include <stddef.h>.
39143 (memmove): Redefined to __redirect_memmove.
39144 (__memmove_sse2): Use typeof __redirect_memmove.
39145 (__memmove_ssse3): Likewise.
39146 (__memmove_ssse3_back): Likewise.
39147 (__libc_memmove): New prototype.
39148 (memmove): Renamed to ...
39149 (__libc_memmove): This.
39150 (memmove): New strong alias of __libc_memmove.
39151
39152 2012-08-08 Mark Salter <msalter@redhat.com>
39153
39154 * elf/elf.h
39155 (R_MN10300_TLS_GD): Define.
39156 (R_MN10300_TLS_LD): Likewise.
39157 (R_MN10300_TLS_LDO): Likewise.
39158 (R_MN10300_TLS_GOTIE): Likewise.
39159 (R_MN10300_TLS_IE): Likewise.
39160 (R_MN10300_TLS_LE): Likewise.
39161 (R_MN10300_TLS_DTPMOD): Likewise.
39162 (R_MN10300_TLS_DTPOFF): Likewise.
39163 (R_MN10300_TLS_TPOFF): Likewise.
39164 (R_MN10300_SYM_DIFF): Likewise.
39165 (R_MN10300_ALIGN): Likewise.
39166 (R_MN10300_NUM): Update.
39167
39168 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39169
39170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39171 Remove.
39172
39173 2012-08-08 Roland McGrath <roland@hack.frob.com>
39174
39175 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39176
39177 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39178 sysdeps/unix -> sysdeps/posix move.
39179 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39180
39181 2012-08-07 Allan McRae <allan@archlinux.org>
39182
39183 [BZ #14303]
39184 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39185 (SUNOS_CPP): Likewise.
39186 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39187 not found.
39188 (open_input): Call CPP using execvp.
39189
39190 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39191
39192 * sysdeps/unix/sysv/linux/kernel-features.h
39193 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39194 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39195 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39196 (__ASSUME_WAITID_SYSCALL): Likewise.
39197 * sysdeps/unix/sysv/linux/dl-execstack.c
39198 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39199 code unconditional.
39200 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39201 conditional code.
39202 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39203 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39204 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39205 code.
39206 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39207 unconditional.
39208 [__ASSUME_WAITID_SYSCALL]: Likewise.
39209 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39210
39211 2012-08-07 Roland McGrath <roland@hack.frob.com>
39212
39213 * sysdeps/unix/closedir.c: Renamed to ...
39214 * sysdeps/posix/closedir.c: ... here.
39215 * sysdeps/unix/dirfd.c: Renamed to ...
39216 * sysdeps/posix/dirfd.c: ... here.
39217 * sysdeps/unix/dirstream.h: Renamed to ...
39218 * sysdeps/posix/dirstream.h: ... here.
39219 * sysdeps/unix/fdopendir.c: Renamed to ...
39220 * sysdeps/posix/fdopendir.c: ... here.
39221 * sysdeps/unix/opendir.c: Renamed to ...
39222 * sysdeps/posix/opendir.c: ... here.
39223 * sysdeps/unix/readdir.c: Renamed to ...
39224 * sysdeps/posix/readdir.c: ... here.
39225 * sysdeps/unix/readdir_r.c: Renamed to ...
39226 * sysdeps/posix/readdir_r.c: ... here.
39227 * sysdeps/unix/rewinddir.c: Renamed to ...
39228 * sysdeps/posix/rewinddir.c: ... here.
39229 * sysdeps/unix/seekdir.c: Renamed to ...
39230 * sysdeps/posix/seekdir.c: ... here.
39231 * sysdeps/unix/telldir.c: Renamed to ...
39232 * sysdeps/posix/telldir.c: ... here.
39233 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39234 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39235 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39236 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39237
39238 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39239 * bits/fcntl.h: ... here.
39240
39241 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39242 not 0.
39243 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39244 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39245 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39246 (struct flock): Move l_start, l_len to the beginning.
39247 Use __pid_t for l_pid.
39248 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39249 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39250 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39251 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39252 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39253 [__USE_LARGEFILE64] (struct flock64): New type.
39254 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39255
39256 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39257 * bits/dirent.h: ... here.
39258
39259 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39260 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39261
39262 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39263
39264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39265 Change from 2.6.0 to 2.6.16.
39266 * sysdeps/unix/sysv/linux/configure: Regenerated.
39267 * sysdeps/unix/sysv/linux/kernel-features.h
39268 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39269 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39270 version.
39271 (__ASSUME_UTIMES): Likewise.
39272 (__ASSUME_CLONE_STOPPED): Remove.
39273 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39274 architectures, not kernel version.
39275 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39276 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39277 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39278 (__ASSUME_WAITID_SYSCALL): Likewise.
39279 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39280 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39281 * README: State 2.6.16 as minimum Linux kernel version. Do not
39282 refer to older versions.
39283
39284 2012-08-06 Roland McGrath <roland@hack.frob.com>
39285
39286 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39287 Define alphasort64 as an alias.
39288 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39289 Define versionsort64 as an alias.
39290 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39291 Define scandir64 as an alias.
39292 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39293 Define scandirat64 as an alias.
39294 * dirent/alphasort64.c (alphasort64):
39295 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39296 * dirent/versionsort64.c: Likewise.
39297 * dirent/scandir64.c: Likewise.
39298 * dirent/scandirat64.c: Likewise.
39299 * sysdeps/wordsize-64/alphasort.c: File removed.
39300 * sysdeps/wordsize-64/alphasort64.c: File removed.
39301 * sysdeps/wordsize-64/scandir.c: File removed.
39302 * sysdeps/wordsize-64/scandir64.c: File removed.
39303 * sysdeps/wordsize-64/scandirat.c: File removed.
39304 * sysdeps/wordsize-64/scandirat64.c: File removed.
39305 * sysdeps/wordsize-64/versionsort.c: File removed.
39306 * sysdeps/wordsize-64/versionsort64.c: File removed.
39307 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39313 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39315
39316 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39318 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39320 [defined __arch64__ || defined __sparcv9]
39321 (__INO_T_MATCHES_INO64_T): New macro.
39322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39323 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39324 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39325 * sysdeps/unix/sysv/linux/bits/dirent.h
39326 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39327 (_DIRENT_MATCHES_DIRENT64): New macro.
39328
39329 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39330 Define lockf64 as an alias.
39331 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39332 Define fseeko64 as an alias.
39333 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39334 Define ftello64 as an alias.
39335 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39336 Define _IO_fgetpos64 and fgetpos64 as aliases.
39337 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39338 Define _IO_fsetpos64 and fsetpos64 as aliases.
39339 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39340 Conditionalize body on this.
39341 * libio/fseeko64.c: Likewise.
39342 * libio/ftello64.c: Likewise.
39343 * libio/iofgetpos64.c: Likewise.
39344 * libio/iofsetpos64.c: Likewise.
39345 * sysdeps/wordsize-64/lockf.c: File removed.
39346 * sysdeps/wordsize-64/lockf64.c: File removed.
39347 * sysdeps/wordsize-64/fseeko.c: File removed.
39348 * sysdeps/wordsize-64/fseeko64.c: File removed.
39349 * sysdeps/wordsize-64/ftello.c: File removed.
39350 * sysdeps/wordsize-64/ftello64.c: File removed.
39351 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39352 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39353 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39354 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39355 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39356 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39357 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39359 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39361 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39362 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39365
39366 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39368 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39370 [defined __arch64__ || defined __sparcv9]
39371 (__OFF_T_MATCHES_OFF64_T): New macro.
39372 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39373 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39375 (__OFF_T_MATCHES_OFF64_T): New macro.
39376
39377 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39378
39379 * stdlib/secure-getenv.c (__secure_getenv): Replace
39380 GLIBC_2_16 with GLIBC_2_17.
39381
39382 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39383
39384 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39385 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39386
39387 2012-08-03 David S. Miller <davem@davemloft.net>
39388
39389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39390
39391 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39392
39393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39394 Remove.
39395 (__ASSUME_CORRECT_SI_PID): Likewise.
39396 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39397 (__ASSUME_TMPFS_NAME): Likewise.
39398 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39399 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39400 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39401 (HAVE_AUX_SECURE): Make definition unconditional.
39402 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39403 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39404
39405 2012-08-03 Roland McGrath <roland@hack.frob.com>
39406
39407 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39408 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39409 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39411 __eloop_threshold instead of SYMLOOP_MAX.
39412
39413 * sysdeps/generic/eloop-threshold.h: New file.
39414 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39415 of MAXSYMLINKS.
39416 * elf/chroot_canon.c (chroot_canon): Likewise.
39417
39418 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39419
39420 [BZ #13717]
39421 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39422 Change to 2.6.0 everywhere.
39423 * sysdeps/unix/sysv/linux/configure: Regenerated.
39424 * sysdeps/unix/sysv/linux/kernel-features.h
39425 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39426 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39427 kernel versions.
39428 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39429 (__ASSUME_FUTEX_REQUEUE): Remove.
39430 (__ASSUME_STATFS64): Define unconditionally.
39431 (__ASSUME_AT_SECURE): Likewise.
39432 (__ASSUME_CORRECT_SI_PID): Likewise.
39433 (__ASSUME_TGKILL): Define without depending on kernel version for
39434 i386.
39435 (__ASSUME_UTIMES): Likewise.
39436 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39437 kernel version.
39438 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39439 (__ASSUME_TMPFS_NAME): Likewise.
39440 * README: Update reference to Linux kernel versions.
39441
39442 2012-08-02 Marek Polacek <polacek@redhat.com>
39443
39444 [BZ# 14150]
39445 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39446 libc_cv_asm_type_prefix with %.
39447 * configure: Regenerated.
39448 * include/libc-symbols.h: Remove comment about
39449 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39450 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39451 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39452 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39453 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39454 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39455 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39456 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39457 * elf/tst-unique2mod1.c: Likewise.
39458 * elf/tst-unique1mod2.c: Likewise.
39459 * elf/tst-unique1mod1.c: Likewise.
39460 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39461 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39462 Replace ASM_TYPE_DIRECTIVE with .type.
39463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39464 * sysdeps/i386/sysdep.h: Likewise.
39465 * sysdeps/x86_64/sysdep.h: Likewise.
39466 * sysdeps/sh/sysdep.h: Likewise.
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39468 Do not define ASM_TYPE_DIRECTIVE.
39469 * sysdeps/powerpc/sysdep.h: Likewise.
39470 * sysdeps/powerpc/powerpc32/sysdep.h:
39471 Replace ASM_TYPE_DIRECTIVE with .type.
39472 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39474 * sysdeps/i386/fpu/e_powf.S: Likewise.
39475 * sysdeps/i386/fpu/e_expl.S: Likewise.
39476 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39477 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39478 * sysdeps/i386/fpu/e_pow.S: Likewise.
39479 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39480 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39481 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39482 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39483 * sysdeps/i386/fpu/e_log2.S: Likewise.
39484 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39485 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39486 * sysdeps/i386/fpu/e_powl.S: Likewise.
39487 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39488 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39489 * sysdeps/i386/fpu/e_logl.S: Likewise.
39490 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39491 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39492 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39493 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39494 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39495 * sysdeps/i386/fpu/e_log.S: Likewise.
39496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39497 * sysdeps/i386/fpu/e_logf.S: Likewise.
39498 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39499 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39500 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39501 * sysdeps/i386/fpu/e_log10.S: Likewise.
39502 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39504 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39505 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39506 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39508 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39509 * sysdeps/i386/i686/strtok.S: Likewise.
39510 * sysdeps/i386/i386-mcount.S: Likewise.
39511 * sysdeps/i386/strtok.S: Likewise.
39512 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39513 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39515 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39518 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39519 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39521 * sysdeps/x86_64/_mcount.S: Likewise.
39522 * sysdeps/x86_64/strtok.S: Likewise.
39523 * sysdeps/sh/_mcount.S: Likewise.
39524
39525 2012-08-01 Roland McGrath <roland@hack.frob.com>
39526
39527 * libio/iofopen.c: Include <fcntl.h>.
39528 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39529 (_IO_fopen64, fopen64): Define as aliases.
39530 * libio/iofopen64.c: Include <fcntl.h>.
39531 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39532 Conditionalize body on this.
39533 * sysdeps/wordsize-64/iofopen.c: File removed.
39534 * sysdeps/wordsize-64/iofopen64.c: File removed.
39535
39536 2012-08-01 Marek Polacek <polacek@redhat.com>
39537
39538 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39539 Use dlfcn directly instead of a variable.
39540 (binfmt-subdir): Do not define.
39541 (dlfcn): Likewise.
39542
39543 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39544
39545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39546 Remove all definitions.
39547 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39548 <kernel-features.h>.
39549 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39550 (miss_F_GETOWN_EX): Remove all definitions.
39551 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39552 macro definition.
39553 [!__ASSUME_FCNTL64]: Remove conditional code.
39554 [__ASSUME_FCNTL64]: Make code unconditional.
39555 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39556 <kernel-features.h>.
39557 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39558 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39559 (lockf64) [__NR_fcntl64]: Make code unconditional.
39560 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39561
39562 * sysdeps/unix/sysv/linux/kernel-features.h
39563 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39564 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39565 Make code unconditional.
39566 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39567 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39569 [__NR_vfork]: Make code unconditional.
39570 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39571 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39573 [__NR_vfork]: Make code unconditional.
39574 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39575 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39576
39577 2012-08-01 Roland McGrath <roland@hack.frob.com>
39578
39579 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39580 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39581
39582 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39583 Define mkstemp64 as an alias.
39584 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39585 Define mkstemps64 as an alias.
39586 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39587 Define mkostemp64 as an alias.
39588 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39589 Define mkostemps64 as an alias.
39590 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39591 Conditionalize body on this.
39592 * misc/mkostemp64.c: Likewise.
39593 * misc/mkostemps64.c: Likewise.
39594 * misc/mkstemps64.c: Likewise.
39595 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39596 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39597 * sysdeps/wordsize-64/mkostemp.c: File removed.
39598 * sysdeps/wordsize-64/mkstemp.c: File removed.
39599 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39600 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39601 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39602 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39603
39604 [BZ #14138]
39605 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39606 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39607 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39608 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39609
39610 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39611 compat_symbol macros from <shlib-compat.h> rather than the underlying
39612 default_symbol_version and symbol_version macros, so that DEFAULT
39613 lines in shlib-versions are respected.
39614 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39615
39616 2012-08-01 Florian Weimer <fweimer@redhat.com>
39617
39618 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39619 Declare with warn_unused_result.
39620 (setgid, setregid, setegid, setresgid): Likewise.
39621 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39622 Likewise.
39623 * WUR-REPORT: Remove set*id functions.
39624
39625 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39626
39627 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39628
39629 2012-07-31 Roland McGrath <roland@hack.frob.com>
39630
39631 [BZ #10191]
39632 * include/sys/socket.h (__libc_accept, __libc_accept4):
39633 Add attribute_hidden.
39634 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39635
39636 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39637 use of PTR_MANGLE.
39638 * inet/getnetgrent_r.c (setup): Likewise.
39639
39640 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39641
39642 2012-07-31 David S. Miller <davem@davemloft.net>
39643
39644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39645
39646 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39647
39648 [BZ #13629]
39649 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39650 value between 1.0 and 2.0 and smaller part has absolute value less
39651 than 1.0.
39652 * math/s_clog10.c (__clog10): Likewise.
39653 * math/s_clog10f.c (__clog10f): Likewise.
39654 * math/s_clog10l.c (__clog10l): Likewise.
39655 * math/s_clogf.c (__clogf): Likewise.
39656 * math/s_clogl.c (__clogl): Likewise.
39657 * math/libm-test.inc (clog_test): Add more tests.
39658 (clog10_test): Likewise.
39659 * sysdeps/i386/fpu/libm-test-ulps: Update.
39660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39661
39662 2012-07-31 Florian Weimer <fweimer@redhat.com>
39663
39664 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39665 Exit with zero in case no suitable GID is found, and write a
39666 message to standard error.
39667
39668 2012-07-30 Roland McGrath <roland@hack.frob.com>
39669
39670 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39671 rather than to 1.
39672 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39673 (MAXPATHLEN): Removed.
39674 (NOGROUP, NODEV): New macros.
39675 (setbit, clrbit, isset, isclr): New macros.
39676 (howmany, roundup, powerof2): New macros.
39677 (DEV_BSIZE): New macro.
39678
39679 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39680 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39681
39682 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39683 definition on [!__NO_LONG_DOUBLE_MATH].
39684
39685 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39686 PTR_MANGLE and PTR_DEMANGLE.
39687
39688 * socket/accept4.c (accept4): Rename to __libc_accept4.
39689 Define accept4 as a weak alias.
39690
39691 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39692 on [_DIRENT_HAVE_D_TYPE].
39693 * io/ftw.c (ftw_dir): Likewise.
39694
39695 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39696
39697 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39698
39699 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39700 Use the BSD numbers rather than the arbitrary ones we had.
39701 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39702 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39703 (SIGXCPU, SIGXFSZ): New macros.
39704 (_NSIG): Now 32.
39705
39706 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39707 initializer on [_LIBC_REENTRANT].
39708
39709 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39710 definitions inside [_POSIX_MAPPED_FILES].
39711
39712 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39713
39714 * dirent/opendir.c: Include <fcntl.h>.
39715
39716 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39717 (__libc_getspecific): Likewise.
39718 (__libc_key_create): Likewise.
39719
39720 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39721 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39722 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39723 (tmpfile64): Define as alias.
39724 * sysdeps/wordsize-64/tmpfile.c: File removed.
39725 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39726 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39727 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39728
39729 * stdio-common/vfscanf.c: Include <stdbool.h>.
39730 * nss/makedb.c: Likewise.
39731 * stdio-common/_i18n_number.h: Likewise.
39732 * argp/argp-help.c: Likewise.
39733 * posix/wordexp.c: Likewise.
39734 * sysdeps/posix/spawni.c: Likewise.
39735 * nss/nss_files/files-initgroups.c: Likewise.
39736 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39737 * nss/nss_files/files-initgroups.c: Likewise.
39738 * nss/nss_db/db-netgrp.c: Likewise.
39739 * nss/nss_db/db-initgroups.c: Likewise.
39740 * io/fchmodat.c: Include <sys/stat.h>.
39741
39742 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39743 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39744
39745 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39746 [HAVE_MMAP].
39747
39748 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39749 Add multiple inclusion protection.
39750
39751 2012-07-27 David S. Miller <davem@davemloft.net>
39752
39753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39754
39755 2012-07-27 Gary Benson <gbenson@redhat.com>
39756
39757 [BZ #14298]
39758 * elf/rtld.c: Include <stap-probe.h>.
39759 (dl_main): Added static probes "init_start" and "init_complete".
39760 * elf/dl-load.c: Include <stap-probe.h>.
39761 (lose): Take new parameter "nsid".
39762 Added static probe "map_failed".
39763 (_dl_map_object_from_fd): Pass namespace id to lose.
39764 Added static probe "map_start".
39765 (open_verify): Pass namespace id to lose.
39766 * elf/dl-open.c: Include <stap-probe.h>.
39767 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39768 and "reloc_complete".
39769 * elf/dl-close.c: Include <stap-probe.h>.
39770 (_dl_close_worker): Added static probes "unmap_start" and
39771 "unmap_complete".
39772 * elf/rtld-debugger-interface.txt: New file documenting the above.
39773
39774 2012-07-26 Roland McGrath <roland@hack.frob.com>
39775
39776 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39777 rather than a string variable.
39778 * sunrpc/rpc_main.c (h_output): Likewise.
39779 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39780
39781 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39782
39783 * inet/check_native.c: New file.
39784
39785 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39786
39787 [BZ #13629]
39788 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39789 if larger part has absolute value 1.0.
39790 * math/s_clog10.c (__clog10): Likewise.
39791 * math/s_clog10f.c (__clog10f): Likewise.
39792 * math/s_clog10l.c (__clog10l): Likewise.
39793 * math/s_clogf.c (__clogf): Likewise.
39794 * math/s_clogl.c (__clogl): Likewise.
39795 * math/libm-test.inc (clog_test): Add more tests.
39796 (clog10_test): Likewise.
39797 * sysdeps/i386/fpu/libm-test-ulps: Update.
39798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39799
39800 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39801 (pltexit): Likewise.
39802 (La_regs): Likewise.
39803 (La_retval): Likewise.
39804 (int_retval): Likewise.
39805 Update #error for removed macros to refer only to definitions in
39806 tst-audit.h.
39807 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39808 macro.
39809 (pltexit): Likewise.
39810 (La_regs): Likewise.
39811 (La_retval): Likewise.
39812 (int_retval): Likewise.
39813 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39814 macro.
39815 (pltexit): Likewise.
39816 (La_regs): Likewise.
39817 (La_retval): Likewise.
39818 (int_retval): Likewise.
39819 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39820 macro.
39821 (pltexit): Likewise.
39822 (La_regs): Likewise.
39823 (La_retval): Likewise.
39824 (int_retval): Likewise.
39825 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39826 macro.
39827 (pltexit): Likewise.
39828 (La_regs): Likewise.
39829 (La_retval): Likewise.
39830 (int_retval): Likewise.
39831 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39832 macro.
39833 (pltexit): Likewise.
39834 (La_regs): Likewise.
39835 (La_retval): Likewise.
39836 (int_retval): Likewise.
39837 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39838 macro.
39839 (pltexit): Likewise.
39840 (La_regs): Likewise.
39841 (La_retval): Likewise.
39842 (int_retval): Likewise.
39843 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39844 macro definitions in tst-audit.h.
39845 * sysdeps/i386/tst-audit.h: New file.
39846 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39847 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39848 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39849 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39850 * sysdeps/sh/tst-audit.h: Likewise.
39851 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39852 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39853 * sysdeps/x86_64/tst-audit.h: Likewise.
39854
39855 2012-07-26 Andreas Jaeger <aj@suse.de>
39856
39857 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39858 ptrace.
39859
39860 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39861 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39862 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39863 PTRACE_O_MASK.
39864 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39865 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39866 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39867
39868 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39869 value.
39870
39871 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39872 _sigsys.
39873 (si_call_addr, si_syscall, si_arch): Define new macro.
39874 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39875 _sigsys.
39876 (si_call_addr, si_syscall, si_arch): Define new marcro.
39877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39878 _sigsys.
39879 (si_call_addr, si_syscall, si_arch): Define new macro.
39880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39881 _sigsys.
39882 (si_call_addr, si_syscall, si_arch): Define new macro.
39883
39884 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39885
39886 [BZ #13717]
39887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39888 Change to 2.4.21 where previously 2.4.1.
39889 * sysdeps/unix/sysv/linux/configure: Regenerated.
39890 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39891 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39892 Linux kernel version.
39893 (__ASSUME_STD_AUXV): Remove.
39894 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39895 kernel version.
39896 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39897 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39898 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39899 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39900 (__ASSUME_NETLINK_SUPPORT): Likewise.
39901 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39902 (__no_netlink_support): Remove conditional definition.
39903 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39904 Remove.
39905 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39906 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39907 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39908 (if_nameindex_ioctl): Remove.
39909 (if_nameindex_netlink): Do not handle __no_netlink_support.
39910 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39911 code.
39912 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39913 Remove conditional code.
39914 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39915 code.
39916 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39917 unconditional.
39918 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39919 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39920 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39921 Remove.
39922 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39923 [!__ASSUME_STD_AUXV]: Remove conditional code.
39924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39925 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39926 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39928 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39929 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39930 code.
39931 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39933 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39934 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39935 conditional code.
39936 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39938 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39939 code.
39940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39941 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39942 conditional code.
39943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39944 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39945 code unconditional.
39946 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39947 conditional code.
39948 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39949 unconditional.
39950 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39951 conditional code.
39952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39953 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39954 unconditional.
39955 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39956 conditional code.
39957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39958 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39959 code unconditional.
39960 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39961 conditional code.
39962 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39963 unconditional.
39964 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39965 conditional code.
39966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39967 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39968 code unconditional.
39969 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39970 conditional code.
39971 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39972 unconditional.
39973 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39974 conditional code.
39975
39976 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39977
39978 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39979 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39980 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39981 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39982 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39983 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39984 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39985 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39986 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39987 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39988 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39989 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39990 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39991 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39994 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39996 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39998 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39999 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40000 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40001
40002 2012-07-25 Florian Weimer <fweimer@redhat.com>
40003
40004 * Versions.def: Add GLIBC_2.17.
40005 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40006 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40007 Introduce __libc_secure_getenv.
40008 * stdlib/Versions (2.17): Add secure_getenv
40009 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40010 * stdlib/secure-getenv.c: Rename __secure_getenv to
40011 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40012 symbol __secure_getenv for GLIBC_2.0.
40013 * stdlib/tst-secure-getenv.c: New.
40014 * stdlib/Makefile (tests): Add testcase.
40015 * manual/startup.texi (Environment Access): Document
40016 secure_getenv.
40017 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40018 __libc_secure_getenv.
40019 * inet/ruserpass.c (ruserpass): Likewise.
40020 * malloc/mtrace.c (mtrace): Likewise.
40021 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40022 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40023 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40024 * sysdeps/posix/tempname.c: Likewise. Evaluate
40025 HAVE_SECURE_GETENV.
40026 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40027 __secure_getenv to __libc_secure_getenv.
40028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40030 Likewise.
40031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40032 Likewise.
40033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40040
40041 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40042
40043 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40044 (struct La_i86_retval): Likewise.
40045 (struct La_x86_64_regs): Likewise.
40046 (struct La_x86_64_retval): Likewise.
40047 (struct La_x32_regs): Likewise.
40048 (struct La_x32_retval): Likewise.
40049 (struct La_ppc32_regs): Likewise.
40050 (struct La_ppc32_retval): Likewise.
40051 (struct La_ppc64_regs): Likewise.
40052 (struct La_ppc64_retval): Likewise.
40053 (struct La_sh_regs): Likewise.
40054 (struct La_sh_retval): Likewise.
40055 (struct La_s390_32_regs): Likewise.
40056 (struct La_s390_32_retval): Likewise.
40057 (struct La_s390_64_regs): Likewise.
40058 (struct La_s390_64_retval): Likewise.
40059 (struct La_sparc32_regs): Likewise.
40060 (struct La_sparc32_retval): Likewise.
40061 (struct La_sparc64_regs): Likewise.
40062 (struct La_sparc64_retval): Likewise.
40063 (struct audit_ifaces): Remove architecture-specific pltenter and
40064 pltexit members.
40065 * sysdeps/i386/ldsodefs.h: New file.
40066 * sysdeps/powerpc/ldsodefs.h: Likewise.
40067 * sysdeps/s390/ldsodefs.h: Likewise.
40068 * sysdeps/sh/ldsodefs.h: Likewise.
40069 * sysdeps/sparc/ldsodefs.h: Likewise.
40070 * sysdeps/x86_64/ldsodefs.h: Likewise.
40071
40072 2012-07-25 Marek Polacek <polacek@redhat.com>
40073
40074 [BZ #6808]
40075 * math/libm-test.inc (yn_test): Add another test.
40076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40077 to ERANGE when the result is +-Inf.
40078 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40079 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40080 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40081 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40082
40083 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40084
40085 * conform/data/time.h-data (NULL): Use macro-constant. Require
40086 equal to 0.
40087 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40088 clock_t.
40089 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40090
40091 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40092
40093 * configure.in <sysdeps resolving>: Correct printing
40094 Implies_before.
40095 * configure: Regenerate.
40096
40097 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40098
40099 * math/w_ilogb.c: Include <limits.h>.
40100 * math/w_ilogbl.c: Likewise.
40101
40102 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40103
40104 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40105 va_copy. Document allowing for unavailable va_copy only as
40106 pre-C99 compatibility.
40107 * manual/string.texi (Copying and Concatenation): Use va_copy
40108 instead of __va_copy in concat example.
40109
40110 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40111
40112 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40113 (__sendto): Use create_address_port. Initialize APORT and deallocate
40114 it if not null.
40115
40116 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40117 with O_NOLINK passed to __file_name_lookup.
40118
40119 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40120 with O_NOLINK passed to __file_name_lookup.
40121
40122 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40123 negative N or less than NGIDS.
40124
40125 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40126 type to string_t. Set ERANGE as errno and return it if NAME is not big
40127 enough. Use memcpy instead of strncpy.
40128
40129 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40130
40131 * elf/Makefile (check-data): Remove.
40132 (localplt.data): New vpath directive.
40133 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40134 instead of $(check-data).
40135 * scripts/data/localplt-generic.data: Move to ...
40136 * sysdeps/generic/localplt.data: ... here.
40137 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40138 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40139 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40141 ... here.
40142 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40144 ... here.
40145 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40147 ... here.
40148 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40150 ... here.
40151 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40153 ... here.
40154 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40156 ... here.
40157
40158 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40159
40160 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40161 PPC32 and PPC64 files.
40162 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40163 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40164
40165 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40166
40167 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40168 __makecontext_ret to ...
40169 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40170 ... here and call exit if uc_link is NULL. New file.
40171 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40172 __makecontext_ret.S.
40173 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40174 __makecontext_ret to ...
40175 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40176 ... here and call exit if uc_link is NULL. New file.
40177 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40178 __makecontext_ret.S.
40179
40180 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40181
40182 * elf/elf.h (R_390_IRELATIVE): New definition.
40183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40184 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40185 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40187 (elf_machine_lazy_rel): Likewise.
40188 * sysdeps/s390/dl-irel.h: New file.
40189 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40190 * sysdeps/s390/s390-64/memset.S: New asm code.
40191 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40192 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40193 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40194 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40195 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40196 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40198 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40199 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40200 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40201 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40202 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40203 * sysdeps/s390/s390-32/memset.S: New asm code.
40204 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40205
40206 2012-07-17 Marek Polacek <polacek@redhat.com>
40207
40208 [BZ #14349]
40209 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40210 * sysdeps/s390/s390-64/configure.in: Likewise.
40211 * sysdeps/sparc/configure.in: Likewise.
40212 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40213 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40214 * sysdeps/i386/configure.in: Likewise.
40215 * sysdeps/x86_64/configure.in: Likewise.
40216 * sysdeps/sh/configure.in: Likewise.
40217 * sysdeps/s390/s390-32/configure: Regenerated.
40218 * sysdeps/s390/s390-64/configure: Likewise.
40219 * sysdeps/x86_64/configure: Likewise.
40220 * sysdeps/sh/configure: Likewise.
40221 * sysdeps/powerpc/powerpc64/configure: Likewise.
40222 * sysdeps/powerpc/powerpc32/configure: Likewise.
40223 * sysdeps/sparc/configure: Likwise.
40224 * sysdeps/i386/configure: Likewise.
40225
40226 * elf/dl-open.c: Comment fixes.
40227
40228 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40229
40230 * Makefile [CXX] (check-data): Remove.
40231 [CXX] (c++-types.data): New vpath directive.
40232 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40233 vpath. Do not allow for C++ type data being missing.
40234 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40235 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40236 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40237 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40238 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40239 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40240 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40242 ... here.
40243 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40245 ... here.
40246 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40248 ... here.
40249 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40251 ... here.
40252 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40254 ... here.
40255 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40257 ... here.
40258 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40260 ... here.
40261 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40263
40264 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40265 definitions to architecture-specific files.
40266 (TLS_IE): Likewise.
40267 (TLS_LD): Likewise.
40268 (TLS_GD): Likewise.
40269 * sysdeps/i386/tls-macros.h: New file.
40270 * sysdeps/powerpc/tls-macros.h: Likewise.
40271 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40272 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40273 * sysdeps/sh/tls-macros.h: Likewise.
40274 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40275 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40276 * sysdeps/x86_64/tls-macros.h: Likewise.
40277
40278 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40279
40280 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40281 zero value for regular exit case.
40282
40283 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40284 (__start_context): Preserve zero value for regular exit case.
40285
40286 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40287 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40288
40289 * manual/setjmp.texi (setcontext): Clarify normal process
40290 termination when uc_link is the null pointer.
40291 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40292 exit call.
40293
40294 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40295
40296 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40297 preprocessor. Test for each exception mask separately.
40298
40299 2012-07-16 Andreas Jaeger <aj@suse.de>
40300
40301 * po/ru.po: Update from translation team.
40302
40303 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40304
40305 * conform/data/string.h-data (NULL): Use macro-constant. Require
40306 equal to 0.
40307 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40308 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40309 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40310 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40312
40313 2012-07-13 Andreas Jaeger <aj@suse.de>
40314
40315 * po/fr.po: Update from translation team.
40316
40317 2012-07-12 Marek Polacek <polacek@redhat.com>
40318
40319 [BZ #14173]
40320 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40322 loop condition.
40323
40324 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40325
40326 [BZ #13717]
40327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40328 Change to 2.4.1 where previously 2.4.0.
40329 * sysdeps/unix/sysv/linux/configure: Regenerated.
40330 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40331 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40332 version.
40333 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40334 (__ASSUME_AT_CLKTCK): Remove.
40335 (__ASSUME_AT_PAGESIZE): Likewise.
40336 (__ASSUME_AT_XID): Likewise.
40337 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40338 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40339 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40340 unconditionally.
40341 (HAVE_AUX_PAGESIZE): Likewise.
40342 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40343 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40344 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40345
40346 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40347
40348 [BZ #14307]
40349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40350 the temporary buffer used to invoke __gethostbyname2_r,
40351 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40352 host_data / struct gaih_addrtuple.
40353 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40354 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40355 header file nss/nsswitch.h.
40356 * nss/nsswitch.h (global scope): Add definition of implementation
40357 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40358 resolv/nss_dns/dns-host.c).
40359
40360 2012-07-11 Andreas Jaeger <aj@suse.de>
40361
40362 * po/fr.po: Update from translation team.
40363
40364 * po/sv.po: Update from translation team
40365 * po/fr.po: Another update from translation team.
40366
40367 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40368
40369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40370 for subnormals or multiply small sinh result by itself.
40371 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40373
40374 2012-07-11 David S. Miller <davem@davemloft.net>
40375
40376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40377
40378 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40379
40380 [BZ #14347]
40381 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40382 (INTERNAL_MARK): Shift it here.
40383
40384 2012-07-10 Marek Polacek <polacek@redhat.com>
40385
40386 [BZ #14151]
40387 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40388 libc_cv_asm_global_directive with .globl.
40389 * configure: Regenerated.
40390 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40391 with .globl.
40392 * sysdeps/i386/configure: Regenerated.
40393 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40394 with .globl.
40395 * sysdeps/x86_64/configure: Regenerated.
40396 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40397 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40398 * elf/tst-unique2mod2.c: Likewise.
40399 * elf/tst-unique2mod1.c: Likewise.
40400 * elf/tst-unique1mod2.c: Likewise.
40401 * elf/tst-unique1mod1.c: Likewise.
40402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40403 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40406 * sysdeps/mach/sysdep.h: Likewise.
40407 * sysdeps/i386/sysdep.h: Likewise.
40408 * sysdeps/i386/i386-mcount.S: Likewise.
40409 * sysdeps/x86_64/_mcount.S: Likewise.
40410 * sysdeps/x86_64/sysdep.h: Likewise.
40411 * sysdeps/sh/_mcount.S: Likewise.
40412 * sysdeps/sh/sysdep.h: Likewise.
40413 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40414 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40415 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40416 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40417 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40418 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40419 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40420 * locale/localeinfo.h: Likewise.
40421 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40422 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40423
40424 2012-07-09 Roland McGrath <roland@hack.frob.com>
40425
40426 [BZ #14336]
40427 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40428 system".
40429 * manual/message.texi (The Uniforum approach): Likewise.
40430 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40431 (glibc iconv Implementation): Likewise.
40432
40433 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #14337]
40436 * math/s_clog.c (__clog): Avoid scaling a value down where that
40437 could result in underflow.
40438 * math/s_clog10.c (__clog10): Likewise.
40439 * math/s_clog10f.c (__clog10f): Likewise.
40440 * math/s_clog10l.c (__clog10l): Likewise.
40441 * math/s_clogf.c (__clogf): Likewise.
40442 * math/s_clogl.c (__clogl): Likewise.
40443 * math/libm-test.inc (clog_test): Add more tests.
40444 (clog10_test): Likewise.
40445 * sysdeps/i386/fpu/libm-test-ulps: Update.
40446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40447
40448 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40449
40450 [BZ #14283]
40451 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40452 by 7 not 8 to examine high bit of fractional part.
40453
40454 [BZ #14042]
40455 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40456 for call to __mcount_internal.
40457 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40458 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40459 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40460
40461 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40462
40463 [BZ #14154]
40464 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40465 approximation for values within 0x1p-13f of an odd multiple of
40466 pi/4.
40467 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40468 exception. Add more tests.
40469 * sysdeps/i386/fpu/libm-test-ulps: Update.
40470
40471 [BZ #6778]
40472 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40473 inputs and return -1 for them. Do not check for +Inf in case not
40474 reachable for +Inf.
40475 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40476 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40478 and return -1 for them. Do not check for +Inf in case not
40479 reachable for +Inf.
40480 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40481 define.
40482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40483 and return -1 for them. Do not check for +Inf in case not
40484 reachable for +Inf.
40485 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40486 spurious underflow.
40487 * sysdeps/i386/fpu/libm-test-ulps: Update.
40488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40489
40490 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40491
40492 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40493
40494 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40495
40496 [BZ #14157]
40497 [BZ #14331]
40498 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40499 could result in spurious underflow. Scale down values above
40500 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40501 * math/s_csqrtf.c (__csqrtf): Likewise.
40502 * math/s_csqrtl.c (__csqrtl): Likewise.
40503 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40504 spurious underflow.
40505 * sysdeps/i386/fpu/libm-test-ulps: Update.
40506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40507
40508 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40509
40510 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40511 xopen-msg.sed.
40512 * catgets/xopen-msg.awk: New file.
40513 * catgets/xopen-msg.sed: Removed.
40514
40515 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40516 po2text.sed.
40517 * intl/po2test.awk: New file.
40518 * intl/po2test.sed: Removed.
40519
40520 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40521
40522 [BZ #14328]
40523 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40524 or multiply small sinh result by itself.
40525 * math/s_ctanf.c (__ctanf): Likewise.
40526 * math/s_ctanh.c (__ctanh): Likewise.
40527 * math/s_ctanhf.c (__ctanhf): Likewise.
40528 * math/s_ctanhl.c (__ctanhl): Likewise.
40529 * math/s_ctanl.c (__ctanl): Likewise.
40530 * math/libm-test.inc (ctan_test_tonearest): New function.
40531 (ctan_test_towardzero): Likewise.
40532 (ctan_test_downward): Likewise.
40533 (ctan_test_upward): Likewise.
40534 (ctanh_test_tonearest): Likewise.
40535 (ctanh_test_towardzero): Likewise.
40536 (ctanh_test_downward): Likewise.
40537 (ctanh_test_upward): Likewise.
40538 (main): Call these new functions.
40539 * sysdeps/i386/fpu/libm-test-ulps: Update.
40540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40541
40542 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40543
40544 * .gitignore: Delete /ports entry.
40545
40546 2012-07-03 Andreas Jaeger <aj@suse.de>
40547
40548 * po/bg.po: Update from translation team.
40549 * po/cs.po: Likewise.
40550 * po/de.po: Likewise.
40551 * po/hr.po: Likewise.
40552 * po/nl.pl: Likewise.
40553 * po/pl.po: Likewise.
40554 * po/vi.po: Likewise.
40555
40556 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40557
40558 * Makeconfig [!+link] (+link-before-libc): New variable.
40559 [!+link] (+link-after-libc): Likewise.
40560 [!+link] (+link-tests): Likewise.
40561 [!+link] (+link): Define in terms of $(+link-before-libc) and
40562 $(+link-after-libc).
40563 [!+link-static] (+link-static-before-libc): New variable.
40564 [!+link-static] (+link-static-after-libc): Likewise.
40565 [!+link-static] (+link-static-tests): Likewise.
40566 [!+link-static] (+link-static): Define in terms of
40567 $(+link-static-before-libc) and $(+link-static-after-libc).
40568 [build-shared] (link-libc-before-gnulib): New variable.
40569 [build-shared] (link-libc-tests): Likewise.
40570 [build-shared] (link-libc): Define in terms of
40571 $(link-libc-before-gnulib).
40572 [!build-shared] (link-libc-tests): New variable.
40573 (link-libc-static-tests): New variable.
40574 [!gnulib] (gnulib-arch): New variable.
40575 [!gnulib] (gnulib-tests): Likewise.
40576 [!gnulib] (static-gnulib-arch): Likewise.
40577 [!gnulib] (static-gnulib-tests): Likewise.
40578 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40579 Define with "=" instead of ":=".
40580 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40581 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40582 * Rules (binaries-all-notests): New variable.
40583 (binaries-all-tests): Likewise.
40584 (binaries-static-notests): Likewise.
40585 (binaries-static-tests): Likewise.
40586 (binaries-all): Define using $(binaries-all-notests) and
40587 $(binaries-all-tests).
40588 (binaries-static): Define using $(binaries-static-notests) and
40589 $(binaries-static-tests).
40590 (binaries-shared-tests): New variable.
40591 (binaries-shared-notests): Likewise.
40592 (binaries-shared): Remove variable.
40593 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40594 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40595 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40596 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40597 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40598 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40599 * elf/Makefile (sln-modules): New variable.
40600 (extra-objs): Add $(sln-modules:=.o).
40601 (ldconfig-modules): Add static-stubs.
40602 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40603 * elf/static-stubs.c: New file.
40604
40605 [BZ #14283]
40606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40607 by 7 not 8 to examine high bit of fractional part. Use volatile
40608 variables when splitting into final array of floats if
40609 __FLT_EVAL_METHOD__ != 0.
40610 * math/libm-test.inc (cos_test): Add another test.
40611 (sin_test): Likewise.
40612 * sysdeps/i386/fpu/libm-test-ulps: Update.
40613
40614 [BZ #14273]
40615 * math/libm-test.inc (cosh_test): Add more tests.
40616
40617 * version.h (RELEASE): Set to "development".
40618 (VERSION): Set to "2.16.90".
40619
40620 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40621
40622 * NEWS: Update copyright. Remove last-updated date.
40623 Mention math library bug fixes and timezone data changes.
40624 * README: Mention GNU/Hurd, x32, and HPPA support status.
40625
40626 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40627
40628 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40629
40630 2012-06-27 Andreas Jaeger <aj@suse.de>
40631
40632 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40633
40634 2012-06-25 Andreas Jaeger <aj@suse.de>
40635
40636 * sysdeps/s390/fpu/libm-test-ulps: Update.
40637
40638 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40639 Thomas Schwinge <thomas@codesourcery.com>
40640
40641 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40642 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40644 fanotify_mark.
40645
40646 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40647
40648 * sysdeps/mach/start.c: Remove file.
40649 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40650 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40651 * sysdeps/sh/init-first.c: Likewise.
40652
40653 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40654 registers for frame unwinding purposes, add CFI directives.
40655 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40656 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40657 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40658 Likewise.
40659
40660 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40661 __fortify_fail returning.
40662 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40663
40664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40665 sysdeps/sh/____longjmp_chk.S.
40666 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40667 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40668 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40669 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40670
40671 * sysdeps/sh/abort-instr.h: New file.
40672 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40673 process in case exit returns.
40674
40675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40676 initialize the GOT register before use.
40677
40678 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40679 calculation of ARGC > 4.
40680
40681 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40682 meaningful names to some local labels.
40683
40684 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40685 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40686
40687 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40688 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40689 (__arch_compare_and_exchange_val_16_acq): Likewise.
40690 (__arch_compare_and_exchange_val_32_acq): Likewise.
40691 (atomic_exchange_and_add): Fix gUSA sequence.
40692 (atomic_add): Likewise.
40693 (atomic_add_negative): Likewise.
40694 (atomic_add_zero): Likewise.
40695 (atomic_bit_test_set): Likewise.
40696
40697 2012-06-22 Andreas Schwab <schwab@redhat.com>
40698
40699 [BZ #13579]
40700 * include/link.h (struct link_map): Add l_free_initfini.
40701 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40702 l_initfini.
40703 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40704 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40705 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40706 set.
40707
40708 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40709
40710 * configure.in: Use AC_LANG_SOURCE.
40711 * configure: Regenerate.
40712
40713 2012-06-22 Roland McGrath <roland@hack.frob.com>
40714
40715 * configure.in (libc_cv_localstatedir): New substituted variable.
40716 * configure: Regenerated.
40717 * config.make.in (localstatedir): New variable, substituted from
40718 libc_cv_localstatedir.
40719 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40720 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40721 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40722 * sysdeps/gnu/configure: Regenerated.
40723
40724 2012-06-21 Jeff Law <law@redhat.com>
40725
40726 [BZ #14277]
40727 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40728 free. Simplify list management for _LIBC case.
40729
40730 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40731
40732 [BZ #14273]
40733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40734 Clear sign bit of 64-bit integer value before comparing against
40735 overflow value.
40736
40737 * sysdeps/mach/configure: Regenerated.
40738
40739 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40740
40741 [BZ #14278]
40742 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40743
40744 2012-06-21 Jeff Law <law@redhat.com>
40745
40746 [BZ #13882]
40747 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40748 uint16_t for elements in the "seen" array to avoid char overflows.
40749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40750 * elf/dl-open.c (dl_open_worker): Likewise.
40751
40752 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40753
40754 * scripts/list-sources.sh: Scan PORTS for translations.
40755 * po/libc.pot: Regenerated.
40756
40757 2012-06-21 Andreas Jaeger <aj@suse.de>
40758
40759 [BZ #12194]
40760 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40761 warning.
40762 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40763 * bits/byteswap-16.h (__bswap_16): Likewise.
40764 * bits/byteswap.h (__bswap_constant_16): Likewise.
40765
40766 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40767
40768 [BZ #14117]
40769 * sysdeps/i386/fpu_control.h: Removed.
40770 * sysdeps/x86_64/fpu_control.h: Moved to ...
40771 * sysdeps/x86/fpu_control.h: Here.
40772
40773 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40774 (_FPU_SETCW): Likewise.
40775
40776 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40777
40778 [BZ #14117]
40779 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40780 * sysdeps/x86/fpu/bits/mathinline.h: This.
40781 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40782
40783 [BZ #14050]
40784 [BZ #14117]
40785 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40786 functions if __x86_64__ is defined.
40787
40788 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40789
40790 * string/endian.h: Add !__ASSEMBLER__ condition for including
40791 conversion interfaces.
40792
40793 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40794
40795 [BZ #14241]
40796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40797 of ABS(x) in calculating zero to negative powers other than odd
40798 integers.
40799 * math/libm-test.inc (pow_test): Add more tests.
40800
40801 2012-06-15 Andreas Jaeger <aj@suse.de>
40802
40803 * manual/contrib.texi (Contributors): Update entry of Liubov
40804 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40805 Machado Filho.
40806
40807 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40808
40809 * string/string.h: Add __wur to GNU version of strerror_r.
40810
40811 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40812
40813 [BZ #14229]
40814 * string/Makefile (tests): Add tst-strtok_r.
40815 * string/tst-strtok_r.c: New file.
40816 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40817 RAX_LP/RDX_LP on SAVE_PTR.
40818
40819 2012-06-14 Roland McGrath <roland@hack.frob.com>
40820
40821 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40822
40823 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40824
40825 * libm_test.inc (csqrt_test): Allow more spurious underflow
40826 exceptions.
40827 (j0_test): Likewise.
40828 (j1_test): Likewise.
40829 (y0_test): Likewise.
40830 (y1_test): Likewise.
40831
40832 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40833
40834 * po/Makefile (libc.pot): Use UTF-8 charset.
40835
40836 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40837
40838 [BZ #14210]
40839 Suppress sign-conversion warning from FD_SET.
40840 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40841 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40842 not unsigned long int.
40843 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40844
40845 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40846
40847 [BZ #14050]
40848 [BZ #14117]
40849 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40850 __extern_always_inline instead of __extern_inline.
40851 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40852 (__signbit): Likewise.
40853 (__signbitl): Support C++ namespace.
40854 (lrintf): New inline function.
40855 (lrint): Likewise.
40856 (llrintf): Likewise.
40857 (llrint): Likewise.
40858 (fmaxf): Likewise.
40859 (fmax): Likewise.
40860 (fminf): Likewise.
40861 (fmin): Likewise.
40862 (rint): Likewise.
40863 (rintf): Likewise.
40864 (ceil): Likewise.
40865 (ceilf): Likewise.
40866 (floor): Likewise.
40867 (floorf): Likewise.
40868 (nearbyint): Likewise.
40869 (nearbyintf): Likewise.
40870
40871 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40872
40873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40874 non-default versions.
40875
40876 2012-06-11 Roland McGrath <roland@hack.frob.com>
40877
40878 [BZ #14218]
40879 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40880
40881 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40882
40883 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40884 (FE_UPWARD, FE_DOWNWARD): Don't define.
40885 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40887
40888 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40889 reading it.
40890 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40891 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40892
40893 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40894
40895 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40897 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40898 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40899
40900 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40901
40902 [BZ #14117]
40903 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40904 * sysdeps/i386/fpu/Implies: New file.
40905 * sysdeps/x86_64/fpu/Implies: Likewise.
40906 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40907 * sysdeps/x86/fpu/bits/fenv.h: This.
40908
40909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40910 __SSE_MATH__.
40911
40912 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40913
40914 [BZ #14134]
40915 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40916 character 0xffff that matches the last element of the
40917 conversion table.
40918
40919 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40920
40921 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40922 fmodl commit.
40923
40924 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40925
40926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40927 values higher than 25.6283.
40928
40929 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40930
40931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40932 subnormal exponent extraction and add some __builtin_expect.
40933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40934 Fix for subnormal mantissa calculation.
40935
40936 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40937
40938 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40939 cpu2 is -1 and errno is not ENOSYS.
40940
40941 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40942
40943 [BZ #14117]
40944 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40945 * sysdeps/x86/bits/string.h: This.
40946 * sysdeps/x86_64/bits/string.h: Removed.
40947
40948 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40949 if not compiling for x86-64, but compiling for >= i486.
40950
40951 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40952 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40953
40954 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40955 New macro from Linux kernel 3.4.0.
40956 (FP_XSTATE_MAGIC2): Likewise.
40957 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40958 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40959 (struct _fpx_sw_bytes): New struct.
40960 (struct _xsave_hdr): Likewise.
40961 (struct _ymmh_state): Likewise.
40962 (struct _xstate): Likewise.
40963
40964 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40965 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40967 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40968 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40969 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40970
40971 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40973 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40974 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40975 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40976 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40977
40978 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40979
40980 [BZ #13743]
40981 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40982 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40983 (sysdep_headers): Include sys/platform/ppc.h.
40984 * sysdeps/powerpc/test-gettimebase.c: Test for
40985 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40986 * manual/Makefile (appendices): Include platform.texi.
40987 * manual/contrib.texi (Contributors): Update @node pointers.
40988 * manual/maint.texi (Maintenance): Likewise.
40989 (Platform): New node.
40990 * manual/platform.texi: New file. Document the new features.
40991
40992 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40993 Jakub Jelinek <jakub@redhat.com>
40994
40995 [BZ #14188]
40996 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40997 where __builtin_expect is unavailable.
40998
40999 2012-06-03 David S. Miller <davem@davemloft.net>
41000
41001 * stdlib/longlong.h: Updated from GCC.
41002
41003 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41004
41005 [BZ #14042]
41006 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41007 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41008 __mcount_internal.
41009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41010 (GLIBC_2.16): Likewise.
41011
41012 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41013
41014 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41015
41016 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41017
41018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41019 (default-abi): New variable.
41020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41021 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41022 variable.
41023 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41024 Likewise.
41025 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41026 Likewise.
41027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41028 Likewise.
41029
41030 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41031 definition. Document in comment.
41032
41033 2012-06-01 David S. Miller <davem@davemloft.net>
41034
41035 * stdlib/longlong.h: Updated from GCC.
41036
41037 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41038
41039 [BZ #14117]
41040 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41041 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41042 sys/debugreg.h sys/io.h here.
41043 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41044 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41045 sys/io.h.
41046 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41047 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41048 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41049 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41050 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41051 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41052
41053 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41054 Define only if __x86_64__ is defined.
41055
41056 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41057
41058 [BZ #14048]
41059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41060 Use int64_t for variable i.
41061 * math/libm-test.inc (fmod_test): Add more tests.
41062
41063 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41064 z computation is not scheduled after fetestexcept.
41065 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41066 Use math_force_eval instead of asm to ensure calculation scheduled
41067 before exception test.
41068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41069 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41070
41071 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41072
41073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41074 computation is not scheduled after fetestexcept.
41075
41076 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41077
41078 [BZ #14117]
41079 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41080 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41081
41082 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41083
41084 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41085 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41086
41087 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41088
41089 [BZ #14117]
41090 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41091 <bits/wordsize.h>.
41092 (__WCHAR_MIN): Support __WORDSIZE == 64.
41093 (__WCHAR_MAX): Likewise.
41094
41095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41096 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41097
41098 [BZ #14183]
41099 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41100 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41101
41102 [BZ #14117]
41103 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41104 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41105
41106 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41107 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41108
41109 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41110 Defined to 1 if __x86_64__ isn't defined.
41111 (_STAT_VER_LINUX_OLD): New.
41112 (st_atime): Remove duplicate.
41113 (st_mtime): Likewise.
41114 (st_ctime): Likewise.
41115
41116 2012-05-31 David S. Miller <davem@davemloft.net>
41117
41118 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41119 entries.
41120
41121 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41122
41123 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41124 gen-libm-test.pl.
41125
41126 [BZ #14132]
41127 * elf/dl-reloc.c: Include <_itoa.h>.
41128 (_dl_reloc_bad_type): Remove use of INTUSE.
41129 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41130 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41131 * stdio-common/psiginfo.c (psiginfo): Likewise.
41132 * stdio-common/psignal.c (psignal): Likewise.
41133 * string/strsignal.c (strsignal): Likewise.
41134 * include/signal.h (_sys_siglist): Declare hidden proto.
41135 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41136 INTVARDEF with libc_hidden_data_def.
41137 * stdio-common/itoa-udigits.c: Likewise.
41138 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41139 (_itoa_lower_digits_internal): Remove declaration.
41140 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41141 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41142 (_sys_sigabbrev_internal): Remove aliases.
41143 (_sys_siglist): Define hidden alias.
41144
41145 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41146
41147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41148 bits/sysctl.h.
41149
41150 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41151
41152 [BZ #14117]
41153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41154 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41155
41156 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41157 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41158 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41159 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41161 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41162
41163 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41164 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41165 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41166
41167 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41168 with __addr.
41169 (insw): Likewise.
41170 (insl): Likewise.
41171 (outsb): Likewise.
41172 (outsw): Likewise.
41173 (outsl): Likewise.
41174
41175 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41176 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41177 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41178
41179 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41180 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41182 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41183 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41184 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41185
41186 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41187 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41188
41189 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41190 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41191
41192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41195
41196 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41197 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41198 to ...
41199 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41200
41201 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41203 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41204
41205 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41206 for x86-64.
41207 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41208
41209 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41210
41211 * math/math.h (M_El): Use two more decimal places.
41212 (M_LOG2El): Likewise.
41213 (M_LOG10El): Likewise.
41214 (M_LN2l): Likewise.
41215 (M_LN10l): Likewise.
41216 (M_PIl): Likewise.
41217 (M_PI_2l): Likewise.
41218 (M_PI_4l): Likewise.
41219 (M_1_PIl): Likewise.
41220 (M_2_PIl): Likewise.
41221 (M_2_SQRTPIl): Likewise.
41222 (M_SQRT2l): Likewise.
41223 (M_SQRT1_2l): Likewise.
41224
41225 2012-05-31 David S. Miller <davem@davemloft.net>
41226
41227 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41228 values between float registers.
41229 * sysdeps/sparc/sparc64/memset.S: Likewise.
41230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41231
41232 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41233
41234 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41235 -D_FORTIFY_SOURCE=1.
41236 (CPPFLAGS-tst-longjmp_chk.c): Define.
41237 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41238 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41239 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41240 CFLAGS-tst-wchar-h.c.
41241
41242 2012-05-31 Marek Polacek <polacek@redhat.com>
41243
41244 [BZ #14132]
41245 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41246 __endmntent_internal): Remove declaration.
41247 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41248 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41249 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41250
41251 2012-05-30 David S. Miller <davem@davemloft.net>
41252
41253 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41254 (___Q_simulate_exceptions): Use real FP ops rather than writing
41255 into the %fsr.
41256 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41257 Likewise.
41258
41259 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41260
41261 [BZ #14117]
41262 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41263 * sysdeps/x86/bits/xtitypes.h: This.
41264
41265 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41266 * sysdeps/x86/bits/wordsize.h: This.
41267
41268 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41269 * sysdeps/x86/bits/huge_vall.h: This.
41270
41271 * sysdeps/i386/bits/select.h: Removed.
41272 * sysdeps/x86_64/bits/select.h: Renamed to ...
41273 * sysdeps/x86/bits/select.h: This.
41274
41275 * sysdeps/i386/bits/setjmp.h: Removed.
41276 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41277 * sysdeps/x86/bits/setjmp.h: This.
41278
41279 * sysdeps/i386/bits/mathdef.h: Removed.
41280 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41281 * sysdeps/x86/bits/mathdef.h: This.
41282
41283 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41284
41285 [BZ #14132]
41286 * include/sys/socket.h (__connect_internal)
41287 (__libc_sa_len_internal): Remove declaration.
41288 (__connect, __libc_sa_len): Declare hidden_proto.
41289 (SA_LEN): Remove use of INTUSE.
41290 * socket/connect.c: Add libc_hidden_def.
41291 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41292 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41293 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41294 alias.
41295 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41297 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41298 of adding _internal alias.
41299
41300 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41301
41302 [BZ #14117]
41303 * sysdeps/i386/bits/link.h: Removed.
41304 * sysdeps/i386/bits/linkmap.h: Likewise.
41305 * sysdeps/x86_64/bits/link.h: Renamed to ...
41306 * sysdeps/x86/bits/link.h: This.
41307 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41308 * sysdeps/x86/bits/linkmap.h: This.
41309
41310 * sysdeps/i386/bits/endian.h: Removed.
41311 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41312 * sysdeps/x86/bits/endian.h: This.
41313
41314 * sysdeps/i386/bits/byteswap.h: Removed.
41315 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41316 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41317 * sysdeps/x86/bits/byteswap.h: This.
41318 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41319 * sysdeps/x86/bits/byteswap-16.h: This.
41320 * sysdeps/i386/Implies: Add x86.
41321 * sysdeps/x86_64/Implies: Likewise.
41322
41323 2012-05-30 David S. Miller <davem@davemloft.net>
41324
41325 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41326 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41328 (FP_TRAPPING_EXCEPTIONS): Define.
41329 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41330 (FP_TRAPPING_EXCEPTIONS): Define.
41331 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41332 subnormals only when inexact has been signalled or underflow
41333 exceptions are enabled.
41334 (_FP_PACK_CANONICAL): Likewise.
41335
41336 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41337
41338 [BZ #14183]
41339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41340 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41341
41342 2012-05-30 Richard Henderson <rth@twiddle.net>
41343
41344 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41345 with #ifndef NOT_IN_libc.
41346
41347 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41348 marked to avoid plt entry.
41349
41350 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41351
41352 [BZ #14112]
41353 * Makeconfig (default-abi): New macro.
41354 (abi-includes): Likewise.
41355 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41356 $(abi-$(default-abi)-lib-soname) for soname if defined.
41357 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41358 abi-variants.
41359 * Makefile (installed-stubs): Likewise.
41360 * include/stubs-biarch.h: Removed.
41361 * scripts/lib-names.awk: Only handle one library at a time.
41362 * scripts/soversions.awk: Remove WORDSIZE support.
41363 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41364 entries.
41365 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41366 Removed.
41367 (syscall-list-default-condition): Likewise.
41368 (syscall-list-default-condition): Likewise.
41369 (syscall-list-includes): Likewise.
41370 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41371 syscall-list-* with abi-*. Handle undefined abi-variants.
41372 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41373 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41374 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41375 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41376 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41377 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41378 Removed.
41379 (syscall-list-32-options): Likewise.
41380 (syscall-list-32-condition): Likewise.
41381 (syscall-list-64-options): Likewise.
41382 (syscall-list-64-condition): Likewise.
41383 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41384 macro.
41385 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41386 Renamed to ...
41387 (abi-*): This.
41388 (abi-64-ld-soname): New macro.
41389 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41390 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41391 Renamed to ...
41392 (abi-*): This.
41393 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41394 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41395
41396 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41397
41398 * sysdeps/unix/sysv/linux/kernel-features.h
41399 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41400 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41401 include <kernel-features.h>.
41402 [!__NR_ftruncate64]: Remove conditional code.
41403 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41404 [__NR_ftruncate64]: Make code unconditional.
41405 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41406 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41407 include <kernel-features.h>.
41408 [!__NR_ftruncate64]: Remove conditional code.
41409 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41410 [__NR_ftruncate64]: Make code unconditional.
41411 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41413 include <kernel-features.h>.
41414 [!__NR_ftruncate64]: Remove conditional code.
41415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41416 [__NR_ftruncate64]: Make code unconditional.
41417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41419 include <kernel-features.h>.
41420 [!__NR_ftruncate64]: Remove conditional code.
41421 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41422 [__NR_ftruncate64]: Make code unconditional.
41423 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41424
41425 * configure.in (libc_cv_fpie): Weaken to a compile test using
41426 LIBC_TRY_CC_OPTION.
41427 * configure: Regenerated.
41428
41429 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41430
41431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41435 Refreshed.
41436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41442 Refreshed.
41443
41444 2012-05-27 David S. Miller <davem@davemloft.net>
41445
41446 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41447 (___Q_zero): New.
41448 (__Q_simulate_exceptions): Return void. Change to simulate
41449 exceptions by writing into the %fsr.
41450 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41451 (__Qp_handle_exceptions): Likewise.
41452 (numbers): Delete.
41453 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41454 __Qp_handle_exceptions.
41455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41456 __Qp_handle_exceptions.
41457 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41458 as unused and give dummy FP_RND_NEAREST initializer.
41459 (FP_INHIBIT_RESULTS): Define.
41460 (___Q_simulate_exceptions): Update declaration.
41461 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41462 formatting.
41463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41464 as unused and give dummy FP_RND_NEAREST initializer.
41465 (__Qp_handle_exceptions): Update declaration.
41466 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41467 formatting.
41468
41469 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41470
41471 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41472 the temporary FPU control word.
41473 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41474 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41475 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41476 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41477 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41479 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41481 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41482 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41484
41485 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41486
41487 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41488 fields.
41489
41490 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41491
41492 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41493 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41494 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41495 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41496 Likewise.
41497 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41498 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41499 Likewise.
41500
41501 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41502
41503 * po/h.po: Update from translation team.
41504
41505 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41506
41507 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41508
41509 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41510 handling of denormals.
41511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41512 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41513 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41514 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41518 Likewise.
41519
41520 2012-05-26 Marek Polacek <polacek@redhat.com>
41521
41522 [BZ #14152]
41523 * math/libm-test.inc (fma_test): Don't always expect underflow
41524 exception.
41525
41526 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41527
41528 [BZ #12416]
41529 * elf/tst-execstack.c: Include stackinfo.h.
41530 (do_test): Adjust test case to ensure that pthread_getattr_np
41531 behaviour remains the same after marking stack executable.
41532
41533 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41534
41535 * sysdeps/unix/sysv/linux/kernel-features.h
41536 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41537 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41538 kernel-features.h.
41539 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41540 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41541 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41542 kernel-features.h.
41543 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41544 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41545
41546 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41547
41548 * configure.in: Define the default includes to being none.
41549 * configure: Regenerated.
41550
41551 2012-05-25 Roland McGrath <roland@hack.frob.com>
41552
41553 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41554 * sysdeps/x86_64/setjmp.S: Likewise.
41555 * sysdeps/i386/bsd-setjmp.S: Likewise.
41556 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41557 * sysdeps/i386/setjmp.S: Likewise.
41558 * sysdeps/i386/__longjmp.S: Likewise.
41559 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41560 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41561
41562 * include/stap-probe.h: New file.
41563 * configure.in: Handle --enable-systemtap.
41564 * configure: Regenerated.
41565 * config.h.in (USE_STAP_PROBE): New #undef.
41566 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41567 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41568 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41569
41570 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41571
41572 [BZ #13717]
41573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41574 to 2.4.0 where earlier.
41575 * sysdeps/unix/sysv/linux/configure: Regenerated.
41576 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41577 <kernel-features.h>.
41578 [__ASSUME_32BITUIDS]: Make code unconditional.
41579 [!__ASSUME_32BITUIDS]: Remove conditional code.
41580 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41581 <kernel-features.h>.
41582 [__ASSUME_32BITUIDS]: Make code unconditional.
41583 [!__ASSUME_32BITUIDS]: Remove conditional code.
41584 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41585 [__ASSUME_32BITUIDS]: Make code unconditional.
41586 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41587 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41588 <kernel-features.h>.
41589 [__ASSUME_32BITUIDS]: Make code unconditional.
41590 [!__ASSUME_32BITUIDS]: Remove conditional code.
41591 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41592 <kernel-features.h>.
41593 [__ASSUME_32BITUIDS]: Make code unconditional.
41594 [!__ASSUME_32BITUIDS]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41596 <kernel-features.h>.
41597 [__ASSUME_32BITUIDS]: Make code unconditional.
41598 [!__ASSUME_32BITUIDS]: Remove conditional code.
41599 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41600 <kernel-features.h>.
41601 [__ASSUME_32BITUIDS]: Make code unconditional.
41602 [!__ASSUME_32BITUIDS]: Remove conditional code.
41603 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41604 <kernel-features.h>.
41605 [__ASSUME_32BITUIDS]: Make code unconditional.
41606 [!__ASSUME_32BITUIDS]: Remove conditional code.
41607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41608 <kernel-features.h>.
41609 [__ASSUME_32BITUIDS]: Make code unconditional.
41610 [!__ASSUME_32BITUIDS]: Remove conditional code.
41611 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41612 <kernel-features.h>.
41613 [__ASSUME_32BITUIDS]: Make code unconditional.
41614 [!__ASSUME_32BITUIDS]: Remove conditional code.
41615 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41616 <kernel-features.h>.
41617 [__ASSUME_32BITUIDS]: Make code unconditional.
41618 [!__ASSUME_32BITUIDS]: Remove conditional code.
41619 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41620 <kernel-features.h>.
41621 [__ASSUME_32BITUIDS]: Make code unconditional.
41622 [!__ASSUME_32BITUIDS]: Remove conditional code.
41623 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41624 <kernel-features.h>.
41625 [__ASSUME_32BITUIDS]: Make code unconditional.
41626 [!__ASSUME_32BITUIDS]: Remove conditional code.
41627 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41628 <kernel-features.h>.
41629 [__NR_setresgid] (__setresgid): Do not declare.
41630 [__ASSUME_32BITUIDS]: Make code unconditional.
41631 [!__ASSUME_32BITUIDS]: Remove conditional code.
41632 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41633 <kernel-features.h>.
41634 [__NR_setresuid] (__setresuid): Do not declare.
41635 [__ASSUME_32BITUIDS]: Make code unconditional.
41636 [!__ASSUME_32BITUIDS]: Remove conditional code.
41637 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41638 <kernel-features.h>.
41639 [__ASSUME_32BITUIDS]: Make code unconditional.
41640 [!__ASSUME_32BITUIDS]: Remove conditional code.
41641 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41642 <kernel-features.h>.
41643 [__ASSUME_32BITUIDS]: Make code unconditional.
41644 [!__ASSUME_32BITUIDS]: Remove conditional code.
41645 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41646 <kernel-features.h>.
41647 [__ASSUME_32BITUIDS]: Make code unconditional.
41648 [!__ASSUME_32BITUIDS]: Remove conditional code.
41649 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41650 <kernel-features.h>.
41651 [__ASSUME_32BITUIDS]: Make code unconditional.
41652 [!__ASSUME_32BITUIDS]: Remove conditional code.
41653 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41654 <kernel-features.h>.
41655 [__ASSUME_32BITUIDS]: Make code unconditional.
41656 [!__ASSUME_32BITUIDS]: Remove conditional code.
41657 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41658 <kernel-features.h>.
41659 [__ASSUME_32BITUIDS]: Make code unconditional.
41660 [!__ASSUME_32BITUIDS]: Remove conditional code.
41661 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41662 <kernel-features.h>.
41663 [__ASSUME_32BITUIDS]: Make code unconditional.
41664 [!__ASSUME_32BITUIDS]: Remove conditional code.
41665 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41666 <kernel-features.h>.
41667 [__ASSUME_32BITUIDS]: Make code unconditional.
41668 [!__ASSUME_32BITUIDS]: Remove conditional code.
41669 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41670 <kernel-features.h>.
41671 [__ASSUME_32BITUIDS]: Make code unconditional.
41672 [!__ASSUME_32BITUIDS]: Remove conditional code.
41673 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41674 <kernel-features.h>.
41675 [__ASSUME_32BITUIDS]: Make code unconditional.
41676 [!__ASSUME_32BITUIDS]: Remove conditional code.
41677 * sysdeps/unix/sysv/linux/kernel-features.h
41678 (__ASSUME_SETRESUID_SYSCALL): Remove.
41679 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41680 (__ASSUME_32BITUIDS): Likewise.
41681 (__ASSUME_LDT_WORKS): Likewise.
41682 (__ASSUME_O_DIRECTORY): Likewise.
41683 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41684 architecture but not kernel version.
41685 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41686 (__ASSUME_MMAP2_SYSCALL): Likewise.
41687 (__ASSUME_STAT64_SYSCALL): Likewise.
41688 (__ASSUME_IPC64): Likewise.
41689 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41690 <kernel-features.h>.
41691 [__ASSUME_32BITUIDS]: Make code unconditional.
41692 [!__ASSUME_32BITUIDS]: Remove conditional code.
41693 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41694 <kernel-features.h>.
41695 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41696 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41697 132096]: Remove conditional code.
41698 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41700 <kernel-features.h>.
41701 [__ASSUME_32BITUIDS]: Make code unconditional.
41702 [!__ASSUME_32BITUIDS]: Remove conditional code.
41703 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41704 <kernel-features.h>.
41705 [__ASSUME_32BITUIDS]: Make code unconditional.
41706 [!__ASSUME_32BITUIDS]: Remove conditional code.
41707 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41708 <kernel-features.h>.
41709 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41710 unconditional.
41711 (__setresgid): Do not declare.
41712 [__ASSUME_32BITUIDS]: Make code unconditional.
41713 [!__ASSUME_32BITUIDS]: Remove conditional code.
41714 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41715 <kernel-features.h>.
41716 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41717 unconditional.
41718 (__setresuid): Do not declare.
41719 [__ASSUME_32BITUIDS]: Make code unconditional.
41720 [!__ASSUME_32BITUIDS]: Remove conditional code.
41721 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41722 <kernel-features.h>.
41723 [__ASSUME_32BITUIDS]: Make code unconditional.
41724 [!__ASSUME_32BITUIDS]: Remove conditional code.
41725 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41726 <kernel-features.h>.
41727 [__ASSUME_32BITUIDS]: Make code unconditional.
41728 [!__ASSUME_32BITUIDS]: Remove conditional code.
41729
41730 2012-05-25 Richard Henderson <rth@twiddle.net>
41731
41732 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41733 dl_hwcap to ifunc resolver.
41734 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41735 elf_ifunc_invoke.
41736 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41737 dl_hwcap to ifunc resolver.
41738 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41739
41740 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41741
41742 [BZ #14153]
41743 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41744 for |x| <= 2**-26, not 2**-57.
41745 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41746 exception.
41747
41748 2012-05-24 Jeff Law <law@redhat.com>
41749
41750 * stdio-common/Makefile (tests): Add bug25.
41751 * stdio-common/bug25.c: New test.
41752
41753 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 [BZ #13576]
41756 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41757 multiple of MALLOC_ALIGNMENT in size.
41758 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41759
41760 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41761
41762 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41763 Require >= 256.
41764 (FILENAME_MAX): Use macro-int-constant.
41765 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41766 (_IOFBF): Use macro-int-constant.
41767 (_IOLBF): Likewise.
41768 (_IONBF): Likewise.
41769 (SEEK_CUR): Likewise.
41770 (SEEK_END): Likewise.
41771 (SEEK_SET): Likewise.
41772 (TMP_MAX): Likewise.
41773 (EOF): Use macro-int-constant. Require < 0.
41774 (NULL): Use macro-constant. Require == 0.
41775 (stdin): Require type to be FILE *.
41776 (stdout): Likewise.
41777 (stderr): Likewise.
41778 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41779 macro-int-constant.
41780 (EXIT_SUCCESS): Likewise.
41781 (NULL): Use macro-constant. Require == 0.
41782 (RAND_MAX): Use macro-int-constant.
41783 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41784 [C99-based standards] (strtof): Require function.
41785 [C99-based standards] (strtold): Likewise.
41786 [C99-based standards] (strtoll): Likewise.
41787 [C99-based standards] (strtoull): Likewise.
41788 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41789 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41790 [ISO || ISO99 || ISO11] (math.h): Likewise.
41791 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41792 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41794
41795 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41796
41797 [BZ #14132]
41798 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41799 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41800 * intl/dgettext.c (DCGETTEXT): Likewise.
41801 * intl/gettext.c (DCGETTEXT): Likewise.
41802 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41803 * posix/regex_internal.h (gettext): Likewise.
41804 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41805 Remove declaration.
41806 * include/argz.h (__argz_count_internal)
41807 (__argz_stringify_internal): Remove declaration.
41808 (__argz_count, __argz_stringify): Declare hidden proto.
41809 * intl/dcgettext.c: Remove use of INTDEF.
41810 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41811 * string/argz-stringify.c: Likewise.
41812 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41813 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41814 Declare hidden proto.
41815 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41816 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41817 Declare hidden proto.
41818 * include/stdio.h (__asprintf_internal): Don't declare.
41819 (__asprintf): Don't define as macro. Declare hidden proto.
41820 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41821 (__fsetlocking): Declare hidden proto.
41822 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41823 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41824 hidden proto.
41825 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41826 (_IO_setlinebuf): Remove use of INTUSE.
41827 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41828 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41829 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41830 Remove declaration.
41831 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41832 (_IO_do_flush): Remove use of INTUSE.
41833 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41834 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41835 (_IO_adjust_column, _IO_least_wmarker)
41836 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41837 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41838 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41839 (_IO_default_doallocate, _IO_wdefault_doallocate)
41840 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41841 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41842 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41843 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41844 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41845 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41846 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41847 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41848 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41849 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41850 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41851 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41852 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41853 proto.
41854 (_IO_flush_all_internal, _IO_adjust_column_internal)
41855 (_IO_default_uflow_internal, _IO_default_finish_internal)
41856 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41857 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41858 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41859 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41860 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41861 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41862 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41863 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41864 (_IO_file_close_internal, _IO_file_close_it_internal)
41865 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41866 (_IO_file_init_internal, _IO_file_attach_internal)
41867 (_IO_file_fopen_internal, _IO_file_read_internal)
41868 (_IO_file_sync_internal, _IO_file_seek_internal)
41869 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41870 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41871 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41872 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41873 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41874 (_IO_list_all_internal, _IO_link_in_internal)
41875 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41876 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41877 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41878 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41879 (_IO_do_write_internal, _IO_padn_internal)
41880 (_IO_getline_info_internal, _IO_getline_internal)
41881 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41882 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41883 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41884 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41885 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41886 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41887 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41888 with libc_hidden_ver, remove use of INTUSE.
41889 * libio/genops.c: Likewise.
41890 * libio/freopen.c: Likewise.
41891 * libio/freopen64.c: Likewise.
41892 * libio/iofclose.c: Likewise.
41893 * libio/iofdopen.c: Likewise.
41894 * libio/iofflush.c: Likewise.
41895 * libio/iofflush_u.c: Likewise.
41896 * libio/iofgets.c: Likewise.
41897 * libio/iofgets_u.c: Likewise.
41898 * libio/iofopen.c: Likewise.
41899 * libio/iofopncook.c: Likewise.
41900 * libio/iofread.c: Likewise.
41901 * libio/iofread_u.c: Likewise.
41902 * libio/ioftell.c: Likewise.
41903 * libio/iofwrite.c: Likewise.
41904 * libio/iogetline.c: Likewise.
41905 * libio/iogets.c: Likewise.
41906 * libio/iogetwline.c: Likewise.
41907 * libio/iopadn.c: Likewise.
41908 * libio/iopopen.c: Likewise.
41909 * libio/ioseekoff.c: Likewise.
41910 * libio/ioseekpos.c: Likewise.
41911 * libio/iosetbuffer.c: Likewise.
41912 * libio/iosetvbuf.c: Likewise.
41913 * libio/ioungetc.c: Likewise.
41914 * libio/ioungetwc.c: Likewise.
41915 * libio/iovdprintf.c: Likewise.
41916 * libio/iovsprintf.c: Likewise.
41917 * libio/iovsscanf.c: Likewise.
41918 * libio/memstream.c: Likewise.
41919 * libio/obprintf.c: Likewise.
41920 * libio/oldfileops.c: Likewise.
41921 * libio/oldiofclose.c: Likewise.
41922 * libio/oldiofdopen.c: Likewise.
41923 * libio/oldiofopen.c: Likewise.
41924 * libio/oldiopopen.c: Likewise.
41925 * libio/oldstdfiles.c: Likewise.
41926 * libio/putc.c: Likewise.
41927 * libio/setbuf.c: Likewise.
41928 * libio/setlinebuf.c: Likewise.
41929 * libio/stdfiles.c: Likewise.
41930 * libio/strops.c: Likewise.
41931 * libio/vasprintf.c: Likewise.
41932 * libio/vscanf.c: Likewise.
41933 * libio/vsnprintf.c: Likewise.
41934 * libio/vswprintf.c: Likewise.
41935 * libio/wfiledoalloc.c: Likewise.
41936 * libio/wfileops.c: Likewise.
41937 * libio/wgenops.c: Likewise.
41938 * libio/wmemstream.c: Likewise.
41939 * libio/wstrops.c: Likewise.
41940 * libio/__fpurge.c: Likewise.
41941 * libio/__fsetlocking.c: Likewise.
41942 * assert/assert.c: Likewise.
41943 * debug/fgets_chk.c: Likewise.
41944 * debug/fgets_u_chk.c: Likewise.
41945 * debug/fread_chk.c: Likewise.
41946 * debug/fread_u_chk.c: Likewise.
41947 * debug/gets_chk.c: Likewise.
41948 * debug/obprintf_chk.c: Likewise.
41949 * debug/vasprintf_chk.c: Likewise.
41950 * debug/vdprintf_chk.c: Likewise.
41951 * debug/vsnprintf_chk.c: Likewise.
41952 * debug/vsprintf_chk.c: Likewise.
41953 * malloc/mtrace.c: Likewise.
41954 * misc/error.c: Likewise.
41955 * misc/syslog.c: Likewise.
41956 * stdio-common/asprintf.c: Likewise.
41957 * stdio-common/fxprintf.c: Likewise.
41958 * stdio-common/getw.c: Likewise.
41959 * stdio-common/isoc99_fscanf.c: Likewise.
41960 * stdio-common/isoc99_scanf.c: Likewise.
41961 * stdio-common/isoc99_vfscanf.c: Likewise.
41962 * stdio-common/isoc99_vscanf.c: Likewise.
41963 * stdio-common/isoc99_vsscanf.c: Likewise.
41964 * stdio-common/printf-prs.c: Likewise.
41965 * stdio-common/printf_fp.c: Likewise.
41966 * stdio-common/printf_fphex.c: Likewise.
41967 * stdio-common/printf_size.c: Likewise.
41968 * stdio-common/putw.c: Likewise.
41969 * stdio-common/scanf.c: Likewise.
41970 * stdio-common/sprintf.c: Likewise.
41971 * stdio-common/tmpfile.c: Likewise.
41972 * stdio-common/vfprintf.c: Likewise.
41973 * stdio-common/vfscanf.c: Likewise.
41974 * stdlib/strfmon_l.c: Likewise.
41975 * sunrpc/openchild.c: Likewise.
41976 * sunrpc/xdr_stdio.c: Likewise.
41977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41978 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41979
41980 2012-05-24 Roland McGrath <roland@hack.frob.com>
41981
41982 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41983
41984 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41985 in the third column, to generate for the shared library an IFUNC
41986 that uses _dl_vdso_vsym.
41987 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41988 * Makeconfig (object-suffixes-noshared): New variable.
41989
41990 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41991 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41992 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41993 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41994
41995 [BZ #14132]
41996 * include/sys/time.h (__gettimeofday): Remove macro.
41997 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41998 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41999 Remove INTDEF.
42000 (__gettimeofday): Add libc_hidden_def.
42001 (gettimeofday): Add libc_hidden_weak.
42002 * sysdeps/mach/gettimeofday.c: Likewise.
42003 * sysdeps/posix/gettimeofday.c: Likewise.
42004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42005 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42007 (__gettimeofday_internal): Remove strong_alias.
42008 (__gettimeofday): Add libc_hidden_def.
42009 (gettimeofday): Add libc_hidden_weak.
42010 * sysdeps/unix/syscalls.list (gettimeofday):
42011 Remove __gettimeofday_internal alias.
42012
42013 2012-05-24 Daniel Jacobowitz <drow@false.org>
42014 H.J. Lu <hongjiu.lu@intel.com>
42015
42016 [BZ #12495]
42017 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42018 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42019 (largebin_index_32_big): New.
42020 (largebin_index): Use it for 16-byte alignment.
42021 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42022 correction with front_misalign.
42023
42024 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42028 Likewise.
42029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42030 Likewise.
42031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42032 Likewise.
42033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42034 Likewise.
42035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42036 Likewise.
42037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42038 Likewise.
42039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42040 Likewise.
42041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42042 Likewise.
42043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42044 Likewise.
42045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42046 Likewise.
42047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42048 Likewise.
42049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42050 Likewise.
42051
42052 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42053 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42054
42055 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42056
42057 [BZ #10846]
42058 [BZ #14036]
42059 * math/libm-test.inc (exp_test): Add test from bug 14036.
42060 (pow_test): Add test from bug 10846.
42061
42062 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42063 and other flags.
42064 (special_function): Do not include flags in test name.
42065 (parse_args): Likewise.
42066 * sysdeps/i386/fpu/libm-test-ulps: Update.
42067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42069 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42071
42072 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42073 exceptions.
42074 * math/libm-test.inc ("Philosophy"): Update comment about
42075 exception testing.
42076 (UNDERFLOW_EXCEPTION): New macro.
42077 (UNDERFLOW_EXCEPTION_OK): Likewise.
42078 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42079 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42080 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42081 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42082 (INVALID_EXCEPTION_OK): Update value.
42083 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42084 (OVERFLOW_EXCEPTION_OK): Likewise.
42085 (IGNORE_ZERO_INF_SIGN): Likewise.
42086 (test_exceptions): Handle underflow exceptions.
42087 (acos_test): Update for underflow exception expectations.
42088 (cexp_test): Likewise.
42089 (clog_test): Likewise.
42090 (clog10_test): Likewise.
42091 (csqrt_test): Likewise.
42092 (ctan_test): Likewise.
42093 (ctanh_test): Likewise.
42094 (exp_test): Likewise.
42095 (exp10_test): Likewise.
42096 (exp2_test): Likewise.
42097 (expm1_test): Likewise.
42098 (fma_test): Likewise.
42099 (j0_test): Likewise.
42100 (jn_test): Likewise.
42101 (nexttoward_test): Likewise.
42102 (pow_test): Likewise.
42103 (scalbn_test): Likewise.
42104 (scalbln_test): Likewise.
42105 (tan_test): Likewise.
42106 (y1_test): Likewise.
42107 * sysdeps/i386/fpu/libm-test-ulps: Update.
42108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42109
42110 2012-05-23 David S. Miller <davem@davemloft.net>
42111
42112 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42113 (__libc_sigaction): Remove unused local variables.
42114
42115 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42116
42117 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42118
42119 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42120
42121 mktime: avoid signed integer overflow
42122 * time/mktime.c (__mktime_internal): Do not mishandle the case
42123 where diff == INT_MIN.
42124
42125 mktime: simplify computation of average
42126 * time/mktime.c (ranged_convert): Use new time_t_avg function
42127 instead of rolling our own (probably-slower) code.
42128
42129 mktime: do not assume signed right shift propagates sign bit
42130 * time/mktime.c (isdst_differ): New static function.
42131 (__mktime_internal): No need to normalize tm_isdst now.
42132 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42133 tm_isdst values.
42134
42135 mktime: merge another wrapv change from gnulib
42136 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42137 from some compilers.
42138
42139 mktime: remove incorrect attempt at unusual arithmetics
42140 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42141 The code didn't really work on such machines anyway.
42142 (TYPE_MINIMUM): Assume two's complement.
42143 (twos_complement_arithmetic): Verify that long_int and time_t
42144 are two's complement (or unsigned, in the latter case).
42145
42146 mktime: check signed shifts on long_int and time_t, too
42147 * time/mktime.c (SHR): Check that shifts work as desired
42148 on the types long_int and time_t too, as SHR is used on
42149 such types.
42150
42151 mktime: do not assume 'long' is wide enough
42152 * time/mktime.c (verify): Move decl up.
42153 (long_int): New type.
42154 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42155 to remove assumption in the code that 'long' is wide enough to
42156 store year values. This assumption is not true on x32 and on
42157 some non-glibc platforms.
42158
42159 mktime: merge wrapv change from gnulib
42160 * time/mktime.c (WRAPV): New macro.
42161 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42162 (guess_time_tm, __mktime_internal): Do not assume that signed
42163 integer overflow wraps around; modern compilers generate code
42164 where this assumption is no longer valid.
42165
42166 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42167
42168 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42169 Replace "jmp L(pseudo_end)" with "ret".
42170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42171 Likewise.
42172
42173 2012-05-23 Andreas Jaeger <aj@suse.de>
42174
42175 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42176 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42177
42178 2012-05-23 Andreas Jaeger <aj@suse.de>
42179 Maximilian Attems <max@stro.at>
42180
42181 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42182 New macros.
42183
42184 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42185
42186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42187 code so that pseudo_end is just ret and the stack pointer is
42188 correct also for static library in error case.
42189
42190 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42191
42192 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42193 move to syscalls.list.
42194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42198
42199 * manual/install.texi (Running make install): Do not mention Linux
42200 kernel version for which pt_chown is not needed.
42201 (Linux): Do not mention problems with nscd with 2.0 kernels.
42202 * INSTALL: Regenerated.
42203
42204 2012-05-23 Andreas Jaeger <aj@suse.de>
42205
42206 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42207 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42208 macro.
42209 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42211 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42213 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42217 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42219 * sysdeps/unix/sysv/linux/bits/in.h
42220 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42221
42222 2012-05-22 Roland McGrath <roland@hack.frob.com>
42223
42224 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42225 (PREPARE_VERSION): Just use assert instead, it will be elided
42226 under [NDEBUG] anyway.
42227
42228 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42229
42230 * sysdeps/unix/sysv/linux/Makefile: Include
42231 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42232 (sysdep_routines): Remove sysctl.
42233 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42234 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42235 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42236 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42237 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42238
42239 2012-05-22 Andreas Jaeger <aj@suse.de>
42240
42241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42242 that pseudo_end is just ret and the stack pointer is correct also
42243 for static library in error case.
42244
42245 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42246
42247 [BZ #14122]
42248 * nss/nsswitch.c (defconfig_entries): New variable.
42249 (__nss_database_lookup): Don't leak defconfig entries.
42250 (nss_parse_service_list): Don't leak on error paths.
42251 (free_database_entries): New function.
42252 (free_defconfig): New function.
42253 (free_mem): Move common code to free_database_entries.
42254
42255 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42256
42257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42258 Add arch_prctl.
42259 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42260
42261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42262 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42264 New macro.
42265 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42266 (INTERNAL_SYSCALL_TYPES): Likewise.
42267 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42268 (LOAD_REGS_TYPES_[1-6]): Likewise.
42269 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42270 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42271
42272 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42273
42274 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42275 copysignl for GLIBC_2_0.
42276 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42277 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42279 logbl for GLIBC_2_0.
42280 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42281 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42282
42283 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42284
42285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42286 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42287
42288 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42289 Use "neg %eax".
42290
42291 * time/mktime.c: Update copyright years.
42292
42293 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42294
42295 mktime: merge comment-quoting-style change from gnulib
42296 * time/mktime.c: Quote 'like this' in comments.
42297 The GNU coding standards suggest that we no longer quote `like this',
42298 as "`" and "'" are typically rendered asymmetrically nowadays.
42299 The typical gnulib style is to quote 'like this' when quoting
42300 code, and "like this" when quoting English.
42301
42302 * time/mktime.c (compile-command): Add "-I.".
42303
42304 mktime: merge mktime-internal.h change from gnulib
42305 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42306
42307 mktime: merge time_r change from gnulib
42308 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42309
42310 mktime: merge DEBUG change from gnulib
42311 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42312 case system <time.h> has a #define.
42313
42314 mktime: merge <sys/types.h> change from gnulib
42315 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42316 since <time.t> is now guaranteed to define time_t.
42317
42318 mktime: merge HAVE_CONFIG_H change from gnulib
42319 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42320
42321 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42322
42323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42324 Use "neg %eax".
42325
42326 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42327 __rlim_t cast.
42328 (struct rusage): Use anonymous union to pad each field to
42329 __syscall_slong_t.
42330
42331 2012-05-21 David S. Miller <davem@davemloft.net>
42332
42333 * Makefules (o-iterator): Remove .s cases.
42334 (compile-command.s): Delete.
42335 (COMPILE.s): Delete.
42336 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42337
42338 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42339
42340 * configure.in (libc_cv_predef_stack_protector): Only consider
42341 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42342 * configure: Regenerated.
42343
42344 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42345
42346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42347 New macro. Use R*LP on int and pointer.
42348 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42349 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42350 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42351 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42352
42353 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42354 [__WORDSIZE_TIME64_COMPAT32] instead of
42355 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42356 (struct utmp): Likewise.
42357 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42358 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42359 Renamed to ...
42360 (__WORDSIZE_TIME64_COMPAT32): This.
42361 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42362 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42363 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42364 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42365 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42366 (__WORDSIZE_TIME64_COMPAT32): New macro.
42367
42368 2012-05-21 Andreas Jaeger <aj@suse.de>
42369
42370 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42371 only if [SHARED]. Add prototype for __wcschr_ia32.
42372
42373 2012-05-21 Roland McGrath <roland@hack.frob.com>
42374
42375 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42376 of %rbp unmolested in the jmp_buf while mangling the low bits.
42377 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42378 unmolested high bits of %rbp while demangling the low bits.
42379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42380
42381 2012-05-21 Andreas Jaeger <aj@suse.de>
42382
42383 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42384 * sunrpc/svc_simple.c: Use it for registerrpc.
42385 * sunrpc/xcrypt.c: Use it for passwd2des.
42386
42387 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42388
42389 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42390
42391 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42392 Don't define if [__SYSCALL_WORDSIZE != 32].
42393 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42394 New macro.
42395
42396 2012-05-21 Bruno Haible <bruno@clisp.org>
42397 Andreas Jaeger <aj@suse.de>
42398
42399 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42400 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42401 inptr and inend for must_buffer_ch.
42402 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42403 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42404 * stdio-common/Makefile (tests): Remove bug15.
42405 (bug15-ENV): Remove macro.
42406 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42407 anymore.
42408
42409 2012-05-19 Andreas Jaeger <aj@suse.de>
42410 Roland McGrath <roland@hack.frob.com>
42411
42412 * manual/contrib.texi: Completely rewritten. It contains now an
42413 alphabetical list of contributors and their contributions.
42414
42415 2012-05-21 Richard Henderson <rth@twiddle.net>
42416
42417 * misc/getauxval.c (__getauxval): Use unsigned long int.
42418 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42419 (getauxval): Use unsigned long int.
42420
42421 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42422
42423 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42424
42425 2012-05-21 Roland McGrath <roland@hack.frob.com>
42426
42427 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42428 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42429 __alignof__ (long double).
42430
42431 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42432
42433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42434
42435 2012-05-20 Richard Henderson <rth@twiddle.net>
42436
42437 * misc/getauxval.c: New file.
42438 * misc/sys/auxv.h: New file.
42439 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42440 (routines): Add getauxval.
42441 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42442 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42443 * elf/dl-sysdep.c (_dl_auxv): Remove.
42444 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42445 * elf/dl-support.c (_dl_auxv): New variable.
42446 (_dl_aux_init): Initialize it.
42447 * manual/startup.texi (Auxiliary Vector): New node.
42448 * sysdeps/generic/bits/hwcap.h: New file.
42449 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42450 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42451 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42452 * sysdeps/sparc/sysdep.h: ... here. Include it.
42453 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42456 Update.
42457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42465
42466 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42467
42468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42469
42470 2012-05-19 David S. Miller <davem@davemloft.net>
42471
42472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42473
42474 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42475
42476 [BZ #14123]
42477 * math/s_ccosh.c: Include <float.h>
42478 (__ccosh): Avoid internal overflow calculating sinh and cosh
42479 values before multiplying by sin and cos values.
42480 * math/s_ccoshf.c: Likewise.
42481 * math/s_ccoshl.c: Likewise.
42482 * math/s_csin.c: Likewise.
42483 * math/s_csinf.c: Likewise.
42484 * math/s_csinl.c: Likewise.
42485 * math/s_csinh.c: Likewise.
42486 * math/s_csinhf.c: Likewise.
42487 * math/s_csinhl.c: Likewise.
42488 * math/libm-test.inc (ccos_test): Add more tests.
42489 (ccosh_test): Likewise.
42490 (csin_test): Likewise.
42491 (csinh_test): Likewise.
42492 * sysdeps/i386/fpu/libm-test-ulps: Update.
42493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42494
42495 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42496
42497 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42498 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42499
42500 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42501
42502 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42503
42504 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42505 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42506 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42507 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42508 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42509 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42510 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42511 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42512 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42513 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42514 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42515 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42516 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42517 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42518 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42519 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42520 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42521 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42522 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42523 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42524 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42525 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42526 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42527 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42528 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42529 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42530 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42531 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42532 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42533 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42534 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42535
42536 2012-05-18 Andreas Jaeger <aj@suse.de>
42537
42538 * csu/.gitignore: Delete.
42539
42540 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42541
42542 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42543 (timex): Use __syscall_slong_t.
42544
42545 2012-05-18 Andreas Jaeger <aj@suse.de>
42546 Carlos O'Donell <carlos_odonell@mentor.com>
42547
42548 * manual/install.texi (Configuring and compiling): Update
42549 description about files modified in the source directory.
42550 * INSTALL: Regenerated.
42551
42552 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42553
42554 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42555 value. Use "or" to set return value to -1.
42556 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42557 negate return value.
42558
42559 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42560
42561 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42562 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42563 failure if the compiler has Graphite support disabled.
42564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42565 Likewise.
42566 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42567 (CFLAGS-memmove.c): Likewise.
42568 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42569 Likewise.
42570
42571 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42572
42573 * sysdeps/x86_64/x32/_itoa.h: New file.
42574
42575 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42576 getdents system call only if kernel and user dirents have the
42577 same d_ino and d_off.
42578
42579 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42580 LLONG_MAX != LONG_MAX.
42581 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42582 (_fitoa_word): Likewise.
42583
42584 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42585 years.
42586 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42587 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42588 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42589
42590 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42591 include <bits/wordsize.h>. Check __x86_64__ instead of
42592 __WORDSIZE.
42593 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42594 if __x86_64__ is defined. Use anonymous union on fpstate.
42595
42596 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42597 anonymous union.
42598
42599 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42600
42601 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42602 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42604 Refer to _rtld_local_ro instead of _rtld_global_ro.
42605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42606 Likewise.
42607 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42608 Likewise.
42609 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42610 Likewise.
42611 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42612 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42613 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42614
42615 * sysdeps/powerpc/powerpc32/dl-machine.c
42616 (__elf_machine_runtime_setup) [PROF]: Don't reference
42617 _dl_prof_resolve.
42618
42619 2012-05-18 Andreas Jaeger <aj@suse.de>
42620
42621 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42622 function only available for GCCs before 3.4 since GCC 3.4
42623 introduced a builtin.
42624 (lrint): Likewise.
42625 (llrintf): Likewise.
42626 (llrint): Likewise.
42627 (fmaxf): Likewise.
42628 (fmax): Likewise.
42629 (fminf): Likewise.
42630 (fmin): Likewise.
42631 (rint): Likewise.
42632 (rintf): Likewise.
42633 (nearbyint): Likewise.
42634 (nearbyintf): Likewise.
42635 (ceil): Likewise.
42636 (ceilf): Likewise.
42637 (floor): Likewise.
42638 (floorf): Likewise.
42639
42640 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42641
42642 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42643 on both fields and cast pointer to __syscall_ulong_t.
42644
42645 * bits/types.h (__fsword_t): New type.
42646 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42647 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42649 (__FSWORD_T_TYPE): Likewise.
42650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42651 (__FSWORD_T_TYPE): Likewise.
42652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42653 (__FSWORD_T_TYPE): Likewise.
42654 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42655 (__FSWORD_T_TYPE): Likewise.
42656 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42657 __SWORD_TYPE with __fsword_t.
42658 (statfs64): Likewise.
42659
42660 2012-05-17 David S. Miller <davem@davemloft.net>
42661
42662 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42663
42664 2012-05-17 Andreas Jaeger <aj@suse.de>
42665
42666 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42667 warning.
42668
42669 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42670
42671 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42672
42673 2012-05-17 Andreas Jaeger <aj@suse.de>
42674
42675 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42676 when it is used.
42677
42678 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42679
42680 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42681
42682 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42683
42684 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42685 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42686
42687 2012-05-17 Andreas Jaeger <aj@suse.de>
42688 Carlos O'Donell <carlos_odonell@mentor.com>
42689
42690 [BZ #14059]
42691 * sysdeps/x86_64/multiarch/init-arch.h
42692 (bit_YMM_Usable): Rename to...
42693 (bit_AVX_Usable): ... this.
42694 (bit_FMA4_Usable): New macro.
42695 (bit_XMM_state): New macro.
42696 (bit_YMM_state): New macro.
42697 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42698 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42699 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42700 (CPUID_OSXSAVE): New macro.
42701 (CPUID_AVX): New macro.
42702 (CPUID_FMA4): New macro.
42703 (index_YMM_Usable): Rename to...
42704 (index_AVX_Usable): ... this.
42705 (HAS_AVX): Use HAS_ARCH_FEATURE.
42706 (HAS_FMA4): Likewise.
42707 (HAS_YMM_USABLE): Remove.
42708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42709 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42710 are present.
42711 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42712 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42713 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42714 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42715 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42716
42717 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42718
42719 * math/libm-test.c: Support platforms without multiple rounding modes.
42720 * math/bug-nextafter.c: Support platforms without FP exceptions.
42721 * math/bug-nexttoward.c: Likewise.
42722 * math/test-fenv.c: Likewise.
42723 * math/test-misc.c: Likewise.
42724 * stdlib/bug-getcontext.c: Likewise.
42725
42726 2012-05-17 Andreas Jaeger <aj@suse.de>
42727
42728 * manual/examples/search.c (critter_cmp): Change signature to
42729 avoid warnings.
42730 * manual/string.texi (Collation Functions): Likewise.
42731
42732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42733
42734 * bits/types.h: Fold copyright years.
42735 * bits/typesizes.h: Likewise.
42736 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42740 * time/time.h: Likewise.
42741
42742 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42743
42744 [BZ #208]
42745 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42746 in instead of returning them. Return void.
42747 (__libc_mallinfo): Accumulate over all arenas.
42748 (__malloc_stats): Adjust for change in int_mallinfo interface.
42749
42750 2012-05-16 Roland McGrath <roland@hack.frob.com>
42751
42752 [BZ #10375]
42753 * configure.in (NM): Add AC_CHECK_TOOL for it.
42754 (libc_extra_cflags): New substituted variable.
42755 Check for -fstack-protector being used implicitly.
42756 * configure: Regenerated.
42757 * config.make.in (config-extra-cflags): New variable,
42758 gets @libc_extra_cflags@.
42759 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42760
42761 [BZ #10375]
42762 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42763 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42764 * configure: Regenerated.
42765 * config.make.in (CPPUNDEFS): New substituted variable.
42766 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42767 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42768 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42769
42770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42771
42772 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42773 (mq_attr): Use __syscall_slong_t.
42774
42775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42776
42777 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42778 Check __x86_64__ instead of __WORDSIZE.
42779 (_STAT_VER_LINUX): Likewise.
42780 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42781 __syscall_ulong_t and __syscall_slong_t.
42782 (stat64): Likewise.
42783
42784 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42785
42786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42787
42788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42789
42790 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42791
42792 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42793
42794 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42795 __syscall_ulong_t.
42796
42797 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42798 include <bits/wordsize.h>. Check __x86_64__ instead of
42799 __WORDSIZE.
42800 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42801 defined.
42802 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42803
42804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42805 include <bits/wordsize.h>. Check __x86_64__ instead of
42806 __WORDSIZE.
42807 (user_regs_struct): Use "__extension__ unsigned long long"
42808 instead of "unsigned long" if __x86_64__ is defined.
42809 (user): Likewise. Pad after pointer field if __ILP32__ is
42810 defined.
42811
42812 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42813
42814 * configure.in (makeinfo): Require version 4.5 or later. Allow
42815 versions 5 to 9.
42816 * configure: Regenerated.
42817 * manual/install.texi (texinfo): Increase version requirement to
42818 4.5 or later.
42819 * INSTALL: Regenerated.
42820
42821 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42822
42823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42824
42825 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42826
42827 * sysdeps/x86_64/x32/ffs.c: New file.
42828
42829 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42830 __syscall_ulong_t.
42831 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42832 defined. Use __syscall_ulong_t.
42833 (shminfo): Use __syscall_ulong_t.
42834 (shm_info): Likewise.
42835
42836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42837 __syscall_ulong_t.
42838
42839 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42840 <bits/wordsize.h>.
42841 (msgqnum_t): Use __syscall_ulong_t.
42842 (msglen_t): Likewise.
42843 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42844 __syscall_ulong_t.
42845
42846 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42847 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42848
42849 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42850
42851 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42852 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42853
42854 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42855 __syscall_slong_t.
42856
42857 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42858 include <bits/wordsize.h>. Check __x86_64__ instead of
42859 __WORDSIZE.
42860
42861 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42862 "unsigned long long int" if __x86_64__ is defined.
42863 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42864
42865 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42866 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42867 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42868
42869 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42870 <stdint.h>.
42871 (GET_PC): Cast to uintptr_t first.
42872 (GET_FRAME): Likewise.
42873 (GET_STACK): Likewise.
42874
42875 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42876 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42877 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42878 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42879 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42880 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42881 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42882 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42883 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42885 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42888 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42889 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42890 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42891 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42896 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42897 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42898 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42899 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42902 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42903 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42904
42905 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42906
42907 * Makerules (+depfiles): Also collect depfiles from .oS in
42908 $(extra-objs).
42909 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42910 .oS, $(libnldbl-routines)).
42911
42912 * Makerules (native-compile-mkdep-flags): Define.
42913 * sunrpc/Makefile (extra-objs): Add $(addprefix
42914 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42915 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42916 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42917 calling $(make-target-directory).
42918
42919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42920
42921 * bits/types.h (__snseconds_t): Removed.
42922 * time/time.h (struct timespec): Replace __snseconds_t with
42923 __syscall_slong_t.
42924 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42925 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42926 Likewise.
42927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42928 (__SNSECONDS_T_TYPE): Likewise.
42929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42930 (__SNSECONDS_T_TYPE): Likewise.
42931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42932 (__SNSECONDS_T_TYPE): Likewise.
42933
42934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42935
42936 * sysdeps/mach/hurd/bits/typesizes.h
42937 (__SYSCALL_SLONG_TYPE): New macro.
42938 (__SYSCALL_ULONG_TYPE): Likewise.
42939
42940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42941
42942 * bits/types.h (__syscall_slong_t): New type.
42943 (__syscall_ulong_t): Likewise.
42944
42945 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42946 (__SYSCALL_ULONG_TYPE): Likewise.
42947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42948 (__SYSCALL_SLONG_TYPE): Likewise.
42949 (__SYSCALL_ULONG_TYPE): Likewise.
42950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42951 (__SYSCALL_SLONG_TYPE): Likewise.
42952 (__SYSCALL_ULONG_TYPE): Likewise.
42953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42954 (__SYSCALL_SLONG_TYPE): Likewise.
42955 (__SYSCALL_ULONG_TYPE): Likewise.
42956
42957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42958
42959 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42960 Add sigaltstack-offsets.sym.
42961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42962 <sigaltstack-offsets.h>.
42963 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42964 longjmp_msg pointer.
42965 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42966 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42967 signal stack.
42968 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42969
42970 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42971
42972 * elf/stackguard-macros.h: Remove file.
42973 * sysdeps/generic/stackguard-macros.h: New file.
42974 * sysdeps/i386/stackguard-macros.h: Likewise.
42975 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42976 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42977 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42978 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42979 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42980 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42981 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42982 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42983 <elf/stackguard-macros.h>.
42984
42985 [BZ #14109]
42986 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42987 __aligned__ in attribute.
42988 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42989 (gregset_t): Likewise.
42990
42991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42992
42993 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42994 * sysdeps/x86_64/64/Implies-after: Here. New file.
42995 * sysdeps/x86_64/x32/Implies-after: New file.
42996
42997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42998
42999 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43000 and access return value for _dl_profile_fixup. Use R10_LP to
43001 load frame size.
43002
43003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43004
43005 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43006
43007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43008
43009 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43010 * sysdeps/x86_64/x32/sysdep.h: New file.
43011
43012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43013
43014 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43015 * sysdeps/x86_64/setjmp.S: Likewise.
43016
43017 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43018
43019 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43020 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43021 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43023 remove unused global constant.
43024
43025 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43026
43027 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43028 include of <not-cancel.h>.
43029
43030 2012-05-15 Roland McGrath <roland@hack.frob.com>
43031
43032 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43033
43034 2012-05-15 Jeff Law <law@redhat.com>
43035 Andreas Jaeger <aj@suse.de>
43036
43037 [BZ #13594]
43038 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43039 out from...
43040 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43041 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43042 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43043 code changing __hst_map_handle.map.
43044
43045 2012-05-15 Roland McGrath <roland@hack.frob.com>
43046
43047 * configure.in (sysnames): Look for Implies-before and Implies-after
43048 files.
43049 * configure: Regenerated.
43050
43051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43052
43053 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43054 8-byte data alignment with LP_SIZE alignment.
43055
43056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43057
43058 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43059 into R10_LP.
43060
43061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43062
43063 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43064
43065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43068 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43069 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43070 Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43072
43073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43074
43075 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43076 (stackinfo_sub_sp): Likewise.
43077
43078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43079
43080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43081 RAX_LP.
43082
43083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43084
43085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43086 into R*_LP.
43087
43088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43089
43090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43091 sizes into R*_LP.
43092
43093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43094
43095 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43096
43097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43098
43099 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43100 into R11_LP and load __x86_64_shared_cache_size_half into
43101 R8_LP.
43102
43103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43104
43105 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43106 R8_LP.
43107
43108 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43109
43110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43111 logb for POWER7.
43112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43113 logbf for POWER7.
43114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43115 logbl for POWER7.
43116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43117 powerpc32/power7/fpu/s_logb.c via #include.
43118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43119 powerpc32/power7/fpu/s_logbf.c via #include.
43120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43121 powerpc32/power7/fpu/s_logbl.c via #include.
43122
43123 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43124
43125 * README.libm: Remove file.
43126
43127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43128
43129 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43130 count for x32. Use R*_LP and omit operand-size suffix.
43131
43132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43133
43134 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43135 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43136 * sysdeps/x86_64/x32/shlib-versions: New file.
43137
43138 2012-05-14 Roland McGrath <roland@hack.frob.com>
43139
43140 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43141 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43142 Use _dl_fatal_printf instead.
43143
43144 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43145
43146 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43147 set if not set by the user. Do not allow for being unset.
43148 * sysdeps/unix/sysv/linux/configure: Regenerated.
43149
43150 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43151
43152 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43153 the `q' suffix from lea and replace .quad with ASM_ADDR.
43154
43155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43156
43157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43158 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43159 instead of $17.
43160 (PTR_DEMANGLE): Likewise.
43161
43162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43163
43164 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43165 (LP_OP): Likewise.
43166 (ASM_ADDR): Likewise.
43167 (RAX_LP): Likewise.
43168 (RBP_LP): Likewise.
43169 (RBX_LP): Likewise.
43170 (RCX_LP): Likewise.
43171 (RDI_LP): Likewise.
43172 (RSI_LP): Likewise.
43173 (RSP_LP): Likewise.
43174 (R8_LP): Likewise.
43175 (R9_LP): Likewise.
43176 (R10_LP): Likewise.
43177 (R10_LP): Likewise.
43178 (R11_LP): Likewise.
43179 (R12_LP): Likewise.
43180 (R13_LP): Likewise.
43181 (R14_LP): Likewise.
43182 (R15_LP): Likewise.
43183
43184 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43185
43186 * sysdeps/x86_64/x32/dl-machine.h: New file.
43187
43188 2012-05-14 Andreas Jaeger <aj@suse.de>
43189
43190 * manual/Makefile (subdir): Remove export of subdir.
43191 (all): Remove target.
43192 (.PHONY): Remove all from list.
43193 (mkinstalldirs): Remove.
43194 (.PHONY): Remove installdirs from list.
43195 ($(inst_infodir)/libc.info): Use make-target-directory.
43196 (installdirs): Remove.
43197 (subdir_%): Remove.
43198 (glibc-targets): Remove.
43199 (lib): Remove.
43200 (stubs): Remove.
43201 ($(objpfx)stubs ../po/manual.pot): Remove.
43202 ($(objpfx)stamp%): Remove.
43203 (make-target-directory): Remove.
43204 (subdir_install): Remove.
43205 (routines): Remove.
43206 (aux): Remove.
43207 (sources): Remove.
43208 (objects): Remove.
43209 (headers): Remove.
43210
43211 [BZ #13750]
43212 * manual/.gitignore: Remove, it's not needed anymore.
43213 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43214 all files in it.
43215 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43216 directory.
43217 (texis): Renamed to $(objpfx)texis.
43218 (texis-path): New, contains path to generated files.
43219 (chapters.%): Use texis-path for complete path, add extra argument
43220 libc-texinfo.sh.
43221 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43222 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43223 (summary,texi, stamp-summary): Use complete path of
43224 files. Generate files in build dir.
43225 (dir-add.texi): Build in build dir.
43226 (libm-err.texi,stamp-libm-err): Likewise.
43227 (version.texi, stamp-version): Likewise.
43228 (.%c.texi): Likewise.
43229 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43230 (mostlyclean): Remove target.
43231 (realclean): Remove target.
43232 (generated): Add new variable with contents from mostlyclean and
43233 realclean, remove entries duplicated in common-mostlyclean, add
43234 stamp-libm-err and stamp-version.
43235 (generated-dirs): Add libc directory.
43236 ($(inst_infodir)/libc.info): Install files from build dir.
43237
43238 * manual/install.texi (Configuring and compiling): Adjust since
43239 the info files are not part of the tar ball anymore.
43240
43241 2012-05-14 Andreas Jaeger <aj@suse.de>
43242
43243 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43244 variable.
43245
43246 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43247
43248 [BZ #13717]
43249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43250 to 2.2.0 where earlier.
43251 * sysdeps/unix/sysv/linux/configure: Regenerated.
43252 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43253 Remove conditional code.
43254 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43255 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43256 Remove conditional code.
43257 [!__NR_lchown]: Likewise.
43258 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43259 [__NR_lchown]: Likewise.
43260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43261 comment referencing __ASSUME_LCHOWN_SYSCALL.
43262 * sysdeps/unix/sysv/linux/i386/sigaction.c
43263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43265 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43266 Remove conditional code.
43267 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43268 (__protocol_available): Remove #if 0 code.
43269 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43270 conditional code.
43271 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43272 * sysdeps/unix/sysv/linux/kernel-features.h
43273 (__ASSUME_GETCWD_SYSCALL): Don't define.
43274 (__ASSUME_REALTIME_SIGNALS): Likewise.
43275 (__ASSUME_PREAD_SYSCALL): Likewise.
43276 (__ASSUME_PWRITE_SYSCALL): Likewise.
43277 (__ASSUME_POLL_SYSCALL): Likewise.
43278 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43279 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43280 non-SPARC.
43281 (__ASSUME_SIOCGIFNAME): Don't define.
43282 (__ASSUME_MSG_NOSIGNAL): Likewise.
43283 (__ASSUME_SENDFILE): Define unconditionally.
43284 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43285 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43286 conditional code.
43287 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43288 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43289 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43290 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43291 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43292 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43293 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43295 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43298 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43301 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43304 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43305 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43310 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43316 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43318 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43319 Remove conditional code.
43320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43321 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43322 Remove conditional code.
43323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43324 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43325 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43326 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43327 Remove conditional code.
43328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43329 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43330 Remove conditional code.
43331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43332 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43333 Remove conditional code.
43334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43335 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43336 Remove conditional code.
43337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43338 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43339 Remove conditional code.
43340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43341 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43344 * sysdeps/unix/sysv/linux/sigaction.c
43345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43347 * sysdeps/unix/sysv/linux/sigpending.c
43348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43350 * sysdeps/unix/sysv/linux/sigprocmask.c
43351 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43352 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43353 * sysdeps/unix/sysv/linux/sigsuspend.c
43354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43357 (__libc_missing_rt_sigs): Remove.
43358 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43359 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43360 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43361 Remove conditional code.
43362 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43363 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43364 return 1.
43365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43366 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43367 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43368 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43369
43370 2012-05-14 Andreas Jaeger <aj@suse.de>
43371
43372 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43373 it's not used in glibc.
43374 (__coshm1): Likewise.
43375 (__acosh1p): Likewise.
43376 (__sgn): Likewise.
43377
43378 * manual/string.texi (Copying and Concatenation): Add missing
43379 variable in concat example.
43380 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43381
43382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43383
43384 [BZ #14103]
43385 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43386 __builtin_clzl with __builtin_clzll.
43387
43388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43389
43390 [BZ #14104]
43391 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43392 libc_freeres_ptr.
43393
43394 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43395
43396 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43397 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43398 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43400
43401 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43402
43403 * NEWS: Update ia64 info.
43404
43405 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43406
43407 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43408 used as bcopy.
43409
43410 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43411
43412 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43413 * sysdeps/unix/syscalls.list (dup3): Likewise.
43414 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43415 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43416
43417 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43418
43419 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43420 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43421
43422 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43423
43424 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43425 thread pointer.
43426 (TLS_IE): Use mov/add instead of movq/addq to load thread
43427 pointer.
43428 (TLS_GD_PREFIX): New.
43429 (TLS_GD): Use it.
43430
43431 2012-05-11 David S. Miller <davem@davemloft.net>
43432
43433 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43434 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43435 (_FPU_SETCW): Likewise.
43436
43437 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43438
43439 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43440 is 32-byte aligned.
43441
43442 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43443
43444 [BZ #11837]
43445 * iconvdata/gb18030.c: Update tables.
43446 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43447 characters specially.
43448 (BODY for TO_LOOP): Add encoding of missing ranges.
43449
43450 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43451
43452 [BZ #13673]
43453 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43454 * sysdeps/mach/hurd/dup3.c: Likewise.
43455 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43456 * sysdeps/powerpc/memmove.c:: Likewise.
43457
43458 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43459
43460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43461 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43462
43463 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * elf/elf.h (R_X86_64_RELATIVE64): New.
43466 (R_X86_64_NUM): Updated.
43467 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43468 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43469 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43470 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43471 tst-quad1pie tst-quad2pie
43472 (modules-names): Add tst-quadmod1 tst-quadmod2.
43473 ($(objpfx)tst-quad1): New dependency.
43474 ($(objpfx)tst-quad2): Likewise.
43475 ($(objpfx)tst-quad1pie): Likewise.
43476 ($(objpfx)tst-quad2pie): Likewise.
43477 * sysdeps/x86_64/tst-quad1.c: New file.
43478 * sysdeps/x86_64/tst-quad1pie.c: New file.
43479 * sysdeps/x86_64/tst-quad2.c: Likewise.
43480 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43481 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43482 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43483 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43484 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43485
43486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43487
43488 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43489 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43490 * streams/stropts.h (t_scalar_t): Define type.
43491
43492 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43493 (_PATH_PRESERVE): Set to "/var/lib".
43494 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43495
43496 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43497 instead of int.
43498
43499 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43500 if __dir_mkfile succeeded.
43501
43502 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43503 checking for _hurd_dtablesize. Unlock it right after having
43504 finished _hurd_dtable allocation.
43505
43506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43507
43508 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43509 * sysdeps/mach/hurd/configure: Regenerated.
43510 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43511 special-casing to...
43512 * sysdeps/gnu/configure.in: ... this new file.
43513 * sysdeps/unix/sysv/linux/configure: Regenerated.
43514 * sysdeps/gnu/configure: New generated file.
43515
43516 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43517 for Linux: use nsec instead of usec, as well as:
43518 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43519 members of type struct timespec.
43520 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43521 New macros.
43522 (struct stat64): Likewise.
43523 (_STATBUF_ST_NSEC): New macro.
43524 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43525
43526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43527 __strtoul_internal rather than strtoul.
43528
43529 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43530
43531 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43532 and reject them.
43533
43534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43535
43536 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43537 which preserves existing values.
43538 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43539
43540 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43541
43542 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43543 TIMEOUT values. Return EINVAL for NFDS values either negative or
43544 greater than FD_SETSIZE.
43545
43546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43547
43548 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43549 allocated, call __vm_protect to finish enabling the existing space, and
43550 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43551 allocate the remainder.
43552
43553 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43554
43555 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43556 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43557
43558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43559
43560 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43561 sysdeps/mach/hurd/readlink.c.
43562
43563 * posix/tst-sysconf.c (posix_options): Only use
43564 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43565 _POSIX_SYNCHRONIZED_IO when they are defined
43566 * sysdeps/mach/hurd/bits/posix_opt.h:
43567 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43568 (_XOPEN_REALTIME): Undefine macro.
43569 (_XOPEN_REALTIME_THREADS): Undefine macro.
43570 (_XOPEN_SHM): Undefine macro.
43571 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43572 macro to -1.
43573 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43574 macro to -1.
43575 (_POSIX_ASYNC_IO): Undefine macro.
43576 (_POSIX_PRIORITIZED_IO): Undefine macro.
43577 (_POSIX_SPIN_LOCKS): Define macro to -1.
43578
43579 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43580 SA_NODEFER, SA_RESETHAND.
43581 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43582 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43583 F_DUPFD_CLOEXEC.
43584
43585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43586
43587 * elf/Makefile (pldd-modules): Define unconditionally.
43588
43589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43590
43591 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43592
43593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43594
43595 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43596 Return ENOENT when name is empty.
43597 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43598
43599 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43600
43601 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43602
43603 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43604
43605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43606
43607 Fix mlock in all cases except non-readable pages.
43608 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43609 instead of VM_PROT_ALL as parameter to __vm_wire function.
43610
43611 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43612 (__mkdir): When path is `/', just fail with EEXIST.
43613 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43614
43615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43616
43617 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43618 <sys/uio.h> (for writev).
43619 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43620 and <sys/param.h> (for MIN).
43621
43622 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43623
43624 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43625 REQUESTED_TIME. Properly set the remaining time and return EINTR
43626 if interrupted.
43627
43628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43629
43630 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43631 Depend on against $(link-rpcuserlibs).
43632
43633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43634
43635 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43636 (__libc_stack_end): Do not use attribute_relro.
43637 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43638 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43639 to libthread-provided value.
43640 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43641 attribute_relro.
43642
43643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43644
43645 [BZ #3748]
43646 * bits/libc-lock.h (__libc_once_get): New macro.
43647 * sysdeps/mach/bits/libc-lock.h: Likewise.
43648 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43650 instead of using implementation details.
43651
43652 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43653 * libio/freopen.c: Likewise.
43654 * libio/freopen64.c: Likewise.
43655 * misc/syslog.c: Likewise.
43656 * nscd/connections.c: Likewise.
43657 * nscd/netgroupcache.c: Likewise.
43658 * sysdeps/posix/getcwd.c: Likewise.
43659
43660 2012-05-10 Roland McGrath <roland@hack.frob.com>
43661
43662 * math/w_ilogbf.c: Add #include <limits.h>.
43663
43664 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43665
43666 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43667 path instead of returning without unlocking.
43668
43669 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43670 immediate-write ioctls.
43671 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43672
43673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43674
43675 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43676 __builtin_frame_address instead of making assumptions about the
43677 location of the return address relative to DATA. Force early load of
43678 the return address.
43679 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43680 __builtin_frame_address.
43681
43682 dup3 for GNU Hurd.
43683 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43684 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43685 implement dup3 and do some further code clean-ups.
43686 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43687 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43688
43689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43690
43691 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43692
43693 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43694 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43695 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43696 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43697 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43698 d->port.lock.
43699
43700 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43701 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43702 when handler == SIG_ERR, not when handler != SIG_ERR.
43703
43704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43705
43706 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43707 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43708 definitions.
43709
43710 accept4 for GNU Hurd.
43711 * include/sys/socket.h (__libc_accept4): New prototype.
43712 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43713 to implement __libc_accept4.
43714 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43715 __libc_accept4.
43716 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43717
43718 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43719 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43720 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43721 signal-defines.sym.
43722
43723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43724
43725 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43726
43727 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43728
43729 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43730 assertion on O_CLOEXEC flag.
43731 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43732 * hurd/intern-fd.c: Likewise.
43733 * hurd/port2fd.c: Likewise.
43734
43735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43736
43737 [BZ #3906]
43738 * bits/in.h (IPV6_PKTINFO): Define new macro.
43739 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43740
43741 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43742
43743 [BZ #13954]
43744 [BZ #13955]
43745 [BZ #13956]
43746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43748 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43749 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43751 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43752 * math/libm-test.inc (logb_test) : Additional logb tests.
43753
43754 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43755 Andreas Jaeger <aj@suse.de>
43756
43757 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43758 * configure: Regenerated.
43759 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43760 * config.make.in (link-obsolete-rpc): New substituted variable.
43761 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43762 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43763 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43764 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43765 so that libc.a contains the symbols.
43766 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43767 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43768 * sunrpc/auth_none.c: Likewise.
43769 * sunrpc/auth_unix.c: Likewise.
43770 * sunrpc/authdes_prot.c: Likewise.
43771 * sunrpc/authuxprot.c: Likewise.
43772 * sunrpc/clnt_gen.c: Likewise.
43773 * sunrpc/clnt_perr.c: Likewise.
43774 * sunrpc/clnt_raw.c: Likewise.
43775 * sunrpc/clnt_simp.c: Likewise.
43776 * sunrpc/clnt_tcp.c: Likewise.
43777 * sunrpc/clnt_udp.c: Likewise.
43778 * sunrpc/clnt_unix.c: Likewise.
43779 * sunrpc/des_crypt.c: Likewise.
43780 * sunrpc/des_soft.c: Likewise.
43781 * sunrpc/get_myaddr.c: Likewise.
43782 * sunrpc/key_call.c: Likewise.
43783 * sunrpc/key_prot.c: Likewise.
43784 * sunrpc/netname.c: Likewise.
43785 * sunrpc/pm_getmaps.c: Likewise.
43786 * sunrpc/pm_getport.c: Likewise.
43787 * sunrpc/pmap_clnt.c: Likewise.
43788 * sunrpc/pmap_prot.c: Likewise.
43789 * sunrpc/pmap_prot2.c: Likewise.
43790 * sunrpc/pmap_rmt.c: Likewise.
43791 * sunrpc/publickey.c: Likewise.
43792 * sunrpc/rpc_cmsg.c: Likewise.
43793 * sunrpc/rpc_common.c: Likewise.
43794 * sunrpc/rpc_dtable.c: Likewise.
43795 * sunrpc/rpc_prot.c: Likewise.
43796 * sunrpc/rpc_thread.c: Likewise.
43797 * sunrpc/rtime.c: Likewise.
43798 * sunrpc/svc.c: Likewise.
43799 * sunrpc/svc_auth.c: Likewise.
43800 * sunrpc/svc_raw.c: Likewise.
43801 * sunrpc/svc_run.c: Likewise.
43802 * sunrpc/svc_tcp.c: Likewise.
43803 * sunrpc/svc_udp.c: Likewise.
43804 * sunrpc/svc_unix.c: Likewise.
43805 * sunrpc/svcauth_des.c: Likewise.
43806 * sunrpc/xcrypt.c: Likewise.
43807 * sunrpc/xdr.c: Likewise.
43808 * sunrpc/xdr_array.c: Likewise.
43809 * sunrpc/xdr_float.c: Likewise.
43810 * sunrpc/xdr_intXX_t.c: Likewise.
43811 * sunrpc/xdr_mem.c: Likewise.
43812 * sunrpc/xdr_rec.c: Likewise.
43813 * sunrpc/xdr_ref.c: Likewise.
43814 * sunrpc/xdr_sizeof.c: Likewise.
43815 * sunrpc/xdr_stdio.c: Likewise.
43816
43817 2012-05-10 Roland McGrath <roland@hack.frob.com>
43818
43819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43820 change. Update copyright years.
43821
43822 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43823
43824 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43825
43826 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43827 Joseph Myers <joseph@codesourcery.com>
43828 Paul Pluzhnikov <ppluzhnikov@google.com>
43829
43830 [BZ #14012]
43831 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43832 requiring rpcgen.
43833 [cross-compiling] (extra-libs): Likewise.
43834 [cross-compiling] (extra-libs-others): Likewise.
43835 [cross-compiling] (librpcsvc-routines): Likewise.
43836 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43837 [cross-compiling] (omit-deps): Likewise.
43838 (sunrpc-CPPFLAGS): New variable.
43839 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43840 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43841 (cross-rpcgen-objs): New variable.
43842 (extra-objs): Append $(cross-rpcgen-objs).
43843 ($(cross-rpcgen-objs)): New rule.
43844 ($(objpfx)cross-rpcgen): Likewise.
43845 (rpcgen-cmd): Define to use $(built-program-file). Expand
43846 comment.
43847 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43848 ($(objpfx)x%.stmp): Likewise.
43849 * sunrpc/proto.h [IS_IN_build] (_): Define.
43850 [IS_IN_build] (_libc_intl_domainname): Likewise.
43851
43852 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43853
43854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43855 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43856 and R_X86_64_TPOFF64.
43857
43858 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43859
43860 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43861 sysdeps/unix/sysv/syscalls.list.
43862 (stime): Likewise.
43863 (utime): Likewise.
43864 * sysdeps/unix/sysv/syscalls.list: Remove file.
43865
43866 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43867
43868 [BZ #3440]
43869 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43870 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43871 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43872 (__LC_IDENTIFICATION): Make these macros useful in #if
43873 expressions, as required by C99.
43874
43875 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43876
43877 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43878 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43879 after this.
43880
43881 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43882
43883 * stdlib/longlong.h: Updated from GCC.
43884
43885 2012-05-09 Andreas Jaeger <aj@suse.de>
43886
43887 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43888 default is first entry.
43889 (run_mode): Set type.
43890 (main): Remove informal message about syslog.
43891 (options): Fix typo.
43892
43893 [BZ #14053]
43894 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43895 to asm.
43896 (lrint): Likewise.
43897 (llrintf): Likewise.
43898 (llrint): Likewise.
43899 (rint): Likewise.
43900 (rintf): Likewise.
43901 (nearbyint): Likewise.
43902 (nearbyintf): Likewise.
43903
43904 2012-05-09 Andreas Jaeger <aj@suse.de>
43905 Pedro Alves <palves@redhat.com>
43906
43907 * nscd/nscd.c (run_mode): Use enum.
43908 (main): Cleanup coding style issue.
43909
43910 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43911 Andreas Jaeger <aj@suse.de>
43912
43913 * nscd/nscd.c (go_background): Replaced with...
43914 (run_mode): ... this.
43915 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43916 (options): Add -F --foreground.
43917 (main): Implement it.
43918 (parse_opt): Parse it.
43919
43920 2012-05-09 Andreas Jaeger <aj@suse.de>
43921
43922 [BZ #14083]
43923 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43924 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43925 -Wconversion warning.
43926 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43927 Likewise.
43928
43929 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43930
43931 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43932 == 0.
43933 (LC_ALL): Use macro-int-constant.
43934 (LC_COLLATE): Likewise.
43935 (LC_CTYPE): Likewise.
43936 (LC_MESSAGES): Likewise.
43937 (LC_MONETARY): Likewise.
43938 (LC_NUMERIC): Likewise.
43939 (LC_TIME): Likewise.
43940 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43941 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43943 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43944 Specify type.
43945 [C99-based standards] (float_t): Expect type.
43946 [C99-based standards] (double_t): Expect type.
43947 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43948 type.
43949 [C99-based standards] (HUGE_VALL): Likewise.
43950 [C99-based standards] (INFINITY): Likewise.
43951 [C99-based standards] (NAN): Likewise.
43952 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43953 [C99-based standards] (FP_NAN): Likewise.
43954 [C99-based standards] (FP_NORMAL): Likewise.
43955 [C99-based standards] (FP_SUBNORMAL): Likewise.
43956 [C99-based standards] (FP_ZERO): Likewise.
43957 [C99-based standards] (FP_FAST_FMA): Use
43958 optional-macro-int-constant. Specify type. Require == 1.
43959 [C99-based standards] (FP_FAST_FMAF): Likewise.
43960 [C99-based standards] (FP_FAST_FMAL): Likewise.
43961 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43962 [C99-based standards] (FP_ILOGBNAN): Likewise.
43963 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43964 Specify type.
43965 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43966 [C99-based standards] (math_errhandling): Specify type.
43967 [ISO99 || ISO11] (signgam): Do not allow.
43968 [non-C99-based standards] (copysignf): Do not allow.
43969 [non-C99-based standards] (exp2f): Likewise.
43970 [non-C99-based standards] (log2f): Likewise.
43971 [non-C99-based standards] (modff): Allow.
43972 [non-C99-based standards] (erff): Do not allow.
43973 [non-C99-based standards] (erfcf): Likewise.
43974 [non-C99-based standards] (gammaf): Likewise.
43975 [non-C99-based standards] (hypotf): Likewise.
43976 [non-C99-based standards] (j0f): Likewise.
43977 [non-C99-based standards] (j1f): Likewise.
43978 [non-C99-based standards] (jnf): Likewise.
43979 [non-C99-based standards] (lgammaf): Likewise.
43980 [non-C99-based standards] (tgammaf): Likewise.
43981 [non-C99-based standards] (y0f): Likewise.
43982 [non-C99-based standards] (y1f): Likewise.
43983 [non-C99-based standards] (ynf): Likewise.
43984 [non-C99-based standards] (isnanf): Likewise.
43985 [non-C99-based standards] (acoshf): Likewise.
43986 [non-C99-based standards] (asinhf): Likewise.
43987 [non-C99-based standards] (atanhf): Likewise.
43988 [non-C99-based standards] (cbrtf): Likewise.
43989 [non-C99-based standards] (expm1f): Likewise.
43990 [non-C99-based standards] (ilogbf): Likewise.
43991 [non-C99-based standards] (log1pf): Likewise.
43992 [non-C99-based standards] (logbf): Likewise.
43993 [non-C99-based standards] (nextafterf): Likewise.
43994 [non-C99-based standards] (remainderf): Likewise.
43995 [non-C99-based standards] (rintf): Likewise.
43996 [non-C99-based standards] (scalbf): Likewise.
43997 [non-C99-based standards] (copysignl): Likewise.
43998 [non-C99-based standards] (exp2l): Likewise.
43999 [non-C99-based standards] (log2l): Likewise.
44000 [non-C99-based standards] (modfl): Allow.
44001 [non-C99-based standards] (erfl): Do not allow.
44002 [non-C99-based standards] (erfcl): Likewise.
44003 [non-C99-based standards] (gammal): Likewise.
44004 [non-C99-based standards] (hypotl): Likewise.
44005 [non-C99-based standards] (j0l): Likewise.
44006 [non-C99-based standards] (j1l): Likewise.
44007 [non-C99-based standards] (jnl): Likewise.
44008 [non-C99-based standards] (lgammal): Likewise.
44009 [non-C99-based standards] (tgammal): Likewise.
44010 [non-C99-based standards] (y0l): Likewise.
44011 [non-C99-based standards] (y1l): Likewise.
44012 [non-C99-based standards] (ynl): Likewise.
44013 [non-C99-based standards] (isnanl): Likewise.
44014 [non-C99-based standards] (acoshl): Likewise.
44015 [non-C99-based standards] (asinhl): Likewise.
44016 [non-C99-based standards] (atanhl): Likewise.
44017 [non-C99-based standards] (cbrtl): Likewise.
44018 [non-C99-based standards] (expm1l): Likewise.
44019 [non-C99-based standards] (ilogbl): Likewise.
44020 [non-C99-based standards] (log1pl): Likewise.
44021 [non-C99-based standards] (logbl): Likewise.
44022 [non-C99-based standards] (nextafterl): Likewise.
44023 [non-C99-based standards] (remainderl): Likewise.
44024 [non-C99-based standards] (rintl): Likewise.
44025 [non-C99-based standards] (scalbl): Likewise.
44026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44027 [non-C99-based standards] (FP_*): Do not allow.
44028 [C99-based standards] (FP_*): Change to
44029 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44030 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44031 allow.
44032 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44033 (SIG_ERR): Likewise.
44034 [X/Open-based standards] (SIG_HOLD): Likewise.
44035 (SIG_IGN): Likewise.
44036 (SIGABRT): Use macro-int-constant. Specify type. Require
44037 positive value.
44038 (SIGFPE): Likewise.
44039 (SIGILL): Likewise.
44040 (SIGINT): Likewise.
44041 (SIGSEGV): Likewise.
44042 (SIGTER): Likewise.
44043 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44044 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44045 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44046 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44047 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44048 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44049 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44050 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44051 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44052 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44053 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44054 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44055 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44056 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44057 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44058 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44059 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44060 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44061 [X/Open-based standards] (SIGTRAP): Likewise.
44062 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44063 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44064 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44065 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44066 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44067 allow.
44068
44069 2012-05-08 Ian Wienand <ianw@vmware.com>
44070
44071 [BZ #14080]
44072 * time/tzset.c (__tzset_parse_tz): Update default rules for
44073 daylight time changes in the Energy Policy Act of 2005.
44074
44075 2012-05-09 Andreas Jaeger <aj@suse.de>
44076
44077 [BZ #13983]
44078 * elf/ldconfig.c (parse_conf): Change string to make clear that
44079 ldconfig only issued a warning if ld.so.conf does not exist.
44080
44081 2012-05-08 David S. Miller <davem@davemloft.net>
44082
44083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44084 movxtod instead of popping the value on the stack.
44085
44086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44087
44088 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44089
44090 * config.h.in: Add HAVE_ARM_PCS_VFP.
44091
44092 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44093
44094 [BZ #13979]
44095 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44096 checking but the checks are disabled for any reason.
44097
44098 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44099
44100 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44101 and ELF64_R_TYPE with ELFW(R_TYPE).
44102
44103 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44104
44105 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44106 (ulimit): Likewise.
44107
44108 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44109 (settimeofday): Likewise.
44110
44111 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44112
44113 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44114 a struct th_u2 inside the union, and move tu_block/tu_code into
44115 a new th_u3 union of tu_block/tu_code inside of that. Move
44116 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44117 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44118 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44119 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44120 (th_stuff): Change to th_u1.tu_stuff.
44121 (th_data): Define.
44122 (th_msg): Change to th_u1.th_u2.tu_data.
44123
44124 2012-05-07 David S. Miller <davem@davemloft.net>
44125
44126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44127
44128 [BZ #14074]
44129 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44130 (SETUP_PIC_REG): Use it.
44131 (SETUP_PIC_REG_LEAF): Use it.
44132
44133 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44134
44135 [BZ #13885]
44136 [BZ #13923]
44137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44138 USE_AS_EXPM1L.
44139 (EXPL_FINITE): Likewise.
44140 (FLDLOG): Likewise.
44141 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44142 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44143 e_expl.S.
44144 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44145 USE_AS_EXPM1L.
44146 (EXPL_FINITE): Likewise.
44147 (FLDLOG): Likewise.
44148 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44149 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44150 e_expl.S.
44151 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44152 test of -max_value argument for long double.
44153 * sysdeps/i386/fpu/libm-test-ulps: Update.
44154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44155
44156 2012-05-06 David S. Miller <davem@davemloft.net>
44157
44158 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44159 quad soft-float symbols whose references which are compiler
44160 generated.
44161 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44162
44163 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44164
44165 [BZ #13884]
44166 [BZ #13914]
44167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44168 USE_AS_EXP10L.
44169 (EXPL_FINITE): Likewise.
44170 (FLDLOG): Likewise.
44171 (c0): Likewise.
44172 (c1): Likewise.
44173 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44174 Adjust comments for base varying.
44175 (__expl_finite): Change alias to EXPL_FINITE.
44176 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44177 e_expl.S.
44178 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44179 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44181 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44182 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44183 USE_AS_EXP10L.
44184 (EXPL_FINITE): Likewise.
44185 (FLDLOG): Likewise.
44186 (c0): Likewise.
44187 (c1): Likewise.
44188 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44189 Adjust comments for base varying.
44190 (__expl_finite): Change alias to EXPL_FINITE.
44191 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44192 tests for bugs.
44193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44194
44195 [BZ #14064]
44196 * math/libm-test.inc (check_float_internal): Correct ulp
44197 calculation for subnormal expected results.
44198
44199 2012-05-06 Andreas Jaeger <aj@suse.de>
44200
44201 * Makeconfig (+math-flags): New, set to -frounding-math.
44202 (+cflags): Add +math-flags so that all of glibc gets compiled with
44203 it.
44204
44205 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44206
44207 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44208
44209 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44210 Disable one test.
44211
44212 [BZ #13787]
44213 [BZ #13922]
44214 [BZ #14036]
44215 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44216 (__ieee754_expl): Allow for and saturate large arguments.
44217 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44218 (u_threshold): Likewise.
44219 (__exp): Call __ieee754_exp before checking for overflow and
44220 underflow.
44221 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44222 (u_threshold): Likewise.
44223 (__expf): Call __ieee754_expf before checking for overflow and
44224 underflow.
44225 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44226 (u_threshold): Likewise.
44227 (__expl): Call __ieee754_expl before checking for overflow and
44228 underflow.
44229 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44230 (__ieee754_expl): Allow for and saturate large arguments.
44231 * math/libm-test.inc (exp_test): Add another test. Do not allow
44232 missing overflow exception on overflow.
44233 (expm1_test): Do not allow missing overflow exception on overflow.
44234
44235 * sysdeps/i386/fpu/e_expl.c: Move to ...
44236 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44237 rather than using inline asm.
44238 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44239 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44240 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44241
44242 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44243 (nice): Likewise.
44244 (poll): Likewise.
44245 (signal): Likewise.
44246 (time): Likewise.
44247 (times): Likewise.
44248
44249 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44250
44251 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44252 sysdeps/unix/common/syscalls.list.
44253 (fchmod): Likewise.
44254 (fchown): Likewise.
44255 (ftruncate): Likewise.
44256 (getrusage): Likewise.
44257 (gettimeofday): Likewise.
44258 (setpgid): Likewise.
44259 (setregid): Likewise.
44260 (setreuid): Likewise.
44261 (sigaction): Likewise.
44262 (truncate): Likewise.
44263 (vhangup): Likewise.
44264 * sysdeps/unix/common/syscalls.list: Remove file.
44265 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44266 * sysdeps/unix/sysv/linux/Implies: Likewise.
44267
44268 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44269
44270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44273 Moved to ...
44274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44275 Here.
44276 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44277 to ...
44278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44279 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44280 to ...
44281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44282 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44283 to ...
44284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44285 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44286 to ...
44287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44288 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44289 to ...
44290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44291 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44292 to ...
44293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44294 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44295 to ...
44296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44297 Here.
44298 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44299 to ...
44300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44301 Here.
44302 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44303 to ...
44304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44305 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44306 Moved to ...
44307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44308 Here.
44309 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44310 to ...
44311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44312
44313 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44314
44315 * sysdeps/unix/common/bits/dirent.h: Remove file.
44316 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44317
44318 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44319 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44320 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44321 * sysdeps/unix/bsd/isatty.c: Likewise.
44322 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44323 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44324 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44325
44326 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44327
44328 [BZ #13563]
44329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44330 long double comparison inaccuracies.
44331 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44333
44334 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44335
44336 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44338
44339 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44340
44341 [BZ #14049]
44342 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44343 nonzero digits before rounding a hex value.
44344 * stdlib/tst-strtod.c (tests): Add another test.
44345
44346 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44347
44348 * sysdeps/s390/fpu/libm-test-ulps: Update.
44349
44350 2012-05-03 Andreas Jaeger <aj@suse.de>
44351
44352 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44353 does not get optimized out.
44354 (malloc_opt_barrier): New.
44355
44356 2012-05-03 Andreas Jaeger <aj@suse.de>
44357 Roland McGrath <roland@hack.frob.com>
44358
44359 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44360 intermediate file deletion.
44361 (generated): Add .symlist files.
44362
44363 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44364
44365 [BZ #13775]
44366 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44367 Redirect under this condition.
44368 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44369 [__USE_GNU] (__dprintf_chk): Not under this condition.
44370 [__USE_GNU] (__vdprintf_chk): Likewise.
44371 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44372 under this condition.
44373 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44374 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44375 [__USE_XOPEN2K8] (vdprintf): Likewise.
44376 [__USE_GNU] (__dprintf_chk): Not under this condition.
44377 [__USE_GNU] (__vdprintf_chk): Likewise.
44378 [__USE_GNU] (dprintf): Likewise.
44379 [__USE_GNU] (vdprintf): Likewise.
44380
44381 2012-05-03 Roland McGrath <roland@hack.frob.com>
44382
44383 * elf/Makefile (common-generated): Set this instead of generated for
44384 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44385 $(all-built-dso)-derived lists.
44386
44387 2012-05-03 Andreas Jaeger <aj@suse.de>
44388
44389 * sysdeps/i386/fpu/libm-test-ulps: Update.
44390
44391 * FAQ: Removed.
44392 * FAQ.in: Likewise.
44393 * scripts/gen-FAQ.pl: Likewise.
44394 * manual/install.texi (Installation): Point to online location of
44395 FAQ.
44396 * Makefile (files-for-dist): Remove FAQ.
44397 (FAQ): Remove.
44398
44399 2012-05-02 Allan McRae <allan@archlinux.org>
44400
44401 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44402 (LDFLAGS-reldepmod5.so): Likewise.
44403 (LDFLAGS-reldep6mod1.so): Likewise.
44404 (LDFLAGS-reldep6mod4.so): Likewise.
44405 (LDFLAGS-reldep8mod3.so): Likewise.
44406 (LDFLAGS-unload4mod1.so): Likewise.
44407 (LDFLAGS-unload4mod2.so): Likewise.
44408 (LDFLAGS-tst-initorder): Likewise.
44409 (LDFLAGS-tst-initordera2.so): Likewise.
44410 (LDFLAGS-tst-initordera3.so): Likewise.
44411 (LDFLAGS-tst-initordera4.so): Likewise.
44412 (LDFLAGS-tst-initorderb2.so): Likewise.
44413 (LDFLAGS-noload): Likewise.
44414 (LDFLAGS-next): Likewise.
44415 (LDFLAGS-order2mod1.so): Likewise.
44416 (LDFLAGS-order2mod2.so): Likewise.
44417 (LDFLAGS-tst-initorder2): Likewise.
44418 (LDFLAGS-tst-initorder2a.so): Likewise.
44419 (LDFLAGS-tst-initorder2b.so): Likewise.
44420 (LDFLAGS-tst-initorder2c.so): Likewise.
44421 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44422
44423 2012-05-02 David S. Miller <davem@davemloft.net>
44424
44425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44426
44427 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44428
44429 [BZ #14055]
44430 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44431
44432 2012-05-02 Andreas Jaeger <aj@suse.de>
44433
44434 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44435 since we manipulate rounding mode.
44436 (CPPFLAGS-test-idouble.c): Likewise.
44437 (CPPFLAGS-test-ifloat.c): Likewise.
44438 (CFLAGS-test-ldouble.c): Likewise.
44439 (CFLAGS-test-double.c): Likewise.
44440 (CFLAGS-test-float.c): Likewise.
44441 (CFLAGS-test-misc.c): Likewise.
44442 (CFLAGS-test-test-fenv.c): Likewise.
44443
44444 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44445
44446 [BZ #2550]
44447 [BZ #2570]
44448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44449 comparisons to determine direction to adjust input.
44450
44451 2012-05-01 Roland McGrath <roland@hack.frob.com>
44452
44453 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44454 output to the target.
44455
44456 * scripts/localplt.awk: New file.
44457 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44458 (check-localplt-CFLAGS): Variable removed.
44459 ($(all-built-dso:=.jmprel)): New static pattern rule.
44460 (generated): Add those targets.
44461 (localplt-built-dso): New variable.
44462 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44463
44464 * elf/check-localplt.c: File removed.
44465
44466 * scripts/check-execstack.awk: New file.
44467 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44468 (check-execstack-CFLAGS): Variable removed.
44469 ($(objpfx)check-execstack.h): Target removed.
44470 ($(objpfx)execstack-default): New target.
44471 (generated): Add that instead of check-execstack.h.
44472 ($(all-built-dso:=.phdr)): New static pattern rule.
44473 (generated): Add those targets.
44474 * elf/check-execstack.c: File removed.
44475
44476 * scripts/check-textrel.awk: New file.
44477 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44478 (check-textrel-CFLAGS): Variable removed.
44479 (all-built-dso): Use := to define.o
44480 ($(all-built-dso:=.dyn)): New static pattern rule.
44481 (generated): Add those targets.
44482 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44483 * config.make.in (READELF): New substituted variable.
44484 * elf/check-textrel.c: File removed.
44485
44486 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44487
44488 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44489 allow.
44490 * conform/data/ctype.h-data [C99-based standards] (isblank):
44491 Expect function.
44492 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44493 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44495 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44496 Specify type. Require positive value.
44497 (EILSEQ): Likewise.
44498 (ERANGE): Likewise.
44499 [ISO || POSIX] (EILSEQ): Do not expect.
44500 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44501 Specify type. Require positive value.
44502 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44503 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44504 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44505 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44506 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44507 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44508 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44509 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44510 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44511 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44512 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44513 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44514 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44515 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44516 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44517 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44518 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44519 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44520 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44521 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44522 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44523 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44524 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44525 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44526 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44527 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44528 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44529 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44530 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44531 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44532 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44533 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44534 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44535 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44536 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44537 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44538 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44539 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44540 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44541 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44542 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44543 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44544 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44545 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44546 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44547 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44548 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44549 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44550 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44551 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44552 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44553 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44554 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44555 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44556 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44557 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44558 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44559 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44560 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44561 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44562 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44563 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44564 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44565 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44566 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44567 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44568 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44569 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44570 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44571 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44572 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44573 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44574 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44575 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44576 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44577 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44578 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44579 Require >= 2.
44580 (FLT_ROUNDS): Expect as macro, not constant.
44581 (FLT_MANT_DIG): Use macro-int-constant.
44582 (DBL_MANT_DIG): Likewise.
44583 (LDBL_MANT_DIG): Likewise.
44584 (FLT_DIG): Likewise.
44585 (DBL_DIG): Likewise.
44586 (LDBL_DIG): Likewise.
44587 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44588 (DBL_MIN_EXP): Likewise.
44589 (LDBL_MIN_EXP): Likewise.
44590 (FLT_MAX_EXP): Use macro-int-constant.
44591 (DBL_MAX_EXP): Likewise.
44592 (LDBL_MAX_EXP): Likewise.
44593 (FLT_MAX_10_EXP): Likewise.
44594 (DBL_MAX_10_EXP): Likewise.
44595 (LDBL_MAX_10_EXP): Likewise.
44596 (FLT_MAX): Use macro-constant.
44597 (DBL_MAX): Likewise.
44598 (LDBL_MAX): Likewise.
44599 (FLT_EPSILON): Use macro-constant. Give upper bound.
44600 (DBL_EPSILON): Likewise.
44601 (LDBL_EPSILON): Likewise.
44602 (FLT_MIN): Likewise.
44603 (DBL_MIN): Likewise.
44604 (LDBL_MIN): Likewise.
44605 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44606 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44607 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44608 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44609 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44610 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44611 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44612 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44613 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44614 [ISO11] (FLT_TRUE_MIN): Likewise.
44615 [ISO11] (LDBL_TRUE_MIN): Likewise.
44616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44617 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44618 (SCHAR_MIN): Use macro-int-constant. Specify type.
44619 (SCHAR_MAX): Likewise.
44620 (UCHAR_MAX): Likewise.
44621 (CHAR_MIN): Likewise.
44622 (CHAR_MAX): Likewise.
44623 (MB_LEN_MAX): Use macro-int-constant.
44624 (SHRT_MIN): Use macro-int-constant. Specify type.
44625 (SHRT_MAX): Likewise.
44626 (USHRT_MAX): Likewise.
44627 (INT_MAX): Likewise.
44628 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44629 bound negative.
44630 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44631 bound with "U".
44632 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44633 bound with "L".
44634 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44635 bound negative. Suffix upper bound with "L".
44636 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44637 bound with "UL".
44638 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44639 Specify type.
44640 [C99-based standards] (LLONG_MAX): Likewise.
44641 [C99-based standards] (ULLONG_MAX): Likewise.
44642 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44643 == 0.
44644 [ISO11] (max_align_t): Require type.
44645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44646
44647 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44648 from $CFLAGS, without defining away __attribute__ calls.
44649 (checknamespace): Use $CFLAGS_namespace.
44650
44651 * conform/conformtest.pl (@keywords): Only include C99 keywords
44652 for standards based on C99 or C11.
44653
44654 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44655 Disable tests.
44656 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44657 UNIX98]: Likewise.
44658
44659 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44660 usability of symbols in #if.
44661
44662 * conform/conformtest.pl: If macro or constant types start
44663 "promoted:", expect the symbol to be of the following type
44664 promoted by the integer promotions.
44665
44666 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44667 in one place. Also handle "macro-constant".
44668
44669 * conform/conformtest.pl: Only accept expected macro values with
44670 "==". Parse all "macro" lines in one place.
44671 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44672
44673 * conform/conformtest.pl: Handle braced types on "constant" lines
44674 instead of handling "typed-constant".
44675 * conform/data/signal.h-data: Use "constant" instead of
44676 "typed-constant".
44677
44678 * conform/conformtest.pl: Handle "optional-" at start of lines in
44679 one place rather than duplicating several cases. Handle each
44680 format of "macro" line with initial "optional-".
44681
44682 * conform/conformtest.pl: Only accept expected constant or
44683 optional-constant values with "==". Parse all "constant" lines in
44684 one place. Parse all "optional-constant" lines in one place.
44685 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44686 * conform/data/fmtmsg.h-data: Likewise.
44687 * conform/data/netinet/in.h-data: Likewise.
44688 * conform/data/tar.h-data: Likewise.
44689 * conform/data/limits.h-data: Use "==" form on "constant" and
44690 "optional-constant" lines.
44691
44692 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44693 Use -std=c99 for XOPEN2K.
44694 (@knownproblems): Remove.
44695 (newtoken): Don't check %isknown.
44696
44697 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44698 Do not expect macro.
44699 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44700 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44701 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44702 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44705 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44706 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44711 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44712 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44714 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44715 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44716 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44729 [XPG3] (acosh): Likewise.
44730 [XPG3] (asinh): Likewise.
44731 [XPG3] (atanh): Likewise.
44732 [XPG3] (cbrt): Likewise.
44733 [XPG3] (expm1): Likewise.
44734 [XPG3] (ilogb): Likewise.
44735 [XPG3] (log1p): Likewise.
44736 [XPG3] (logb): Likewise.
44737 [XPG3] (nextafter): Likewise.
44738 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44739 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44740 [XPG3] (remainder): Likewise.
44741 [XPG3] (rint): Likewise.
44742 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44743 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44744 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44749 [UNIX98 || XOPEN2K] (scalb): Expect.
44750 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44751 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44756 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44757 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44768 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44769 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44770 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44771 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44772 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44773 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44774 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44775 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44776 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44777 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44778 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44779 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44780 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44781 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44782 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44783 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44784 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44785 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44786 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44787 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44788 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44789 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44790 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44791 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44792 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44793 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44794 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44795 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44796 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44797 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44798 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44799 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44800 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44801 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44802 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44803 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44804 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44805 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44806 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44807 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44808 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44809 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44810 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44811 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44812 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44813 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44814 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44815 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44816 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44817 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44818 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44819 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44820 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44821 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44822 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44823 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44824 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44825 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44826 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44827 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44828 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44829 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44830 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44831 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44832 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44833 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44834 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44835 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44836 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44837 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44838 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44839 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44840 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44841 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44842 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44843 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44844 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44845 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44846 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44847 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44848 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44849 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44850 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44851 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44852 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44853 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44854 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44855 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44856 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44857 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44858 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44859 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44860 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44861 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44862 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44863 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44864 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44865 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44866 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44867 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44868 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44869 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44870 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44871 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44872 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44873 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44874 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44875 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44876 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44877 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44878 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44879 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44880 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44881 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44882 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44883 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44884 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44885 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44886 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44887
44888 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44889 _XOPEN_SOURCE_EXTENDED for XPG4.
44890
44891 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44892
44893 * Makeconfig (localtime): Remove variable.
44894 (inst_localtime-file): Likewise.
44895
44896 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44897
44898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44899 Update.
44900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44901 Update.
44902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44903 Update.
44904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44905 Update.
44906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44907 Update.
44908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44909 Update.
44910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44911 Update.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44913 Update.
44914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44915 Update.
44916
44917 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44918
44919 [BZ #2550]
44920 [BZ #2570]
44921 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44922 comparisons to determine direction to adjust input.
44923 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44924 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44925 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44926 Likewise.
44927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44928 Likewise.
44929 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44930 Likewise.
44931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44933 Likewise.
44934 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44935 Likewise.
44936 * math/libm-test.inc (nexttoward_test): Add more tests.
44937
44938 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44939
44940 [BZ #14040]
44941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44942 in version GLIBC_2.1, not GLIBC_2.0.
44943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44944 Likewise.
44945
44946 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44947
44948 [BZ #13942]
44949 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44950 (1 - x) * (1 + x).
44951 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44952 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44953 * math/libm-test.inc (acos_test): Add more tests.
44954 (asin_test): Likewise.
44955 * sysdeps/i386/fpu/libm-test-ulps: Update.
44956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44957
44958 [BZ #14034]
44959 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44960 of square root.
44961 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44962 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44963 * math/libm-test.inc (acos_test_tonearest): New function.
44964 (acos_test_towardzero): Likewise.
44965 (acos_test_downward): Likewise.
44966 (acos_test_upward): Likewise.
44967 (asin_test_tonearest): Likewise.
44968 (asin_test_towardzero): Likewise.
44969 (asin_test_downward): Likewise.
44970 (asin_test_upward): Likewise.
44971 (main): Call the new functions.
44972 * sysdeps/i386/fpu/libm-test-ulps: Update.
44973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44974
44975 [BZ #13884]
44976 [BZ #13924]
44977 * math/e_exp10.c: Include <float.h>.
44978 (__ieee754_exp10): Handle underflow here rather than multiplying
44979 large negative argument by M_LN10.
44980 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44981 of __ieee754_expf.
44982 * math/e_exp10l.c: Include <float.h>.
44983 (__ieee754_exp10l): Handle underflow here rather than multiplying
44984 large negative argument by M_LN10l.
44985 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44986 spurious overflow exception on underflow.
44987
44988 2012-04-29 Marek Polacek <polacek@redhat.com>
44989
44990 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44991 (__fortify_function): New macro.
44992 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44993 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44994 __extern_always_inline.
44995 * libio/bits/stdio2.h: Likewise.
44996 * libio/bits/stdio.h: Likewise.
44997 * string/string.h: Likewise.
44998 * string/bits/string3.h: Likewise.
44999 * include/stdio.h: Likewise.
45000 * stdlib/bits/stdlib.h: Likewise.
45001 * stdlib/stdlib.h: Likewise.
45002 * rt/bits/mqueue2.h: Likewise.
45003 * rt/mqueue.h: Likewise.
45004 * posix/bits/unistd.h: Likewise.
45005 * posix/unistd.h: Likewise.
45006 * io/bits/poll2.h: Likewise.
45007 * io/bits/fcntl2.h: Likewise.
45008 * io/fcntl.h: Likewise.
45009 * io/sys/poll.h: Likewise.
45010 * misc/bits/syslog.h: Likewise.
45011 * misc/bits/syslog-ldbl.h: Likewise.
45012 * misc/sys/syslog.h: Likewise.
45013 * socket/bits/socket2.h: Likewise.
45014 * socket/sys/socket.h: Likewise.
45015 * debug/tst-chk1.c: Likewise.
45016 * wcsmbs/bits/wchar2.h: Likewise.
45017 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45018 * wcsmbs/wchar.h: Likewise.
45019
45020 2012-04-29 Andreas Jaeger <aj@suse.de>
45021
45022 * Makerules (tests): Remove enable-check-abi protection.
45023 (check-abi-warn): Remove.
45024 (check-abi-%): Remove check-abi-warn usage.
45025
45026 * configure.in: Remove check-abi configure option.
45027 * configure: Regenerated.
45028 * config.make.in (enable-check-abi): Remove.
45029
45030 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45031
45032 [BZ #14033]
45033 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45034 double functions to double *_finite functions.
45035
45036 [BZ #13941]
45037 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45038 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45039 LDBL_MIN_EXP.
45040 * stdio-common/Makefile (tests): Add tst-sprintf3.
45041 * stdio-common/tst-sprintf3.c: New file.
45042
45043 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45044 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45045
45046 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45047
45048 * conform/conformtest.pl: Remove duplicate typed-constant
45049 handling.
45050
45051 2012-04-28 David S. Miller <davem@davemloft.net>
45052
45053 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45054 (check-abi-%): Remove AWK script prerequisite and explicit
45055 abilist directory.
45056 (check-abi): Rewrite to just diff the symlist with the abilist.
45057 (config-tls, config-abi-config): Delete, no longer used.
45058 (update-abi-%): Remove AWK script and explicit abilist directory.
45059 (update-abi): Rewrite to simply compare and conditionally copy the
45060 symlist and the sysdep abilist file. Remove update-abi-config
45061 checks.
45062 * abilist/ld.abilist: Remove.
45063 * abilist/libBrokenLocale.abilist: Remove.
45064 * abilist/libanl.abilist: Remove.
45065 * abilist/libcrypt.abilist: Remove.
45066 * abilist/libdl.abilist: Remove.
45067 * abilist/librt.abilist: Remove.
45068 * abilist/libthread_db.abilist: Remove.
45069 * abilist/libutil.abilist: Remove.
45070 * scripts/extract-abilist.awk: Remove.
45071 * scripts/merge-abilist.awk: Remove.
45072 * sysdeps/generic/libcidn.abilist: New file.
45073 * sysdeps/generic/libnss_compat.abilist: New file.
45074 * sysdeps/generic/libnss_db.abilist: New file.
45075 * sysdeps/generic/libnss_dns.abilist: New file.
45076 * sysdeps/generic/libnss_files.abilist: New file.
45077 * sysdeps/generic/libnss_hesiod.abilist: New file.
45078 * sysdeps/generic/libnss_nis.abilist: New file.
45079 * sysdeps/generic/libnss_nisplus.abilist: New file.
45080 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45081 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45082 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45083 file.
45084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45085 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45086 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45087 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45088 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45089 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45090 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45091 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45092 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45093 file.
45094 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45095 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45096 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45097 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45098 file.
45099 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45100 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45101 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45102 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45103 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45104 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45105 file.
45106 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45107 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45108 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45109 file.
45110 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45112 New file.
45113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45114 New file.
45115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45116 New file.
45117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45118 New file.
45119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45120 New file.
45121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45122 New file.
45123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45124 New file.
45125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45126 New file.
45127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45128 New file.
45129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45130 New file.
45131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45132 New file.
45133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45134 New file.
45135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45136 New file.
45137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45138 file.
45139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45140 New file.
45141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45142 New file.
45143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45144 file.
45145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45146 New file.
45147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45148 New file.
45149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45150 file.
45151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45152 New file.
45153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45154 New file.
45155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45156 New file.
45157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45158 New file.
45159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45160 New file.
45161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45162 New file.
45163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45165 file.
45166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45167 New file.
45168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45169 file.
45170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45171 file.
45172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45173 file.
45174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45175 file.
45176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45177 file.
45178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45179 New file.
45180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45181 file.
45182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45183 file.
45184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45185 New file.
45186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45187 file.
45188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45190 file.
45191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45192 New file.
45193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45194 file.
45195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45196 file.
45197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45198 file.
45199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45200 file.
45201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45202 file.
45203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45204 New file.
45205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45206 file.
45207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45208 file.
45209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45210 New file.
45211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45212 file.
45213 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45214 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45215 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45216 file.
45217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45218 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45219 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45220 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45221 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45222 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45223 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45224 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45225 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45226 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45229 file.
45230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45231 New file.
45232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45233 file.
45234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45235 file.
45236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45237 file.
45238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45239 file.
45240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45241 file.
45242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45243 New file.
45244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45245 New file.
45246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45247 file.
45248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45249 New file.
45250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45251 file.
45252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45254 file.
45255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45256 New file.
45257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45258 file.
45259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45260 file.
45261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45262 file.
45263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45264 file.
45265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45266 file.
45267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45268 New file.
45269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45270 New file.
45271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45272 file.
45273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45274 New file.
45275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45276 file.
45277
45278 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45279
45280 * conform/conformtest.pl: Fix typo in handling typed-constant from
45281 allow-header.
45282
45283 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45284
45285 * README: Cut down references to pre-2.6 Linux kernels and
45286 Linuxthreads. Update lists of configurations in libc and ports
45287 and sort alphabetically. Say "or newer" with Linux kernel version
45288 requirements.
45289
45290 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45291
45292 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45293
45294 [BZ #887]
45295 * math/libm-test.inc (logb_test_downward): New test to expose
45296 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45297 rounding mode.
45298
45299 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45300
45301 [BZ #14027]
45302 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45303 to be done.
45304 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45305 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45306
45307 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45308
45309 * sysdeps/unix/i386/brk.S: Remove file.
45310 * sysdeps/unix/i386/dl-brk.S: Likewise.
45311 * sysdeps/unix/i386/pipe.S: Likewise.
45312 * sysdeps/unix/i386/sigreturn.S: Likewise.
45313 * sysdeps/unix/i386/syscall.S: Likewise.
45314 * sysdeps/unix/i386/vfork.S: Likewise.
45315 * sysdeps/unix/i386/wait.S: Likewise.
45316
45317 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45318 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45319
45320 * configure.in (arm*-none*): Do not allow without
45321 --enable-hacker-mode.
45322 (netbsd*): Remove case setting base_os.
45323 (386bsd*): Likewise.
45324 (freebsd*): Likewise.
45325 (bsdi*): Likewise.
45326 (osf*): Likewise.
45327 (sunos*): Likewise.
45328 (ultrix*): Likewise.
45329 (newsos*): Likewise.
45330 (dynix*): Likewise.
45331 (*bsd*): Likewise.
45332 (sysv*): Likewise.
45333 (isc*): Likewise.
45334 (esix*): Likewise.
45335 (sco*): Likewise.
45336 (minix*): Likewise.
45337 (irix4*): Likewise.
45338 (irix6*): Likewise.
45339 (solaris[2-9]*): Likewise.
45340 (none): Likewise.
45341 * configure: Regenerated.
45342
45343 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45344
45345 [BZ #11521]
45346 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45347 overflow or cancellation in calculating denominator.
45348 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45349 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45350 down expression to avoid unexpected rounding in newer GCCs.
45351 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45352
45353 2012-04-26 David S. Miller <davem@davemloft.net>
45354
45355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45356 long-double compat symbols.
45357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45370
45371 2012-04-25 David S. Miller <davem@davemloft.net>
45372
45373 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45374 HWCAP_* values only after the memory barriers have been defined.
45375 (atomic_full_barrier): Define.
45376 (atomic_read_barrier): Define.
45377 (atomic_write_barrier): Define.
45378
45379 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45380
45381 * shlib-versions: Add libgcc_s version information.
45382 * sysdeps/generic/libgcc_s.h: Remove.
45383 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45384 libgcc_s.h.
45385 * sysdeps/gnu/unwind-resume.c: Likewise.
45386 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45387
45388 2012-04-25 David S. Miller <davem@davemloft.net>
45389
45390 * sysdeps/unix/sparc/brk.S: Delete.
45391 * sysdeps/unix/sparc/dl-brk.S: Delete.
45392 * sysdeps/unix/sparc/pipe.S: Delete.
45393 * sysdeps/unix/sparc/sysdep.S: Delete.
45394 * sysdeps/unix/sparc/sysdep.h: Delete.
45395 * sysdeps/unix/sparc/vfork.S: Delete.
45396 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45397 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45399 (ret_ERRVAL, r0, r1, MOVE): Define.
45400 (JUMPTARGET): Remove.
45401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45402 sysdeps/unix/sparc/sysdep.h
45403 (ENTRY, END): Remove.
45404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45405
45406 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45407
45408 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45409 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45410 -DIS_IN_build.
45411
45412 * timezone/README: Update upstream location and email address for
45413 tzcode and tzdata.
45414 * timezone/zdump.c: Update from tzcode 2012b.
45415 * timezone/zic.c: Likewise.
45416
45417 * configure.in (libc_cv_as_needed): Remove test.
45418 * configure: Regenerated.
45419 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45420 conditional definition.
45421 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45422 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45423 * config.make.in (have-as-needed): Remove variable.
45424
45425 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45426 Paul Pluzhnikov <ppluzhnikov@google.com>
45427
45428 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45429 strings correctly.
45430
45431 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45432
45433 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45434 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45435 * sysdeps/sh/strlen.S: Likewise.
45436
45437 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45438
45439 * sysdeps/unix/fork.S: Remove file.
45440 * sysdeps/unix/i386/fork.S: Likewise.
45441 * sysdeps/unix/sparc/fork.S: Likewise.
45442
45443 * sysdeps/unix/system.c: Remove file.
45444 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45445
45446 * sysdeps/unix/getegid.S: Remove file.
45447 * sysdeps/unix/geteuid.S: Likewise.
45448
45449 2012-04-24 Roland McGrath <roland@hack.frob.com>
45450
45451 * scripts/check-localplt.awk: New file.
45452 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45453 of diff.
45454 * scripts/data/localplt-generic.data: Add a comment.
45455
45456 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45457 NODE when __dir_mkfile failed.
45458 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45459 Reported by Ludovic Courtès <ludo@gnu.org>.
45460
45461 2012-04-24 Andreas Jaeger <aj@suse.de>
45462
45463 * Makerules (common-clean): Also remove gen-as-const-headers
45464 files.
45465
45466 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45467
45468 * Makerules (native-compile): Do not change working directory for
45469 build. Use $(OUTPUT_OPTION) in command.
45470 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45471
45472 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45473
45474 [BZ #13886]
45475 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45476 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45477 * math/libm-test.inc (floor_test): Add more tests.
45478 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45479
45480 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45481
45482 * sysdeps/unix/getdents.c: Remove file.
45483 * sysdeps/unix/sysv/getdents.c: Likewise.
45484 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45485
45486 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45487 sysdeps/unix/mman/syscalls.list.
45488 (mmap): Likewise.
45489 (mprotect): Likewise.
45490 (msync): Likewise.
45491 (munmap): Likewise.
45492 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45493 * sysdeps/unix/mman/syscalls.list: Remove.
45494 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45495
45496 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45497 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45498 * configure: Regenerated.
45499 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45500 $(libgcc_s_suffix).
45501 * config.make.in (libgcc_s_suffix): Remove variable.
45502
45503 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45504
45505 * sysdeps/unix/sysv/gethostname.c: Move to ...
45506 * sysdeps/posix/gethostname.c: ... here.
45507
45508 * sysdeps/unix/execve.S: Remove file.
45509
45510 * sysdeps/unix/_exit.S: Remove file.
45511
45512 2012-04-23 Andreas Jaeger <aj@suse.de>
45513
45514 [BZ #13739]
45515 * manual/Makefile: Remove make dist support, there's no
45516 need for a stand-alone documentation tar ball.
45517 (TEXI2DVI): Define always, it's not in Makeconfig.
45518 (dist): Removed.
45519 (tar-it): Removed.
45520 (edition): Removed.
45521 (glibc-doc-$(edition).tar): Removed
45522 (%.Z): Removed.
45523 (%.gz): Removed.
45524 (%.uu): Removed.
45525 (ETAGS): Remove, it's in Makeconfig.
45526 (move-if-change): Remove, it's in Makeconfig.
45527
45528 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45529
45530 [BZ #13970]
45531 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45532 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45533 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45534 (strtod_l, strtof_l, strtold_l): Remove __wur.
45535 It is not necessarily an error to ignore strtol's return value.
45536 One can reliably look at the stored endptr to decide whether
45537 the number had valid syntax.
45538
45539 2012-04-21 Andreas Jaeger <aj@suse.de>
45540
45541 [BZ #13739]
45542 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45543
45544 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45545
45546 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45547 * sysdeps/unix/sysv/Versions: Remove file.
45548
45549 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45550
45551 [BZ #13927]
45552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45553
45554 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45555
45556 [BZ #7064]
45557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45558 version from __vm86.
45559
45560 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45561
45562 * sysdeps/unix/common/lxstat.c: Remove file.
45563 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45564
45565 * sysdeps/unix/sysv/Makefile: Remove file.
45566
45567 * sysdeps/unix/sysv/direct.h: Remove file.
45568
45569 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45570 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45571 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45572 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45573 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45574 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45575 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45576
45577 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45578
45579 * sysdeps/unix/xmknod.c: Remove file.
45580 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45581
45582 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45583
45584 * sysdeps/unix/sysv/i386/time.S: Remove file.
45585
45586 * sysdeps/unix/fxstat.c: Remove file.
45587 * sysdeps/unix/xstat.c: Likewise.
45588 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45589
45590 * sysdeps/unix/sysv/sigaction.c: Remove file.
45591
45592 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45593 (sysdep_headers): Remove variable.
45594 [termio.h not in sysdep_headers] (generated): Likewise.
45595 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45596 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45597 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45598 * sysdeps/unix/sysv/tcflow.c: Likewise.
45599 * sysdeps/unix/sysv/tcflush.c: Likewise.
45600 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45601 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45602 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45603 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45604 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45605
45606 * sysdeps/unix/siglist.c: Remove file.
45607
45608 * sysdeps/unix/getppid.S: Remove file.
45609
45610 * sysdeps/unix/mkdir.c: Remove file.
45611 * sysdeps/unix/rmdir.c: Likewise.
45612
45613 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45614
45615 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45616 ERR_MAX value.
45617 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45618 errlist-compat value.
45619
45620 2012-04-18 David S. Miller <davem@davemloft.net>
45621
45622 * sysdeps/generic/memcopy.h (reg_char): Delete.
45623 * debug/strcat_chk.c: Use char, not reg_char.
45624 * debug/strcpy_chk.c: Likewise.
45625 * debug/strncat_chk.c: Likewise.
45626 * debug/strncpy_chk.c: Likewise.
45627 * string/memchr.c: Likewise.
45628 * string/memrchr.c: Likewise.
45629 * string/rawmemchr.c: Likewise.
45630 * string/strcat.c: Likewise.
45631 * string/strchr.c: Likewise.
45632 * string/strchrnul.c: Likewise.
45633 * string/strcmp.c: Likewise.
45634 * string/strcpy.c: Likewise.
45635 * string/strncat.c: Likewise.
45636 * string/strncmp.c: Likewise.
45637 * string/strncpy.c: Likewise.
45638
45639 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45640
45641 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45642 __builtin_memcopy is called when src and dest ranges are known to not
45643 overlap.
45644
45645 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45646
45647 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45648 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45649 fwd_align_merge macro call.
45650 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45651 bwd_align_merge macro call.
45652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45653
45654 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45655
45656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45657 bwd_align_merge macros.
45658 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45659 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45661
45662 2012-04-18 David S. Miller <davem@davemloft.net>
45663
45664 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45665
45666 2012-04-18 Andreas Jaeger <aj@suse.de>
45667
45668 [BZ# 6794]
45669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45670 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45671 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45672
45673 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45674 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45675 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45676
45677 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45678 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45679 Adjust for changed ldbl-128 files.
45680
45681 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45682 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45684
45685 2012-04-17 David S. Miller <davem@davemloft.net>
45686
45687 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45688
45689 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45690
45691 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45692 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45693 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45694 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45695 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45696 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45697
45698 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45699
45700 [BZ #6794]
45701 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45702 * math/libm-test.inc: Add ilogb errno and exception tests.
45703 * math/w_ilogb.c: New file: ilogb wrapper.
45704 * math/w_ilogbf.c: New file: ilogbf wrapper.
45705 * math/w_ilogbl.c: New file: ilogbl wrapper.
45706 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45707 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45708 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45709 exception being thrown with 0.0 as argument.
45710 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45711 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45712 exception being thrown with 0.0 as argument.
45713 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45714 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45715 exception being thrown with 0.0 as argument.
45716 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45717 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45718 exception being thrown with 0.0 as argument.
45719 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45720 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45722 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45724 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45725 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45726 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45727 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45728
45729 2012-04-17 Petr Baudis <pasky@ucw.cz>
45730
45731 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45732 with altivec.
45733
45734 2012-04-16 Marek Polacek <polacek@redhat.com>
45735
45736 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45737
45738 2012-04-16 Marek Polacek <polacek@redhat.com>
45739
45740 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45741 operands of fdivp instruction.
45742
45743 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45744
45745 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45746 * elf/tst-auditmod3b.c: Likewise.
45747 * elf/tst-auditmod4b.c: Likewise.
45748 * elf/tst-auditmod5b.c: Likewise.
45749 * elf/tst-auditmod6b.c: Likewise.
45750 * elf/tst-auditmod6c.c: Likewise.
45751 * elf/tst-auditmod7b.c: Likewise.
45752 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45753 * sysdeps/x86_64/preconfigure.in: Likewise.
45754 * sysdeps/x86_64/preconfigure: Regenerated.
45755
45756 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45757
45758 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45759 __ILP32__.
45760
45761 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45762
45763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45764 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45765
45766 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45767
45768 [BZ #13973]
45769 * locale/iso-639.def: Fix gl language name. Spotted by
45770 Yaron Shahrabani.
45771
45772 2012-04-12 Roland McGrath <roland@hack.frob.com>
45773
45774 [BZ #2074]
45775 * libio/libio.h (__io_write_fn): Update comment.
45776
45777 2012-04-12 Petr Baudis <pasky@ucw.cz>
45778
45779 [BZ #2074]
45780 * stdio.texi (Hook Functions): The user provided writer function
45781 is not allowed to return -1.
45782
45783 2012-04-11 David S. Miller <davem@davemloft.net>
45784
45785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45786
45787 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45788
45789 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45790 Add a leading slash to rtkaio.
45791
45792 2012-04-11 Jim Meyering <meyering@redhat.com>
45793
45794 [BZ #11959]
45795 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45796 It is not necessarily an error to ignore fwrite's return
45797 value. One can reliably use ferror to test for errors after
45798 the fact.
45799
45800 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45801
45802 * bits/types.h (__snseconds_t): New type.
45803 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45804
45805 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45807 (__SNSECONDS_T_TYPE): Likewise.
45808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45809 (__SNSECONDS_T_TYPE): Likewise.
45810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45811 (__SNSECONDS_T_TYPE): Likewise.
45812
45813 2012-04-10 Andreas Jaeger <aj@suse.de>
45814
45815 [BZ #2636]
45816 * manual/time.texi (Processor Time): Return type of times is
45817 elapsed real time since an arbitrary point in the past.
45818 (CPU Time): Move CLK_TCK from here...
45819 (Processor Time): ...to here. Correct description.
45820 * manual/conf.texi (Constants for Sysconf): Correct description of
45821 _SC_CLK_TCK.
45822
45823 2012-04-10 David S. Miller <davem@davemloft.net>
45824
45825 [BZ #13967]
45826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45827 where the is a gap between DT_REL(A) and DT_JMPREL.
45828
45829 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45830
45831 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45834
45835 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45836
45837 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45838 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45839 (dl_main): Handle --inhibit-cache.
45840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45841 _dl_inhibit_cache.
45842 * elf/dl-load.c (_dl_map_object): Use it.
45843 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45844
45845 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45846
45847 [BZ #13872]
45848 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45849 (__ieee754_powl): Saturate large exponents rather than testing for
45850 overflow of y*log2(x).
45851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45852 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45853 exceptions.
45854
45855 [BZ #11521]
45856 * math/s_ctan.c: Include <float.h>.
45857 (__ctan): Avoid internal overflow or cancellation in calculating
45858 denominator.
45859 * math/s_ctanf.c: Likewise.
45860 * math/s_ctanl.c: Likewise.
45861 * math/s_ctanh.c: Likewise.
45862 * math/s_ctanhf.c: Likewise.
45863 * math/s_ctanhl.c: Likewise.
45864 * math/libm-test.inc (ctan_test): Add more tests.
45865 (ctanh_test): Likewise.
45866 * sysdeps/i386/fpu/libm-test-ulps: Update.
45867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45868
45869 2012-04-09 Andreas Jaeger <aj@suse.de>
45870
45871 [BZ #6894]
45872 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45873 is an optional BSD extension.
45874
45875 [BZ #10254]
45876 * manual/stdio.texi (Opening Streams): Document additional fopen
45877 parameters.
45878
45879 2012-04-09 Roland McGrath <roland@hack.frob.com>
45880
45881 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45882 %eax without telling the compiler.
45883
45884 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45885
45886 [BZ # 13963]
45887 * manual/install.texi: Use sourceware.org.
45888
45889 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45890
45891 [BZ #13873]
45892 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45893 (__ieee754_pow): Generate overflow and underflow using huge*huge
45894 and tiny*tiny rather than just returning constant infinity or zero
45895 for large exponents.
45896 * math/libm-test.inc (pow_test): Require overflow exceptions for
45897 applicable cases of large exponents.
45898
45899 [BZ #706]
45900 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45901 (__ieee754_pow): Use iterative multiplication algorithm only for
45902 integer exponents with absolute value below 1024. Check for odd
45903 integer exponents when using algorithm for real exponents.
45904 * math/libm-test.inc (pow_test): Add more tests.
45905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45906
45907 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45908
45909 [BZ #13705]
45910 * math/libm-test.inc (exp_test): Do not allow overflow exception
45911 on underflow test.
45912
45913 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45914
45915 [BZ #13705]
45916 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45917 instead of __kernel_standard_f.
45918
45919 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45920
45921 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45922 * sysdeps/x86_64/memset_chk.S: Likewise.
45923
45924 2012-04-08 Andreas Jaeger <aj@suse.de>
45925
45926 [BZ #10153]
45927 * manual/startup.texi (Environment Access): Describe return value
45928 for putenv and setenv.
45929
45930 [BZ #6895]
45931 * manual/filesys.texi (Directory Entries): Add description for
45932 DT_LNK.
45933
45934 [BZ #6890]
45935 * manual/filesys.texi (Directory Entries): Clarify that it's file
45936 system not operating system in the description of DT_UNKNOWN.
45937
45938 [BZ #6578]
45939 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45940
45941 2012-04-08 Stephen Compall <s11@member.fsf.org>
45942
45943 [BZ #6649]
45944 * manual/llio.texi (Opening and Closing Files): Add cross
45945 reference to explain mode argument.
45946
45947 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45948
45949 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45950 * sysdeps/x86_64/memset_chk.S: Likewise.
45951
45952 2012-04-07 David S. Miller <davem@davemloft.net>
45953
45954 * elf/elf.h (R_SPARC_WDISP10): Define.
45955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45956 R_SPARC_SIZE32.
45957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45958 R_SPARC_SIZE64 and R_SPARC_H34.
45959
45960 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45961
45962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45963 conditions and remove no longer applicable assertion.
45964
45965 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45966
45967 * bits/byteswap.h: Include <features.h>.
45968 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45969 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45970
45971 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45972
45973 * bits/byteswap.h (__bswap_16): Removed.
45974 Include <bits/byteswap-16.h> to get __bswap_16.
45975 * sysdeps/i386/bits/byteswap.h: Likewise.
45976 * sysdeps/s390/bits/byteswap.h: Likewise.
45977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45978 * bits/byteswap-16.h: New file.
45979 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45980 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45981 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45982 * string/Makefile (headers): Add bits/byteswap-16.h.
45983
45984 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45985
45986 [BZ #13895]
45987 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45988 extra indirection.
45989 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45990 * nss/tst-nss-static.c: New.
45991
45992 2012-04-06 Robert Millan <rmh@gnu.org>
45993
45994 [BZ #6486]
45995 * manual/llio.texi (File Position Primitive): lseek
45996 refers to WHENCE when it really means OFFSET.
45997
45998 2012-04-06 Andreas Jaeger <aj@suse.de>
45999
46000 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46001 strncmp declarations.
46002
46003 * abilist/libc.abilist: Add __poll and __ppoll.
46004
46005 2012-04-05 David S. Miller <davem@davemloft.net>
46006
46007 * scripts/check-local-headers.sh: Accept a host triplet in the
46008 path matched by the exclude regexp.
46009
46010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46011 definition.
46012 * sysdeps/powerpc/powerpc32/dl-machine.h
46013 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46014 * sysdeps/s390/s390-32/dl-machine.h
46015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46016 * sysdeps/sparc/sparc32/dl-machine.h
46017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46018 * sysdeps/sparc/sparc64/dl-machine.h
46019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46020
46021 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46022 lazy binding.
46023 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46024 undefined symbol errors.
46025
46026 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46027 DT_NEEDED entries.
46028
46029 2012-04-05 Michael Matz <matz@suse.de>
46030
46031 [BZ #13592]
46032 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46033
46034 2012-04-05 Andreas Jaeger <aj@suse.de>
46035
46036 [BZ #13908]
46037 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46038 comment.
46039
46040 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46041
46042 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46043 which ROUND is no valid rounding mode.
46044
46045 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46046
46047 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46048 read again.
46049 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46050
46051 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46052
46053 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46054 an exception using FPU order intentionally.
46055
46056 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46057
46058 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46059 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46060 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46061 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46062
46063 2012-04-05 Simon Josefsson <simon@josefsson.org>
46064
46065 [BZ #12340]
46066 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46067 EINVAL when BUFLEN is too smal.
46068
46069 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46070
46071 [BZ #13553]
46072 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46073 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46074
46075 2012-04-03 Andreas Jaeger <aj@suse.de>
46076
46077 [BZ #13938]
46078 * manual/setjmp.texi (System V contexts): Fix sentence.
46079
46080 [BZ #13926]
46081 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46082 New macro for this case.
46083 [!__GNUC__] (__bswap_64): New inline function for this case.
46084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46085 * bits/byteswap.h: Likewise.
46086 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46087 ull, guard with __GLIBC_HAVE_LONG_LONG.
46088
46089 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46090 __GLIBC_HAVE_LONG_LONG.
46091
46092 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46093 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46094
46095 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46096
46097 [BZ #13691]
46098 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46099 inptr and inend, rather than using last_ch.
46100
46101 2012-04-02 David S. Miller <davem@davemloft.net>
46102
46103 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46104 * stdio-common/printf-parse.h (read_int): Change return type to
46105 'int', return -1 on INT_MAX overflow.
46106 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46107 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46108 overflows INT_MAX. Check for overflow of in-format-string precision
46109 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46110 SIZE_MAX not INT_MAX for integer overflow test.
46111 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46112 skip the construct in the format string but do not record anything.
46113 * stdio-common/bug22.c: Adjust to test both width/prevision
46114 INT_MAX overflow as well as total length INT_MAX overflow. Check
46115 explicitly for proper errno values.
46116
46117 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46118
46119 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46120 CHAR_MAX.
46121 * string/test-strcmp.c [! WIDE]: Likewise.
46122 * time/tst-mktime2.c: Likewise for INT_MAX.
46123 * string/test-string.h: #include <sys/param.h> for MIN.
46124
46125 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46126 * sysdeps/i386/init-first.c (init): Likewise.
46127 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46128 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46129 * sysdeps/sh/init-first.c (init): Likewise.
46130
46131 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46132
46133 * po/ru.po: Update from translation team.
46134 * po/vi.po: Likewise.
46135
46136 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46137
46138 * resolv/nss_dns/dns-host.c: Merge copyright years.
46139
46140 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46141
46142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46143 Optimize memcpy with prefetch if
46144 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46145 src, dst pointers have unequal 16 byte alignments.
46146
46147 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46148
46149 [BZ #13928]
46150 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46151 from a CNAME entry and return the minimum ttl for the query.
46152 (gaih_getanswer_slice): Likewise.
46153
46154 2012-03-30 Jeff Law <law@redhat.com>
46155
46156 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46157 due to long keys.
46158 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46159 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46160
46161 * resolv/nss_dns/dns-host.c: Update copyright year.
46162
46163 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46164
46165 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46166 requests to save a system call. Fix check that all bytes are sent.
46167
46168 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46169 comments for sendmmsg.
46170
46171 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46172
46173 [BZ #13691]
46174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46175 with only 1 character between 0x0041 and 0x01b0.
46176 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46177 * wcsmbs/tst-mbsnrtowcs.c: New file.
46178
46179 2012-03-29 David S. Miller <davem@davemloft.net>
46180
46181 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46182 small copies by hand.
46183
46184 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46185
46186 [BZ #13761]
46187 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46188 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46189 group memberships.
46190
46191 2012-03-28 David S. Miller <davem@davemloft.net>
46192
46193 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46194 that branches into memcpy.
46195 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46198 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46200 bits.
46201 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46202 implementation too.
46203 * sysdeps/sparc/mempcpy.S: New file.
46204
46205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46206 the IFUNC routine in the libc case.
46207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46208
46209 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46210 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46211 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46212 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46213 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46214 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46215 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46216 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46217
46218 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46219 loop to 256 bytes instead of 64 bytes and fix test signedness.
46220
46221 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46222 * sysdeps/sparc/sparc32/Makefile: rather than here...
46223 * sysdeps/sparc/sparc64/Makefile: and here.
46224
46225 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46226
46227 * malloc/mallocbug.c: Avoid warnings about unused variables.
46228
46229 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46230
46231 [BZ #13760]
46232 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46233 in the right place. Discard and retry query if response is
46234 larger than input buffer size.
46235
46236 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46237
46238 [BZ #369]
46239 [BZ #2678]
46240 [BZ #3866]
46241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46242 x for large integer exponent.
46243 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46244 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46245 sign of result as needed afterwards.
46246 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46247 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46248 result for underflowing pow the same as for overflow.
46249 (__kernel_standard_l): Handle powl overflow and underflow here
46250 rather than calling __kernel_standard.
46251 * math/libm-test.inc (pow_test): Add more tests.
46252
46253 [BZ #3868]
46254 [BZ #13879]
46255 [BZ #13910]
46256 [BZ #13911]
46257 [BZ #13912]
46258 [BZ #13913]
46259 [BZ #13915]
46260 [BZ #13916]
46261 [BZ #13917]
46262 [BZ #13918]
46263 [BZ #13919]
46264 [BZ #13920]
46265 [BZ #13921]
46266 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46267 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46268 (__kernel_standard_l): New function.
46269 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46270 __kernel_standard.
46271 * math/w_acosl.c (__acosl): Likewise.
46272 * math/w_asinl.c (__asinl): Likewise.
46273 * math/w_atan2l.c (__atan2l): Likewise.
46274 * math/w_atanhl.c (__atanhl): Likewise.
46275 * math/w_coshl.c (__coshl): Likewise.
46276 * math/w_exp10l.c (__exp10l): Likewise.
46277 * math/w_exp2l.c (__exp2l): Likewise.
46278 * math/w_fmodl.c (__fmodl): Likewise.
46279 * math/w_hypotl.c (__hypotl): Likewise.
46280 * math/w_j0l.c (__j0l, __y0l): Likewise.
46281 * math/w_j1l.c (__j1l, __y1l): Likewise.
46282 * math/w_jnl.c (__jnl, __ynl): Likewise.
46283 * math/w_lgammal.c (__lgammal): Likewise.
46284 * math/w_log10l.c (__log10l): Likewise.
46285 * math/w_log2l.c (__log2l): Likewise.
46286 * math/w_logl.c (__logl): Likewise.
46287 * math/w_powl.c (__powl): Likewise.
46288 * math/w_remainderl.c (__remainderl): Likewise.
46289 * math/w_scalbl.c (sysv_scalbl): Likewise.
46290 * math/w_sinhl.c (__sinhl): Likewise.
46291 * math/w_sqrtl.c (__sqrtl): Likewise.
46292 * math/w_tgammal.c (__tgammal): Likewise.
46293 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46294 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46295 * math/libm-test.inc (acos_test): Add more tests.
46296 (acosh_test): Likewise.
46297 (asin_test): Likewise.
46298 (atanh_test): Likewise.
46299 (exp_test): Likewise.
46300 (exp10_test): Likewise.
46301 (exp2_test): Likewise.
46302 (expm1_test): Likewise.
46303 (lgamma_test): Likewise.
46304 (log_test): Likewise.
46305 (log10_test): Likewise.
46306 (log1p_test): Likewise.
46307 (log2_test): Likewise.
46308 (pow_test): Do not allow some spurious overflow exceptions.
46309 (sqrt_test): Add more tests.
46310 (tgamma_test): Likewise.
46311 (y0_test): Likewise.
46312 (y1_test): Likewise.
46313 (yn_test): Likewise.
46314
46315 2012-03-27 Anton Blanchard <anton@samba.org>
46316
46317 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46318 MAP_HUGETLB.
46319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46322
46323 2012-03-27 David S. Miller <davem@davemloft.net>
46324
46325 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46326
46327 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46328 have-as-vis3 check.
46329
46330 2012-03-27 Andreas Jaeger <aj@suse.de>
46331
46332 * sysdeps/x86_64/elf/configure.in: Moved to ...
46333 * sysdeps/x86_64/configure.in: ... here.
46334 * sysdeps/x86_64/elf/start.S: Moved to ...
46335 * sysdeps/x86_64/start.S: ... here.
46336 * sysdeps/x86_64/elf/configure: Delete.
46337
46338 * sysdeps/x86_64/configure.in: Merge contents from
46339 sysdeps/i386/configure.in (without i686 check).
46340
46341 * sysdeps/i386/elf/Versions: Merge into ...
46342 * sysdeps/i386/Versions: ... this.
46343 * sysdeps/i386/elf/Versions: Delete file.
46344 * sysdeps/i386/elf/start.S: Moved to ...
46345 * sysdeps/i386/start.S: ...here.
46346 * sysdeps/i386/elf/configure.in: Merge into...
46347 * sysdeps/i386/configure.in: ...here.
46348 * sysdeps/i386/elf/configure.in: Delete file.
46349 * sysdeps/i386/elf/configure: Delete file.
46350
46351 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46352 * debug/backtracesyms.c: ... here.
46353 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46354 * debug/backtracesymsfd.c: ... here.
46355 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46356 * sysdeps/generic/ifunc-sel.h: ... here.
46357
46358 * sysdeps/unix/i386/start.c: Delete file.
46359 * sysdeps/unix/sparc/start.c: Delete file.
46360 * sysdeps/unix/start.c: Delete file.
46361
46362 * sysdeps/sh/elf/configure.in: Moved to ...
46363 * sysdeps/sh/configure.in: ... here.
46364 * sysdeps/sh/elf/start.S: Moved to ...
46365 * sysdeps/sh/start.S: ... here.
46366 * sysdeps/sh/elf/configure: Delete file.
46367
46368 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46369 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46370 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46371 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46372 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46373 * sysdeps/powerpc/powerpc64/start.S: here.
46374 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46375 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46376 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46377 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46378 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46379
46380 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46381 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46382 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46383 * sysdeps/powerpc/powerpc32/start.S: ... here.
46384 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46385 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46386 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46387
46388 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46389 * sysdeps/powerpc/ifunc-sel.h: ... here.
46390 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46391 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46392
46393 * sysdeps/sparc/elf/configure.in: Moved to ...
46394 * sysdeps/sparc/configure.in: ... here.
46395 * sysdeps/sparc/elf/configure: Delete file.
46396 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46397 * sysdeps/sparc/sparc32/start.S: ... here.
46398 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46399 * sysdeps/sparc/sparc64/start.S: ... here.
46400 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46401 * sysdeps/sparc/sparc32/Makefile: ... this.
46402 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46403 * sysdeps/sparc/sparc64/Makefile: ... this.
46404
46405 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46406 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46407 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46408 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46409 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46410 * sysdeps/s390/s390-32/setjmp.S: ... here.
46411 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46412 * sysdeps/s390/s390-32/configure.in: ... here.
46413 * sysdeps/s390/s390-32/elf/configure: Delete file.
46414 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46415 * sysdeps/s390/s390-32/start.S: ... here.
46416
46417 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46418 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46419 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46420 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46421 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46422 * sysdeps/s390/s390-64/setjmp.S: ... here.
46423 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46424 * sysdeps/s390/s390-64/configure.in: ... here
46425 * sysdeps/s390/s390-64/elf/configure: Delete file.
46426 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46427 * sysdeps/s390/s390-64/start.S: ... here.
46428 * sysdeps/s390/s390-64/elf/configure: Delete.
46429
46430 * configure.in: Remove support for elf directories in sysdeps.
46431
46432 * configure: Regenerated.
46433 * sysdeps/i386/configure: Regenerated.
46434 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46435 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46436 * sysdeps/s390/s390-32/configure: Regenerated.
46437 * sysdeps/s390/s390-64/configure: Regenerated.
46438 * sysdeps/sh/configure: Regenerated.
46439 * sysdeps/sparc/configure: Regenerated.
46440 * sysdeps/x86_64/configure: Regenerated.
46441
46442 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46443
46444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46445
46446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46447 denormal result into account.
46448
46449 2012-03-25 Roland McGrath <roland@hack.frob.com>
46450
46451 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46452 Reported by Allan McRae <allan@archlinux.org>.
46453
46454 2012-03-23 Jeff Law <law@redhat.com>
46455
46456 * nss/getnssent.c (__nss_getent): Fix typo.
46457
46458 2012-03-23 David S. Miller <davem@davemloft.net>
46459
46460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46461
46462 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46463
46464 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46465 to pad to uint64_t for each field.
46466 (dl_tls_index): Replace unsigned long with uint64_t.
46467
46468 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46469 Paul Pluzhnikov <ppluzhnikov@google.com>
46470
46471 [BZ #6528]
46472 * grp/Makefile (otherlibs): Don't set it.
46473 * inet/Makefile (otherlibs): Likewise.
46474 * login/Makefile (otherlibs): Likewise.
46475 * nscd/Makefile (otherlibs): Likewise.
46476 * posix/Makefile (otherlibs): Likewise.
46477 * pwd/Makefile (otherlibs): Likewise.
46478 * rt/Makefile (otherlibs): Likewise.
46479 * sunrpc/Makefile (otherlibs): Likewise.
46480 * nss/Makefile (otherlibs): Likewise.
46481 Add libnss_files to routines and static-only-routines.
46482 ($(objpfx)getent): Remove rule.
46483 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46484 static-only-routines.
46485
46486 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46487
46488 [BZ #13892]
46489 * math/s_cexp.c: Include <float.h>.
46490 (__cexp): Handle exp result overflowing not necessarily
46491 overflowing both real and imaginary parts of result.
46492 * math/s_cexpf.c: Likewise.
46493 * math/s_cexpl.c: Likewise.
46494 * math/libm-test.inc (cexp_test): Add more tests.
46495 * sysdeps/i386/fpu/libm-test-ulps: Update.
46496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46497
46498 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46499
46500 * include/link.h (ELFW): New macro.
46501 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46502 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46503
46504 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46505
46506 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46507 with uint64_t.
46508
46509 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46510
46511 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46512 declaration.
46513 (struct La_x32_retval): Likewise.
46514
46515 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46516
46517 * sysdeps/x86_64/preconfigure.in: New file.
46518 * sysdeps/x86_64/preconfigure: New generated file.
46519
46520 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46521
46522 [BZ #13824]
46523 * math/e_exp2l.c: Include <float.h>.
46524 (__ieee754_exp2l): Handle overflow and underflow cases
46525 separately. Only pass fractional part of argument to
46526 __ieee754_expl.
46527 * math/libm-test.inc (exp2_test): Add more tests.
46528
46529 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46530 negating x to take absolute value.
46531 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46532 Likewise.
46533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46535 Likewise.
46536 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46537 computing low part if x was negated.
46538 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46539
46540 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46541
46542 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46543 la_x32_gnu_pltexit.
46544 (pltexit): Cast int_retval to ptrdiff_t.
46545 * elf/tst-auditmod3b.c: Likewise.
46546 * elf/tst-auditmod4b.c: Likewise.
46547 * elf/tst-auditmod5b.c: Likewise.
46548 * elf/tst-auditmod6b.c: Likewise.
46549 * elf/tst-auditmod6c.c: Likewise.
46550 * elf/tst-auditmod7b.c: Likewise.
46551
46552 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46553 and x32_gnu_pltexit.
46554
46555 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46556 __ELF_NATIVE_CLASS.
46557 (La_x32_regs): New macro.
46558 (La_x32_retval): Likewise.
46559 (la_x32_gnu_pltenter): New function prototype.
46560 (la_x32_gnu_pltexit): Likewise.
46561
46562 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46563
46564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46565 exponent.
46566
46567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46568
46569 * configure.in (libc_cv_cc_nofma): Check for option to disable
46570 generation of FMA instructions.
46571 * configure: Regenerate.
46572 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46573 * sysdeps/ieee754/dbl-64/Makefile: New file.
46574 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46575 Remove brandred-fma4.
46576 (CFLAGS-brandred-fma4.c): Remove.
46577 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46579 define.
46580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46581 define.
46582
46583 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46586 LLONG_MAX != LONG_MAX.
46587 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46588 (_fitoa_word): Likewise.
46589 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46590 LLONG_MAX != LONG_MAX.
46591 * stdio-common/_itowa.h: Include <_itoa.h>.
46592 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46593 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46594 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46595 only if not defined.
46596 (_ITOA_WORD_TYPE): Likewise.
46597 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46598 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46599
46600 2012-03-21 David S. Miller <davem@davemloft.net>
46601
46602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46603
46604 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46605
46606 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46607 of x86_64 when setting libc_cv_slibdir, libdir and
46608 libc_cv_localedir.
46609 * sysdeps/unix/sysv/linux/configure: Regenerated.
46610
46611 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46612
46613 * manual/lang.texi (Old Varargs): Remove section.
46614 (How Variadic): Update menu.
46615 (va_start): Do not mention varargs.h.
46616
46617 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46618 Joseph Myers <joseph@codesourcery.com>
46619
46620 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46621 link test.
46622 * configure: Regenerated.
46623
46624 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46625
46626 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46627 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46628 conformtest.pl
46629
46630 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46631
46632 * NOTES: Remove.
46633 * Makefile (files-for-dist): Remove NOTES.
46634 (NOTES): Remove rule.
46635 * README: Don't refer to NOTES.
46636 * manual/creature.texi: Don't include macros.texi.
46637 * manual/intro.texi (creature.texi): Remove comment referring to
46638 NOTES.
46639
46640 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46641 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46642 * configure: Regenerated.
46643 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46644 LIBC_TRY_CC_OPTION.
46645 (libc_cv_as_i686): Likewise.
46646 (libc_cv_cc_avx): Likewise.
46647 (libc_cv_cc_sse2avx): Likewise.
46648 (libc_cv_cc_fma4): Likewise.
46649 (libc_cv_cc_novzeroupper): Likewise.
46650 * sysdeps/i386/configure: Regenerated.
46651
46652 [BZ #13883]
46653 * sysdeps/i386/fpu/s_cexp.S: Remove.
46654 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46655 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46656 * math/libm-test.inc (cexp_test): Add more tests.
46657 * sysdeps/i386/fpu/libm-test-ulps: Update.
46658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46659
46660 2012-03-21 Allan McRae <allan@archlinux.org>
46661
46662 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46663
46664 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46665
46666 [BZ #13871]
46667 * math/w_exp2.c: Do not include <float.h>.
46668 (o_threshold, u_threshold): Remove.
46669 (__exp2): Calculate result before checking finiteness and calling
46670 __kernel_standard.
46671 * math/w_exp2f.c: Likewise.
46672 * math/w_exp2l.c: Likewise.
46673 * math/libm-test.inc (exp2_test): Require overflow exception for
46674 1e6 input.
46675
46676 [BZ #3866]
46677 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46678 range of signed 64-bit integers before using fistpll. Remove
46679 checks for whether integers fit in mantissa bits.
46680 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46681 the range of signed 32-bit integers before using fistpl. Remove
46682 checks for whether integers fit in mantissa bits.
46683 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46684 (__ieee754_powl): Test for y outside the range of signed 64-bit
46685 integers before using fistpll. Reduce 64-bit values to 63-bit
46686 ones as needed.
46687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46688 divide-by-zero is raised for zero to large negative powers.
46689 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46690 (__ieee754_powl): Test for y outside the range of signed 64-bit
46691 integers before using fistpll. Reduce 64-bit values to 63-bit
46692 ones as needed.
46693 * math/libm-test.inc (pow_test): Add more tests.
46694
46695 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46696
46697 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46698 <stdio-common/_itoa.h>.
46699 * debug/segfault.c: Likewise.
46700 * elf/dl-cache.c: Likewise.
46701 * elf/dl-minimal.c: Likewise.
46702 * elf/dl-misc.c: Likewise.
46703 * elf/dl-sysdep.c: Likewise.
46704 * elf/dl-version.c: Likewise.
46705 * elf/rtld.c: Likewise.
46706 * hurd/hurdsock.c: Likewise.
46707 * hurd/lookup-retry.c: Likewise.
46708 * malloc/malloc.c: Likewise.
46709 * malloc/mtrace.c: Likewise.
46710 * nscd/nscd_getgr_r.c: Likewise.
46711 * nscd/nscd_getpw_r.c: Likewise.
46712 * nscd/nscd_getserv_r.c: Likewise.
46713 * posix/getopt_init.c: Likewise.
46714 * posix/wordexp.c: Likewise.
46715 * stdio-common/_itoa.c: Likewise.
46716 * stdio-common/printf_fphex.c: Likewise.
46717 * stdio-common/vfprintf.c: Likewise.
46718 * string/_strerror.c: Likewise.
46719 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46720 * sysdeps/i386/i686/hp-timing.h: Likewise.
46721 * sysdeps/mach/_strerror.c: Likewise.
46722 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46723 * sysdeps/mach/hurd/sethostid.c: Likewise.
46724 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46725 * sysdeps/mach/xpg-strerror.c: Likewise.
46726 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46727 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46728 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46729 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46730 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46731 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46732 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46733 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46734 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46735 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46736 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46738 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46739 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46740 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46742 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46743 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46744 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46745 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46746 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46747
46748 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46749
46750 * stdio-common/_itoa.h: Moved to ...
46751 * sysdeps/generic/_itoa.h: Here.
46752
46753 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46754
46755 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46756 instead of "_itoa.h" and "_itowa.h".
46757 * stdio-common/vfprintf.: Likewise.
46758
46759 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46760
46761 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46762 <bits/wordsize.h>.
46763 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46764 (__signbit): Likwise.
46765 (llrintf): Likwise.
46766 (llrint): Likwise.
46767
46768 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46769
46770 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46771 __WORDSIZE != 64.
46772
46773 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46774
46775 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46776 OVERFLOW_EXCEPTION_OK.
46777 * math/libm-test.inc ("Philosophy"): Update comment about
46778 exception testing.
46779 (OVERFLOW_EXCEPTION): Define.
46780 (OVERFLOW_EXCEPTION_OK): Likewise.
46781 (INVALID_EXCEPTION_OK): Renumber.
46782 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46783 (IGNORE_ZERO_INF_SIGN): Likewise.
46784 (test_exceptions): Handle FE_OVERFLOW.
46785 (exp10_test): Expect overflow exceptions.
46786 (exp2_test): Likewise.
46787 (expm1_test): Likewise.
46788 (nextafter_test): Likewise.
46789 (pow_test): Likewise.
46790 (scalbn_test): Likewise.
46791 (scalbln_test): Likewise.
46792
46793 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46794
46795 * sysdeps/x86_64/bits/atomic.h
46796 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46797 64bit integer.
46798 (atomic_exchange_acq): Likewise.
46799 (__arch_exchange_and_add_body): Likewise.
46800 (__arch_add_body): Likewise.
46801 (atomic_add_negative): Likewise.
46802 (atomic_add_zero): Likewise.
46803
46804 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46805
46806 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46807 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46808
46809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46810
46811 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46812 Check __x86_64__ instead of __WORDSIZE.
46813
46814 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46815
46816 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46817
46818 2012-03-19 David S. Miller <davem@davemloft.net>
46819
46820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46821
46822 * sysdeps/sparc/fpu/fenv_private.h: New file.
46823 * sysdeps/sparc/fpu/math_private.h: Use it.
46824 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46825 Remove.
46826 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46827 (libc_feholdexcept_setroundl): Remove.
46828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46829 Remove.
46830 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46831 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46832
46833 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46834
46835 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46836 int64_t instead of long int.
46837 (INSERT_WORDS64): Likwise.
46838
46839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46840
46841 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46842 _Unwind_GetCFA return to _Unwind_Ptr first.
46843
46844 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46845
46846 [BZ #13629]
46847 * math/s_clog.c: Include <float.h>.
46848 (__clog): Scale large or subnormal inputs.
46849 * math/s_clogf.c: Likewise.
46850 * math/s_clogl.c: Likewise.
46851 * math/s_clog10.c: Include <float.h>.
46852 (M_LOG10_2): Define.
46853 (__clog10): Scale large or subnormal inputs.
46854 * math/s_clog10f.c: Likewise.
46855 * math/s_clog10l.c: Likewise.
46856 * math/libm-test.inc (clog_test): Add more tests.
46857 (clog10_test): Likewise.
46858 * sysdeps/i386/fpu/libm-test-ulps: Update.
46859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46860
46861 [BZ #11451]
46862 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46863 x and y.
46864 * math/libm-test.inc (atan2_test): Add another test.
46865
46866 * Makerules (common-objdir-compile): Remove.
46867 * sysdeps/unix/Makefile (config-generated): Do not add
46868 $(unix-generated) to variable.
46869 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46870 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46871 Remove rule.
46872 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46873 Likewise.
46874 [generic bits/local_lim.h] (before-compile): Do not append to
46875 variable.
46876 [generic bits/local_lim.h] (common-generated): Likewise.
46877 [generic sys/param.h] (before-compile): Do not append to variable.
46878 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46879 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46880 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46881 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46882 include.
46883 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46884 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46885 [generic sys/param.h] ($(addprefix
46886 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46887 [generic sys/param.h] (common-generated): Do not append to
46888 variable.
46889 [generic sys/param.h] (sysdep_headers): Likewise.
46890 [generic bits/errno.h] (before-compile): Do not append to
46891 variable.
46892 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46893 rule.
46894 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46895 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46896 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46897 [generic bits/errno.h] (common-generated): Do not append to
46898 variable.
46899 [generic bits/ioctls.h] (before-compile): Do not append to
46900 variable.
46901 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46902 rule.
46903 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46904 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46905 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46906 rule.
46907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46908 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46909 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46910 [generic bits/ioctls.h] (common-generated): Do not append to
46911 variable.
46912 [generic sys/syscall.h] (syscall.h): Remove variable.
46913 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46914 rule.
46915 [generic sys/syscall.h] (before-compile): Do not append to
46916 variable.
46917 [generic sys/syscall.h] (common-generated): Likewise.
46918 * sysdeps/unix/errnos-tmpl.c: Remove file.
46919 * sysdeps/unix/errnos.awk: Likewise.
46920 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46921 * sysdeps/unix/ioctls.awk: Likewise.
46922 * sysdeps/unix/mk-local_lim.c: Likewise.
46923 * sysdeps/unix/snarf-ioctls: Likewise.
46924
46925 2012-03-19 Richard Henderson <rth@twiddle.net>
46926
46927 * sysdeps/i386/fpu/fenv_private.h: New file.
46928 * sysdeps/i386/fpu/math_private.h: Use it.
46929 (math_opt_barrier, math_force_eval): Remove.
46930 (libc_feholdexcept_setround_53bit): Remove.
46931 (libc_feupdateenv_53bit): Remove.
46932 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46933 (math_opt_barrier, math_force_eval): Remove.
46934 (libc_feholdexcept): Remove.
46935 (libc_feholdexcept_setround): Remove.
46936 (libc_fetestexcept, libc_fesetenv): Remove.
46937 (libc_feupdateenv_test): Remove.
46938 (libc_feupdateenv, libc_feholdsetround): Remove.
46939 (libc_feresetround): Remove.
46940
46941 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46942 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46943
46944 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46945 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46946 (libc_feupdateenv_testl): New.
46947 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46948 (libc_feupdateenv_testf): New.
46949 (libc_feupdateenv): Use libc_feupdateenv_test.
46950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46951 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46952
46953 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46954 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46955 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46956 (libc_feresetround_noex): New.
46957 (libc_feresetround_noexf): New.
46958 (libc_feresetround_noexl): New.
46959 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46960 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46961 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46962 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46963 SET_RESTORE_ROUND.
46964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46966 (__cos): Likewise.
46967 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46968 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46969 SET_RESTORE_ROUND_NOEX.
46970 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46971 SET_RESTORE_ROUND_NOEXF.
46972 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46973 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46974 (libc_feholdsetroundf): New.
46975 (libc_feresetround, libc_feresetroundf): New.
46976
46977 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46978 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46979 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46980
46981 * sysdeps/generic/math_private.h: Include <fenv.h>.
46982 (default_libc_feholdexcept): New.
46983 (default_libc_feholdexcept_setround): New.
46984 (default_libc_fesetenv, default_libc_feupdateenv): New.
46985 (libc_feholdexcept): Only define if undefined.
46986 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46987 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46988 (libc_feholdexcept_setroundl): Likewise.
46989 (libc_feholdexcept_setround_53bit): Likewise.
46990 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46991 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46992 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46993 (libc_feupdateenv_53bit): Likewise.
46994 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46995 (libc_feholdexcept): Convert from macro to inline function.
46996 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46997 (libc_fesetenv, libc_feupdateenv): Likewise.
46998
46999 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47000 not previously defined.
47001 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47002 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47003 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47004 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47005 * sysdeps/ieee754/flt-32/math_private.h: New file.
47006 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47007 math_private.h below SET_FLOAT_WORD.
47008 (__isnan, __isinf_ns, __finite): Remove.
47009 (__isnanf, __isinf_nsf, __finitef): Remove.
47010
47011 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47012
47013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47014
47015 2012-03-17 David S. Miller <davem@davemloft.net>
47016
47017 [BZ #6471]
47018 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47019 for 2.16.
47020
47021 2012-03-16 David S. Miller <davem@davemloft.net>
47022
47023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47024 warnings.
47025
47026 [BZ #6471]
47027 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47028 properly.
47029 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47030 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47031 sysdep_routines when subdir is sysvipc.
47032 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47033 __getshmlba helper.
47034
47035 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47036
47037 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47038
47039 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47040 [__LP64__].
47041
47042 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47043
47044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47045 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47046 (__lround): Renamed to ...
47047 (__llround): This. Replace long int with long long int.
47048 Define lround functions as aliases of llround functions.
47049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47050
47051 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47052
47053 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47054 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47055 adresses to uintptr_t. Replace "long int" and "unsigned long
47056 int" with "greg_t" on va_arg.
47057
47058 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47059
47060 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47061 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47062
47063 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47064 Move e_machine check before EI_CLASS check. Handle x32
47065 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47066 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47067 SKIP_EM_IA_64 and include
47068 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47069
47070 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47071 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47072 (add_system_dir): New macro.
47073
47074 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47075 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47076
47077 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47078
47079 [BZ #2551]
47080 [BZ #2552]
47081 [BZ #2553]
47082 [BZ #2554]
47083 [BZ #2562]
47084 [BZ #2563]
47085 [BZ #2565]
47086 [BZ #2566]
47087 [BZ #2576]
47088 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47089 (y0): Likewise.
47090 * math/w_j0f.c (j0f): Likewise.
47091 (y0f): Likewise.
47092 * math/w_j0l.c (__j0l): Likewise.
47093 (__y0l): Likewise.
47094 * math/w_j1.c (j1): Likewise.
47095 (y1): Likewise.
47096 * math/w_j1f.c (j1f): Likewise.
47097 (y1f): Likewise.
47098 * math/w_j1l.c (__j1l): Likewise.
47099 (__y1l): Likewise.
47100 * math/w_jn.c (jn): Likewise.
47101 (yn): Likewise.
47102 * math/w_jnf.c (jnf): Likewise.
47103 (ynf): Likewise.
47104 * math/w_jnl.c (__jnl): Likewise.
47105 (__ynl): Likewise.
47106 * math/libm-test.inc (j0_test): Add more tests.
47107 (j1_test): Likewise.
47108 (jn_test): Likewise. Add trailing semicolon to existing test.
47109 (y0_test): Likewise.
47110 (y1_test): Likewise.
47111 * sysdeps/i386/fpu/libm-test-ulps: Update.
47112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47113
47114 [BZ #13851]
47115 [BZ #13854]
47116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47117 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47118 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47120 (__tanl): Set errno for infinite argument.
47121 * sysdeps/i386/fpu/mptan.c: Remove.
47122 * sysdeps/i386/fpu/s_tan.S: Likewise.
47123 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47124 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47125 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47126 * math/libm-test.inc (tan_test): Add more tests and enable more
47127 tests for double and long double.
47128 * sysdeps/i386/fpu/libm-test-ulps: Update.
47129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47130
47131 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47132
47133 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47134 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47135
47136 2012-03-16 Roland McGrath <roland@hack.frob.com>
47137
47138 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47139 * configure.in: Use it for both main tree and add-ons.
47140 * configure: Regenerated.
47141
47142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47143
47144 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47145
47146 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47147
47148 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47149 in comment.
47150
47151 [BZ #13851]
47152 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47153 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47157 infinite argument.
47158 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47160 != 0 for prec == 2.
47161 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47162 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47163 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47164 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47165 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47166 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47167 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47168 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47169 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47170 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47171 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47172 * math/libm-test.inc (cos_test): Add more tests and enable more
47173 tests for long double.
47174 (sin_test): Likewise.
47175 (sincos_test): Likewise.
47176 * sysdeps/i386/fpu/libm-test-ulps: Update.
47177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47178
47179 2012-03-16 David S. Miller <davem@davemloft.net>
47180
47181 * sysdeps/sparc/fpu/math_private.h: New file.
47182
47183 2012-03-15 David S. Miller <davem@davemloft.net>
47184
47185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47186 file.
47187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47189 file.
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47196 sysdep routines.
47197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47198
47199 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47200 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47201
47202 * sysdeps/sparc/sparc-ifunc.h: New file.
47203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47204 sparc-ifunc.h
47205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47207 Likewise.
47208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47209 Likewise.
47210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47214 Likewise.
47215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47220 Likewise.
47221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47222 Likewise.
47223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47247
47248 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47249
47250 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47251 scaling.
47252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47253
47254 2012-03-15 Andreas Jaeger <aj@suse.de>
47255
47256 [BZ #13852]
47257 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47258 ieee754/flt-32 implementation for sin, cos and sincos.
47259 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47260 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47261 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47262 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47263 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47264 ieee754/flt-32 implementation for tan.
47265
47266 * math/libm-test.inc (cos_test): Enable some large input tests for
47267 float as well
47268 (sin_test): Likewise.
47269 (sincos_test): Likewise.
47270 (tan_test): Add tests for large input.
47271
47272 * sysdeps/i386/fpu/libm-test-ulps: Update.
47273
47274 2012-03-15 Andreas Jaeger <aj@suse.de>
47275
47276 [BZ #13658]
47277 * math/libm-test.inc (cos_test): Add more test cases.
47278 (sin_test): Likewise.
47279 (sincos_test): Likewise.
47280
47281 2012-03-15 Andreas Jaeger <aj@suse.de>
47282
47283 [BZ #13837]
47284 * math/libm-test.inc (cos_test): Add a test case for large input
47285 value.
47286 (sin_test): Likewise.
47287 (sincos_test): Likewise.
47288
47289 2012-03-15 Andreas Jaeger <aj@suse.de>
47290 Joseph Myers <joseph@codesourcery.com>
47291
47292 [BZ #13658]
47293 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47294 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47295 * sysdeps/i386/fpu/branred.c: Likewise.
47296 * sysdeps/i386/fpu/dosincos.c: Likewise.
47297 * sysdeps/i386/fpu/mpa.c: Likewise.
47298 * sysdeps/i386/fpu/s_cos.S: Likewise.
47299 * sysdeps/i386/fpu/s_sin.S: Likewise.
47300 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47301 * sysdeps/i386/fpu/sincos32.c: Likewise.
47302
47303 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47304 Define.
47305 (libc_feupdateenv_53bit): Define.
47306 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47307 Define.
47308 (libc_feupdateenv_53bit): Define.
47309
47310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47311 53 bit (without extend i386 double precision).
47312
47313 * math/libm-test.inc (sincos_test): Add tests for large input.
47314 (sin): Likewise.
47315 (cos): Likewise.
47316
47317 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47318
47319 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47320
47321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47322
47323 2012-03-15 David S. Miller <davem@davemloft.net>
47324
47325 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47326 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47327 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47328 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47341 file.
47342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47344 file.
47345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47347 file.
47348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47350 file.
47351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47353 fmin/fmax sysdep routines.
47354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47355
47356 2012-03-14 David S. Miller <davem@davemloft.net>
47357
47358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47387 routines.
47388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47389 file.
47390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47392 file.
47393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47395 file.
47396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47398 file.
47399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47401 file.
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47404 file.
47405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47406 file.
47407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47408 file.
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47410 file.
47411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47412 New file.
47413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47414 file.
47415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47416 file.
47417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47419 file.
47420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47422 file.
47423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47425 file.
47426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47428 VIS3 routines.
47429
47430 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47431 New file.
47432
47433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47434
47435 * sysdeps/sparc/configure.in: New file.
47436 * sysdeps/sparc/configure: Generate.
47437 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47438 * configure: Regenerate.
47439 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47440 * config.make.in (have-as-vis3): New.
47441 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47442 available use -Av9d instead of -Av9a.
47443 * sysdeps/sparc/sparc64/Makefile: Likewise.
47444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47446 New file.
47447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47448 file.
47449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47450 New file.
47451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47452 file.
47453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47458
47459 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47460 fzeros/fnegs to load 0x80000000 into a float register instead of
47461 using the stack.
47462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47463
47464 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47465
47466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47467 bits/syscall.h.
47468 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47469 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47470 ($(inst_includedir)/bits/syscall.h): Remove rule.
47471 ($(objpfx)bits/syscall.d): Include instead of
47472 $(objpfx)syscall-list.d.
47473 (generated): Change syscall-list.h and syscall-list.d to
47474 bits/syscall.h and bits/syscall.d.
47475
47476 2012-03-14 Roland McGrath <roland@hack.frob.com>
47477
47478 [BZ #13846]
47479 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47480
47481 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47482
47483 [BZ #13841]
47484 * math/s_csqrt.c: Include <float.h>.
47485 (__csqrt): Scale large or subnormal inputs.
47486 * math/s_csqrtf.c: Likewise.
47487 * math/s_csqrtl.c: Likewise.
47488 * math/libm-test.inc (csqrt_test): Add more tests.
47489 * sysdeps/i386/fpu/libm-test-ulps: Update.
47490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47491
47492 [BZ #13840]
47493 * math/libm-test.inc (hypot_test): Add more tests.
47494
47495 2012-03-13 David S. Miller <davem@davemloft.net>
47496
47497 [BZ #13840]
47498 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47499 double-precision for the calculation instead of scaling.
47500
47501 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47502
47503 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47504 manipulate bits before adding and subtracting TWO52[sx].
47505 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47507 Likewise.
47508 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47509
47510 2012-03-13 David S. Miller <davem@davemloft.net>
47511
47512 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47513 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47515 rtld-global-offsets.h
47516 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47517
47518 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47519 large parameters.
47520
47521 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47522
47523 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47524 'err' in the ifdef scope in which it is actually used.
47525
47526 * nss/nss_db/db-init.c: Include string.h
47527
47528 2012-03-12 David S. Miller <davem@davemloft.net>
47529
47530 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47531 masking out of the most significant byte of random value used.
47532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47533 Fix coding style in previous change.
47534
47535 * sysdeps/unix/sysv/linux/kernel-features.h
47536 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47537 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47538 expression.
47539 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47540 later.
47541
47542 2012-03-11 David S. Miller <davem@davemloft.net>
47543
47544 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47545 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47547 for 'resultvar' otherwise things get truncated on 64-bit.
47548
47549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47550 Fix masking out of the most significant byte of random value used.
47551
47552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47553
47554 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47555
47556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47557
47558 2012-03-09 David S. Miller <davem@davemloft.net>
47559
47560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47561 variables with appropriate CPP guards.
47562 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47563 from the frame pointer, not the stack pointer. Correct layout
47564 comments. Fix test on resulting framesize and the management of
47565 the outregs buffer for pltexit. Preserve floating point return
47566 values across _dl_call_pltexit call.
47567 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47568 framesize and the management of the outregs buffer for pltexit.
47569 Preserve floating point return values across _dl_call_pltexit
47570 call.
47571 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47572 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47573 (la_sparc64_gnu_pltexit): New functions.
47574 (print_exit): Fix format string for return register value.
47575
47576 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47577
47578 * sunrpc/Makefile (others): Add rpcgen.
47579 ($(objpfx)rpcgen): Remove special build rule and dependency on
47580 libc.
47581 * sunrpc/rpcgen.c: New file.
47582
47583 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47584
47585 [BZ #13673]
47586 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47587 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47588 * sysdeps/i386/crti.S: Likewise.
47589 * sysdeps/i386/crtn.S: Likewise.
47590 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47591 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47592 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47593 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47594 * sysdeps/sh/crti.S: Likewise.
47595 * sysdeps/sh/crtn.S: Likewise.
47596 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47597
47598 [BZ #13673]
47599 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47600 with URL.
47601 * locale/programs/locfile-kw.gperf: Likewise.
47602 * locale/programs/charmap-kw.h: Regenerated.
47603 * locale/programs/locfile-kw.h: Likewise.
47604
47605 [BZ #13673]
47606 * intl/plural.y: Replace FSF snail mail address with URL.
47607 * intl/plural.c: Regenerated.
47608
47609 2012-03-09 Richard Henderson <rth@twiddle.net>
47610
47611 * include/math_private.h: Remove file.
47612 * math/math_private.h: Move file ...
47613 * sysdeps/generic/math_private.h: ... here.
47614
47615 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47616 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47617 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47618
47619 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47620 and <math_private.h>.
47621 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47622 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47623 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47624 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47625 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47626 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47627 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47633 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47645 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47646 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47651 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47653 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47654 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47655 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47656 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47657 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47658 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47659 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47662 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47663 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47664 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47665 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47666 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47667 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47668 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47670 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47671 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47672 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47673 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47674 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47675 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47677 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47678 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47679 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47680 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47681 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47682 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47683 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47684 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47685 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47686 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47687 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47688 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47689 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47691 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47693 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47701 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47703 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47705 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47708 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47713 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47714 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47716 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47718 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47719 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47720 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47721 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47722 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47723 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47724 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47735 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47737 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47738 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47739 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47740 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47741 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47742 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47743 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47744 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47748 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47749 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47750 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47751 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47752 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47753 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47754 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47755 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47756 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47757 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47758 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47759 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47760 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47762 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47763 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47764 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47765 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47766 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47767 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47768 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47769 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47770 * sysdeps/ieee754/k_standard.c: Likewise.
47771 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47775 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47779 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47781 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47782 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47783 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47784 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47785 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47786 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47787 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47788 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47792 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47796 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47797 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47798 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47800 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47801 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47802 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47803 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47804 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47808 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47809 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47811 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47812 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47813 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47814 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47815 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47816 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47822 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47823 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47825 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47826 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47827 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47828 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47829 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47830 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47831 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47832 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47833 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47847 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47850 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47851 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47855 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47858 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47862 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47863 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47864 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47867 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47868 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47869 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47870 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47872 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47875 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47879 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47880 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47881 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47882 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47883 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47884 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47885 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47886 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47887 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47888 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47889 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47890 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47891 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47892 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47893 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47894 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47895 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47896 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47897 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47898 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47899 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47900 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47901 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47902 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47903 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47904 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47905 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47907 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47908 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47909 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47910 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47911 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47912 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47913 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47915 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47916 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47917 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47918 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47919 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47920 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47921 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47922 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47930 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47931 * sysdeps/ieee754/s_lib_version.c: Likewise.
47932 * sysdeps/ieee754/s_matherr.c: Likewise.
47933 * sysdeps/ieee754/s_signgam.c: Likewise.
47934 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47935 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47936 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47937 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47938 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47939 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47940 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47941 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47942 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47943 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47944 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47945 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47946 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47947 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47948 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47949 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47950 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47951 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47952 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47955
47956 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47957
47958 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47959 * sunrpc/rpc_main.c: Likewise.
47960 * sunrpc/rpc_svcout.c: Likewise.
47961
47962 2012-03-09 David S. Miller <davem@davemloft.net>
47963
47964 * include/math_private.h: New file.
47965
47966 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47967
47968 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47969 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47970 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47971 from <bits/socket_type.h>.
47972 (enum __socket_type): Don't define here.
47973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47975 bits/socket_type.h.
47976
47977 [BZ #13566]
47978 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47979 checking __USE_GNU.
47980
47981 * Makerules ($(inst_includedir)/%.h): New rule.
47982 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47983 (install-others): Remove variable setting.
47984 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47985
47986 2012-03-08 Richard Henderson <rth@twiddle.net>
47987
47988 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47989 from macro to inline function; merge with the
47990 !__LIBC_INTERNAL_MATH_INLINES version.
47991 (__ieee754_sqrtf): Likewise.
47992
47993 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47994 to inline function.
47995 (__rintf, __floor, __floorf): Likewise.
47996
47997 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47998 macro to inline function.
47999 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48000
48001 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48002 not <math/math_private.h>.
48003
48004 2012-03-08 David S. Miller <davem@davemloft.net>
48005
48006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48007 copyright year.
48008 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48009
48010 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48011
48012 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48013 normalization.
48014 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48015 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48016
48017 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48018
48019 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48020 be defined individually, they must be defined as a block. Define
48021 S for printing a string instead of hidint the different by using a
48022 macro for adding the 'l'.
48023 * stdio-common/tst-fphex-wide.c: Adjust.
48024
48025 2012-03-07 Marek Polacek <polacek@redhat.com>
48026
48027 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48028
48029 2012-03-08 Marek Polacek <polacek@redhat.com>
48030
48031 [BZ #13806]
48032 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48033 * stdio-common/tst-fphex.c: Define a few macros to make the
48034 test reusable. Use them.
48035 * stdio-common/tst-fphex-wide.c: New file.
48036
48037 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48038
48039 [BZ #6911]
48040 * manual/macros.texi (gnusystems): New macro.
48041 (nongnusystems): Likewise.
48042 (gnulinuxhurdsystems): Likewise.
48043 (gnuhurdsystems): Likewise..
48044 (gnulinuxsystems): Likewise.
48045 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48046 variants of the GNU system, not "GNU system".
48047 * manual/conf.texi: Likewise.
48048 * manual/errno.texi: Likewise. Update example of errno macro
48049 expansion.
48050 * manual/filesys.texi: Likewise.
48051 (getumask): Document as specific to GNU/Hurd.
48052 * manual/install.texi: Likewise. Reword some references to
48053 GNU/Linux.
48054 * manual/intro.texi: Likewise.
48055 * manual/io.texi: Likewise.
48056 (File Name Portability): Detail which constraints are inapplicable
48057 to all GNU systems and which are only inapplicable to GNU/Hurd.
48058 * manual/job.texi: Likewise.
48059 * manual/llio.texi: Likewise.
48060 (O_NOCTTY): Document as present on GNU/Linux.
48061 * manual/maint.texi: Likewise.
48062 * manual/memory.texi: Likewise.
48063 * manual/pattern.texi: Likewise.
48064 * manual/pipe.texi: Likewise.
48065 * manual/process.texi: Likewise.
48066 * manual/resource.texi: Likewise.
48067 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48068 child on GNU/Hurd.
48069 * manual/setjmp.texi: Likewise.
48070 * manual/signal.texi: Likewise.
48071 * manual/startup.texi: Likewise.
48072 * manual/stdio.texi: Likewise.
48073 * manual/terminal.texi: Likewise.
48074 (ONLCR): Document as POSIX.
48075 (OXTABS): Document availability on GNU/Linux as XTABS.
48076 (ONOEOT): Document availability separately from other bits.
48077 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48078 * manual/time.texi: Likewise.
48079 * manual/users.texi: Likewise.
48080 * INSTALL: Regenerated.
48081 * sysdeps/gnu/errlist.c: Regenerated.
48082
48083 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48084 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48085 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48086 puts.
48087 * configure: Regenerated.
48088
48089 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48090
48091 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48092 default includes instead of AC_HEADER_CHECK.
48093 * sysdeps/i386/configure: Regenerated.
48094
48095 [BZ #10716]
48096 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48097 * math/s_cacoshf.c (__cacoshf): Likewise.
48098 * math/s_cacoshl.c (__cacoshl): Likewise.
48099 * math/s_casinh.c (__casinh): Set signs of result from argument.
48100 * math/s_casinhf.c (__casinhf): Likewise.
48101 * math/s_casinhl.c (__casinhl): Likewise.
48102 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48103 (casinh_test): Add more tests.
48104 * sysdeps/i386/fpu/libm-test-ulps: Update.
48105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48106
48107 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48108
48109 * po/zh_TW.po: Update from translation team.
48110
48111 * login/Makefile (distribute): Remove variable.
48112 * catgets/Makefile: Likewise.
48113 * mach/Makefile: Likewise.
48114 * malloc/Makefile: Likewise.
48115 * misc/Makefile: Likewise.
48116 * iconv/Makefile: Likewise.
48117 * nscd/Makefile: Likewise.
48118 * hurd/Makefile: Likewise.
48119 * manual/Makefile: Likewise.
48120 * locale/Makefile: Likewise.
48121 * intl/Makefile: Likewise.
48122 * conform/Makefile: Likewise.
48123 * nss/Makefile: Likewise.
48124 * time/Makefile: Likewise.
48125 * soft-fp/Makefile: Likewise.
48126 * dirent/Makefile: Likewise.
48127 * gmon/Makefile: Likewise.
48128 * po/Makefile: Likewise.
48129 * rt/Makefile: Likewise.
48130 * socket/Makefile: Likewise.
48131 * math/Makefile: Likewise.
48132 * signal/Makefile: Likewise.
48133 * debug/Makefile: Likewise.
48134 * elf/Makefile: Likewise.
48135 * timezone/Makefile: Likewise.
48136 * stdlib/Makefile: Likewise.
48137 * iconvdata/Makefile: Likewise.
48138 * sunrpc/Makefile: Likewise.
48139 * io/Makefile: Likewise.
48140 * argp/Makefile: Likewise.
48141 * inet/Makefile: Likewise.
48142 * hesiod/Makefile: Likewise.
48143 * grp/Makefile: Likewise.
48144 * csu/Makefile: Likewise.
48145 * wctype/Makefile: Likewise.
48146 * crypt/Makefile: Likewise.
48147 * libio/Makefile: Likewise.
48148 * string/Makefile: Likewise.
48149 * nis/Makefile: Likewise.
48150 * resolv/Makefile: Likewise.
48151 * stdio-common/Makefile: Likewise.
48152 * wcsmbs/Makefile: Likewise.
48153 * dlfcn/Makefile: Likewise.
48154 * posix/Makefile: Likewise.
48155
48156 [BZ #6959]
48157 * timezone/Makefile: Don't install timezone files, just the programs
48158 and scripts.
48159
48160 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48161
48162 * nss/databases.def: Add missing gshadow entry.
48163
48164 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48165
48166 2012-03-06 Marek Polacek <polacek@redhat.com>
48167
48168 [BZ #13726]
48169 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48170 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48171 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48172 * stdio-common/tst-long-dbl-fphex.c: New file.
48173
48174 2012-03-06 David S. Miller <davem@davemloft.net>
48175
48176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48177 (set_obp_int): New function.
48178 (get_obp_int): New function.
48179 (__get_clockfreq_via_dev_openprom): Likewise.
48180 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48181 Avoid unused variable warnings on 'val' and use builtin_expect.
48182 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48183 __builtin_expect.
48184 (INLINE_CLONE_SYSCALL): Likewise.
48185
48186 2012-03-05 David S. Miller <davem@davemloft.net>
48187
48188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48189
48190 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48191
48192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48193
48194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48195 only for |x| >= 40.
48196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48197
48198 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48199
48200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48201 Replace gettimeofday with __vdso_gettimeofday.
48202
48203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48204 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48205 __vdso_clock_gettime and __vdso_getcpu.
48206
48207 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48208 time with __vdso_time.
48209
48210 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48211
48212 * manual/lang.texi (size_t): Note types to which size_t may be
48213 equivalent with the GNU C Library, but do not describe when
48214 differences between them are significant.
48215
48216 2012-03-05 Andreas Jaeger <aj@suse.de>
48217
48218 * sysdeps/i386/fpu/libm-test-ulps: Update.
48219
48220 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48221
48222 [BZ #3976]
48223 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48224 (__ieee754_pow): Save and restore rounding mode and use
48225 round-to-nearest for main computations.
48226 * math/libm-test.inc (pow_test_tonearest): New function.
48227 (pow_test_towardzero): Likewise.
48228 (pow_test_downward): Likewise.
48229 (pow_test_upward): Likewise.
48230 (main): Call the new functions.
48231 * sysdeps/i386/fpu/libm-test-ulps: Update.
48232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48233
48234 [BZ #3976]
48235 * math/libm-test.inc (cosh_test_tonearest): New function.
48236 (cosh_test_towardzero): Likewise.
48237 (cosh_test_downward): Likewise.
48238 (cosh_test_upward): Likewise.
48239 (sinh_test_tonearest): Likewise.
48240 (sinh_test_towardzero): Likewise.
48241 (sinh_test_downward): Likewise.
48242 (sinh_test_upward): Likewise.
48243 (main): Call the new functions.
48244 * sysdeps/i386/fpu/libm-test-ulps: Update.
48245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48246
48247 2012-03-05 Tom de Vries <tom@codesourcery.com>
48248
48249 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48250 default stack guard is set in last bytes.
48251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48252
48253 2012-03-05 Kees Cook <keescook@chromium.org>
48254
48255 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48256
48257 [BZ #13656]
48258 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48259 possibly allocate from heap instead of stack.
48260 * stdio-common/bug-vfprintf-nargs.c: New file.
48261 * stdio-common/Makefile (tests): Add nargs overflow test.
48262
48263 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48264
48265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48266
48267 2012-03-03 Marek Polacek <polacek@redhat.com>
48268
48269 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48270 * math/math_private.h: Likewise.
48271 * stdlib/tst-strtod.c: Likewise.
48272 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48273 * sysdeps/x86_64/bits/atomic.h: Likewise.
48274
48275 2012-03-02 David S. Miller <davem@davemloft.net>
48276
48277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48281 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48282 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48283 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48284 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48285
48286 2012-03-02 Roland McGrath <roland@hack.frob.com>
48287
48288 [BZ #13792]
48289 * manual/examples/README: New file, says the example source files
48290 can be used under GPL>=2.
48291 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48292 line containing just "*/".
48293 * manual/examples/add.c: Add copyright header (GPL>=2).
48294 * manual/examples/argp-ex1.c: Likewise.
48295 * manual/examples/argp-ex2.c: Likewise.
48296 * manual/examples/argp-ex3.c: Likewise.
48297 * manual/examples/argp-ex4.c: Likewise.
48298 * manual/examples/atexit.c: Likewise.
48299 * manual/examples/db.c: Likewise.
48300 * manual/examples/dir.c: Likewise.
48301 * manual/examples/dir2.c: Likewise.
48302 * manual/examples/execinfo.c: Likewise.
48303 * manual/examples/filecli.c: Likewise.
48304 * manual/examples/filesrv.c: Likewise.
48305 * manual/examples/fmtmsgexpl.c: Likewise.
48306 * manual/examples/genpass.c: Likewise.
48307 * manual/examples/inetcli.c: Likewise.
48308 * manual/examples/inetsrv.c: Likewise.
48309 * manual/examples/isockad.c: Likewise.
48310 * manual/examples/longopt.c: Likewise.
48311 * manual/examples/memopen.c: Likewise.
48312 * manual/examples/memstrm.c: Likewise.
48313 * manual/examples/mkfsock.c: Likewise.
48314 * manual/examples/mkisock.c: Likewise.
48315 * manual/examples/mygetpass.c: Likewise.
48316 * manual/examples/pipe.c: Likewise.
48317 * manual/examples/popen.c: Likewise.
48318 * manual/examples/rprintf.c: Likewise.
48319 * manual/examples/search.c: Likewise.
48320 * manual/examples/select.c: Likewise.
48321 * manual/examples/setjmp.c: Likewise.
48322 * manual/examples/sigh1.c: Likewise.
48323 * manual/examples/sigusr.c: Likewise.
48324 * manual/examples/stpcpy.c: Likewise.
48325 * manual/examples/strdupa.c: Likewise.
48326 * manual/examples/strftim.c: Likewise.
48327 * manual/examples/strncat.c: Likewise.
48328 * manual/examples/subopt.c: Likewise.
48329 * manual/examples/swapcontext.c: Likewise.
48330 * manual/examples/termios.c: Likewise.
48331 * manual/examples/testopt.c: Likewise.
48332 * manual/examples/testpass.c: Likewise.
48333 * manual/examples/timeval_subtract.c: Likewise.
48334
48335 [BZ #13792]
48336 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48337 function to ...
48338 * manual/timeval_subtract.c.texi: ... here, new file.
48339
48340 2012-03-02 David S. Miller <davem@davemloft.net>
48341
48342 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48343
48344 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48345
48346 [BZ #3976]
48347 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48348 (__sin): Save and restore rounding mode and use round-to-nearest
48349 for all computations.
48350 (__cos): Save and restore rounding mode and use round-to-nearest
48351 for all computations.
48352 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48353 <fenv.h>.
48354 (tan): Save and restore rounding mode and use round-to-nearest for
48355 all computations.
48356 * math/libm-test.inc (cos_test_tonearest): New function.
48357 (cos_test_towardzero): Likewise.
48358 (cos_test_downward): Likewise.
48359 (cos_test_upward): Likewise.
48360 (sin_test_tonearest): Likewise.
48361 (sin_test_towardzero): Likewise.
48362 (sin_test_downward): Likewise.
48363 (sin_test_upward): Likewise.
48364 (tan_test_tonearest): Likewise.
48365 (tan_test_towardzero): Likewise.
48366 (tan_test_downward): Likewise.
48367 (tan_test_upward): Likewise.
48368 (main): Call the new functions.
48369 * sysdeps/i386/fpu/libm-test-ulps: Update.
48370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48371
48372 [BZ #10135]
48373 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48374 small n, then large n, before computing and testing k+n.
48375 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48377 Likewise.
48378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48379 Likewise.
48380 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48381 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48382 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48383 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48388 * math/libm-test.inc (scalbn_test): Add more tests.
48389 (scalbln_test): Likewise.
48390
48391 * manual/filesys.texi (mode_t): Describe constraints on size and
48392 signedness, not exact equivalence to a particular type.
48393 (ino_t): Likewise.
48394 (ino64_t): Likewise.
48395 (dev_t): Likewise.
48396 (nlink_t): Likewise.
48397 (blkcnt_t): Likewise.
48398 (blkcnt64_t): Likewise.
48399 * manual/llio.texi (off_t): Likewise.
48400
48401 [BZ #3976]
48402 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48403 (__ieee754_exp): Save and restore rounding mode and use
48404 round-to-nearest for all computations.
48405 * math/libm-test.inc (exp_test_tonearest): New function.
48406 (exp_test_towardzero): Likewise.
48407 (exp_test_downward): Likewise.
48408 (exp_test_upward): Likewise.
48409 (main): Call the new functions.
48410 * sysdeps/i386/fpu/libm-test-ulps: Update.
48411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48412
48413 2012-03-01 Chris Demetriou <cgd@google.com>
48414
48415 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48416 have predictable order.
48417
48418 2012-03-01 David S. Miller <davem@davemloft.net>
48419
48420 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48421
48422 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48423 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48424 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48425 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48426
48427 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48428 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48429 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48431 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48432 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48433 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48434 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48435 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48436
48437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48438
48439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48440 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48441 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48442
48443 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48446 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48447 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48450 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48451 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48452 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48453 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48457 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48459 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48460 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48461 * sysdeps/sparc/elf/configure: Regenerated.
48462
48463 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48464
48465 * configure.in (AS, LD): Require binutils 2.20 or later.
48466 * configure: Regenerated.
48467 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48468 as required minimum version.
48469 * INSTALL: Regenerated.
48470
48471 [BZ #2541]
48472 [BZ #4108]
48473 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48474 before squaring exponent.
48475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48476 bottom long double and 27 bits of top long double before squaring
48477 exponent.
48478 * math/libm-test.inc (erfc_test): Add more tests.
48479 * sysdeps/i386/fpu/libm-test-ulps: Update.
48480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48482
48483 2012-03-01 Kai Tietz <ktietz@redhat.com>
48484
48485 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48486 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48487 containing bit-fields.
48488 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48489 * soft-fp/single.h (_FP_UNION_S): Likewise.
48490 * soft-fp/double.h (_FP_UNION_D): Likewise.
48491
48492 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48493
48494 [BZ #13786]
48495 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48496 not include ../strcmp.S.
48497 [USE_AS_STRNCASECMP_L]: Likewise.
48498 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48499 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48500 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48501 (__strncasecmp_l_ia32): Define as alias to
48502 __strncasecmp_l_nonascii.
48503
48504 [BZ #5794]
48505 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48506 * sysdeps/i386/fpu/libm-test-ulps: Update.
48507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48508
48509 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48511
48512 2012-02-29 Jeff Law <law@redhat.com>
48513
48514 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48515 out of bounds read.
48516
48517 2012-02-29 Marek Polacek <polacek@redhat.com>
48518
48519 [BZ #13706]
48520 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48521 * elf/Makefile: Add rules to run tst-unused-dep.out.
48522
48523 2012-02-28 David S. Miller <davem@davemloft.net>
48524
48525 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48526 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48529 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48530 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48531
48532 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48533
48534 * math/libm-test.inc (llround_test): Move one test from
48535 lround_test. Use TEST_f_L in moved test.
48536 (lround_test): Move misplaced test to llround_test. Add testcase
48537 from bug 2561.
48538
48539 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48540
48541 * sysdeps/x86_64/fpu/e_expf.S: New file.
48542 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48543
48544 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48545
48546 [BZ #13637]
48547 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48548 of remain_len that may cause incomplete multi-byte character and
48549 false match.
48550 * posix/bug-regex33.c: New file.
48551 * posix/Makefile (tests): Add bug-regex33.
48552
48553 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48554
48555 * manual/macros.texi: New file.
48556 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48557 * manual/libc.texinfo: Include macros.texi.
48558 * manual/creatute.texi: Likewise.
48559 * manual/install.texi: Likewise.
48560 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48561 @glibcadj{} in references to the GNU C Library.
48562 * manual/charset.texi: Likewise.
48563 * manual/conf.texi: Likewise.
48564 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48565 when not using those macros.
48566 * manual/creature.texi: Likewise.
48567 * manual/crypt.texi: Likewise.
48568 * manual/errno.texi: Likewise.
48569 * manual/filesys.texi: Likewise.
48570 * manual/header.texi: Likewise.
48571 * manual/install.texi: Likewise.
48572 * manual/intro.texi: Likewise.
48573 * manual/io.texi: Likewise.
48574 * manual/job.texi: Likewise.
48575 * manual/lang.texi: Likewise.
48576 * manual/libc.texiinfo: Likewise.
48577 * manual/llio.texi: Likewise.
48578 * manual/locale.texi: Likewise.
48579 * manual/maint.texi: Likewise.
48580 * manual/math.texi: Likewise.
48581 * manual/memory.texi: Likewise.
48582 * manual/message.texi: Likewise.
48583 * manual/nss.texi: Likewise.
48584 * manual/pattern.texi: Likewise.
48585 * manual/process.texi: Likewise.
48586 * manual/resource.texi: Likewise.
48587 * manual/search.texi: Likewise.
48588 * manual/setjmp.texi: Likewise.
48589 * manual/signal.texi: Likewise.
48590 * manual/socket.texi: Likewise.
48591 * manual/startup.texi: Likewise.
48592 * manual/stdio.texi: Likewise.
48593 * manual/string.texi: Likewise.
48594 * manual/sysinfo.texi: Likewise.
48595 * manual/syslog.texi: Likewise.
48596 * manual/terminal.texi: Likewise.
48597 * manual/time.texi: Likewise.
48598 * manual/users.texi: Likewise.
48599 * INSTALL: Regenerated.
48600 * NOTES: Regenerated.
48601 * sysdeps/gnu/errlist.c: Regenerated.
48602
48603 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48604
48605 * include/dirent.h: Include <dirstream.h> before
48606 <dirent/dirent.h>.
48607
48608 2012-02-28 David S. Miller <davem@davemloft.net>
48609
48610 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48611 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48612 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48614
48615 2012-02-27 David S. Miller <davem@davemloft.net>
48616
48617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48619 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48620 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48621
48622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48623 frame pointer instead of stack pointer relative arg slot.
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48627
48628 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48629
48630 [BZ #3992]
48631 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48632
48633 2012-02-27 David S. Miller <davem@davemloft.net>
48634
48635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48639 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48640 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48641 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48642 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48643
48644 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48645
48646 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48647 later. Allow versions 5-9.
48648 * configure: Regenerated.
48649 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48650 required minimum version and 4.6 as recommended version. Do not
48651 mention bugs in GCC 2.7 and 2.8.
48652 * INSTALL: Regenerated.
48653
48654 2012-02-27 David S. Miller <davem@davemloft.net>
48655
48656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48662 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48663 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48664
48665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48666 manipulate bits before adding and subtracting TWO112[sx].
48667 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48668
48669 2012-02-27 Roland McGrath <roland@hack.frob.com>
48670
48671 [BZ #13775]
48672 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48673 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48674 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48675 being in POSIX, because they are in 1003.1-2008.
48676
48677 * rt/tst-aio.c: Include <fcntl.h>.
48678 * rt/tst-aio7.c: Likewise.
48679 * rt/tst-aio64.c: Likewise.
48680
48681 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48682
48683 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48684
48685 * manual/install.texi (--with-headers): Describe headers as
48686 interface headers, not private headers.
48687 (Specific advice for GNU/Linux systems): Describe use of headers
48688 from "make headers_install", not private headers from older
48689 kernels.
48690 * INSTALL: Regenerated.
48691 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48692 Change to 2.6.19.
48693 * sysdeps/unix/sysv/linux/configure: Regenerated.
48694
48695 * manual/llio.texi (fclean): Remove documentation.
48696
48697 * manual/Makefile (libc-texi-generated): New variable. Include
48698 version.texi.
48699 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48700 $(libc-texi-generated), not duplicated list of files.
48701 (version.texi, stamp-version): New rules.
48702 (realclean): Remove $(libc-texi-generated), not individual files
48703 from that list. Do not remove dir-add.texinfo.
48704 * manual/libc.texinfo: Comment out uses of edition numbers and
48705 references to printed manual. Remove last-updated dates.
48706 (EDITION): Comment out.
48707 (ISBN): Likewise.
48708 (VERSION, UPDATED): Remove.
48709 (version.texi): Include.
48710
48711 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48712
48713 * sysdeps/posix/spawni.c: Include <signal.h>.
48714 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48715 * sysdeps/pthread/aio_fsync.c: Likewise.
48716
48717 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48718
48719 * conform/Makefile (tests): Run only when not cross-compiling and
48720 when fast-check is not defined.
48721
48722 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48723 * conform/data/limits.h-data: Fixes for POSIX2008.
48724 * conform/run-conformtest.sh: Run all tests.
48725 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48726 headers.
48727 * include/bits/dlfcn.h: Likewise.
48728 * include/langinfo.h: Likewise.
48729 * include/monetary.h: Likewise.
48730 * include/sys/poll.h: Likewise.
48731
48732 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48733 for __USE_GNU.
48734 * posix/spawn.h: Define __need_sigset_t.
48735 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48736 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48737 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48738 to get sigevent_t only.
48739 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48740 only for __USE_GNU.
48741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48742 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48743 process_vm_writev only for __USE_GNU.
48744 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48745
48746 * conform/Makefile: For now ignore errors from run-conformtest.
48747 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48748 POSIX to avoid namespace pollution. Don't prepend headers.
48749 * conform/data/aio.h-data: Fixes for POSIX testing.
48750 * conform/data/fcntl.h-data: Likewise.
48751 * conform/data/glob.h-data: Likewise.
48752 * conform/data/grp.h-data: Likewise.
48753 * conform/data/pthread.h-data: Likewise.
48754 * conform/data/pwd.h-data: Likewise.
48755 * conform/data/signal.h-data: Likewise.
48756 * conform/data/spawn.h-data: Likewise.
48757 * conform/data/stdio.h-data: Likewise.
48758 * conform/data/stdlib.h-data: Likewise.
48759 * conform/data/stropts.h-data: Likewise.
48760 * conform/data/sys/mman.h-data: Likewise.
48761 * conform/data/sys/stat.h-data: Likewise.
48762 * conform/data/sys/types.h-data: Likewise.
48763 * conform/data/sys/wait.h-data: Likewise.
48764 * conform/data/time.h-data: Likewise.
48765 * conform/data/unistd.h-data: Likewise.
48766 * conform/data/utime.h-data: Likewise.
48767
48768 * io/sys/stat.h: fchmod was always in POSIX.
48769 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48770 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48771 * rt/aio.h: Define __need_timespec before including <time.h>.
48772 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48773 struct. Add forward declaration of pthread_attr_t and use it in
48774 sigevent.
48775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48776 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48777 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48778 always remove CLK_TCK definition.
48779
48780 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48781
48782 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48783
48784 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48785
48786 * conform/run-conformtest.sh: New file.
48787 * conform/Makefile: Run run-conformtest for tests.
48788 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48789 support.
48790
48791 * conform/data/uchar.h-data: New file.
48792 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48793 * conform/data/arpa/inet.h-data: Likewise.
48794 * conform/data/assert.h-data: Likewise.
48795 * conform/data/complex.h-data: Likewise.
48796 * conform/data/cpio.h-data: Likewise.
48797 * conform/data/ctype.h-data: Likewise.
48798 * conform/data/dirent.h-data: Likewise.
48799 * conform/data/dlfcn.h-data: Likewise.
48800 * conform/data/errno.h-data: Likewise.
48801 * conform/data/fcntl.h-data: Likewise.
48802 * conform/data/float.h-data: Likewise.
48803 * conform/data/fmtmsg.h-data: Likewise.
48804 * conform/data/fnmatch.h-data: Likewise.
48805 * conform/data/ftw.h-data: Likewise.
48806 * conform/data/glob.h-data: Likewise.
48807 * conform/data/grp.h-data: Likewise.
48808 * conform/data/iconv.h-data: Likewise.
48809 * conform/data/inttypes.h-data: Likewise.
48810 * conform/data/langinfo.h-data: Likewise.
48811 * conform/data/libgen.h-data: Likewise.
48812 * conform/data/limits.h-data: Likewise.
48813 * conform/data/locale.h-data: Likewise.
48814 * conform/data/math.h-data: Likewise.
48815 * conform/data/monetary.h-data: Likewise.
48816 * conform/data/mqueue.h-data: Likewise.
48817 * conform/data/ndbm.h-data: Likewise.
48818 * conform/data/net/if.h-data: Likewise.
48819 * conform/data/netdb.h-data: Likewise.
48820 * conform/data/netinet/in.h-data: Likewise.
48821 * conform/data/nl_types.h-data: Likewise.
48822 * conform/data/poll.h-data: Likewise.
48823 * conform/data/pthread.h-data: Likewise.
48824 * conform/data/pwd.h-data: Likewise.
48825 * conform/data/regex.h-data: Likewise.
48826 * conform/data/sched.h-data: Likewise.
48827 * conform/data/search.h-data: Likewise.
48828 * conform/data/semaphore.h-data: Likewise.
48829 * conform/data/setjmp.h-data: Likewise.
48830 * conform/data/signal.h-data: Likewise.
48831 * conform/data/spawn.h-data: Likewise.
48832 * conform/data/stdarg.h-data: Likewise.
48833 * conform/data/stdio.h-data: Likewise.
48834 * conform/data/stdlib.h-data: Likewise.
48835 * conform/data/string.h-data: Likewise.
48836 * conform/data/strings.h-data: Likewise.
48837 * conform/data/stropts.h-data: Likewise.
48838 * conform/data/sys/ipc.h-data: Likewise.
48839 * conform/data/sys/mman.h-data: Likewise.
48840 * conform/data/sys/msg.h-data: Likewise.
48841 * conform/data/sys/resource.h-data: Likewise.
48842 * conform/data/sys/select.h-data: Likewise.
48843 * conform/data/sys/sem.h-data: Likewise.
48844 * conform/data/sys/shm.h-data: Likewise.
48845 * conform/data/sys/socket.h-data: Likewise.
48846 * conform/data/sys/stat.h-data: Likewise.
48847 * conform/data/sys/statvfs.h-data: Likewise.
48848 * conform/data/sys/time.h-data: Likewise.
48849 * conform/data/sys/timeb.h-data: Likewise.
48850 * conform/data/sys/times.h-data: Likewise.
48851 * conform/data/sys/types.h-data: Likewise.
48852 * conform/data/sys/uio.h-data: Likewise.
48853 * conform/data/sys/un.h-data: Likewise.
48854 * conform/data/sys/utsname.h-data: Likewise.
48855 * conform/data/sys/wait.h-data: Likewise.
48856 * conform/data/syslog.h-data: Likewise.
48857 * conform/data/tar.h-data: Likewise.
48858 * conform/data/termios.h-data: Likewise.
48859 * conform/data/utime.h-data: Likewise.
48860 * conform/data/utmpx.h-data: Likewise.
48861 * conform/data/varargs.h-data: Likewise.
48862 * conform/data/wchar.h-data: Likewise.
48863 * conform/data/wctype.h-data: Likewise.
48864 * conform/data/wordexp.h-data: Likewise.
48865
48866 * include/stropts.h: New file.
48867 * include/uchar.h: New file.
48868 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48869 * include/assert.h: Likewise.
48870 * include/ctype.h: Likewise.
48871 * include/dirent.h: Likewise.
48872 * include/dlfcn.h: Likewise.
48873 * include/fcntl.h: Likewise.
48874 * include/fnmatch.h: Likewise.
48875 * include/glob.h: Likewise.
48876 * include/grp.h: Likewise.
48877 * include/libio.h: Likewise.
48878 * include/locale.h: Likewise.
48879 * include/math.h: Likewise.
48880 * include/net/if.h: Likewise.
48881 * include/netdb.h: Likewise.
48882 * include/netinet/in.h: Likewise.
48883 * include/pthread.h: Likewise.
48884 * include/pwd.h: Likewise.
48885 * include/regex.h: Likewise.
48886 * include/sched.h: Likewise.
48887 * include/search.h: Likewise.
48888 * include/setjmp.h: Likewise.
48889 * include/signal.h: Likewise.
48890 * include/stdio.h: Likewise.
48891 * include/stdlib.h: Likewise.
48892 * include/string.h: Likewise.
48893 * include/sys/cdefs.h: Likewise.
48894 * include/sys/mman.h: Likewise.
48895 * include/sys/msg.h: Likewise.
48896 * include/sys/resource.h: Likewise.
48897 * include/sys/select.h: Likewise.
48898 * include/sys/socket.h: Likewise.
48899 * include/sys/stat.h: Likewise.
48900 * include/sys/statvfs.h: Likewise.
48901 * include/sys/time.h: Likewise.
48902 * include/sys/times.h: Likewise.
48903 * include/sys/uio.h: Likewise.
48904 * include/sys/utsname.h: Likewise.
48905 * include/sys/wait.h: Likewise.
48906 * include/termios.h: Likewise.
48907 * include/time.h: Likewise.
48908 * include/ulimit.h: Likewise.
48909 * include/unistd.h: Likewise.
48910 * include/utime.h: Likewise.
48911 * include/wchar.h: Likewise.
48912 * include/wctype.h: Likewise.
48913 * include/wordexp.h: Likewise.
48914
48915 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48916
48917 * time/time.h: TIME_UTC must be a macro.
48918 Make timespec_get available for ISO C11 only as well.
48919
48920 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48921
48922 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48923 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48924
48925 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48926
48927 * configure.in: Use -o not -a in test for unsupported multi-arch.
48928
48929 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48930
48931 * manual/texinfo.tex: Update to version 2012-01-19.16.
48932
48933 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48934
48935 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48936
48937 2012-02-24 Roland McGrath <roland@hack.frob.com>
48938
48939 [BZ #13738]
48940 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48941 * manual/fdl-1.3.texi: New file.
48942 * manual/fdl-1.1.texi: File removed.
48943
48944 [BZ #13738]
48945 * manual/libc.texinfo (FDL_VERSION): New @set.
48946 Use it for mention of FDL in cover text.
48947 (Documentation License): Use it in @include file name.
48948
48949 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48950 Roland McGrath <roland@hack.frob.com>
48951
48952 [BZ #5461]
48953 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48954 (not LONG_LONG_MAX and LONG_LONG_MIN.
48955 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48956 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48957 name.
48958 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48959
48960 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48961
48962 [BZ #2547]
48963 [BZ #11365]
48964 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48965 manipulate bits before adding and subtracting TWO23[sx].
48966 * math/libm-test.inc (nearbyint_test): Add more tests.
48967
48968 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48969
48970 [BZ #2548]
48971 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48972 bits before adding and subtracting TWO23[sx].
48973 * math/libm-test.inc (rint_test): Add more tests.
48974 (rint_test_tonearest): Likewise.
48975 (rint_test_towardzero): Likewise.
48976 (rint_test_downward): Likewise.
48977 (rint_test_upward: Likewise.
48978
48979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48980
48981 [BZ #10110]
48982 * include/stdc-predef.h: New file. Extracted from features.h.
48983 * include/features.h: Include stdc-predef.h.
48984 * Makefile (headers): Add stdc-predef.h.
48985 * CONFORMANCE (Compiler limitations): Update.
48986
48987 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48988
48989 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48990
48991 2012-02-21 David S. Miller <davem@davemloft.net>
48992
48993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48995
48996 2012-02-20 David S. Miller <davem@davemloft.net>
48997
48998 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48999 using a normal save/restore sequence, rather than allocating a
49000 dummy stack frame just to store a frame pointer and restore.
49001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49002
49003 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49004
49005 * manual/install.texi: Fix stray word in line-wrapped comment.
49006
49007 2012-02-20 David S. Miller <davem@davemloft.net>
49008
49009 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49010 both binutils and gcc support GOTDATA.
49011
49012 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49013 "rd %pc" in the PIC register setup sequences.
49014
49015 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49016 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49018 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49019 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49022 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49024 (SYSCALL_ERROR_HANDLER): Likewise.
49025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49026 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49028 (SYSCALL_ERROR_HANDLER): Likewise.
49029
49030 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49031 (HAVE_GCC_GOTDATA): New.
49032 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49033 relocation support in both binutils and gcc.
49034 * sysdeps/sparc/elf/configure: Regenerate.
49035
49036 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49037 * sysdeps/sparc/sparc32/elf/configure: Delete.
49038 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49039 * sysdeps/sparc/sparc64/elf/configure: Delete.
49040 * sysdeps/sparc/elf/configure.in: New file.
49041 * sysdeps/sparc/elf/configure: Generate.
49042
49043 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49044 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49045 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49046 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49047 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49048
49049 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49050
49051 * manual/install.texi: Do not mention specific glibc version
49052 numbers.
49053 * manual/libc.texinfo (VERSION, UPDATED): Update.
49054 (@copying): Use @copyright{} and range of years.
49055
49056 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49057
49058 [BZ #13695]
49059 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49060 [crti.S not in sysdirs] (generated): Do not append.
49061 [crti.S not in sysdirs] (omit-deps): Likewise.
49062 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49063 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49064 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49065 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49066 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49067 Likewise.
49068 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49069 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49070 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49071 * csu/defs.awk: Remove file.
49072 * sysdeps/generic/initfini.c: Likewise.
49073 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49074 variable.
49075 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49076 Likewise.
49077
49078 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49079
49080 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49081 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49085 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49086 <bits/epoll.h>.
49087 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49088 (__EPOLL_PACKED): Define to empty if not defined by
49089 <bits/epoll.h>.
49090 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49092 bits/epoll.h.
49093
49094 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49095
49096 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49097 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49098 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49099 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49100 <bits/timerfd.h>.
49101 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49103 bits/timerfd.h.
49104
49105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49106
49107 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49108 in C locale.
49109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49111 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49113
49114 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49115
49116 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49117 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49118
49119 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49120
49121 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49122 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49123 defined.
49124 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49125 Likewise.
49126 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49127 entry for 2.16.
49128
49129 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49130
49131 * math/w_acos.c: Use non-signaling floating-point comparisons.
49132 * math/w_acosf.c: Likewise.
49133 * math/w_acosh.c: Likewise.
49134 * math/w_acoshf.c: Likewise.
49135 * math/w_acoshl.c: Likewise.
49136 * math/w_acosl.c: Likewise.
49137 * math/w_asin.c: Likewise.
49138 * math/w_asinf.c: Likewise.
49139 * math/w_asinl.c: Likewise.
49140 * math/w_atanh.c: Likewise.
49141 * math/w_atanhf.c: Likewise.
49142 * math/w_atanhl.c: Likewise.
49143 * math/w_exp2.c: Likewise.
49144 * math/w_exp2f.c: Likewise.
49145 * math/w_exp2l.c: Likewise.
49146 * math/w_j0.c: Likewise.
49147 * math/w_j0f.c: Likewise.
49148 * math/w_j0l.c: Likewise.
49149 * math/w_j1.c: Likewise.
49150 * math/w_j1f.c: Likewise.
49151 * math/w_j1l.c: Likewise.
49152 * math/w_jn.c: Likewise.
49153 * math/w_jnf.c: Likewise.
49154 * math/w_log.c: Likewise.
49155 * math/w_log10.c: Likewise.
49156 * math/w_log10f.c: Likewise.
49157 * math/w_log10l.c: Likewise.
49158 * math/w_log2.c: Likewise.
49159 * math/w_log2f.c: Likewise.
49160 * math/w_log2l.c: Likewise.
49161 * math/w_logf.c: Likewise.
49162 * math/w_logl.c: Likewise.
49163 * math/w_sqrt.c: Likewise.
49164 * math/w_sqrtf.c: Likewise.
49165 * math/w_sqrtl.c: Likewise.
49166 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49167 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49169 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49170 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49171
49172 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49173
49174 [BZ #9739]
49175 * manual/string.texi (strnlen): Use correct parameter name in
49176 equivalent expression.
49177
49178 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49179
49180 [BZ #11174]
49181 * manual/users.texi (seteuid): Consistently use neweuid for
49182 argument name.
49183
49184 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49185
49186 [BZ #13704]
49187 * manual/nss.texi (Services in the NSS configuration): Correct
49188 list of services in example configuration file.
49189
49190 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49191
49192 [BZ #11322]
49193 * manual/arith.texi: Remove statements about negative zero
49194 behaving identically to zero.
49195
49196 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49197
49198 [BZ #5993]
49199 * manual/install.texi: Do not document upgrading from libc5.
49200
49201 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49202
49203 [BZ #4596]
49204 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49205
49206 2012-02-18 David S. Miller <davem@davemloft.net>
49207
49208 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49209 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49210 %o7 across the call.
49211 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49212 instead.
49213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49214 SETUP_PIC_REG_LEAF.
49215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49216 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49217 * sysdeps/sparc/crtn.S: Likewise.
49218
49219 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49220
49221 * aout/Makefile: Remove.
49222
49223 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49224
49225 [BZ #13058]
49226 * manual/examples/argp-ex1.c (main): Format definition in GNU
49227 style.
49228 * manual/examples/argp-ex2.c (main): Likewise.
49229 * manual/examples/argp-ex3.c (main): Likewise.
49230 * manual/examples/argp-ex4.c (main): Likewise.
49231 * manual/examples/longopt.c (main): Use new-style prototype
49232 definition.
49233 * manual/examples/strncat.c (main): Specify return type and use
49234 (void) for arguments.
49235 * manual/examples/subopt.c (main): Use char **argv argument.
49236
49237 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49238
49239 [BZ #5077]
49240 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49241 rounding modes.
49242
49243 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49244
49245 [BZ #6907]
49246 * manual/string.texi (strchr): Change when strchrnul is
49247 recommended.
49248
49249 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49250
49251 [BZ #174]
49252 * manual/locale.texi (setlocale): Document LOCPATH.
49253
49254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49255
49256 [BZ #10210]
49257 * manual/process.texi (execle): Move @dots{} before last argument.
49258
49259 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49260
49261 [BZ #12047]
49262 * manual/charset.texi (Generic Charset Conversion): Fix typo
49263 (LC_TYPE -> LC_CTYPE).
49264
49265 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49266
49267 [BZ #5805]
49268 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49269 (scalbnf): Likewise.
49270 (scalbnl): Likewise.
49271 (scalbln): Likewise.
49272 (scalblnf): Likewise.
49273 (scalblnl): Likewise.
49274 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49275 (vwarnx): Likewise.
49276 (verr): Likewise.
49277 (verrx): Likewise.
49278 * manual/filesys.texi (telldir): Use braces around return type.
49279 * manual/llio.texi (mmap): Add space after comma.
49280 (mmap64): Likewise.
49281 * manual/math.texi (jn): Use @var{} on parameter names.
49282 (jnf): Likewise.
49283 (jnl): Likewise.
49284 (yn): Likewise.
49285 (ynf): Likewise.
49286 (ynl): Likewise.
49287 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49288 line.
49289 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49290 "...".
49291 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49292 (sched_get_priority_max): Likewise.
49293 * manual/signal.texi (sigvec): Add space after comma.
49294 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49295 names.
49296 (if_indextoname): Likewise.
49297 (if_freenameindex): Likewise.
49298 (sendto): Use ',' instead of '.' in prototype.
49299 * manual/startup.texi (syscall): Use @dots{} instead of literal
49300 "...".
49301 * manual/stdio.texi (__fpending): Separate initial words of
49302 paragraph from @deftypefun line.
49303 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49304 "...".
49305 (vsyslog): Use @var{} on parameter names.
49306 * manual/terminal.texi (stty): Use @var{} on parameter names.
49307 * manual/users.texi (getutmp): Use @var{} on parameter names.
49308 (getutmpx): Likewise.
49309
49310 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49311
49312 [BZ #6884]
49313 * manual/stdio.texi (fopen): Fix typos in description of
49314 ",ccs=STRING".
49315
49316 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49317
49318 [BZ #4026]
49319 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49320 get clock_id definition.
49321
49322 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49323
49324 [BZ #4822]
49325 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49326 (madvise): Cast every argument to void on its own.
49327
49328 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49329
49330 [BZ #9902]
49331 * manual/startup.texi (Exit Status): Fix typo.
49332
49333 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49334
49335 [BZ #10140]
49336 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49337 * manual/examples/argp-ex2.c: Likewise.
49338 * manual/examples/argp-ex3.c: Likewise.
49339
49340 2012-02-16 Richard Henderson <rth@redhat.com>
49341
49342 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49343 * sysdeps/s390/s390-32/initfini.c: Remove.
49344 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49345 * sysdeps/s390/s390-64/initfini.c: Remove.
49346
49347 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49348
49349 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49350 compiler output for sysdeps/generic/initfini.c.
49351 * sysdeps/sh/elf/initfini.c: Remove file.
49352
49353 2012-02-16 David S. Miller <davem@davemloft.net>
49354
49355 [BZ #11494]
49356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49357
49358 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49359 * sysdeps/sparc/crti.S: New file.
49360 * sysdeps/sparc/crtn.S: New file.
49361 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49362 * sysdeps/sparc/sparc64/Makefile: Likewise.
49363
49364 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49365
49366 [BZ #3335]
49367 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49368
49369 2012-02-15 Roland McGrath <roland@hack.frob.com>
49370
49371 [BZ #4822]
49372 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49373
49374 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49375 (write, read, close): Likewise.
49376 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49377
49378 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49379
49380 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49381 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49382 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49383 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49384 <bits/signalfd.h>.
49385 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49387 bits/signalfd.h.
49388
49389 2012-02-14 Marek Polacek <polacek@redhat.com>
49390
49391 * sysdeps/x86_64/crti.S: New file.
49392 * sysdeps/x86_64/crtn.S: New file.
49393 * sysdeps/x86_64/elf/initfini.c: Remove file.
49394
49395 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49396
49397 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49398 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49399 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49400 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49401 <bits/inotify.h>.
49402 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49404 bits/inotify.h.
49405
49406 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49407
49408 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49409 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49410 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49411 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49412 <bits/eventfd.h>.
49413 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49415 bits/eventfd.h.
49416
49417 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49418
49419 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49420 __feraiseexcept instead of feraiseexcept.
49421
49422 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49423 nanosleep invocations.
49424 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49425 strings, and add error checking for a nanosleep invocations.
49426
49427 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49428
49429 Replace FSF snail mail address with URLs, as per GNU coding standards.
49430 Most of the snail mail addresses were wrong anyway, and omitting
49431 them makes the source code easier to maintain. Almost all of the
49432 changes are to license notices and to locale LC_IDENTIFICATION
49433 addresses, except for this one:
49434 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49435 not its snail mail address.
49436
49437 2012-02-09 Richard Henderson <rth@twiddle.net>
49438
49439 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49440 of kernel-features.h.
49441
49442 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49443
49444 2012-02-08 Marek Polacek <polacek@redhat.com>
49445
49446 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49447 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49448 * sysdeps/gnu/_G_config.h: Likewise.
49449 * sysdeps/generic/_G_config.h: Likewise.
49450
49451 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49452
49453 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49454 tests.
49455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49456
49457 * sysdeps/powerpc/powerpc32/crti.S: New file.
49458 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49459 * sysdeps/powerpc/powerpc64/crti.S: New file.
49460 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49461
49462 * Makeconfig (have-initfini): Don't set.
49463 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49464 * configure.in (nopic_initfini): Don't substitute.
49465 * config.h.in (HAVE_INITFINI): Don't #undef.
49466 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49467 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49468
49469 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49470
49471 Support crti.S and crtn.S provided directly by architectures.
49472 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49473 [crti.S in sysdirs] (omit-deps): Likewise.
49474 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49475 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49476 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49477 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49478 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49479 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49480 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49481 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49482 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49483 compiler output for sysdeps/generic/initfini.c.
49484 * sysdeps/i386/elf/Makefile: Remove file.
49485 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49486
49487 2012-02-07 Marek Polacek <polacek@redhat.com>
49488
49489 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49490 * sysdeps/gnu/_G_config.h: Likewise.
49491 * sysdeps/mach/hurd/_G_config.h: Likewise.
49492
49493 2012-02-07 Marek Polacek <polacek@redhat.com>
49494
49495 * math/Makefile (tests): Add tst-CMPLX2.
49496 * math/tst-CMPLX2.c: New file.
49497
49498 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49499
49500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49501
49502 * math/libm-test.inc (jn_test): Add missing L suffix.
49503
49504 2012-02-06 Marek Polacek <polacek@redhat.com>
49505
49506 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49507 * sysdeps/i386/fpu/e_powf.S: Likewise.
49508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49509 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49511 * sysdeps/i386/fpu/e_pow.S: Likewise.
49512 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49514 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49515 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49516 * sysdeps/i386/fpu/e_log2.S: Likewise.
49517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49519 * sysdeps/i386/fpu/e_powl.S: Likewise.
49520 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49521 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49522 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49523 * sysdeps/i386/fpu/e_logl.S: Likewise.
49524 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49525 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49526 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49527 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49529 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49530 * sysdeps/i386/fpu/e_log.S: Likewise.
49531 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49532 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49533 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49534 * sysdeps/i386/fpu/e_logf.S: Likewise.
49535 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49536 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49537 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49538 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49540 * sysdeps/i386/fpu/e_log10.S: Likewise.
49541 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49543 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49544 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49546 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49547 * sysdeps/i386/asm-syntax.h: Likewise.
49548 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49551 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49552 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49553 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49554 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49555 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49556 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49557 * sysdeps/powerpc/sysdep.h: Likewise.
49558 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49559 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49560
49561 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49562
49563 [BZ #411]
49564 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49565
49566 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49567
49568 * sysdeps/i386/sysdep.h: Include <features.h>.
49569 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49570 version.
49571
49572 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49573
49574 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49575 Define.
49576 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49577 LOAD_PIC_REG_STR.
49578
49579 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49580
49581 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49582 (SETUP_PIC_REG): Use GET_PC_THUNK.
49583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49584 macro.
49585
49586 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49587
49588 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49589 for non-PIC compilation.
49590 (SETUP_PIC_REG): Add .p2align directive.
49591 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49592 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49593 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49594 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49595 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49596 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49599 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49600 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49601 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49602 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49603 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49604 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49605 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49608 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49609 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49610 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49611 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49613 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49614 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49619 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49620 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49621 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49622 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49623 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49624 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49625 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49626 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49627 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49628 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49629 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49630 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49631 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49632
49633 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49634
49635 * math/tst-CMPLX.c: Include <stdio.h>.
49636
49637 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49638
49639 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49640 float.
49641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49642 * sysdeps/sparc/bits/mathdef.h: Likewise.
49643
49644 2012-01-31 Marek Polacek <polacek@redhat.com>
49645
49646 * libio/libio.h: Don't define _PARAMS.
49647 * locale/programs/config.h: Don't define PARAMS.
49648 * stdlib/strtol_l.c: Likewise.
49649 (__strtol_l): Remove PARAMS from the prototype.
49650
49651 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49652
49653 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49654 names. Just use the correct names. Remove unnecessary wrapper
49655 functions.
49656 * malloc/arena.c: Likewise.
49657 * malloc/hooks.c: Likewise.
49658
49659 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49660 ARENA_TEST says not to. Simplify test for creation of a new arena.
49661 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49662
49663 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49664
49665 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49666 into tail calls.
49667 (update_get_addr): New function.
49668 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49669 GET_ADDR_MODULE parameter.
49670
49671 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49672
49673 * crypt/cert.c: Remove __STDC__ conditionals.
49674 * crypt/crypt-entry.c: Likewise.
49675 * crypt/crypt_util.c: Likewise.
49676 * libio/filedoalloc.c: Likewise.
49677 * libio/fileops.c: Likewise.
49678 * libio/genops.c: Likewise.
49679 * libio/iofclose.c: Likewise.
49680 * libio/iofdopen.c: Likewise.
49681 * libio/iofopen.c: Likewise.
49682 * libio/iofopen64.c: Likewise.
49683 * libio/iogetdelim.c: Likewise.
49684 * libio/iopopen.c: Likewise.
49685 * libio/obprintf.c: Likewise.
49686 * libio/oldfileops.c: Likewise.
49687 * libio/oldiofclose.c: Likewise.
49688 * libio/oldiofdopen.c: Likewise.
49689 * libio/oldiofopen.c: Likewise.
49690 * libio/oldiopopen.c: Likewise.
49691 * libio/wfiledoalloc.c: Likewise.
49692 * libio/wgenops.c: Likewise.
49693 * locale/programs/xmalloc.c: Likewise.
49694 * misc/syslog.c: Likewise.
49695 * stdio-common/xbug.c: Likewise.
49696 * string/memchr.c: Likewise.
49697 * string/memcmp.c: Likewise.
49698 * string/memrchr.c: Likewise.
49699 * string/rawmemchr.c: Likewise.
49700 * sysdeps/posix/getcwd.c: Likewise.
49701 * time/strftime_l.c: Likewise.
49702
49703 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49704
49705 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49706 * config.make.in (config-cflags-sse2avx): Define.
49707 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49708 Fix typo.
49709
49710 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49711
49712 * scripts/config.guess: Update from upstream config git repository.
49713 * scripts/config.sub: Likewise.
49714
49715 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49716
49717 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49718 (EM_NUM): Update.
49719 (R_TILEPRO_*, R_TILEGX_*): New macros.
49720
49721 * scripts/firstversions.awk: Fix bug in version range handling.
49722
49723 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49724
49725 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49726
49727 * include/sys/epoll.h: New file.
49728 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49729 libc_hidden_def.
49730
49731 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49732
49733 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49734 Avoid unnecessary __WORDSIZE == 64 test.
49735 (fmaxf): Use VEX format if possible.
49736 (fmax): Likewise.
49737 (fminf): Likewise.
49738 (fmin): Likewise.
49739
49740 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49741 * math/math_private.h: Remove libc_fegetround* and
49742 libc_fesetround*.
49743 * sysdeps/i386/configure.in: Check for -msse2avx.
49744 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49745 also if SSE2AVX is defined.
49746 Remove libc_fegetround* and libc_fesetround*.
49747 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49748 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49750 of HAS_YMM_USABLE.
49751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49756
49757 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49758
49759 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49760
49761 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49762 size is not set.
49763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49764
49765 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49766
49767 [BZ #13618]
49768 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49769 relocation.
49770 * Makeconfig (libm): Define.
49771 * elf/Makefile: Add rules to build and run tst-relsort1.
49772 * elf/tst-relsort1.c: New file.
49773 * elf/tst-relsort1mod1.c: New file.
49774 * elf/tst-relsort1mod2.c: New file.
49775
49776 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49777
49778 * math/s_ldexp.c: Remove __STDC__ conditionals.
49779 * math/s_ldexpf.c: Likewise.
49780 * math/s_ldexpl.c: Likewise.
49781 * math/s_nextafter.c: Likewise.
49782 * math/s_nexttowardf.c: Likewise.
49783 * math/s_significand.c: Likewise.
49784 * math/s_significandf.c: Likewise.
49785 * math/s_significandl.c: Likewise.
49786 * math/w_jnl.c: Likewise.
49787 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49788 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49789 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49790 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49791 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49793 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49794 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49795 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49796 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49797 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49801 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49802 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49804 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49806 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49807 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49808 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49814 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49815 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49818 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49819 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49821 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49822 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49823 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49824 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49825 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49826 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49827 * sysdeps/ieee754/k_standard.c: Likewise.
49828 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49829 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49830 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49831 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49832 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49833 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49835 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49836 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49837 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49838 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49839 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49842 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49844 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49850 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49851 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49853 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49858 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49859 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49861 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49864 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49867 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49868 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49871 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49872 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49873 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49878 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49883 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49888 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49889 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49890 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49891 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49892 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49893 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49894 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49895 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49896 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49897 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49898 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49899 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49900 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49903 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49904 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49905 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49906 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49907 * sysdeps/ieee754/s_matherr.c: Likewise.
49908 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49909 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49912
49913 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49914
49915 * crypt/md5.h: Remove __STDC__ conditionals.
49916 * libio/libioP.h: Likewise.
49917 * locale/programs/config.h: Likewise.
49918 * sysdeps/generic/sysdep.h: Likewise.
49919 * sysdeps/i386/asm-syntax.h: Likewise.
49920 * sysdeps/s390/asm-syntax.h: Likewise.
49921 * sysdeps/unix/sysdep.h: Likewise.
49922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49924
49925 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49926
49927 * libio/libio.h: Remove __STDC__ conditionals.
49928 * malloc/obstack.h: Likewise.
49929 * math/complex.h: Likewise.
49930 * math/math.h: Likewise.
49931 * sysdeps/generic/_G_config.h: Likewise.
49932 * sysdeps/gnu/_G_config.h: Likewise.
49933 * sysdeps/mach/hurd/_G_config.h: Likewise.
49934 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49935 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49936 * sysdeps/sparc/bits/mathdef.h: Likewise.
49937
49938 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49939
49940 [BZ #13583]
49941 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49942 Clean up HAS_* macros.
49943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49944 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49945 possible.
49946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49947 HAS_AVX.
49948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49951 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49952 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49953
49954 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49955
49956 * elf/tst-unique3.cc (gets): Remove declaration.
49957 * elf/tst-unique3lib.cc (gets): Likewise.
49958 * elf/tst-unique3lib2.cc (gets): Likewise.
49959 * elf/tst-unique4.cc (gets): Likewise.
49960
49961 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49962
49963 * include/stdio.h: Add C++ protection. Add gets declarations and
49964 definitions.
49965 * debug/tst-chk1.c: Don't declare gets here.
49966 * stdio-common/tst-gets.c: Likewise.
49967
49968 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49969
49970 * posix/glob: Remove directory.
49971
49972 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49973
49974 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49975
49976 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49977
49978 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49979 of the non-standard EPFNOSUPPORT.
49980
49981 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49982
49983 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49984 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49985 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49986
49987 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49988
49989 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49990
49991 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49992
49993 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49994 transient errors.
49995 * nscd/grpcache.c (cache_addgr): Likewise.
49996 * nscd/hstcache.c (cache_addhst): Likewise.
49997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49998 * nscd/pwdcache.c (cache_addpw): Likewise.
49999 * nscd/servicescache.c (cache_addserv): Likewise.
50000
50001 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50002
50003 * malloc/malloc.c: Various cleanups.
50004 * malloc/hooks.c: Likewise.
50005
50006 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50007 * stdlib/bug-fmtmsg1.c: New file.
50008
50009 * stdlib/fmtmsg.c (init): Add missing unlock.
50010 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50011
50012 2012-01-12 Marek Polacek <polacek@redhat.com>
50013
50014 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50015 and _GNU_SOURCE.
50016
50017 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50018
50019 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50020 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50021 macro to ensure uniqueness of label name.
50022 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50023 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50024
50025 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50026
50027 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50028
50029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50030 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50033
50034 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50035
50036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50037
50038 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50039 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50040 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50041
50042 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50043
50044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50045 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50048
50049 * math/bits/math-finite.h: Add ldexp support.
50050
50051 2012-01-10 Marek Polacek <polacek@redhat.com>
50052
50053 * locale/programs/localedef.h (show_archive_content): Add noreturn
50054 attribute.
50055
50056 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50057
50058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50059
50060 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50061
50062 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50063
50064 * io/Makefile (headers): Add bits/poll2.h.
50065
50066 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50067
50068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50069 typo #include statement.
50070
50071 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50072
50073 * include/sys/cdefs.h: Define __attribute_alloc_size.
50074 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50075 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50076 * elf/pldd.c: Likewise.
50077 * iconv/iconv_charmap.c: Likewise.
50078 * iconv/iconvconfig.c: Likewise.
50079 * iconv/strtab.c: Likewise.
50080 * locale/programs/locale.c: Likewise.
50081 * locale/programs/localedef.h: Likewise.
50082 * locale/programs/simple-hash.c: Likewise.
50083 * nscd/nscd.h: Likewise.
50084 * nss/makedb.c: Likewise.
50085 * sysdeps/generic/ldconfig.h: Likewise.
50086 * locale/programs/localedef.c: Remove xmalloc prototype.
50087 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50088
50089 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50090
50091 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50092 appropriate.
50093
50094 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50095
50096 * math/Makefile (tests): Add tst-CMPLX.
50097 * math/tst-CMPLX.c: New file.
50098
50099 * math/complex.h (CMPLXL): Fix typo.
50100
50101 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50102 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50103 GLIBC_2.16.
50104 * debug/tst-chk1.c: Add poll and ppoll tests.
50105 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50106 * include/sys/poll.h: Add hidden proto for ppoll.
50107 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50108 * sysdeps/mach/hurd/ppoll.c: Likewise.
50109 * io/ppoll.c: Likewise.
50110 * debug/poll_chk.c: New file.
50111 * debug/ppoll_chk.c: New file.
50112 * include/bits/poll2.h: New file.
50113 * io/bits/poll2.h: New file.
50114
50115 [BZ #1350]
50116 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50117
50118 * configure.in: static is always set to yes. Remove.
50119 * config.make.in: Don't set build-static.
50120 * Makeconfig: Remove use of build-static.
50121 * dlfcn/Makefile: Likewise.
50122 * elf/Makefile: Likewise.
50123 * math/Makefile: Likewise.
50124 * misc/Makefile: Likewise.
50125 * nptl/Makefile: Likewise.
50126 * sysdeps/mach/hurd/Makefile: Likewise.
50127
50128 * configure.in: PWD_P is not used anymore.
50129 * config.make.in: Remove PWD_P entry.
50130
50131 * configure.in: Remove last remnants of RANLIB.
50132 No need to check for signed size_t anymore.
50133 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50134 and IA-64.
50135 Remove __builtin_expect test because we require at least gcc 3.4.
50136 * aclocal.m4: Likewise.
50137
50138 * wcsmbs/mbrtoc16.c: Implement using towc function.
50139 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50140 * wcsmbs/wcsmbsload.c: Likewise.
50141 * iconv/gconv_simple.c: Likewise.
50142 * iconv/gconv_int.h: Likewise.
50143 * iconv/gconv_builtin.h: Likewise.
50144 * iconv/iconv_prog.c: Remove CHAR16 handling.
50145
50146 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50147
50148 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50149
50150 * configure.in: Remove --with-elf and --enable-bounded options.
50151 Dont set base_machine for ia64. More non-ELF conditions removed.
50152 Remove testing and setting of leading underscore information.
50153 * config.make.in (build-bounded): Set to no.
50154 * config.h.in: Remove NO_UNDERSCORES entry.
50155 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50156 them.
50157 * csu/start.c: Remove !NO_UNDERSCORE code.
50158 * locale/localeinfo.h: Likewise.
50159 * sysdeps/generic/machine-gmon.h: Likewise.
50160 * sysdeps/generic/sysdep.h: Likewise.
50161 * sysdeps/i386/sysdep.h: Likewise.
50162 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50163 * sysdeps/mach/sysdep.h: Likewise.
50164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50166 * sysdeps/sh/sysdep.h: Likewise.
50167 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50168 * sysdeps/unix/i386/sysdep.S: Likewise.
50169 * sysdeps/unix/sparc/start.c: Likewise.
50170 * sysdeps/unix/sparc/sysdep.S: Likewise.
50171 * sysdeps/unix/sparc/sysdep.h: Likewise.
50172 * sysdeps/unix/start.c: Likewise.
50173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50174 * sysdeps/x86_64/sysdep.h: Likewise.
50175
50176 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50177
50178 [BZ #13553]
50179 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50180 for non-gcc.
50181 * argp/argp-fmtstream.h: Use const instead __const.
50182 * argp/argp.h: Likewise.
50183 * assert/assert.h: Likewise.
50184 * bits/fenv.h: Likewise.
50185 * bits/sched.h: Likewise.
50186 * bits/sigset.h: Likewise.
50187 * bits/sigthread.h: Likewise.
50188 * catgets/nl_types.h: Likewise.
50189 * conform/data/pthread.h-data: Likewise.
50190 * crypt/crypt-private.h: Likewise.
50191 * crypt/crypt.h: Likewise.
50192 * crypt/crypt_util.c: Likewise.
50193 * ctype/ctype.h: Likewise.
50194 * debug/execinfo.h: Likewise.
50195 * debug/mbsnrtowcs_chk.c: Likewise.
50196 * debug/mbsrtowcs_chk.c: Likewise.
50197 * debug/wcsnrtombs_chk.c: Likewise.
50198 * debug/wcsrtombs_chk.c: Likewise.
50199 * debug/wcstombs_chk.c: Likewise.
50200 * dirent/dirent.h: Likewise.
50201 * dlfcn/dlfcn.h: Likewise.
50202 * elf/neededtest4.c: Likewise.
50203 * grp/grp.h: Likewise.
50204 * gshadow/gshadow.h: Likewise.
50205 * iconv/gconv.h: Likewise.
50206 * iconv/gconv_int.h: Likewise.
50207 * iconv/gconv_simple.c: Likewise.
50208 * iconv/iconv.h: Likewise.
50209 * iconv/loop.c: Likewise.
50210 * iconv/skeleton.c: Likewise.
50211 * include/aio.h: Likewise.
50212 * include/aliases.h: Likewise.
50213 * include/argz.h: Likewise.
50214 * include/arpa/inet.h: Likewise.
50215 * include/assert.h: Likewise.
50216 * include/dirent.h: Likewise.
50217 * include/dlfcn.h: Likewise.
50218 * include/execinfo.h: Likewise.
50219 * include/fcntl.h: Likewise.
50220 * include/fenv.h: Likewise.
50221 * include/glob.h: Likewise.
50222 * include/grp.h: Likewise.
50223 * include/libintl.h: Likewise.
50224 * include/mntent.h: Likewise.
50225 * include/netdb.h: Likewise.
50226 * include/pwd.h: Likewise.
50227 * include/rpc/netdb.h: Likewise.
50228 * include/sched.h: Likewise.
50229 * include/search.h: Likewise.
50230 * include/shadow.h: Likewise.
50231 * include/signal.h: Likewise.
50232 * include/stdio.h: Likewise.
50233 * include/stdlib.h: Likewise.
50234 * include/string.h: Likewise.
50235 * include/sys/socket.h: Likewise.
50236 * include/sys/stat.h: Likewise.
50237 * include/sys/statfs.h: Likewise.
50238 * include/sys/statvfs.h: Likewise.
50239 * include/sys/syslog.h: Likewise.
50240 * include/sys/time.h: Likewise.
50241 * include/sys/uio.h: Likewise.
50242 * include/time.h: Likewise.
50243 * include/unistd.h: Likewise.
50244 * include/utmp.h: Likewise.
50245 * include/wchar.h: Likewise.
50246 * include/wctype.h: Likewise.
50247 * inet/aliases.h: Likewise.
50248 * inet/arpa/inet.h: Likewise.
50249 * inet/netinet/ether.h: Likewise.
50250 * inet/netinet/in.h: Likewise.
50251 * intl/libintl.h: Likewise.
50252 * io/bits/fcntl2.h: Likewise.
50253 * io/fcntl.h: Likewise.
50254 * io/ftw.h: Likewise.
50255 * io/sys/poll.h: Likewise.
50256 * io/sys/stat.h: Likewise.
50257 * io/sys/statfs.h: Likewise.
50258 * io/sys/statvfs.h: Likewise.
50259 * io/utime.h: Likewise.
50260 * libio/bits/stdio.h: Likewise.
50261 * libio/bits/stdio2.h: Likewise.
50262 * libio/libio.h: Likewise.
50263 * libio/libioP.h: Likewise.
50264 * libio/stdio.h: Likewise.
50265 * locale/lc-ctype.c: Likewise.
50266 * locale/locale.h: Likewise.
50267 * login/utmp.h: Likewise.
50268 * malloc/arena.c: Likewise.
50269 * malloc/malloc.c: Likewise.
50270 * malloc/malloc.h: Likewise.
50271 * malloc/mcheck.c: Likewise.
50272 * malloc/mtrace.c: Likewise.
50273 * math/bits/mathcalls.h: Likewise.
50274 * math/fenv.h: Likewise.
50275 * math/math_private.h: Likewise.
50276 * misc/bits/error.h: Likewise.
50277 * misc/bits/syslog.h: Likewise.
50278 * misc/err.h: Likewise.
50279 * misc/error.h: Likewise.
50280 * misc/fstab.h: Likewise.
50281 * misc/mntent.h: Likewise.
50282 * misc/regexp.h: Likewise.
50283 * misc/search.h: Likewise.
50284 * misc/sgtty.h: Likewise.
50285 * misc/sys/mman.h: Likewise.
50286 * misc/sys/syslog.h: Likewise.
50287 * misc/sys/uio.h: Likewise.
50288 * misc/sys/xattr.h: Likewise.
50289 * misc/ttyent.h: Likewise.
50290 * nis/rpcsvc/ypclnt.h: Likewise.
50291 * nss/nss.h: Likewise.
50292 * posix/bits/unistd.h: Likewise.
50293 * posix/fnmatch.h: Likewise.
50294 * posix/glob.h: Likewise.
50295 * posix/sched.h: Likewise.
50296 * posix/spawn.h: Likewise.
50297 * posix/sys/wait.h: Likewise.
50298 * posix/unistd.h: Likewise.
50299 * posix/wordexp.h: Likewise.
50300 * pwd/pwd.h: Likewise.
50301 * resolv/netdb.h: Likewise.
50302 * resource/sys/resource.h: Likewise.
50303 * rt/aio.h: Likewise.
50304 * rt/bits/mqueue2.h: Likewise.
50305 * rt/mqueue.h: Likewise.
50306 * shadow/shadow.h: Likewise.
50307 * signal/signal.h: Likewise.
50308 * socket/send.c: Likewise.
50309 * socket/sendto.c: Likewise.
50310 * socket/sys/socket.h: Likewise.
50311 * stdio-common/printf.h: Likewise.
50312 * stdlib/bits/stdlib.h: Likewise.
50313 * stdlib/fmtmsg.h: Likewise.
50314 * stdlib/monetary.h: Likewise.
50315 * stdlib/stdlib.h: Likewise.
50316 * stdlib/ucontext.h: Likewise.
50317 * streams/stropts.h: Likewise.
50318 * string/argz.h: Likewise.
50319 * string/bits/string2.h: Likewise.
50320 * string/string.h: Likewise.
50321 * string/strings.h: Likewise.
50322 * sunrpc/rpc/auth.h: Likewise.
50323 * sunrpc/rpc/auth_des.h: Likewise.
50324 * sunrpc/rpc/clnt.h: Likewise.
50325 * sunrpc/rpc/netdb.h: Likewise.
50326 * sunrpc/rpc/pmap_clnt.h: Likewise.
50327 * sunrpc/rpc/xdr.h: Likewise.
50328 * sysdeps/generic/inttypes.h: Likewise.
50329 * sysdeps/generic/net/if.h: Likewise.
50330 * sysdeps/generic/sys/swap.h: Likewise.
50331 * sysdeps/gnu/net/if.h: Likewise.
50332 * sysdeps/gnu/utmpx.h: Likewise.
50333 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50334 * sysdeps/i386/i486/bits/string.h: Likewise.
50335 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50336 * sysdeps/s390/bits/string.h: Likewise.
50337 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50338 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50339 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50340 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50341 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50342 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50343 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50344 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50345 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50346 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50347 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50348 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50349 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50350 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50351 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50352 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50353 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50359 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50360 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50361 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50362 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50365 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50367 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50368 * sysvipc/sys/ipc.h: Likewise.
50369 * sysvipc/sys/msg.h: Likewise.
50370 * sysvipc/sys/sem.h: Likewise.
50371 * sysvipc/sys/shm.h: Likewise.
50372 * termios/termios.h: Likewise.
50373 * time/sys/time.h: Likewise.
50374 * time/time.h: Likewise.
50375 * wcsmbs/bits/wchar2.h: Likewise.
50376 * wcsmbs/uchar.h: Likewise.
50377 * wcsmbs/wchar.h: Likewise.
50378 * wctype/wctype.h: Likewise.
50379
50380 [BZ #13551]
50381 * Makeconfig: Remove all but ELF support including AIX support.
50382 * Makerules: Likewise.
50383 * config.h.in: Likewise.
50384 * config.make.in: Likewise.
50385 * configure: Likewise.
50386 * configure.in: Likewise.
50387 * csu/Makefile: Likewise.
50388 * csu/version.c: Likewise.
50389 * debug/Makefile: Likewise.
50390 * dlfcn/Makefile: Likewise.
50391 * elf/Makefile: Likewise.
50392 * extra-lib.mk: Likewise.
50393 * iconv/Makefile: Likewise.
50394 * include/libc-symbols.h: Likewise.
50395 * include/shlib-compat.h: Likewise.
50396 * resolv/Makefile: Likewise.
50397 * resolv/res_libc.c: Likewise.
50398 * rt/Makefile: Likewise.
50399 * sysdeps/i386/asm-syntax.h: Likewise.
50400 * sysdeps/i386/sysdep.h: Likewise.
50401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50402 * sysdeps/mach/sysdep.h: Likewise.
50403 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50404 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50405 * sysdeps/s390/asm-syntax.h: Likewise.
50406 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50408 * sysdeps/sh/sysdep.h: Likewise.
50409 * sysdeps/unix/sparc/sysdep.h: Likewise.
50410 * sysdeps/wordsize-32/divdi3.c: Likewise.
50411 * sysdeps/x86_64/sysdep.h: Likewise.
50412
50413 * argp/Versions: Remove _argp_unlock_xxx.
50414
50415 [BZ #13559]
50416 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50417 * abilist/libBrokenLocale.abilist: Likewise.
50418 * abilist/libanl.abilist: Likewise.
50419 * abilist/libc.abilist: Likewise.
50420 * abilist/libcrypt.abilist: Likewise.
50421 * abilist/libdl.abilist: Likewise.
50422 * abilist/libm.abilist: Likewise.
50423 * abilist/libnsl.abilist: Likewise.
50424 * abilist/libpthread.abilist: Likewise.
50425 * abilist/libresolv.abilist: Likewise.
50426 * abilist/librt.abilist: Likewise.
50427 * abilist/libthread_db.abilist: Likewise.
50428 * abilist/libutil.abilist: Likewise.
50429 * abilist/libnss_db.abilist: New file.
50430
50431 * scripts/abilist.awk: Add support for indirect functions.
50432
50433 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50434
50435 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50436
50437 * shlib-versions: Remove entries for ports architectures.
50438
50439 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50440 files in ports.
50441 * elf/stackguard-macros.h: Remove support for IA-64.
50442 * elf/tst-auditmod1.c: Likewise.
50443 * sysdeps/generic/ldsodefs.h: Likewise.
50444
50445 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50446 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50447 configure files.
50448
50449 [BZ #13552]
50450 * configure.in: Remove --enable-omitfp support.
50451 * FAQ.in: Adjust.
50452 * config.make.in: Likewise.
50453 * Makeconfig: Likewise.
50454 * manual/install.texi: Likewise.
50455
50456 In case anyone cares, the IA-64 architecture could move to ports.
50457 * sysdeps/ia64/*: Removed.
50458 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50459 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50460
50461 [BZ #13555]
50462 * configure.in: Remove entries for unsupported architectures.
50463
50464 [BZ #13533]
50465 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50466 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50467 routines.
50468 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50469 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50470 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50471 fall back to using wcrtomb.
50472 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50473 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50474 renaming.
50475 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50476 * wcsmbs/tst-c16c32-1.c: New file.
50477
50478 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50479 local variable.
50480
50481 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50482
50483 * elf/tst-unique3.cc: Add explicit declaration of gets.
50484 * elf/tst-unique3lib.cc: Likewise.
50485 * elf/tst-unique3lib2.cc: Likewise.
50486 * elf/tst-unique4.cc: Likewise.
50487
50488 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50489
50490 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50491
50492 [BZ #13566]
50493 * assert/assert.h (static_assert): Don't define for C++.
50494 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50495 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50496
50497 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50498
50499 * iconv/loop.c (single loop): Fix assertion in storing of
50500 remaining bytes.
50501
50502 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50503
50504 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50505
50506 * posix/getconf.c: Update copyright year.
50507 * nss/getent.c: Likewise.
50508 * nss/makedb.c: Likewise.
50509 * iconv/iconvconfig.c: Likewise.
50510 * iconv/iconv_prog.c: Likewise.
50511 * elf/ldconfig.c: Likewise.
50512 * elf/pldd.c: Likewise.
50513 * elf/sotruss.ksh: Likewise.
50514 * catgets/gencat.c: Likewise.
50515 * csu/version.c: Likewise.
50516 * elf/ldd.bash.in: Likewise.
50517 * elf/sprof.c (print_version): Likewise.
50518 * locale/programs/locale.c: Likewise.
50519 * locale/programs/localedef.c: Likewise.
50520 * login/programs/pt_chown.c: Likewise.
50521 * nscd/nscd.c (print_version): Likewise.
50522 * debug/xtrace.sh: Likewise.
50523 * malloc/memusage.sh: Likewise.
50524 * malloc/mtrace.pl: Likewise.
50525 * debug/catchsegv.sh: Likewise.
50526
50527 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50528
50529 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50530 pure attribute.
50531
50532 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50533
50534 [BZ #13533]
50535 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50536 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50537 transformations.
50538 * iconv/gconv_int.h: Likewise.
50539 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50540 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50541 from libc for GLIBC_2.16.
50542 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50543 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50544 * wcsmbs/uchar.h: Really define mbstate_t.
50545 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50546 * wcsmbs/c16rtomb.c: New file.
50547 * wcsmbs/mbrtoc16.c: New file.
50548 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50549 for C/POSIX locale.
50550 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50551 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50552
50553 * wcsmbs/wchar.h: Add missing __restrict.
50554
50555 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50556
50557 [BZ #13532]
50558 * time/Makefile (routines): Add timespec_get.
50559 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50560 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50561 timespec for ISO C11.
50562 * time/timespec_get.c: New file.
50563 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50564 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50565
50566 [BZ #13531]
50567 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50568 * stdlib/stdlib.h: Declare aligned_alloc.
50569 * Versions.def: Add GLIBC_2.16 for libc.
50570 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50571
50572 [BZ 13527]
50573 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50574 ISO C11.
50575
50576 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50577 code.
50578
50579 [BZ #13528]
50580 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50581
50582 [BZ #13529]
50583 * assert/assert.h (static_assert): Define.
50584
50585 * version.h: Update for 2.16 development version.
50586
50587 [BZ #13526]
50588 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50589 _ISOC11_SOURCE.
50590
50591 * version.h (RELEASE): Bump for 2.15 release.
50592 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50593
50594 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50595 Patch by Marek Polacek <mpolacek@redhat.com>.
50596
50597 * bits/byteswap.h: Protect long long constants with __extension__.
50598 * sysdeps/i386/bits/byteswap.h: Likewise.
50599 * sysdeps/ia64/bits/byteswap.h: Likewise.
50600 * sysdeps/s390/bits/byteswap.h: Likewise.
50601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50602
50603 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50604
50605 [BZ #13540]
50606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50607 destination buffer.
50608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50609
50610 2011-12-23 Marek Polacek <polacek@redhat.com>
50611
50612 * elf/dl-addr.c (determine_info): Add inline keyword.
50613 * elf/tst-auditmod4b.c (check_avx): Likewise.
50614 * elf/tst-auditmod6b.c (check_avx): Likewise.
50615 * elf/tst-auditmod6c.c (check_avx): Likewise.
50616 * elf/tst-auditmod7b.c (check_avx): Likewise.
50617
50618 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50619
50620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50621 !__SSE_MATH__.
50622
50623 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50624
50625 [BZ #13540]
50626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50627 processing for last bytes.
50628
50629 2011-08-06 Bruno Haible <bruno@clisp.org>
50630
50631 [BZ #13061]
50632 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50633 U+0385, not to U+1FEE.
50634
50635 [BZ #13062]
50636 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50637 entry for U+00A5 U+0301.
50638
50639 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50640
50641 [BZ #13166]
50642 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50643 buffer for the output is too small.
50644
50645 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50646 optimization.
50647
50648 [BZ #13185]
50649 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50650 SSE flags if possible.
50651
50652 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50653
50654 [BZ #13540]
50655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50656 processing for last bytes.
50657
50658 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50659
50660 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50661 (syscall-list-default-options, syscall-list-default-condition)
50662 (syscall-list-includes): Define.
50663 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50664 list of ABIs and options and #if conditions for each ABI. Do not
50665 handle common syscalls between ABIs specially.
50666 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50667 Remove.
50668 (syscall-list-variants, syscall-list-32bit-options)
50669 (syscall-list-32bit-condition, syscall-list-64bit-options)
50670 (syscall-list-64bit-condition): Define.
50671 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50672 (syscall-list-variants, syscall-list-32bit-options)
50673 (syscall-list-32bit-condition, syscall-list-64bit-options)
50674 (syscall-list-64bit-condition): Define.
50675 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50676 Remove.
50677 (syscall-list-variants, syscall-list-32bit-options)
50678 (syscall-list-32bit-condition, syscall-list-64bit-options)
50679 (syscall-list-64bit-condition): Define.
50680 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50681 Remove.
50682 (syscall-list-variants, syscall-list-32bit-options)
50683 (syscall-list-32bit-condition, syscall-list-64bit-options)
50684 (syscall-list-64bit-condition): Define.
50685
50686 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50687
50688 * locale/iso-639.def: Add brx entry.
50689
50690 [BZ #13328]
50691 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50692 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50693
50694 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50695 __feraiseexcept_renamed.
50696
50697 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50698
50699 [BZ #13538]
50700 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50701 EPOLLET with unsigned values.
50702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50704
50705 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50706 to large cancellation.
50707 * math/s_cacoshf.c: Likewise.
50708 * math/s_cacoshl.c: Likewise.
50709
50710 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50711
50712 [BZ #13305]
50713 [BZ #12786]
50714 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50715 * math/s_cacoshf.c: Likewise.
50716 * math/s_cacoshl.c: Likewise.
50717
50718 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50719
50720 [BZ #13439]
50721 * iconv/gconv.h: Define __GCONV_SWAP.
50722 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50723 * iconvdata/utf-16.c: Likewise.
50724 * iconvdata/utf-32.c: Likewise.
50725
50726 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50727
50728 [BZ #13524]
50729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50730 numerator after shifting it by one limb.
50731
50732 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50733
50734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50735 under [__USE_EXTERN_INLINES].
50736
50737 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50738
50739 [BZ #13446]
50740 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50741
50742 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50743
50744 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50745 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50746 optimized code.
50747 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50748 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50749 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50750 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50751 for strncasecmp/strncasecmp_l compilation.
50752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50753 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50754
50755 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50756
50757 [BZ #13484]
50758 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50759 of __asm__.
50760
50761 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50762
50763 [BZ #13506]
50764 * time/tzfile.c (__tzfile_read): Check values from file header.
50765
50766 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50767
50768 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50769 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50770 * powerpc/powerpc32/dl-start.S: Likewise.
50771 * powerpc/powerpc32/elf/start.S: Likewise.
50772 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50773 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50774 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50775 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50776 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50777 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50778 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50779 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50780 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50781 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50782 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50783 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50784 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50785 * powerpc/powerpc32/memset.S: Likewise.
50786 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50787 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50788 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50789 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50790 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50791 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50792 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50793 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50794 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50795 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50796 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50797 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50798 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50799
50800 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50801
50802 * math/libm-test.inc: Added more nearbyint tests.
50803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50807
50808 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50809
50810 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50811 FD_CLOEXEC.
50812
50813 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50814
50815 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50816 Add wcscpy-ssse3 wcscpy-c.
50817 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50818 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50819 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50820 * sysdeps/x86_64/wcschr.S: New file.
50821 * sysdeps/x86_64/wcsrchr.S: New file.
50822 * string/test-strcmp.c: Remove checking of wcscmp function for
50823 wrong alignments.
50824 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50825 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50826 wcsrchr-sse2 wcsrchr-c.
50827 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50828 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50829 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50830 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50831 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50832 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50833 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50834 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50835 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50836 * wcsmbc/wcschr.c (WCSCHR): New macro.
50837
50838 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50839
50840 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50841 * wcsmbs/test-wcsrchr.c: New file.
50842 * string/test-strrchr.c: Add wcsrchr support.
50843 (WIDE): New macro.
50844 * wcsmbs/test-wcscpy.c: New file.
50845 * string/test-strcpy.c: Add wcscpy support.
50846 (WIDE): New macro.
50847
50848 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50849
50850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50851 the inner loop.
50852
50853 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50854
50855 [BZ #13472]
50856 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50857
50858 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50859
50860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50861 Minor optimizations.
50862
50863 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50864 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50865 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50866
50867 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50868
50869 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50870 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50871 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50872 for gcc to avoid warnings.
50873 * inet/Makefile (tests): Add tst-checks.
50874 * inet/tst-checks.c: New file.
50875
50876 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50877 warning.
50878
50879 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50880 __wmemcmp_sse2.
50881
50882 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50883 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50884
50885 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50886
50887 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50888
50889 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50890 problem.
50891
50892 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50893
50894 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50895
50896 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50897 conditional on GCC version.
50898 (__arch_compare_and_exchange_val_8_acq)
50899 (__arch_compare_and_exchange_val_16_acq)
50900 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50901 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50902 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50903
50904 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50905
50906 * sysdeps/sh/backtrace.c: New file.
50907
50908 2011-12-02 Andreas Schwab <schwab@redhat.com>
50909
50910 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50911 parenthesis.
50912
50913 2011-12-01 Andreas Schwab <schwab@redhat.com>
50914
50915 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50916 falling back to utime.
50917
50918 2011-11-30 Andreas Schwab <schwab@redhat.com>
50919
50920 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50921 expectations for float.
50922
50923 2011-11-29 Andreas Schwab <schwab@redhat.com>
50924
50925 * locale/weight.h (findidx): Add parameter len.
50926 * locale/weightwc.h (findidx): Likewise.
50927 * posix/fnmatch_loop.c (FCT): Adjust caller.
50928 * posix/regcomp.c (build_equiv_class): Likewise.
50929 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50930 * posix/regexec.c (check_node_accept_bytes): Likewise.
50931 * string/strcoll_l.c (STRCOLL): Likewise.
50932 * string/strxfrm_l.c (STRXFRM): Likewise.
50933
50934 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50935
50936 * Makefile.in: Remove CVSOPT handling.
50937 * configure.in: Remove use of AC_REVISION.
50938 * iconvdata/Makefile (distribute): No need to filter out CVS.
50939 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50940 handling.
50941
50942 2011-11-16 Andreas Schwab <schwab@redhat.com>
50943
50944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50945 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50946 [USE_AS_STRNCASECMP_L]: Likewise.
50947 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50948 NO_TLS_DIRECT_SEG_REFS.
50949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50950 Fix argument offsets for non-PIC.
50951 [USE_AS_STRNCASECMP_L]: Likewise.
50952 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50953 NO_TLS_DIRECT_SEG_REFS.
50954
50955 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50956
50957 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50958 O_CLOEXEC.
50959 * locale/loadlocale.c (_nl_load_locale): Likewise.
50960
50961 2011-11-15 Andreas Schwab <schwab@redhat.com>
50962
50963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50964 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50966 (SYSCALL_GETTIME): Set errno on error.
50967
50968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50969 count references to noai6ai_cached.
50970
50971 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50972
50973 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50974
50975 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50976 FD_CLOEXEC for /proc/self/maps.
50977
50978 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50979 FD_CLOEXEC for /proc/meminfo.
50980
50981 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50982 gai.conf.
50983
50984 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50985 FD_CLOEXEC for given file.
50986
50987 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50988
50989 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50990 FD_CLOEXEC for /etc/hosts.
50991 (_gethtent): Likewise.
50992
50993 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50994
50995 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50996 cancellation and set FD_CLOEXEC for /etc/netgroup.
50997
50998 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50999 reading /etc/publickey.
51000
51001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51002 allow cancellation when reading /etc/group.
51003
51004 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51005 cancellation.
51006 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51007
51008 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51009 when using data file.
51010
51011 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51012
51013 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51014 (write_nis_obj): Use "c" and "e" in fopen.
51015
51016 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51017
51018 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51019
51020 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51021
51022 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51023
51024 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51025 locale.alias.
51026
51027 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51028
51029 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51030
51031 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51032
51033 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51034 file parsing and set FD_CLOEXEC.
51035
51036 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51037
51038 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51039
51040 2011-11-14 Andreas Schwab <schwab@redhat.com>
51041
51042 * malloc/arena.c (arena_get2): Don't call reused_arena when
51043 _int_new_arena failed.
51044
51045 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51046
51047 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51048 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51053 to compile strcasecmp and strncasecmp.
51054 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51055 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51056
51057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51058
51059 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51060
51061 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51062 locale-defines.sym to gen-as-const-headers.
51063 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51064 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51066 to compile strcasecmp and strncasecmp.
51067 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51068 strcasecmp_l and strncasecmp_l.
51069 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51070 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51071 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51072 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51073 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51074 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51075 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51076 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51077 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51078 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51079 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51080
51081 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51082
51083 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51084 result of SYSDEP_GETTIME_CPU to retval.
51085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51086 parameter list to macro. Remove trailing semicolon. Adjust users.
51087
51088 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51089 variable.
51090
51091 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51092 mantissa words.
51093 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51094
51095 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51096 from unused variable.
51097
51098 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51099 DWARF definitions.
51100 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51101 for assembling.
51102
51103 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51104 over namespaces.
51105
51106 * sunrpc/rpc_prot.c (rejected): Fix case value.
51107
51108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51109 unsigned long long int to avoid warnings in shift.
51110
51111 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51112 of use of trans.
51113 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51114 variable tmp.
51115
51116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51117 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51118 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51119
51120 * nis/nis_table.c (nis_list): Use variable of correct type for
51121 result of __follow_path call.
51122
51123 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51124
51125 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51126 of math functions ceil, trunc, floor, round, and sqrt, when
51127 avaliable on the platform.
51128 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51129 name clash.
51130 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51131 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51132 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51133
51134 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51135
51136 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51138
51139 2011-11-11 Roland McGrath <roland@hack.frob.com>
51140
51141 * include/unistd.h: Fix __readlink return type.
51142 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51143
51144 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51145
51146 * stdlib/ucontext.h: Undo last change for makecontext.
51147
51148 2011-11-11 Andreas Schwab <schwab@redhat.com>
51149
51150 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51151
51152 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51153 * setjmp/setjmp.h: Mark functions as non-leaf.
51154 * setjmp/bits/setjmp2.h: Likewise.
51155 * stdlib/ucontext.h: Likewise.
51156
51157 2011-11-10 Andreas Schwab <schwab@redhat.com>
51158
51159 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51160 (reused_arena): Don't check arena limit.
51161 (arena_get2): Atomically check arena limit.
51162
51163 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51164
51165 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51166 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51167
51168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51169 instructions.
51170
51171 2011-11-07 Andreas Schwab <schwab@redhat.com>
51172
51173 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51174 handler when locking.
51175
51176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51177 Fix size of allocated buffer.
51178
51179 2011-11-04 Andreas Schwab <schwab@redhat.com>
51180
51181 [BZ #10103]
51182 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51183 declarations for long double functions.
51184 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51185
51186 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51187
51188 2011-11-03 Andreas Schwab <schwab@redhat.com>
51189
51190 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51191 installed.
51192
51193 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51194 is disabled.
51195
51196 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51197
51198 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51199
51200 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51201
51202 * include/alloca.h (stackinfo_alloca_round): Define.
51203 (extend_alloca): Use it.
51204 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51205 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51206 here.
51207
51208 * scripts/check-local-headers.sh: Ignore libaudit.h.
51209
51210 * nscd/Makefile (extra-objs): Make recursively expanded.
51211
51212 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51213
51214 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51216
51217 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51218 * posix/tst-rfc3484-2.c: Likewise.
51219 * posix/tst-rfc3484-3.c: Likewise.
51220
51221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51222 process_vm_writev.
51223 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51224 process_vm_writev.
51225 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51226 process_vm_writev from libc using GLIBC_2.15 version.
51227
51228 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51229
51230 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51231
51232 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51233 stack usage.
51234
51235 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51236
51237 [BZ #13367]
51238 * nss/getent.c (initgroups_keys): Show error message in case no group
51239 names are given.
51240
51241 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51242 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51243 __bump_nl_timestamp.
51244 * nscd/connections (nscd_init): When host database is served open
51245 netlink socket and request notification about configuration changes.
51246 (main_loop_poll): Track netlink file descriptor and bump timestamp
51247 in case data becomes available.
51248 (main_loop_epoll): Likewise.
51249 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51250 (database_pers_head): Add extra_data fileds.
51251 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51252 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51253 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51254 Adjust caller.
51255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51256 in6ai data, call __free_in6ai.
51257 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51258 Add -DHAVE_NETLINK.
51259 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51260 interface information. Reuse previous data if netlink timestamp
51261 is not changed.
51262 (__bump_nl_timestamp): New function.
51263 (__free_in6ai): New function.
51264
51265 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51266
51267 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51268 close_not_cancel_no_status here.
51269 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51270
51271 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51272
51273 [BZ #13276]
51274 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51275 return value.
51276
51277 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51278 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51279 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51280
51281 2011-07-03 Andreas Jaeger <aj@suse.de>
51282
51283 [BZ #10709]
51284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51285 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51286 * math/libm-test.inc (sin_test): Add test case.
51287
51288 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51289
51290 [BZ #13337]
51291 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51293
51294 * elf/chroot_canon.c (chroot_canon): Cleanups.
51295
51296 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51297
51298 [BZ #13335]
51299 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51300 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51301
51302 * string/test-strchr.c: Make usable for strchrnul testing.
51303 * string/test-strchrnul.c: New file.
51304 * string/Makefile (strop-tests): Add strchrnul.
51305
51306 * po/it.po: Update from translation team.
51307 * po/es.po: Likewise.
51308
51309 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51310
51311 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51312 the three constants needed as parameters. Drop the others.
51313 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51314 __m128i_strloadu_tolower.
51315 Create and initialize variable zero and use it in all the places
51316 where _mm_setzero_si128 was used.
51317
51318 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51319 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51320 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51322 anymore.
51323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51324 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51325 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51326 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51328 __mpranred, __mptan.
51329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51333 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51334 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51336 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51337 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51338
51339 2011-10-28 Andreas Schwab <schwab@redhat.com>
51340
51341 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51342 redefine if SHARED.
51343 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51344
51345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51346 wide char related routines to wcsmbs subdir.
51347
51348 2011-10-27 Andreas Schwab <schwab@redhat.com>
51349
51350 [BZ #13344]
51351 * misc/sys/cdefs.h (__THROWNL): Define.
51352 * posix/unistd.h: Use __THREADNL instead of __THREAD
51353 for memory synchronization functions.
51354
51355 2011-10-26 Roland McGrath <roland@hack.frob.com>
51356
51357 [BZ #13349]
51358 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51359 doesn't exist.
51360 * manual/stdio.texi (Obstack Streams): Node removed.
51361
51362 2011-10-26 Andreas Schwab <schwab@redhat.com>
51363
51364 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51366 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51367
51368 * math/math_private.h (math_force_eval): Allow non-addressable
51369 arguments.
51370 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51371
51372 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51373
51374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51375 file is not needed.
51376
51377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51378 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51384 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51385 Add AVX variants.
51386 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51387 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51388 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51389 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51392 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51394 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51395 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51396 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51397 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51400 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51401 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51402 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51403 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51404 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51405
51406 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51407 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51408
51409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51410 place. Use VEX encoding when compiling for AVX.
51411
51412 2011-10-25 Andreas Schwab <schwab@redhat.com>
51413
51414 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51415 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51416
51417 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51418
51419 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51420
51421 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51422 useless if() expression.
51423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51424 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51429 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51431 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51435 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51436 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51437 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51438 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51440 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51441 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51442
51443 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51444
51445 2011-10-25 Andreas Schwab <schwab@redhat.com>
51446
51447 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51448 condition.
51449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51450
51451 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51452
51453 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51454 .text section. Avoid duplicate constants.
51455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51463 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51464 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51465 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51469 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51472 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51485 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51486 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51488 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51489 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51490 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51491 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51492 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51493 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51494 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51497 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51499 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51500
51501 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51502
51503 * sysdeps/x86_64/dla.h: Move to ...
51504 * sysdeps/x86_64/fpu/dla.h: ...here.
51505 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51506 situations. Use __builtin_fma only for gcc 4.6 and up.
51507
51508 * config.make.in: Add have-mfma4 entry.
51509 * configure.in: Substitute libc_cv_cc_fma4.
51510 * math/Makefile (dbl-only-routines): Add sincostab.
51511 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51512 Use __sincostab not sincos.
51513 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51514 name is a macro.
51515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51519 using __copysign.
51520 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51521 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51522 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51523 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51524 and __inv.
51525 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51526 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51527 __copysign.
51528 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51529 define aliases when function name is a macro.
51530 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51531 sysdeps/ieee754/dbl-64/sincos.tbl.
51532 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51533 fma4-enabled routines.
51534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51535 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51536 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51537 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51538 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51539 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51544 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51546 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51547 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51548 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51549 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51550 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51551 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51552 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51554 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51555 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51557 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51558 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51564
51565 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51566 rename.
51567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51575
51576 2011-10-24 Andreas Schwab <schwab@redhat.com>
51577
51578 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51579
51580 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51581
51582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51583
51584 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51585 prediction.
51586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51587
51588 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51589 Remove unused variable magic_bits.
51590 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51591
51592 * string/strnlen.c: Define and use STRNLEN macro.
51593 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51594 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51596 * wcsmbs/wcslen.c: Define and use WCSLEN.
51597 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51598 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51599 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51600 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51601 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51602 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51603 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51604
51605 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51606
51607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51608 strnlen-sse2-no-bsf.
51609 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51611 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51612 Add strnlen support.
51613 (USE_AS_STRNLEN): New macro.
51614 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51616 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51617 * sysdeps/x86_64/wcslen.S: New file.
51618
51619 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51620
51621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51622 XMM-moves are used for copying on small sizes.
51623
51624 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51625
51626 * wcsmbs/Makefile (strop-tests): Add wcschr.
51627 * wcsmbs/test-wcschr.c: New file.
51628 * string/test-strchr.c: Update.
51629 Add wcschr support.
51630 (WIDE): New macro.
51631
51632 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51633
51634 * wcsmbs/Makefile (strop-tests): Add wcslen.
51635 * wcsmbs/test-wcslen.c: New file.
51636 * string/test-strlen.c: Update.
51637 Add wcslen support.
51638 (WIDE): New macro.
51639
51640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51641
51642 * po/it.po: Update from translation team.
51643
51644 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51645
51646 * sysdeps/x86_64/wcscmp.S: Update.
51647 Fix wrong comparison semantics.
51648 wcscmp shall use signed comparison not unsigned.
51649 Don't use substraction to avoid overflow bug.
51650 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51651 * wcsmbc/wcscmp.c: Likewise.
51652 * string/test-strcmp.c: Likewise.
51653 Add new tests to check cases with negative values.
51654
51655 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51656
51657 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51658 * sysdeps/x86_64/dla.h: ...here. New file.
51659 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51668
51669 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51670
51671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51672 __ynl_finite aliases.
51673
51674 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51675
51676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51677
51678 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51679 define DLA_FMA.
51680 [DLA_FMA] (EMULV): Use DLA_FMA.
51681 [DLA_FMA] (MUL12): Use EMULV.
51682 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51683 that are not needed.
51684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51691
51692 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51693
51694 * math/s_nan.c: Undef __nan.
51695 * math/s_nanf.c: Undef __nanf.
51696 * math/s_nanl.c: Undef __nanl.
51697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51698 "math_private.h".
51699
51700 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51701
51702 * math/s_catan.c: Add branch predictions.
51703 * math/s_catanf.c: Likewise.
51704 * math/s_catanh.c: Likewise.
51705 * math/s_catanhf.c: Likewise.
51706 * math/s_catanhl.c: Likewise.
51707 * math/s_catanl.c: Likewise.
51708 * math/s_cexp.c: Likewise.
51709 * math/s_cexpf.c: Likewise.
51710 * math/s_cexpl.c: Likewise.
51711 * math/s_clog.c: Likewise.
51712 * math/s_clog10.c: Likewise.
51713 * math/s_clog10f.c: Likewise.
51714 * math/s_clog10l.c: Likewise.
51715 * math/s_clogf.c: Likewise.
51716 * math/s_clogl.c: Likewise.
51717 * math/s_csqrt.c: Likewise.
51718 * math/s_csqrtf.c: Likewise.
51719 * math/s_csqrtl.c: Likewise.
51720 * math/s_ctanf.c: Likewise.
51721 * math/s_ctanh.c: Likewise.
51722 * math/s_ctanhf.c: Likewise.
51723 * math/s_ctanhl.c: Likewise.
51724 * math/s_ctanl.c: Likewise.
51725
51726 * math/math_private.h: Define __nan, __nanf, __nanl.
51727 * math/s_cacosh.c: Include <math_private.h>.
51728 * math/s_cacoshl.c: Likewise.
51729 * math/s_casinh.c: Likewise.
51730 * math/s_casinhf.c: Likewise.
51731 * math/s_casinhl.c: Likewise.
51732 * math/s_ccos.c: Rely entire on ccosh.
51733 * math/s_ccosf.c: Rely entire on ccoshf.
51734 * math/s_ccosl.c: Rely entirely on ccoshl.
51735 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51736 Remove tests for FE_INVALID.
51737 * math/s_ccoshf.c: Likewise.
51738 * math/s_ccoshl.c: Likewise.
51739 * math/s_csin.c: Likewise.
51740 * math/s_csinf.c: Likewise.
51741 * math/s_csinh.c Likewise.
51742 * math/s_csinhf.c: Likewise.
51743 * math/s_csinhl.c: Likewise.
51744 * math/s_csinl.c: Likewise.
51745 * math/s_ctan.c: Likewise.
51746 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51747 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51749
51750 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51751
51752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51753 compilation problems.
51754
51755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51756 __builtin_expect.
51757
51758 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51759
51760 * sysdeps/i386/configure.in: Test for -mfma4 option.
51761 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51762 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51763 COMMON_CPUID_INDEX_80000001.
51764 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51765 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51766 use it if FMA3 is not supported.
51767 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51768
51769 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51770 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51771
51772 2011-10-20 Andreas Schwab <schwab@redhat.com>
51773
51774 [BZ #12892]
51775 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51776 it would create a cycle with a link time dependency.
51777
51778 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51779
51780 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51781 instruction.
51782 * string/Makefile (strop-tests): Add rawmemchr.
51783 * string/test-rawmemchr.c: New file.
51784
51785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51787 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51788 when compiling str{,n}casecmp and when AVX is available. Hook up
51789 new optimized code in initializers.
51790
51791 2011-10-19 Andreas Schwab <schwab@redhat.com>
51792
51793 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51794 __feraiseexcept instead of feraiseexcept.
51795
51796 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51797
51798 * math/math_private.h: Define defaults for libc_fetestexcept and
51799 libc_feupdateenv.
51800 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51801 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51802 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51803 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51804 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51805 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51806 libc_fetestexcept and libc_feupdateenv.
51807
51808 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51809 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51810 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51811 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51812 libc_feholdexcept_setround.
51813
51814 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51815 Add s_nearbyint-c and s_nearbyintf-c.
51816 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51817 nearbyintf inlines.
51818 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51820 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51822
51823 * math/math_private.h: Define defaults for libc_fegetround,
51824 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51825 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51826 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51828 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51829 standard functions.
51830 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51831 Remove comments and hacks for old compiler versions.
51832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51833 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51834 libc_feholdexceptl.
51835
51836 2011-10-18 Andreas Schwab <schwab@redhat.com>
51837
51838 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51839 (__feraiseexcept_renamed): Add __NTH.
51840 (feraiseexcept): Add __NTH. Rename local variables to fix
51841 namespace violations.
51842
51843 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51844
51845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51846
51847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51848
51849 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51850 recently added interfaces.
51851 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51852
51853 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51854 about macro parameter expansion.
51855
51856 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51857 __NO_MATH_INLINES is defined. Cleanups.
51858
51859 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51860 and __floorf is target has SSE4.1.
51861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51862 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51863 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51865
51866 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51867 name.
51868 (floorf): Likewise.
51869
51870 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51871
51872 2011-10-17 Andreas Schwab <schwab@redhat.com>
51873
51874 * misc/sys/cdefs.h: Fix last change.
51875
51876 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51877 database lookup.
51878
51879 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51880
51881 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51882
51883 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51884 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51885 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51887 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51890 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51891 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51892 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51893 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51894 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51895 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51896 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51897 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51898 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51899 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51900 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51901 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51902 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51903 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51904 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51905
51906 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51907 ceil, ceilf, floor, floorf.
51908
51909 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51910 Perform IRELATIVE relocations last.
51911
51912 * elf/do-rel.h: Add another parameter nrelative, replacing the
51913 local variable with the same name. Change name of the function
51914 to end in Rel or Rela (uppercase).
51915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51916 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51917 elf_dynamic_do_##reloc function.
51918
51919 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51920
51921 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51922 is sufficient, at least on modern CPUs.
51923
51924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51925
51926 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51928
51929 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51930 __expl_finite.
51931 * math/bits/math-finite.h: Add entries for exp.
51932 * math/e_expl.c: Add __*_finite alias.
51933 * sysdeps/i386/fpu/e_exp.S: Likewise.
51934 * sysdeps/i386/fpu/e_expf.S: Likewise.
51935 * sysdeps/i386/fpu/e_expl.c: Likewise.
51936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51938 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51940 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51942 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51943
51944 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51945 is sufficient, at least on modern CPUs.
51946
51947 * ctype/ctype-info.c (__ctype_init): Define.
51948 * include/ctype.h (__ctype_init): Declare.
51949 (__ctype_b_loc): The variable is always initialized.
51950 (__ctype_toupper_loc): Likewise.
51951 (__ctype_tolower_loc): Likewise.
51952 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51953 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51954
51955 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51956
51957 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51958
51959 * configure.in: Also look in $cxxmachine/include for C++ system
51960 headers.
51961
51962 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51963
51964 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51965 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51966 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51967 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51968 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51969 (USE_AS_WMEMCMP): New macro.
51970 Fixing indents.
51971 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51972 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51973 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51974 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51976 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51977 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51978 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51979 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51980 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51982 (USE_AS_WMEMCMP): New macro.
51983 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51984 * sysdeps/string/test-memcmp.c: Update.
51985 Fix simple_wmemcmp.
51986 Add new tests.
51987 * wcsmbs/wmemcmp.c: Update.
51988 (WMEMCMP): New macro.
51989 Fix overflow bug.
51990
51991 2011-10-12 Andreas Jaeger <aj@suse.de>
51992
51993 [BZ #13268]
51994 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51995
51996 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51997
51998 * libio/iofwide.c (do_length): Avoid warning.
51999
52000 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52001
52002 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52003
52004 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52005
52006 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52007 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52008 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52009 * sysdeps/i386/i686/fpu/e_log.S: New file.
52010 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52011 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52012
52013 * ctype/ctype.h: Add support for inlined isXXX functions when
52014 compiling C++ code.
52015
52016 2011-10-14 Andreas Schwab <schwab@redhat.com>
52017
52018 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52019
52020 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52021
52022 2011-10-13 Roland McGrath <roland@hack.frob.com>
52023
52024 [BZ #13291]
52025 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52026
52027 2011-10-13 Andreas Schwab <schwab@redhat.com>
52028
52029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52030 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52031 feraiseexcept.
52032
52033 * sysdeps/x86_64/memrchr.S: Check for zero size.
52034
52035 * string/stratcliff.c: Add memrchr tests.
52036
52037 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52038
52039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52040 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52041 rawmemchr-sse2 rawmemchr-sse2-bsf.
52042 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52043 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52044 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52045 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52046 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52047 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52048 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52049 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52050 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52051 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52052 * string/memrchr.c (MEMRCHR): New macro.
52053
52054 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52055
52056 Add integration with gcc's -ffinite-math-only and optimize wrapper
52057 functions in libm.
52058 * Versions.def: Define GLIBC_2.15 version for libm.
52059 * math/Makefile (headers): Add bits/math-finite.h.
52060 * math/bits/math-finite.h: New file.
52061 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52062 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52063 * math/e_acoshl.c: Add __*_finite alias.
52064 * math/e_acosl.c: Likewise.
52065 * math/e_asinl.c: Likewise.
52066 * math/e_atan2l.c: Likewise.
52067 * math/e_atanhl.c: Likewise.
52068 * math/e_coshl.c: Likewise.
52069 * math/e_exp10.c: Likewise.
52070 * math/e_exp10f.c: Likewise.
52071 * math/e_exp10l.c: Likewise.
52072 * math/e_exp2l.c: Likewise.
52073 * math/e_fmodl.c: Likewise.
52074 * math/e_gammal_r.c: Likewise.
52075 * math/e_hypotl.c: Likewise.
52076 * math/e_j0l.c: Likewise.
52077 * math/e_j1l.c: Likewise.
52078 * math/e_jnl.c: Likewise.
52079 * math/e_lgammal_r.c: Likewise.
52080 * math/e_log10l.c: Likewise.
52081 * math/e_log2l.c: Likewise.
52082 * math/e_logl.c: Likewise.
52083 * math/e_powl.c: Likewise.
52084 * math/e_sinhl.c: Likewise.
52085 * math/e_sqrtl.c: Likewise.
52086 * math/e_scalb.c: Completely rewritten and optimized.
52087 * math/e_scalbf.c: Likewise.
52088 * math/e_scalbl.c: Likewise.
52089 * math/w_acos.c: Likewise.
52090 * math/w_acosf.c: Likewise.
52091 * math/w_acosl.c: Likewise.
52092 * math/w_acosh.c: Likewise.
52093 * math/w_acoshf.c: Likewise.
52094 * math/w_acoshl.c: Likewise.
52095 * math/w_asin.c: Likewise.
52096 * math/w_asinf.c: Likewise.
52097 * math/w_asinl.c: Likewise.
52098 * math/w_atan2.c: Likewise.
52099 * math/w_atan2f.c: Likewise.
52100 * math/w_atan2l.c: Likewise.
52101 * math/w_atanh.c: Likewise.
52102 * math/w_atanhf.c: Likewise.
52103 * math/w_atanhl.c: Likewise.
52104 * math/w_exp10.c: Likewise.
52105 * math/w_exp10f.c: Likewise.
52106 * math/w_exp10l.c: Likewise.
52107 * math/w_fmod.c: Likewise.
52108 * math/w_fmodf.c: Likewise.
52109 * math/w_fmodl.c: Likewise.
52110 * math/w_j0.c: Likewise.
52111 * math/w_j0f.c: Likewise.
52112 * math/w_j0l.c: Likewise.
52113 * math/w_j1.c: Likewise.
52114 * math/w_j1f.c: Likewise.
52115 * math/w_j1l.c: Likewise.
52116 * math/w_jn.c: Likewise.
52117 * math/w_jnf.c: Likewise.
52118 * math/w_log.c: Likewise.
52119 * math/w_logf.c: Likewise.
52120 * math/w_logl.c: Likewise.
52121 * math/w_log10.c: Likewise.
52122 * math/w_log10f.c: Likewise.
52123 * math/w_log10l.c: Likewise.
52124 * math/w_log2.c: Likewise.
52125 * math/w_log2f.c: Likewise.
52126 * math/w_log2l.c: Likewise.
52127 * math/w_pow.c: Likewise.
52128 * math/w_powf.c: Likewise.
52129 * math/w_powl.c: Likewise.
52130 * math/w_remainder.c: Likewise.
52131 * math/w_remainderf.c: Likewise.
52132 * math/w_remainderl.c: Likewise.
52133 * math/w_scalb.c: Likewise.
52134 * math/w_scalbf.c: Likewise.
52135 * math/w_scalbl.c: Likewise.
52136 * math/w_sqrt.c: Likewise.
52137 * math/w_sqrtf.c: Likewise.
52138 * math/w_sqrtl.c: Likewise.
52139 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52140 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52141 used.
52142 * math/math_private.h: Declare __kernel_standard_f.
52143 * math/w_cosh.c: Remove cruft and optimize a bit.
52144 * math/w_coshf.c: Likewise.
52145 * math/w_coshl.c: Likewise.
52146 * math/w_exp2.c: Likewise.
52147 * math/w_exp2f.c: Likewise.
52148 * math/w_exp2l.c: Likewise.
52149 * math/w_hypot.c: Likewise.
52150 * math/w_hypotf.c: Likewise.
52151 * math/w_hypotl.c: Likewise.
52152 * math/w_lgamma.c: Likewise.
52153 * math/w_lgamma_r.c: Likewise.
52154 * math/w_lgammaf.c: Likewise.
52155 * math/w_lgammaf_r.c: Likewise.
52156 * math/w_lgammal.c: Likewise.
52157 * math/w_lgammal_r.c: Likewise.
52158 * math/w_sinh.c: Likewise.
52159 * math/w_sinhf.c: Likewise.
52160 * math/w_sinhl.c: Likewise.
52161 * math/w_tgamma.c: Likewise.
52162 * math/w_tgammaf.c: Likewise.
52163 * math/w_tgammal.c: Likewise.
52164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52166 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52167 Minor optimizations. Pretty printing. Remove cruft.
52168 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52169 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52170 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52172 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52173 * sysdeps/i386/fpu/e_asin.S: Likewise.
52174 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52175 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52176 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52177 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52178 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52180 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52181 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52182 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52183 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52184 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52185 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52186 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52187 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52188 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52189 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52190 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52191 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52192 * sysdeps/i386/fpu/e_log.S: Likewise.
52193 * sysdeps/i386/fpu/e_log10.S: Likewise.
52194 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52195 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52196 * sysdeps/i386/fpu/e_log2.S: Likewise.
52197 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52199 * sysdeps/i386/fpu/e_logf.S: Likewise.
52200 * sysdeps/i386/fpu/e_logl.S: Likewise.
52201 * sysdeps/i386/fpu/e_pow.S: Likewise.
52202 * sysdeps/i386/fpu/e_powf.S: Likewise.
52203 * sysdeps/i386/fpu/e_powl.S: Likewise.
52204 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52205 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52206 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52207 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52208 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52209 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52210 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52211 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52212 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52218 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52223 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52234 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52235 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52236 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52237 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52238 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52239 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52240 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52242 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52246 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52247 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52248 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52249 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52250 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52251 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52252 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52253 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52254 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52256 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52258 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52272 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52283 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52285 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52290 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52292 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52294 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52297 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52298 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52299 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52300 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52301 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52302 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52306 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52307 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52308 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52309 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52310 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52311 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52312 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52313 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52314 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52315 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52316 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52319 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52321 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52322 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52323 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52324 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52325 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52326 (__isnanf): Likewise.
52327 (__isinf_ns): Likewise.
52328 (__isinf_nsf): Likewise.
52329 (__finite): Likewise.
52330 (__finitef): Likewise.
52331 (__ieee754_sqrt): Define as macro.
52332 (__ieee754_sqrtf): Define as macro.
52333 (__ieee754_sqrtl): Define as macro.
52334 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52335 inlined copy.
52336 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52337 __FINITE_MATH_ONLY__ consistent.
52338 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52339
52340 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52341
52342 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52343 of rawmemchr.
52344
52345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52346
52347 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52348
52349 * po/ja.po: Update from translation team.
52350
52351 2011-10-08 Roland McGrath <roland@hack.frob.com>
52352
52353 * locale/programs/locarchive.c (prepare_address_space): New function.
52354 (create_archive, enlarge_archive, open_archive): Use it.
52355
52356 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52357 inside [SHARED], where it is used.
52358
52359 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52360
52361 * nss/getent.c (netgroup_keys): Remove unused variable.
52362 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52363
52364 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52365
52366 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52370 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52371 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52372 * math/Makefile (libm-calls): Add s_isinf_ns.
52373 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52374 * math/multc3.c: Likewise.
52375 * math/s_casin.c: Likewise.
52376 * math/s_casinf.c: Likewise.
52377 * math/s_casinl.c: Likewise.
52378 * math/s_ccos.c: Likewise.
52379 * math/s_ccosf.c: Likewise.
52380 * math/s_ccosl.c: Likewise.
52381 * math/s_ctan.c: Likewise.
52382 * math/s_ctanf.c: Likewise.
52383 * math/s_ctanh.c: Likewise.
52384 * math/s_ctanhf.c: Likewise.
52385 * math/s_ctanhl.c: Likewise.
52386 * math/s_ctanl.c: Likewise.
52387 * math/w_fmod.c: Likewise.
52388 * math/w_fmodf.c: Likewise.
52389 * math/w_fmodl.c: Likewise.
52390 * math/w_remainder.c: Likewise.
52391 * math/w_remainderf.c: Likewise.
52392 * math/w_remainderl.c: Likewise.
52393 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52394 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52397 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52398 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52399 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52400 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52401
52402 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52403 of the number.
52404 * stdio-common/printf_fphex.c: Likewise.
52405 * stdio-common/printf_size.c: Likewise.
52406
52407 * math/e_exp10.c: Include math_private.h using <...> not "...".
52408 * math/e_exp10f.c: Likewise.
52409 * math/e_exp10l.c: Likewise.
52410 * math/e_exp2l.c: Likewise.
52411 * math/e_j0l.c: Likewise.
52412 * math/e_j1l.c: Likewise.
52413 * math/e_jnl.c: Likewise.
52414 * math/e_lgammal_r.c: Likewise.
52415 * math/e_rem_pio2l.c: Likewise.
52416 * math/e_scalb.c: Likewise.
52417 * math/e_scalbf.c: Likewise.
52418 * math/e_scalbl.c: Likewise.
52419 * math/k_cosl.c: Likewise.
52420 * math/k_sinl.c: Likewise.
52421 * math/k_tanl.c: Likewise.
52422 * math/s_cacoshf.c: Likewise.
52423 * math/s_catan.c: Likewise.
52424 * math/s_catanf.c: Likewise.
52425 * math/s_catanh.c: Likewise.
52426 * math/s_catanhf.c: Likewise.
52427 * math/s_catanhl.c: Likewise.
52428 * math/s_catanl.c: Likewise.
52429 * math/s_ccosh.c: Likewise.
52430 * math/s_ccoshf.c: Likewise.
52431 * math/s_ccoshl.c: Likewise.
52432 * math/s_cexp.c: Likewise.
52433 * math/s_cexpf.c: Likewise.
52434 * math/s_cexpl.c: Likewise.
52435 * math/s_clog.c: Likewise.
52436 * math/s_clog10.c: Likewise.
52437 * math/s_clog10f.c: Likewise.
52438 * math/s_clog10l.c: Likewise.
52439 * math/s_clogf.c: Likewise.
52440 * math/s_clogl.c: Likewise.
52441 * math/s_csin.c: Likewise.
52442 * math/s_csinf.c: Likewise.
52443 * math/s_csinh.c: Likewise.
52444 * math/s_csinhf.c: Likewise.
52445 * math/s_csinhl.c: Likewise.
52446 * math/s_csinl.c: Likewise.
52447 * math/s_csqrt.c: Likewise.
52448 * math/s_csqrtf.c: Likewise.
52449 * math/s_csqrtl.c: Likewise.
52450 * math/s_ctan.c: Likewise.
52451 * math/s_ctanf.c: Likewise.
52452 * math/s_ctanh.c: Likewise.
52453 * math/s_ctanhf.c: Likewise.
52454 * math/s_ctanhl.c: Likewise.
52455 * math/s_ctanl.c: Likewise.
52456 * math/s_ldexp.c: Likewise.
52457 * math/s_ldexpf.c: Likewise.
52458 * math/s_ldexpl.c: Likewise.
52459 * math/s_significand.c: Likewise.
52460 * math/s_significandf.c: Likewise.
52461 * math/s_significandl.c: Likewise.
52462 * math/w_acos.c: Likewise.
52463 * math/w_acosf.c: Likewise.
52464 * math/w_acosh.c: Likewise.
52465 * math/w_acoshf.c: Likewise.
52466 * math/w_acoshl.c: Likewise.
52467 * math/w_acosl.c: Likewise.
52468 * math/w_asin.c: Likewise.
52469 * math/w_asinf.c: Likewise.
52470 * math/w_asinl.c: Likewise.
52471 * math/w_atan2.c: Likewise.
52472 * math/w_atan2f.c: Likewise.
52473 * math/w_atan2l.c: Likewise.
52474 * math/w_atanh.c: Likewise.
52475 * math/w_atanhf.c: Likewise.
52476 * math/w_atanhl.c: Likewise.
52477 * math/w_cosh.c: Likewise.
52478 * math/w_coshf.c: Likewise.
52479 * math/w_coshl.c: Likewise.
52480 * math/w_dremf.c: Likewise.
52481 * math/w_exp10.c: Likewise.
52482 * math/w_exp10f.c: Likewise.
52483 * math/w_exp10l.c: Likewise.
52484 * math/w_exp2.c: Likewise.
52485 * math/w_exp2f.c: Likewise.
52486 * math/w_fmod.c: Likewise.
52487 * math/w_fmodf.c: Likewise.
52488 * math/w_fmodl.c: Likewise.
52489 * math/w_hypot.c: Likewise.
52490 * math/w_hypotf.c: Likewise.
52491 * math/w_hypotl.c: Likewise.
52492 * math/w_j0.c: Likewise.
52493 * math/w_j0f.c: Likewise.
52494 * math/w_j0l.c: Likewise.
52495 * math/w_j1.c: Likewise.
52496 * math/w_j1f.c: Likewise.
52497 * math/w_j1l.c: Likewise.
52498 * math/w_jn.c: Likewise.
52499 * math/w_jnf.c: Likewise.
52500 * math/w_jnl.c: Likewise.
52501 * math/w_lgamma.c: Likewise.
52502 * math/w_lgamma_r.c: Likewise.
52503 * math/w_lgammaf.c: Likewise.
52504 * math/w_lgammaf_r.c: Likewise.
52505 * math/w_lgammal.c: Likewise.
52506 * math/w_lgammal_r.c: Likewise.
52507 * math/w_log.c: Likewise.
52508 * math/w_log10.c: Likewise.
52509 * math/w_log10f.c: Likewise.
52510 * math/w_log10l.c: Likewise.
52511 * math/w_log2.c: Likewise.
52512 * math/w_log2f.c: Likewise.
52513 * math/w_log2l.c: Likewise.
52514 * math/w_logf.c: Likewise.
52515 * math/w_logl.c: Likewise.
52516 * math/w_pow.c: Likewise.
52517 * math/w_powf.c: Likewise.
52518 * math/w_powl.c: Likewise.
52519 * math/w_remainder.c: Likewise.
52520 * math/w_remainderf.c: Likewise.
52521 * math/w_remainderl.c: Likewise.
52522 * math/w_scalb.c: Likewise.
52523 * math/w_scalbf.c: Likewise.
52524 * math/w_scalbl.c: Likewise.
52525 * math/w_sinh.c: Likewise.
52526 * math/w_sinhf.c: Likewise.
52527 * math/w_sinhl.c: Likewise.
52528 * math/w_sqrt.c: Likewise.
52529 * math/w_sqrtf.c: Likewise.
52530 * math/w_sqrtl.c: Likewise.
52531 * math/w_tgamma.c: Likewise.
52532 * math/w_tgammaf.c: Likewise.
52533 * math/w_tgammal.c: Likewise.
52534
52535 * po/ja.po: Update from translation team.
52536
52537 2011-09-29 Andreas Jaeger <aj@suse.de>
52538
52539 [BZ #13179]
52540 * sunrpc/netname.c (netname2host): Fix logic.
52541
52542 [BZ #6779]
52543 [BZ #6783]
52544 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52545 correctly.
52546 * math/w_remainder.c (__remainder): Likewise.
52547 * math/w_remainderf.c (__remainderf): Likewise.
52548 * math/libm-test.inc (remainder_test): Add test cases.
52549
52550 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52551
52552 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52553 sdiv_qrnnd.
52554
52555 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52556
52557 * string/test-memcmp.c: Avoid unncessary #defines.
52558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52559
52560 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52561
52562 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52563 Use new sse2 version for core i3 - i7 as it's faster
52564 than sse42 version.
52565 (bit_Prefer_PMINUB_for_stringop): New.
52566 * sysdeps/x86_64/rawmemchr.S: Update.
52567 Replace with faster SSE2 version.
52568 * sysdeps/x86_64/memrchr.S: New file.
52569 * sysdeps/x86_64/memchr.S: Update.
52570 Replace with faster SSE2 version.
52571
52572 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52573
52574 * elf/dl-load.c (lose): Add cast to avoid warning.
52575
52576 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52577
52578 * po/ca.po: Update from translation team.
52579
52580 * inet/getnetgrent_r.c: Hook up nscd.
52581 * nscd/Makefile (routines): Add nscd_netgroup.
52582 (nscd-modules): Add netgroupcache.
52583 (CFLAGS-netgroupcache.c): Define.
52584 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52585 (cache_search): Add const to second parameter.
52586 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52587 INNETGR.
52588 (dbs): Add netgrdb entry.
52589 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52590 (verify_persistent_db): Handle netgrdb.
52591 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52592 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52593 GETFDNETGR.
52594 (netgroup_response_header): Define.
52595 (innetgroup_response_header): Define.
52596 (datahead): Add netgroup_response_header and innetgroup_response_header
52597 elements.
52598 * nscd/nscd.conf: Add entries for netgroup cache.
52599 * nscd/nscd.h (dbtype): Add netgrdb.
52600 (_PATH_NSCD_NETGROUP_DB): Define.
52601 (netgroup_iov_disabled): Declare.
52602 (xmalloc, xcalloc, xrealloc): Move declarations here.
52603 (cache_search): Adjust prototype.
52604 Add netgroup-related prototypes.
52605 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52606 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52607 (__nscd_innetgr): Declare.
52608 * nscd/selinux.c (perms): Use access_vector_t as element type and
52609 add netgroup-related initializers.
52610 * nscd/netgroupcache.c: New file.
52611 * nscd/nscd_netgroup.c: New file.
52612 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52613 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52614 For four parameters use innetgr.
52615 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52616 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52617 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52618 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52619
52620 * nscd/connections.c (register_traced_file): Don't register file
52621 for disabled databases.
52622
52623 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52624
52625 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52626
52627 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52628 from tree and freeing node.
52629
52630 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52631
52632 * nss/nsswitch.c (__nss_database_lookup): Handle
52633 nss_parse_service_list out of memory case.
52634
52635 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52636
52637 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52638 out of memory case.
52639
52640 2011-10-04 Andreas Schwab <schwab@redhat.com>
52641
52642 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52643 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52644 pass it down.
52645 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52646 elf_machine_rela, elf_machine_lazy_rel.
52647 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52648 (ELF_DYNAMIC_DO_REL): Likewise.
52649 (ELF_DYNAMIC_DO_RELA): Likewise.
52650 (ELF_DYNAMIC_RELOCATE): Likewise.
52651 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52652 to ELF_DYNAMIC_DO_REL.
52653 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52654 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52655 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52656 elf_machine_rela.
52657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52658 skip_ifunc, don't call ifunc function if non-zero.
52659 (elf_machine_rela): Likewise.
52660 (elf_machine_lazy_rel): Likewise.
52661 (elf_machine_lazy_rela): Likewise.
52662 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52663 (elf_machine_lazy_rel): Likewise.
52664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52665 Likewise.
52666 (elf_machine_lazy_rel): Likewise.
52667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52668 Likewise.
52669 (elf_machine_lazy_rel): Likewise.
52670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52671 (elf_machine_lazy_rel): Likewise.
52672 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52673 (elf_machine_lazy_rel): Likewise.
52674 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52675 (elf_machine_lazy_rel): Likewise.
52676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52677 (elf_machine_lazy_rel): Likewise.
52678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52679 (elf_machine_lazy_rel): Likewise.
52680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52681 (elf_machine_lazy_rel): Likewise.
52682
52683 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52684
52685 * nss/nss_files/files-init.c (_nss_files_init): Use static
52686 initialization for all the *_traced_file variables.
52687
52688 2011-09-28 Andreas Schwab <schwab@redhat.com>
52689
52690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52691
52692 2011-09-27 Roland McGrath <roland@hack.frob.com>
52693
52694 [BZ #13226]
52695 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52696
52697 2011-09-27 Andreas Schwab <schwab@redhat.com>
52698
52699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52700 Reread the line before reparsing it.
52701
52702 2011-09-26 Andreas Schwab <schwab@redhat.com>
52703
52704 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52705
52706 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52707 Maxim Kuvyrkov <maxim@codesourcery.com>
52708 Joseph Myers <joseph@codesourcery.com>
52709
52710 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52711 if needed for __stack_chk_guard.
52712
52713 2011-09-19 Roland McGrath <roland@hack.frob.com>
52714
52715 * sysdeps/posix/spawni.c (script_execute): Always define it.
52716 It will be optimized away if unused.
52717 (maybe_script_execute): New function.
52718 (__spawni): Call it.
52719
52720 * Makerules: Don't include tls.make.
52721 (config-tls): Always set to thread.
52722 * tls.make.c: File removed.
52723
52724 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52725
52726 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52727 * config.make.in (CPPFLAGS-config): New substituted variable.
52728
52729 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52730
52731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52732
52733 [BZ #13192]
52734 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52735 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52736
52737 2011-09-15 Roland McGrath <roland@hack.frob.com>
52738
52739 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52740 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52742 (CALL_FAIL): Likewise.
52743 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52744 (CALL_FAIL): Macro removed.
52745 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52746
52747 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52748
52749 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52750 for __FINITE_MATH_ONLY__ == 1.
52751
52752 2011-09-15 Andreas Schwab <schwab@redhat.com>
52753
52754 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52755 __ieee754_sqrt instead of sqrt.
52756 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52757 __ieee754_sqrtf instead of sqrtf.
52758 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52759 __floorf instead of floorf.
52760 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52761 __floorf, __truncf instead of floorf, truncf.
52762
52763 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52764
52765 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52766
52767 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52768 __extern_always_inline.
52769 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52770 32-bit.
52771
52772 2011-09-14 Andreas Schwab <schwab@redhat.com>
52773
52774 * elf/rtld.c (dl_main): Also relocate in dependency order when
52775 doing symbol dependency testing.
52776
52777 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52778
52779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52780 Always define `refsym'.
52781
52782 2011-09-13 Andreas Schwab <schwab@redhat.com>
52783
52784 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52785 (__FD_ELT): Renamed from __FDELT.
52786 * misc/bits/select2.h (__FD_ELT): Likewise.
52787 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52788 __FD_MASK instead of __FDELT, __FDMASK.
52789 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52790 Likewise.
52791 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52792 Likewise.
52793
52794 * elf/Makefile (gen-ldd): Fix pattern.
52795
52796 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52797 (init_tls): Likewise.
52798
52799 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52800
52801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52802
52803 2011-09-12 Andreas Schwab <schwab@redhat.com>
52804
52805 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52806 `struct cmsghdr *' instead of `void *'.
52807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52808 Likewise.
52809
52810 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52811
52812 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52813 if non-absolute.
52814 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52815 ldd_rewrite_script.
52816
52817 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52818
52819 * configure.in: Remove --with-tls option.
52820 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52821 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52822 out in case it is missing.
52823 * sysdeps/ia64/elf/configure.in: Likewise.
52824 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52825 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52826 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52827 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52828 * sysdeps/sh/elf/configure.in: Likewise.
52829 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52830 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52831 * sysdeps/x86_64/elf/configure.in: Likewise.
52832 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52833 * sysdeps/mach/hurd/tls.h: Likewise.
52834
52835 [BZ #13067]
52836 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52837
52838 [BZ #13090]
52839 * configure.in: Fix use of AC_INIT.
52840
52841 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52842
52843 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52844
52845 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52846 __set_errno.
52847 * malloc/hooks.c: Likewise.
52848
52849 [BZ #11929]
52850 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52851 variables statically.
52852 (narenas): Initialize.
52853 (list_lock): Initialize.
52854 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52855 initializtion of main_arena and list_lock. Small cleanups.
52856 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52857 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52858 Add initializers to main_arena and mp_.
52859 (malloc_state): Remove pagesize member. Change all users to use
52860 GLRO(dl_pagesize).
52861
52862 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52863 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52864 is always initialized.
52865
52866 * malloc/malloc.c: Removed unused configurations and dead code.
52867 * malloc/arena.c: Likewise.
52868 * malloc/hooks.c: Likewise.
52869 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52870
52871 * include/tls.h: Removed. USE___THREAD must always be defined.
52872 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52873 * elf/dl-libc.c: Likewise.
52874 * elf/dl-tsd.c: Likewise.
52875 * include/errno.h: Likewise.
52876 * include/netdb.h: Likewise.
52877 * include/resolv.h: Likewise.
52878 * inet/herrno-loc.c: Likewise.
52879 * inet/herrno.c: Likewise.
52880 * malloc/arena.c: Likewise.
52881 * malloc/hooks.c: Likewise.
52882 * malloc/malloc.c: Likewise.
52883 * resolv/res-state.c: Likewise.
52884 * resolv/res_libc.c: Likewise.
52885 * sysdeps/i386/dl-machine.h: Likewise.
52886 * sysdeps/ia64/dl-machine.h: Likewise.
52887 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52888 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52889 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52890 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52891 * sysdeps/sh/dl-machine.h: Likewise.
52892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52893 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52894 * sysdeps/unix/i386/sysdep.S: Likewise.
52895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52896 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52897 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52901 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52906 * sysdeps/x86_64/dl-machine.h: Likewise.
52907 * tls.make.c: Likewise.
52908
52909 * configure.in: Remove --with-__thread option. Make tests for
52910 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52911 tls_model attribute fail if no support is available. Remove
52912 USE_IN_LIBIO.
52913 * Makeconfig: Adjust for dropped configure option. All features are
52914 now mandatory.
52915 * Makerules: Likewise.
52916 * Versions.def: Likewise.
52917 * argp/argp-fmtstream.c: Likewise.
52918 * argp/argp-fmtstream.h: Likewise.
52919 * argp/argp-help.c: Likewise.
52920 * assert/assert.c: Likewise.
52921 * config.h.in: Likewise.
52922 * config.make.in: Likewise.
52923 * configure: Likewise.
52924 * configure.in: Likewise.
52925 * csu/Versions: Likewise.
52926 * csu/init.c: Likewise.
52927 * elf/tst-audit2.c: Likewise.
52928 * elf/tst-tls10.c: Likewise.
52929 * elf/tst-tls10.h: Likewise.
52930 * elf/tst-tls11.c: Likewise.
52931 * elf/tst-tls12.c: Likewise.
52932 * elf/tst-tls14.c: Likewise.
52933 * elf/tst-tlsmod11.c: Likewise.
52934 * elf/tst-tlsmod12.c: Likewise.
52935 * elf/tst-tlsmod13.c: Likewise.
52936 * elf/tst-tlsmod13a.c: Likewise.
52937 * elf/tst-tlsmod14a.c: Likewise.
52938 * elf/tst-tlsmod15b.c: Likewise.
52939 * elf/tst-tlsmod16a.c: Likewise.
52940 * elf/tst-tlsmod16b.c: Likewise.
52941 * elf/tst-tlsmod7.c: Likewise.
52942 * elf/tst-tlsmod8.c: Likewise.
52943 * elf/tst-tlsmod9.c: Likewise.
52944 * gmon/gmon.c: Likewise.
52945 * grp/fgetgrent_r.c: Likewise.
52946 * grp/putgrent.c: Likewise.
52947 * hurd/fopenport.c: Likewise.
52948 * include/libc-symbols.h: Likewise.
52949 * include/tls.h: Likewise.
52950 * intl/gettextP.h: Likewise.
52951 * intl/loadinfo.h: Likewise.
52952 * locale/global-locale.c: Likewise.
52953 * locale/localeinfo.h: Likewise.
52954 * mach/devstream.c: Likewise.
52955 * malloc/arena.c: Likewise.
52956 * malloc/set-freeres.c: Likewise.
52957 * misc/err.c: Likewise.
52958 * misc/getttyent.c: Likewise.
52959 * misc/mntent_r.c: Likewise.
52960 * posix/getopt.c: Likewise.
52961 * posix/wordexp.c: Likewise.
52962 * pwd/fgetpwent_r.c: Likewise.
52963 * resolv/Versions: Likewise.
52964 * resolv/res_hconf.c: Likewise.
52965 * shadow/fgetspent_r.c: Likewise.
52966 * shadow/putspent.c: Likewise.
52967 * stdio-common/printf_fphex.c: Likewise.
52968 * stdio-common/tmpfile.c: Likewise.
52969 * stdlib/abort.c: Likewise.
52970 * stdlib/fmtmsg.c: Likewise.
52971 * sunrpc/auth_unix.c: Likewise.
52972 * sunrpc/clnt_perr.c: Likewise.
52973 * sunrpc/clnt_tcp.c: Likewise.
52974 * sunrpc/clnt_udp.c: Likewise.
52975 * sunrpc/clnt_unix.c: Likewise.
52976 * sunrpc/openchild.c: Likewise.
52977 * sunrpc/svc_simple.c: Likewise.
52978 * sunrpc/svc_tcp.c: Likewise.
52979 * sunrpc/svc_udp.c: Likewise.
52980 * sunrpc/svc_unix.c: Likewise.
52981 * sunrpc/xdr.c: Likewise.
52982 * sunrpc/xdr_array.c: Likewise.
52983 * sunrpc/xdr_rec.c: Likewise.
52984 * sunrpc/xdr_ref.c: Likewise.
52985 * sunrpc/xdr_stdio.c: Likewise.
52986
52987 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52988
52989 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52990
52991 2011-07-03 Andreas Jaeger <aj@suse.de>
52992
52993 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52994 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52995 regenerate with gen-libm-tests.pl.
52996
52997 2010-05-12 Petr Baudis <pasky@suse.cz>
52998
52999 [BZ #11589]
53000 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53001 around j0() zero points by switching to j1().
53002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53003 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53006
53007 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53008
53009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53010 instead of 0.
53011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53012 instead of 0.
53013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53014 Patch in part by Pavel Roskin <proski@gnu.org>.
53015
53016 [BZ #13138]
53017 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53018 realloc.
53019 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53020 Free memory block if necessary.
53021
53022 [BZ #12847]
53023 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53024 be NULL. Don't lock in this case.
53025
53026 2011-09-09 Roland McGrath <roland@hack.frob.com>
53027
53028 * elf/elf.h (ELFOSABI_GNU): New macro.
53029 (ELFOSABI_LINUX): Define to that.
53030
53031 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53032
53033 * string/strncat.c (strncat): Undef the symbol in case it has been
53034 defined in bits/string.h.
53035
53036 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53037
53038 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53039
53040 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53041 link map.
53042
53043 2011-08-17 Andreas Jaeger <aj@suse.de>
53044
53045 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53046
53047 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53048 Ian Lance Taylor <iant@google.com>
53049
53050 * math/libm-test.inc (lround_test): New testcase.
53051 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53052
53053 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53054
53055 * Makefile: Remove support for automatic cvs check-ins.
53056 * Makerules: Likewise.
53057 * config.make.in: Likewise.
53058 * configure.in: Likewise.
53059 * intl/Makefile: Likewise.
53060 * locale/Makefile: Likewise.
53061 * po/Makefile: Likewise.
53062 * posix/Makefile: Likewise.
53063 * sysdeps/gnu/Makefile: Likewise.
53064 * sysdeps/mach/hurd/Makefile: Likewise.
53065 * sysdeps/sparc/sparc32/Makefile: Likewise.
53066
53067 [BZ #13118]
53068 * posix/Makefile (bug-regex32-ENV): Define.
53069 Patch by John Stanley <jpsinthemix@verizon.net>.
53070
53071 * misc/Makefile (headers): Add bits/select2.h.
53072 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53073 * misc/bits/select2.h: New file.
53074 * include/bits/select2.h: New file.
53075 * debug/Makefile (routines): Add fdelt_chk.
53076 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53077 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53078 FD_ISSET.
53079 * debug/fdelt_chk.c: New file.
53080
53081 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53082 * wcsmbs/test-wmemcmp.c: Likewise.
53083 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53084 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53085
53086 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53087
53088 * string/Makefile (strop-tests): Add memcmp.
53089 * string/test-wmemcmp.c: New file.
53090 * string/test-memcmp.c: Add wmemcmp support.
53091
53092 2011-09-08 Roland McGrath <roland@hack.frob.com>
53093
53094 [BZ #13153]
53095 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53096 2011-07-19 change.
53097
53098 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53099 garbage value in a __mach_port_mod_refs call in the cases of the
53100 task-self and thread-self ports.
53101
53102 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53103
53104 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53105
53106 2011-09-08 Andreas Schwab <schwab@redhat.com>
53107
53108 * elf/dl-load.c (lose): Check for non-null L.
53109
53110 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53111
53112 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53113
53114 * elf/dl-libc.c (dlerror_run): Pass back error code from
53115 dl_catch_error.
53116
53117 [BZ #13123]
53118 * elf/dl-load.c (lose): Free l_origin if it is valid.
53119
53120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53121 names.
53122 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53127 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53128
53129 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53130
53131 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53132 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53133 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53134 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53135 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53136 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53137 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53138 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53139 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53140 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53141
53142 2011-08-15 Alan Modra <amodra@gmail.com>
53143
53144 [BZ #13092]
53145 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53146 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53147 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53148 ppc_mcount to static-only-routines.
53149 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53150 __mcount_internal.
53151 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53152 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53153
53154 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53155
53156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53157 for finite and infinity parameters.
53158
53159 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53160
53161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53162 and add nop instructions for throughput optimization.
53163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53164
53165 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53166
53167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53168 aligned copy for power7 with vector-scalar instructions.
53169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53170
53171 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53172
53173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53174 AVX check.
53175
53176 2011-09-07 Andreas Schwab <schwab@redhat.com>
53177
53178 [BZ #13144]
53179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53180 last change.
53181
53182 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53183
53184 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53185 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53186 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53188 clock_gettime.
53189
53190 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53191
53192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53193 Forgot to demangle the pointer.
53194
53195 * sysdeps/i386/sysdep.h: Define atom_text_section.
53196 * sysdeps/x86_64/sysdep.h: Likewise.
53197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53198 section with atom_text_section.
53199 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53204
53205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53206 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53207 already be defined. Change to take two parameters and don't assign
53208 result to variable. Adjust all users.
53209 Define INTERNAL_GETTIME if not already defined.
53210 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53211 call.
53212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53213 HAVE_CLOCK_GETTIME_VSYSCALL.
53214 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53215
53216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53217 gettimeofday vsyscall, just use time.
53218
53219 2011-09-06 Andreas Schwab <schwab@redhat.com>
53220
53221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53222 <errno.h>.
53223
53224 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53225
53226 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53227 syscall on x86-64.
53228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53229 syscall.
53230 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53232 syscall if possible.
53233
53234 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53235
53236 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53237 e_ident. Don't pass to find_mapsXX.
53238 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53239
53240 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53241
53242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53243 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53244 * sysdeps/x86_64/multiarch/strchr.S: Update.
53245 Check bit_slow_BSF bit.
53246 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53247 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53249
53250 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53251
53252 [BZ #13134]
53253 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53254 before glibc 2.15.
53255 (tryshell): Define.
53256 (__spawni): Change last parameter to be flag. Test
53257 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53258 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53259 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53260 * posix/spawni.c: Likewise.
53261 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53262 * posix/spawnp.c: Likewise. Change normal version to use
53263 SPAWN_XFLAGS_USE_PATH.
53264 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53265 SPAWN_XFLAGS_TRY_SHELL.
53266
53267 [BZ #13150]
53268 * posix/glob.h: Remove gcc 1.x support.
53269
53270 [BZ #13068]
53271 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53272
53273 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53274
53275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53276 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53277 strrchr-sse2-bsf
53278 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53279 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53280 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53282 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53283 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53284
53285 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53286
53287 * sysdeps/x86_64/wcscmp.S: New file.
53288
53289 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53290 wcscmp-c wcscmp-sse2
53291 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53292 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53293 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53294 * wcsmbs/wcscmp.c: Allow renaming.
53295
53296 2011-09-05 David S. Miller <davem@davemloft.net>
53297
53298 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53299 stack slot, rather than the struct return pointer slot.
53300 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53301 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53303 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53304
53305 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53306
53307 * po/ja.po: Update from translation team.
53308
53309 [BZ #13144]
53310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53311 kernel in 64-bit binaries.
53312
53313 2011-09-01 David S. Miller <davem@davemloft.net>
53314
53315 * elf/elf.h (HWCAP_SPARC_*): Move to..
53316 * sysdeps/sparc/sysdep.h: this new file and add new values.
53317 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53318 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53319 _DL_HWCAP_COUNT to 24.
53320 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53321 entries.
53322 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53323 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53324 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53326 instead of magic constants.
53327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53328
53329 2011-08-31 David S. Miller <davem@davemloft.net>
53330
53331 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53333 Reimplement to do errno handling inline.
53334 (SYSCALL_ERROR_HANDLER): New macro.
53335 (__SYSCALL_STRING): Do not do errno handling in asm.
53336 (__CLONE_SYSCALL_STRING): Delete.
53337 (__INTERNAL_SYSCALL_STRING): Delete.
53338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53339 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53340 (PSEUDO): Reimplement to do errno handling inline.
53341 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53342 (SYSCALL_ERROR_HANDLER): New macro.
53343 (__SYSCALL_STRING): Do not do errno handling in asm.
53344 (__CLONE_SYSCALL_STRING): Delete.
53345 (__INTERNAL_SYSCALL_STRING): Delete.
53346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53347 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53348 i386.
53349 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53350 (inline_syscall*): Add 'err' argument.
53351 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53352 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53353 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53354 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53355
53356 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53357 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53358
53359 2011-08-30 Andreas Schwab <schwab@redhat.com>
53360
53361 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53362
53363 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53364
53365 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53366 directive.
53367
53368 2011-08-24 David S. Miller <davem@davemloft.net>
53369
53370 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53371
53372 2011-08-24 Andreas Schwab <schwab@redhat.com>
53373
53374 * elf/Makefile: Add rules to build and run unload8 test.
53375 * elf/unload8.c: New file.
53376 * elf/unload8mod1.c: New file.
53377 * elf/unload8mod1x.c: New file.
53378 * elf/unload8mod2.c: New file.
53379 * elf/unload8mod3.c: New file.
53380
53381 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53382 it wasn't used.
53383
53384 2011-08-23 David S. Miller <davem@davemloft.net>
53385
53386 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53387 subtract stack bias.
53388 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53389 %sp not %fp in calculations.
53390 (_JMPBUF_UNWINDS_ADJ): Likewise.
53391
53392 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53393 (aio_suspend): Call it to force an exception region around the
53394 AIO_MISC_WAIT() invocation.
53395
53396 2011-08-23 Andreas Schwab <schwab@redhat.com>
53397
53398 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53399 backslash.
53400
53401 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53402
53403 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53404 protection macro.
53405 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53406 and <dl-machine.h>.
53407 (Elf64_FuncDesc): Remove.
53408
53409 2011-08-22 David S. Miller <davem@davemloft.net>
53410
53411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53412 sigaltstack check, add missing cfi directives.
53413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53414 missing cfi directives, and sigaltstack handling.
53415
53416 2011-08-16 Andreas Schwab <schwab@redhat.com>
53417
53418 [BZ #11724]
53419 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53420 object is seen twice.
53421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53422
53423 * elf/Makefile (distribute): Add tst-initorder2.c.
53424 (tests): Add tst-initorder2.
53425 (modules-names): Add tst-initorder2a tst-initorder2b
53426 tst-initorder2c tst-initorder2d. Add rules to build them.
53427 ($(objpfx)tst-initorder2.out): New rule.
53428 * elf/tst-initorder2.c: New file.
53429 * elf/tst-initorder2.exp: New file.
53430
53431 2011-08-22 Andreas Schwab <schwab@redhat.com>
53432
53433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53434
53435 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53436 dependencies back to end of function.
53437
53438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53439 $(elfobjdir)/ld.so.
53440
53441 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53442
53443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53444 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53446 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53447 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53448 of __vdso_gettimeofday.
53449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53450 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53451 attribute_hidden.
53452 (_libc_vdso_platform_setup): Remove initialization of
53453 __vdso_gettimeofday and __vdso_time.
53454
53455 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53456
53457 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53458 and fgetc_unlocked.
53459 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53460 getc_unlocked.
53461
53462 * elf/dl-open.c (add_to_global): Report additions to the global scope
53463 for LD_DEBUG=scopes.
53464 (dl_open_worker): Also print scope of newly loaded dependencies.
53465 (_dl_show_scope): Indicate if there is no scope.
53466
53467 [BZ #13114]
53468 * stdio-common/Makefile (tests): Add bug24.
53469 * stdio-common/bug24.c: New file.
53470
53471 2011-08-19 Andreas Jaeger <aj@suse.de>
53472
53473 [BZ #13114]
53474 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53475 non-existant file when using close-on-exec mode.
53476
53477 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53478
53479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53480 the very first instruction.
53481
53482 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53483 the CFI state in the end.
53484 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53485 inclusion of dl-trampoline.h.
53486 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53487
53488 2011-08-19 Andreas Schwab <schwab@redhat.com>
53489
53490 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53491 expectations for long double.
53492
53493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53494 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53495
53496 2011-08-14 David S. Miller <davem@davemloft.net>
53497
53498 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53499 artificual limit depends upon the system page size.
53500
53501 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53502
53503 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53504 * resolv/Makefile: Define CFLAGS-libresolv.
53505
53506 2011-08-17 Andreas Schwab <schwab@redhat.com>
53507
53508 * nss/makedb.c (compute_tables): Make variables used in nested
53509 function static.
53510
53511 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53512
53513 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53514 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53515 if buffer was too small.
53516
53517 * elf/pldd.c (main): Attach to all threads in the process.
53518 Rewrite /proc handling to use *at functions.
53519
53520 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53521
53522 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53523 specifies first scope to show.
53524 (dl_open_worker): Update callers. Move printing scope of new
53525 object to before the relocation.
53526 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53527 * sysdeps/generic/ldsodefs.h: Update declaration.
53528
53529 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53530 string for the scope number.
53531
53532 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53533
53534 * nscd/servicescache.c (cache_addserv): Make sure written is always
53535 initialized.
53536
53537 2011-08-14 Roland McGrath <roland@hack.frob.com>
53538
53539 * sysdeps/i386/i486/bits/atomic.h
53540 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53541 statement expression, so as to suppress "set but not used" warning.
53542 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53543
53544 * string/strncat.c (STRNCAT): Use prototype definition.
53545
53546 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53547 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53548 -Iprograms here.
53549 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53550 (localedef-modules): Add localedef.
53551 (locale-modules): Add locale.
53552
53553 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53554 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53555 to avoid a warning.
53556
53557 2011-08-14 David S. Miller <davem@davemloft.net>
53558
53559 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53560 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53561
53562 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53563
53564 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53565 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53566 * elf/rtld.c (dl_main): Set l_name of vDSO.
53567 Call _dl_show_scope when DL_DEBUG_SCOPES.
53568 (process_dl_debug): Recognize scopes flag and also set it for all.
53569 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53570 Declare _dl_show_scope.
53571
53572 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53573 (do_dlopen): Pass caller_dlopen to dl_open.
53574 (__libc_dlopen_mode): Initialize caller_dlopen.
53575
53576 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53577 of libc. Make tolower call locale-independent. Optimize a bit by
53578 using isdigit instead of isalnum.
53579 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53580
53581 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53582
53583 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53584 was a dependency or dynamically loaded.
53585
53586 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53587
53588 * intl/l10nflist.c: Allow architecture-specific pop function.
53589 * sysdeps/x86_64/l10nflist.c: New file.
53590
53591 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53592 classification.
53593
53594 2011-08-10 Andreas Schwab <schwab@redhat.com>
53595
53596 * include/dirent.h: Add libc_hidden_proto for scandirat and
53597 scandirat64. Don't declare __scandirat64.
53598 * dirent/scandirat.c: Add libc_hidden_def.
53599 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53600 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53601
53602 2011-08-10 David S. Miller <davem@davemloft.net>
53603
53604 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53605 enum.
53606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53609
53610 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53611
53612 * Versions.def [libc]: Add GLIBC_2.15.
53613 * dirent/Makefile (routines): Add scandirat and scandirat64.
53614 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53615 GLIBC_2.15.
53616 * dirent/dirent.h: Declare scandirat and scandirat64.
53617 * dirent/scandirat.c: New file.
53618 * dirent/scandirat64.c: New file.
53619 * sysdeps/wordsize-64/scandirat.c: New file.
53620 * sysdeps/wordsize-64/scandirat64.c: New file.
53621 * dirent/opendir.c: Define opendirat.
53622 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53623 using scandirat.
53624 * dirent/scandir64.c: Adjust for scandir.c change.
53625 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53626 __scandirat64, and __scandir_cancel_handler.
53627 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53628 additional parameter and use openat instead of open (outside of ld.so).
53629 Add new __opendir as wrapper around __opendirat.
53630 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53631 here without requiring old scandirat implementation.
53632
53633 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53634
53635 * dirent/scandir.c (cancel_handler): Renamed to
53636 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53637 defined. Adjust users.
53638 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53640
53641 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53642
53643 * string/test-string.h (IMPL): Use __STRING to expand name and then
53644 stringify it.
53645
53646 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53647 of cleanups.
53648
53649 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53650
53651 * string/Makefile: Update.
53652 (strop-tests): Append strncat.
53653 * string/test-wcscmp.c: New file.
53654 New comprehensive test for wcscmp.
53655 * string/test-strcmp.c: Update.
53656 (WIDE): New define.
53657
53658 2011-07-22 Andreas Schwab <schwab@redhat.com>
53659
53660 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53661 line.
53662
53663 2011-07-26 Andreas Schwab <schwab@redhat.com>
53664
53665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53666 encoding to ACE if AI_IDN.
53667
53668 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53669
53670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53671 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53672
53673 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53674
53675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53676 Fix overflow bug in strncat.
53677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53678
53679 * string/test-strncat.c: Update.
53680 Add new tests for checking overflow bugs.
53681
53682 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53683
53684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53685 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53686 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53687 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53688 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53689 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53690 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53691 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53692 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53693
53694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53695 (USE_AS_STRCAT): Define.
53696 Add strcat and strncat support.
53697 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53698
53699 2011-07-25 Andreas Schwab <schwab@redhat.com>
53700
53701 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53702 __n bigger than INT_MAX+1.
53703 (__strncmp_g): Likewise.
53704
53705 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53706
53707 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53708 * libio/stido.h: Likewise.
53709
53710 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53711 (AF_NFC): Define.
53712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53713 (AF_NFC): Define.
53714
53715 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53720
53721 [BZ #13021]
53722 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53723 installed.
53724
53725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53726 typo.
53727 (_dl_x86_64_save_sse): Likewise.
53728
53729 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53730
53731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53732 OSXSAVE.
53733 (_dl_x86_64_save_sse): Likewise.
53734
53735 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53736
53737 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53738
53739 2011-07-21 Andreas Schwab <schwab@redhat.com>
53740
53741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53742 change.
53743 (_dl_x86_64_save_sse): Use correct AVX check.
53744
53745 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53746
53747 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53748 bug in strncpy/strncat.
53749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53750
53751 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53752
53753 * string/tester.c (test_strcat): Add tests for different alignments
53754 of source and destination.
53755 (test_strncat): Likewise.
53756
53757 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53758
53759 [BZ #12852]
53760 * posix/glob.c (glob): Check passed in values before using them in
53761 expressions to avoid some overflows.
53762 (glob_in_dir): Likewise.
53763
53764 [BZ #13007]
53765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53766 check for AVX enablement so that we don't crash with old kernels and
53767 new hardware.
53768 * elf/tst-audit4.c: Add same checks here.
53769 * elf/tst-audit6.c: Likewise.
53770
53771 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53772
53773 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53774
53775 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53776
53777 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53778
53779 * po/cs.po: Update from translation team.
53780 * po/bg.po: Likewise.
53781
53782 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53783
53784 * misc/sys/cdefs.h: Add support for const attribute.
53785 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53786 to gnu_dev_{major,minor,makedev} functions.
53787
53788 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53789
53790 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53791
53792 2011-07-20 Andreas Schwab <schwab@redhat.com>
53793
53794 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53795 strlen results.
53796
53797 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53798
53799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53800 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53801 register in order to avoid conflicts with the soft frame pointer
53802 being held in r11 when necessary.
53803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53804 (INTERNAL_VSYSCALL_NCS): Likewise.
53805
53806 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53807
53808 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53809 * elf/dl-fini.c (_dl_fini): Adjust caller.
53810 * elf/dl-close.c (_dl_close_worker): Likewise.
53811 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53812
53813 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53814
53815 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53816 "aux_cache->nlibs < 0".
53817
53818 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53819 in the reload-count case.
53820
53821 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53822
53823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53824 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53825 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53826 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53827 * sysdeps/x86_64/multiarch/strcat.S: New file.
53828 * sysdeps/x86_64/multiarch/strncat.S: New file.
53829 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53831 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53832 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53834 (USE_AS_STRCAT): Define.
53835 Add strcat and strncat support.
53836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53837 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53838 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53839 * string/strncat.c: Update.
53840 (USE_AS_STRNCAT): Define.
53841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53842 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53843 and i7.
53844 * sysdeps/x86_64/multiarch/init-arch.h
53845 (bit_Prefer_PMINUB_for_stringop): New.
53846 (index_Prefer_PMINUB_for_stringop): Likewise.
53847 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53848 bit_Prefer_PMINUB_for_stringop.
53849
53850 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53851
53852 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53853 buffer64.
53854 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53855 of casting of buffer.
53856 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53857 buffer32 and buffer64.
53858 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53859 writes instead of casting of buffer.
53860 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53861 buffer32.
53862 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53863 casting of buffer.
53864
53865 2011-07-19 Andreas Schwab <schwab@redhat.com>
53866
53867 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53868
53869 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53870
53871 * nscd/nscd.c (termination_handler): Don't do anything for a database
53872 if it has not yet been initialized.
53873
53874 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53875
53876 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53877
53878 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53879
53880 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53881
53882 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53883
53884 * po/nl.po: Update from translation team.
53885 * po/sv.po: Likewise.
53886
53887 2011-07-16 Roland McGrath <roland@hack.frob.com>
53888
53889 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53890 now disallowed by GCC.
53891
53892 * configure.in (use-default-link): Default to yes if a test -shared
53893 link meets our qualifications.
53894 * configure: Regenerated.
53895
53896 * config.make.in (output-format): New variable.
53897 * configure.in: Check for ld --print-output-format support.
53898 * configure: Regenerated.
53899 * Makerules ($(common-objpfx)format.lds)
53900 [$(output-format) != unknown]: Just use $(output-format),
53901 instead of the linker-script munging.
53902
53903 2011-07-14 Roland McGrath <roland@hack.frob.com>
53904
53905 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53906 of $(common-objpfx)shlib.lds.
53907 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53908
53909 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53910 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53911
53912 * configure.in (-z relro check): Adjust test code to add a large
53913 writable data section after it.
53914 * configure: Regenerated.
53915
53916 2011-07-11 Roland McGrath <roland@hack.frob.com>
53917
53918 * configure.in (-z relro check): Fix test code to make the variable
53919 truly const.
53920 * configure: Regenerated.
53921
53922 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53923
53924 * nscd/nscd.h (struct traced_file): Define.
53925 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53926 elements. Add traced_files.
53927 (inotify_fd): Declare.
53928 (register_traced_file): Declare.
53929 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53930 (inotify_fd): Export.
53931 (resolv_conf_descr): Remove.
53932 (nscd_init): Move inotify descriptor creation to main.
53933 Don't register files for notification here.
53934 (register_traced_file): New function.
53935 (invalidate_cache): Don't use reset_res to determine whether to call
53936 res_init, go through the list of registered files.
53937 (main_loop_poll): The inotify descriptors are now stored in the
53938 structures for the traced files.
53939 (main_loop_epoll): Likewise
53940 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53941 to __nss_disable_nscd.
53942 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53943 for a database anymore. Check the records for all the registered
53944 files instead.
53945 * nss/Makefile (libnss_files-routines): Add files-init.
53946 (libnss_db-routines): Add db-init.
53947 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53948 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53949 * nss/nss_db/db-init.c: New file.
53950 * nss/nss_files/files-init.c: New file.
53951 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53952 __nss_lookup_function.
53953 (__nss_lookup_function): Call nss_load_library.
53954 (nss_load_all_libraries): New function.
53955 (__nss_disable_nscd): Take parameter with callback function for files
53956 to register. Set is_nscd. Load all the DSOs for the NSS modules
53957 used for the cached services.
53958 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53960 options for features to all the files in nscd.
53961
53962 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53963
53964 2011-07-10 Roland McGrath <roland@hack.frob.com>
53965
53966 * csu/elf-init.c (__libc_csu_init): Comment typo.
53967
53968 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53969
53970 * po/pl.po: Update from translation team.
53971 * po/ja.po: Likewise.
53972 * po/ru.po: Likewise.
53973 * po/ko.po: Likewise.
53974 * po/fr.po: Likewise.
53975
53976 2011-07-09 Roland McGrath <roland@hack.frob.com>
53977
53978 * configure.in (.ctors/.dtors header and trailer check):
53979 Use an empirical test on a built program.
53980 * configure: Regenerated.
53981
53982 * configure.in (-z relro check): Use an empirical test on a built DSO.
53983 Detect, but do not require, on ia64.
53984 * configure: Regenerated.
53985
53986 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53987 Update tests that use readelf to use $READELF instead.
53988 * configure: Regenerated.
53989
53990 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53991
53992 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53993 if the result is not used.
53994
53995 2011-07-05 Andreas Jaeger <aj@suse.de>
53996
53997 [BZ#9696]
53998 * stdlib/tst-strtod.c: Add testcase.
53999
54000 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54001
54002 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54003 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54004 The latter has a higher limit. Take additional parameter to pass to
54005 the new function.
54006 (__pathconf): Pass file to __statfs_link_max.
54007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54008 __statfs_link_max.
54009 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54010 __statfs_link_max.
54011
54012 [BZ #12868]
54013 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54015 Handle Lustre.
54016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54017 (__statfs_filesize_max): Likewise.
54018 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54019
54020 2011-07-05 Andreas Jaeger <aj@suse.de>
54021
54022 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54023
54024 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54025
54026 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54027 `status' variable.
54028 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54029 Likewise.
54030
54031 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54032
54033 * Makefile (strop-tests): Add strncat.
54034 * string/test-strncat.c: New file.
54035
54036 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54037
54038 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54039
54040 2011-06-21 Andreas Jaeger <aj@suse.de>
54041
54042 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54043 Copy rule from iconvdata/Makefile.
54044
54045 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54046
54047 [BZ #12922]
54048 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54049 but no long options are defined, just return 'W'.
54050
54051 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54052
54053 [BZ #9696]
54054 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54055
54056 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54057
54058 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54059 netgroups to read.
54060 (innetgr): Likewise.
54061
54062 2011-07-05 Roland McGrath <roland@hack.frob.com>
54063
54064 * config.make.in (install_root): Default to $(DESTDIR).
54065
54066 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54067
54068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54069
54070 2011-07-02 Roland McGrath <roland@hack.frob.com>
54071
54072 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54073
54074 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54075 containing directory rather than embedding absolute directory names.
54076
54077 * scripts/check-local-headers.sh: Rewritten using awk.
54078 Match by word, not by line. Print error messages for matches.
54079 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54080
54081 * Makerules [shlib-lds-flags empty]:
54082 ($(common-objpfx)libc_pic.opts): New target.
54083 ($(common-objpfx)libc_pic.os.clean): New target.
54084 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54085
54086 * config.make.in (OBJCOPY): New variable.
54087 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54088 * configure: Regenerated.
54089
54090 * config.make.in (use-default-link): New variable.
54091 * configure.in (use_default_link): Grok --with-default-link to set it.
54092 * configure: Regenerated.
54093 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54094 (shlib-lds, shlib-lds-flags): Define to empty.
54095
54096 * Makerules (shlib-lds): New variable.
54097 (shlib-lds-flags): New variable.
54098 (build-shlib, build-moduile, build-module-asneeded): Use it.
54099 ($(common-objpfx)libc.so): Use $(shlib-lds).
54100 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54101 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54102
54103 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54104 DT_FLAGS/DT_FLAGS_1 with zero flags.
54105
54106 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54107 linker script munging.
54108
54109 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54110
54111 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54112 as 128-bit value.
54113 * crypt/sha512.c (sha512_process_block): Perform total addition using
54114 128-bit if possible.
54115 (__sha512_finish_ctx): Likewise.
54116 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54117 as 64-bit value.
54118 * crypt/sha256.c (SWAP64): Define.
54119 (sha256_process_block): Perform total addition using 64-bit if
54120 possible.
54121 (__sha256_finish_ctx): Likewise.
54122
54123 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54124
54125 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54127 * nscd/hstcache.c (cache_addhst): Likewise.
54128 * nscd/grpcache.c (cache_addgr): Likewise.
54129 * nscd/aicache.c (addhstaiX): Likewise
54130 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54131
54132 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54133
54134 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54136 * nscd/hstcache.c (cache_addhst): Likewise.
54137 * nscd/grpcache.c (cache_addgr): Likewise.
54138 * nscd/aicache.c (addhstaiX): Likewise
54139
54140 2011-07-01 Andreas Schwab <schwab@redhat.com>
54141
54142 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54143 domain only when needed.
54144
54145 2011-06-30 Andreas Schwab <schwab@redhat.com>
54146
54147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54148 is always restored.
54149
54150 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54151
54152 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54153 are re-adding the entry.
54154 * nscd/servicescache.c (cache_addserv): Likewise.
54155
54156 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54157
54158 * sysdeps/generic/dl-irel.h: fix protection against multiple
54159 inclusions.
54160 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54161
54162 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54163
54164 [BZ #12935]
54165 * malloc/memusage.sh: Fix quoting in message.
54166 * debug/xtrace.sh: Likewise.
54167
54168 * configure.in: Remove support for --experimental-malloc option, make
54169 it the default.
54170 * config.make.in: Likewise.
54171 * malloc/Makefile: Likewise.
54172
54173 2011-06-27 Andreas Schwab <schwab@redhat.com>
54174
54175 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54176 two-byte characters.
54177
54178 2011-06-27 Roland McGrath <roland@hack.frob.com>
54179
54180 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54181 AC_CACHE_CHECK invocation.
54182 * configure: Regenerated.
54183
54184 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54185
54186 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54187
54188 [BZ #12350]
54189 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54190 bit from old_res_options.
54191
54192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54193
54194 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54195 value type for setfct.
54196
54197 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54198
54199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54200 __gettimeofday instead of gettimeofday.
54201
54202 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54203
54204 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54205
54206 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54207
54208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54209
54210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54211 info.
54212
54213 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54214
54215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54216 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54217 strcpy-sse2-unaligned strncpy-sse2-unaligned
54218 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54219 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54220 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54221 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54222 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54225 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54226 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54227 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54228 (STRCPY): Support SSE2 and SSSE3 versions.
54229
54230 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54231
54232 [BZ #12874]
54233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54234 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54235 kernels which artificially limit size of requests.
54236
54237 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54238
54239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54240 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54241 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54242 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54243 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54244 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54245 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54246 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54247 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54249 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54250 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54251 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54252 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54253 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54255 Enable unaligned load optimization for Intel Core i3, i5 and i7
54256 processors.
54257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54258 Define.
54259 (index_Fast_Unaligned_Load): Define.
54260 (HAS_FAST_UNALIGNED_LOAD): Define.
54261
54262 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54263
54264 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54265
54266 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54267
54268 [BZ #12907]
54269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54270 until it is clear that the information is realy needed.
54271 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54272
54273 2011-06-22 Andreas Schwab <schwab@redhat.com>
54274
54275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54276
54277 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54278
54279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54280 /sys/devices/system/cpu/online if it is usable.
54281
54282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54283 reading the information from the /proc filesystem to once a second.
54284
54285 2011-06-21 Andreas Jaeger <aj@suse.de>
54286
54287 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54288 NULL after inclusion of kernel headers.
54289
54290 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54291
54292 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54293 calls to internal_setent.
54294
54295 [BZ #12885]
54296 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54297 addresses using gethostbyname4_r ignore IPv4 addresses.
54298
54299 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54300 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54301
54302 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54303
54304 2011-06-20 David S. Miller <davem@davemloft.net>
54305
54306 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54307 inclusions.
54308 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54309
54310 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54311 (elf_irel): Use it.
54312 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54313 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54314 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54315 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54316 * sysdeps/x86_64/dl-irel.h: Likewise.
54317
54318 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54319 * elf/dl-sym.c: Likewise.
54320
54321 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54322
54323 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54324 need to dereference resplen2.
54325
54326 2011-06-14 Andreas Schwab <schwab@redhat.com>
54327
54328 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54329
54330 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54331
54332 * Makeconfig: Define vardbdir and inst_vardbdir.
54333 * nss/Makefile: Add rules to install db-Makefile.
54334
54335 * nss/nss_db/db-XXX.c: Cleanup.
54336
54337 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54338 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54339 GLIBC_PRIVATE.
54340 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54341 * nss/makedb.c: Implement -g option to specify that value strings
54342 are generated and should not be added to table iterated over for
54343 get*ent calls.
54344 * nss/nss_db/db-initgroups.c: New file.
54345
54346 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54347 interface.
54348
54349 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54350 (internal_getgrouplist): Adjust to name change.
54351 Update use_initgroups_entry if this is not the first call.
54352 * nss/databases.def: Add initgroups entry.
54353
54354 * nss/makedb.c (compute_tables): Check result of multiple hash table
54355 sizes to minimize maximum chain length.
54356
54357 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54358
54359 * Versions.def: Add entry for libnss_db.
54360 * shlib-versions: Likewise.
54361 * nss/Makefile: Add rules to build libnss_db.
54362 * nss/Versions: Add libnss_db information. Organize libnss_files
54363 entries better.
54364 * nss/db-Makefile: Add gshadow support. Change rules for the new
54365 makedb progra. Some minor improvements to generate smaller files.
54366 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54367 here from...
54368 * nss/makedb.c: ...here.
54369 Improve database format to be smaller and require less memory at
54370 runtime.
54371 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54372 db anymore.
54373 * nss/nss_db/db-netgrp.c: Likewise.
54374 * nss/nss_db/db-open.c: Likewise.
54375 * nss/nss_files/flies-XXX.x: Adjust comments.
54376 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54377 * nss/nss_files/files-grp.c: Likewise.
54378 * nss/nss_files/files-hosts.c: Likewise.
54379 * nss/nss_files/files-network.c: Likewise.
54380 * nss/nss_files/files-proto.c: Likewise.
54381 * nss/nss_files/files-pwd.c: Likewise.
54382 * nss/nss_files/files-rpc.c: Likewise.
54383 * nss/nss_files/files-service.c: Likewise.
54384 * nss/nss_files/files-sgrp.c: Likewise.
54385 * nss/nss_files/files-spwd.c: Likewise.
54386 * nss/nss_db/db-alias.c: Removed.
54387 * nss/nss_db/dummy-db.h: Removed.
54388
54389 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54390
54391 * nss/makedb.c: Rewritten to not use database library.
54392 * nss/Makefile: Update to build new makedb program.
54393
54394 2011-06-14 Andreas Jaeger <aj@suse.de>
54395
54396 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54397 memset declaration.
54398
54399 2011-06-10 Andreas Schwab <schwab@redhat.com>
54400
54401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54402 tmpbuf.
54403
54404 2011-06-10 Roland McGrath <roland@hack.frob.com>
54405
54406 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54407 * elf/Makefile ($(objpfx)ld.so): Likewise.
54408
54409 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54410 Don't list ld.so twice in dependencies.
54411
54412 * posix/bug-regex31.c: Include <stdlib.h>.
54413
54414 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54415
54416 * nis/nss_compat/compat-spwd.c
54417 (getspent_next_nss_netgr): Remove unused variable.
54418 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54419
54420 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54421 nonmembers" output to use the right array.
54422
54423 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54424
54425 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54426
54427 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54428 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54429 * catgets/gencat.c (read_input_file): Likewise.
54430 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54431
54432 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54433 variable definition inside #if's controlling its use.
54434
54435 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54436
54437 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54438
54439 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54440
54441 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54442 unreachable code.
54443
54444 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54445
54446 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54447 * configure: Regenerated.
54448
54449 * Makerules: Revert last change.
54450 * elf/Makefile: Likewise.
54451
54452 2011-06-09 Roland McGrath <roland@hack.frob.com>
54453
54454 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54455 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54456 (reloc-link): Likewise.
54457
54458 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54459
54460 * elf/Makefile: Add rules to build pldd.
54461 * elf/pldd.c: New file.
54462 * elf/pldd-xx.c: New file.
54463
54464 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54465
54466 * version.h: Update for 2.15 development version.
54467
54468 2011-06-07 David S. Miller <davem@davemloft.net>
54469
54470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54471 ifuncs.
54472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54473 elf_machine_lazy_rel): Likewise.
54474 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54476 elf_machine_lazy_rel): Likewise.
54477 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54478 dl_hwcap via passed in argument.
54479 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54480 Likewise.
54481
54482 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54483
54484 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54485
54486 2011-06-06 Roland McGrath <roland@hack.frob.com>
54487
54488 [BZ #12849]
54489 * manual/fdl-1.1.texi: New file, verbatim from:
54490 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54491 * manual/lgpl-2.1.texi: New file, verbatim from:
54492 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54493 * manual/Makefile (licenses): New variable, list those new file names.
54494 (texis): Use it.
54495 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54496
54497 * manual/fdl.texi: File removed.
54498 * manual/lesser.texi: File removed.
54499 * manual/libc.texinfo (Copying, Documentation License):
54500 Use new @include file names, put @appendix directive before @include.
54501
54502 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54503
54504 [BZ #12841]
54505 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54506 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54507 (mq_open): Add __NTH.
54508
54509 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54510
54511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54512 Assume Intel Core i3/i5/i7 processor if AVX is available.
54513
54514 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54515
54516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54517 typo.
54518
54519 2011-05-31 Andreas Schwab <schwab@redhat.com>
54520
54521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54522 memory. Use alloca_account. Fix memory leak when retrying.
54523
54524 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54525
54526 * version.h (RELEASE): Bump for 2.14 release.
54527 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54528
54529 * config.make.in (RANLIB): Remove entry.
54530
54531 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54532
54533 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54534 (libc.pot): Work around missing support for .ksh extension in xgettext.
54535
54536 [BZ #12684]
54537 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54538 if both request failed.
54539 (send_dg): In case of server errors clear resplen or *resplen2.
54540
54541 [BZ #12454]
54542 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54543 when there are multiple maps.
54544 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54545 (_dl_fini): Remove test here.
54546
54547 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54548
54549 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54550
54551 [BZ #12350]
54552 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54553 bit from old_res_options.
54554 (gaih_inet): Likewise.
54555
54556 [BZ #11099]
54557 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54558 as signed.
54559
54560 * resolv/res_init.c (res_setoptions): Make the code more compact.
54561
54562 [BZ #11558]
54563 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54564 set RES_USEVC.
54565
54566 [BZ #11634]
54567 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54568
54569 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54570
54571 [BZ #11781]
54572 * malloc/malloc.h: Declare malloc hook variables as volatile.
54573
54574 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54575 in last patch.
54576
54577 [BZ #11799]
54578 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54579 raise in the comment.
54580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54582 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54583
54584 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54585
54586 [BZ #12811]
54587 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54588 grow the buffers more if it already has to be sufficient.
54589 (build_wcs_upper_buffer): Likewise.
54590 * posix/regexec.c (check_matching): Likewise.
54591 (clean_state_log_if_needed): Likewise.
54592 (extend_buffers): Don't enlarge buffers beyond size of the input
54593 buffer.
54594 Patches mostly by Emil Wojak <emil@wojak.eu>.
54595 * posix/bug-regex32.c: New file.
54596 * posix/Makefile (tests): Add bug-regex32.
54597
54598 * locale/findlocale.c (_nl_find_locale): Return right away if
54599 _nl_explode_name failed.
54600 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54601
54602 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54603
54604 * debug/xtrace.sh: Unify messages.
54605 * malloc/memusage.sh: Likewise.
54606
54607 [BZ #12813]
54608 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54609 time symbol from vDSO. Substitute with vsyscall if not available.
54610 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54611 __vdso_time.
54612
54613 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54614 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54615 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54616 Add sendmmsg and internal_sendmmsg.
54617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54618 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54620
54621 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54622 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54624
54625 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54626
54627 [BZ #12813]
54628 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54629 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54630 available.
54631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54632 __vdso_getcpu.
54633
54634 [BZ #12814]
54635 * iconvdata/Makefile (tests): Add bug-iconv9.
54636 * iconvdata/bug-iconv9.c: New file.
54637
54638 2011-05-27 Andreas Schwab <schwab@redhat.com>
54639
54640 [BZ #12814]
54641 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54642
54643 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54644
54645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54646 (struct user_regs_struct): Change intcs field back to cs.
54647
54648 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54649
54650 * po/ja.po: Update from translation team.
54651
54652 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54653
54654 [BZ #12795]
54655 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54656 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54657
54658 2011-05-20 Andreas Schwab <schwab@redhat.com>
54659
54660 * stdlib/longlong.h: Update from GCC.
54661
54662 2011-05-23 Andreas Schwab <schwab@redhat.com>
54663
54664 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54665 parameter name.
54666 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54667 Add parameter name.
54668 (__sysconf): Pass it down.
54669
54670 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54671
54672 [BZ #12671]
54673 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54674 some situations.
54675 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54676 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54677 add in in __libc_use_alloca calls. Adjust callers.
54678 (glob): Use malloc in some situations.
54679
54680 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54681 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54682 pltexit.
54683
54684 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54685
54686 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54687 and CLOCK_BOOTTIME_ALARM.
54688
54689 [BZ #12782]
54690 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54691 is returned.
54692
54693 * string/_strerror.c (__strerror_r): Print negative errors as signed
54694 numbers.
54695
54696 [BZ #12777]
54697 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54698 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54699 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54700
54701 * configure.in: Fix typo in redirection and correct removal of test
54702 files in two cases.
54703
54704 [BZ #12788]
54705 * locale/setlocale.c (new_composite_name): Fix test to check for
54706 identical name of all categories.
54707
54708 [BZ #12792]
54709 * libio/filedoalloc.c (local_isatty): New function.
54710 (_IO_file_doallocate): Use local_isatty.
54711 * stdio-common/perror.c (perror): In case a new stream is used
54712 forward the stream error.
54713 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54714 error flag.
54715
54716 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54717
54718 [BZ #11869]
54719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54720 alloca.
54721 * include/alloca.h (extend_alloca_account): Define.
54722
54723 [BZ #11857]
54724 * posix/regex.h: Fix comments with documentation of user-accessible
54725 fields after compilation and describe correct free'ing of pattern
54726 after re_compile_pattern.
54727 Patch by Reuben Thomas <rrt@sc3d.org>.
54728
54729 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54730
54731 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54732 and -mno-altivec to prevent the compiler from using Altivec and/or
54733 VSX instructions when the corresponding registers are not available.
54734
54735 2011-05-19 Andreas Schwab <schwab@redhat.com>
54736
54737 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54738
54739 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54740
54741 * libio/freopen.c (freopen): Use __dup2, not dup2.
54742 * libio/freopen64.c (freopen64): Likewise.
54743
54744 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54745
54746 [BZ #12775]
54747 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54748 * math/Makefile (tests): Add test-powl.
54749 (CFLAGS-test-powl.c): Define.
54750 * math/test-powl.c: New file.
54751
54752 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54753
54754 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54755
54756 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54757
54758 [BZ #11837]
54759 * iconvdata/gb18030.c: Update to GB18020-2005.
54760
54761 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54762
54763 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54764 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54765 Patch by Aharon Robbins <arnold@skeeve.com>.
54766
54767 [BZ #11892]
54768 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54769 on the stack.
54770
54771 [BZ #11895]
54772 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54773 through underflows.
54774
54775 [BZ #12766]
54776 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54777 point to strings before performing equality test for error_one_per_line
54778 mode.
54779
54780 [BZ #11697]
54781 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54782
54783 [BZ #11820]
54784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54785 (struct user_fpregs_struct): Avoid __uint*_t types.
54786
54787 [BZ #6420]
54788 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54789 symbol info. Use it instead of calling _dl_addr locally.
54790 (lock_and_info): New function.
54791 (tr_freehook): Call lock_and_info and pass symbol info as additional
54792 parameter to tr_where.
54793 (tr_mallochook): Likewise.
54794 (tr_reallochook): Likewise.
54795 (tr_memalignhook): Likewise.
54796
54797 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54798 used and couldn't be at all thread-safe.
54799
54800 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54801
54802 * libio/freopen.c (freopen): Don't close old file descriptor
54803 before the new one is opened. Instead dup the new file descriptor
54804 to the old one after the new stream is created.
54805 * libio/freopen64.c (freopen64): Likewise.
54806 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54807 * libio/fileops.c (_IO_new_file_close_it): Handle new
54808 _IO_FLAGS2_NOCLOSE flag.
54809 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54810 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54811 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54812 _IO_FLAGS2_NOCLOSE flag.
54813 * include/unistd.h: Add hidden_proto for dup3.
54814 Define __have_dup3.
54815 * io/dup3.c: Define hidden symbol.
54816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54817
54818 [BZ #7101]
54819 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54820 when an incomplete long option is used.
54821 * posix/tst-getopt_long1.c: New file.
54822 * posix/Makefile (tests): Add tst-getopt_long1.
54823
54824 [BZ #10138]
54825 * scripts/config.guess: Update from autoconf-2.68.
54826 * scripts/config.sub: Likewise.
54827
54828 [BZ #10157]
54829 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54830 tests into ...
54831 (has_cpuclock): ...this. New function.
54832 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54833 macro here based on has_cpuclock code.
54834
54835 [BZ #10149]
54836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54837 First byte (not low byte) is now always NUL.
54838 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54839
54840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54841 Use non-cancelable interfaces.
54842
54843 [BZ #9809]
54844 * locale/iso-639.def: Add entry for Sorani.
54845
54846 [BZ #11901]
54847 * include/stdlib.h: Move include protection to the right place.
54848 Define abort_msg_s. Declare __abort_msg with it.
54849 * stdlib/abort.c (__abort_msg): Adjust type.
54850 * assert/assert.c (__assert_fail_base): New function. Majority
54851 of code from __assert_fail. Allocate memory for __abort_msg with
54852 mmap.
54853 (__assert_fail): Now call __assert_fail_base.
54854 * assert/assert-perr.c: Remove bulk of implementation. Use
54855 __assert_fail_base.
54856 * include/assert.hL Declare __assert_fail_base.
54857 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54858 mmap.
54859 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54860
54861 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54862
54863 [BZ #11952]
54864 [BZ #12453]
54865 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54866 until all modules are registered in the DTV.
54867 * elf/Makefile: Add rules to build and run tst-tls19.
54868 * elf/tst-tls19.c: New file.
54869 * elf/tst-tls19mod1.c: New file.
54870 * elf/tst-tls19mod2.c: New file.
54871 * elf/tst-tls19mod3.c: New file.
54872 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54873
54874 [BZ #12083]
54875 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54876 correctly.
54877
54878 [BZ #12601]
54879 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54880 two-byte sequence errors.
54881 * iconvdata/Makefile (tests): Add bug-iconv8.
54882 * iconvdata/bug-iconv8.c: New file.
54883
54884 [BZ #12626]
54885 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54886 buf2 definition.
54887
54888 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54889
54890 [BZ #12432]
54891 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54892 (dummy_getcfa): New function.
54893 (init): Get _Unwind_GetCFA address, use dummy if not found.
54894 (backtrace_helper): In recursion check, also check whether CFA changes.
54895 (__backtrace): Completely initialize arg.
54896
54897 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54898 storing incomplete byte sequence in state object. Avoid testing for
54899 guaranteed too small input if we know there is enough data available.
54900
54901 2011-05-11 Andreas Schwab <schwab@redhat.com>
54902
54903 * Makeconfig (+link-pie): Indent.
54904 * Rules (binaries-pie): Define if $(have-fpie) and
54905 $(build-shared).
54906 (binaries-shared): Also filter out $(binaries-pie).
54907 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54908 * nscd/Makefile (others-pie): Add nscd.
54909 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54910 ($(objpfx)nscd): Remove command override.
54911 * login/Makefile (others-pie): Add pt_chown.
54912 ($(objpfx)pt_chown): Remove command override.
54913 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54914 remove command overrides.
54915
54916 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54917
54918 * libio/tst_putwc.c: Fix error messages.
54919
54920 [BZ #12724]
54921 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54922 currently writing and seek to current position when not.
54923 * libio/Makefile (tests): Add bug-fclose1.
54924 * libio/bug-fclose1.c: New file.
54925
54926 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54927
54928 [BZ #12511]
54929 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54930 don't set DF_1_NODELETE here.
54931 (do_lookup_x): When entering new entry test for copy relocation
54932 and if necessary set DF_1_NODELETE flag.
54933 * elf/tst-unique4.cc: New file.
54934 * elf/tst-unique4.h: New file.
54935 * elf/tst-unique4lib.cc: New file.
54936 * elf/Makefile: Add rules to build and run tst-unique4.
54937 Patch by Piotr Bury <pbury@goahead.com>.
54938
54939 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54940
54941 [BZ #12052]
54942 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54943
54944 [BZ #12625]
54945 * misc/mntent_r.c (addmntent): Flush the stream after the output
54946
54947 [BZ #12393]
54948 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54949 (is_trusted_path_normalize): Skip initial colon. Append slash
54950 to empty buffer. Duplicate is_trusted_path code but allow
54951 constructed patch to be prefix.
54952 (is_dst): Allow $ORIGIN followed by /.
54953 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54954 Correct testing of result of is_trusted_path_normalize
54955 (decompose_rpath): Fix warning.
54956
54957 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54958
54959 [BZ #11257]
54960 * grp/initgroups.c (internal_getgrouplist): When we found the service
54961 list through the initgroups entry in nsswitch.conf do not always
54962 continue on a successful lookup. Don't always use the
54963 __nss_group_database value if it is set.
54964 * nss/nsswitch.conf (initgroups): Change action for successful db
54965 lookup to continue for compatibility.
54966
54967 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54968
54969 [BZ #11532]
54970 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54971 and CP774 modules.
54972 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54973 and CP774 modules.
54974 * iconvdata/tst-tables.sh: Likewise.
54975 * iconvdata/cp770.c: New file.
54976 * iconvdata/cp771.c: New file.
54977 * iconvdata/cp772.c: New file.
54978 * iconvdata/cp773.c: New file.
54979 * iconvdata/cp774.c: New file.
54980 * iconvdata/testdata/CP770: New file.
54981 * iconvdata/testdata/CP770..UTF8: New file.
54982 * iconvdata/testdata/CP771: New file.
54983 * iconvdata/testdata/CP771..UTF8: New file.
54984 * iconvdata/testdata/CP772: New file.
54985 * iconvdata/testdata/CP772..UTF8: New file.
54986 * iconvdata/testdata/CP773: New file.
54987 * iconvdata/testdata/CP773..UTF8: New file.
54988 * iconvdata/testdata/CP774: New file.
54989 * iconvdata/testdata/CP774..UTF8: New file.
54990
54991 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54992 END CHARMAP line.
54993 * iconvdata/gen-8bit-gap.sh: Likewise.
54994 * iconvdata/gen-8bit.sh: Likewise.
54995
54996 * locale/iso-639.def: Add ary entry.
54997
54998 [BZ #11258]
54999 * locale/C-translit.h.in: Add U20A1 transliteration.
55000
55001 [BZ #12178]
55002 * locale/iso-639.def: Add wae entry.
55003 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55004
55005 [BZ #12545]
55006 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55007 for n.
55008
55009 [BZ #12711]
55010 * locale/C-translit.h.in: Add entry for U20B9.
55011 Patch by pravin.d.s@gmail.com.
55012
55013 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55014
55015 [BZ #12713]
55016 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55017 ENAMETOOLONG use generic getcwd.
55018 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55019 in rtld. Use *stat64.
55020 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55021 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55022 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55023 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55024 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55025 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55026 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55027 __fstatat64 macros.
55028 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55029 * dirent/rewinddir.c: Add libc_hidden_def.
55030 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55031 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55032
55033 * include/dirent.h (__alloc_dir): Add flags parameter.
55034 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55035 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55036 __alloc_dir.
55037 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55038 from fdopendir if O_CLOEXEC is already set.
55039
55040 2011-03-15 Alan Modra <amodra@gmail.com>
55041
55042 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55043 l_tls_firstbyte_offset non-zero. Save padding offset in
55044 l_tls_firstbyte_offset for later use.
55045 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55046 freeing static tls block.
55047
55048 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55049
55050 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55051 where #ifdef was intended. The intent is to prevent ARG_MAX from
55052 being defined by the kernel headers.
55053
55054 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55055
55056 [BZ #12734]
55057 * resolv/resolv.h: Define RES_NOTLDQUERY.
55058 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55059 no-tld-query and set RES_NOTLDQUERY.
55060 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55061 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55062 modern BIND to search name as TLD unless forbidden.
55063
55064 2011-05-07 Petr Baudis <pasky@suse.cz>
55065 Ulrich Drepper <drepper@gmail.com>
55066
55067 [BZ #12393]
55068 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55069 (is_trusted_path): ...to here.
55070 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55071 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55072 using is_trusted_path_normalize() in setuid scripts.
55073
55074 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55075
55076 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55077 __BEGIN/__END_DECLS.
55078
55079 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55080
55081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55082 NSS_STATUS_NOTFOUND if no record was found.
55083
55084 2011-05-05 Andreas Schwab <schwab@redhat.com>
55085
55086 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55087 (headers-not-in-tirpc): Remove rpc/netdb.h
55088 * resolv/netdb.h: Revert last change.
55089
55090 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55091
55092 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55093 circular dependency between libgcc.a and libc.a.
55094
55095 2011-05-05 Andreas Schwab <schwab@redhat.com>
55096
55097 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55098 * nis/Makefile: Don't install rpcsvc/*.
55099 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55100 instead of <rpc/types.h>.
55101 (MAXHOSTNAMELEN): Define.
55102
55103 2011-05-03 Andreas Schwab <schwab@redhat.com>
55104
55105 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55106
55107 2011-04-28 Maciej Babinski <mbabinski@google.com>
55108
55109 [BZ #12714]
55110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55111 gethostbyname4_r when IPv6 results are possible.
55112
55113 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55114
55115 [BZ #12723]
55116 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55117 _PC_PIPE_BUF handling.
55118
55119 2011-04-30 Bruno Haible <bruno@clisp.org>
55120
55121 [BZ #12717]
55122 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55123 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55124 to 'int'.
55125 * inet/getnameinfo.c (getnameinfo): Likewise.
55126
55127 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55128
55129 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55130 to groups setting in database lookup.
55131 * nss/nsswitch.conf: Add initgroups entry.
55132
55133 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55134
55135 [BZ #12685]
55136 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55137 mode string.
55138 Patch by Eric Blake <eblake@redhat.com>.
55139
55140 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55141
55142 * sunrpc/Makefile (need-export-routines): Add svc_run.
55143 (routines): Remove svc_run.
55144 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55145 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55146 * sunrpc/svc_run.c (svc_run): Likewise.
55147 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55148
55149 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55150
55151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55152 problem in reallocation in last patch.
55153
55154 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55155
55156 * sunrpc/Makefile: Move inclusion of Rules.
55157
55158 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55159
55160 * nss/nss_files/files-initgroups.c: New file.
55161 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55162 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55163 _nss_files_initgroups_dyn.
55164
55165 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55166
55167 * elf/elf.h (R_ARM_IRELATIVE): Define.
55168
55169 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55170
55171 * po/ru.po: Update from translation team.
55172
55173 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55174
55175 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55176 dependencies.
55177
55178 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55179
55180 [BZ #12653]
55181 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55182 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55183 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55186
55187 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55188
55189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55190 differing bytes.
55191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55194
55195 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55196
55197 [BZ #12420]
55198 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55199 storing it.
55200 * stdlib/bug-getcontext.c: New file.
55201 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55202
55203 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55204
55205 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55206 instructions into .machine "z9-109".
55207 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55208 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55209
55210 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55211
55212 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55213 between environment variables and auxiliary vector.
55214
55215 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55216
55217 * Makefile: Add rules to build linkobj/libc.so.
55218 * include/libc-symbols.h: Define libc_hidden_nolink.
55219 * include/rpc/auth.h: Mark functions which are to be hidden.
55220 * include/rpc/auth_des.h: Likewise.
55221 * include/rpc/auth_unix.h: Likewise.
55222 * include/rpc/clnt.h: Likewise.
55223 * include/rpc/des_crypt.h: Likewise.
55224 * include/rpc/key_prot.h: Likewise.
55225 * include/rpc/pmap_clnt.h: Likewise.
55226 * include/rpc/pmap_prot.h: Likewise.
55227 * include/rpc/pmap_rmt.h: Likewise.
55228 * include/rpc/rpc_msg.h: Likewise.
55229 * include/rpc/svc.h: Likewise.
55230 * include/rpc/svc_auth.h: Likewise.
55231 * include/rpc/xdr.h: Likewise.
55232 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55233 * nss/Makefile: Likewise.
55234 * sunrpc/Makefile: Don't install headers. Build library with normal
55235 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55236 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55237 for the compat linking library. Remove use of INTDEF/INTUSE.
55238 * sunrpc/auth_none.c: Likewise.
55239 * sunrpc/auth_unix.c: Likewise.
55240 * sunrpc/authdes_prot.c: Likewise.
55241 * sunrpc/authuxprot.c: Likewise.
55242 * sunrpc/clnt_gen.c: Likewise.
55243 * sunrpc/clnt_perr.c: Likewise.
55244 * sunrpc/clnt_raw.c: Likewise.
55245 * sunrpc/clnt_simp.c: Likewise.
55246 * sunrpc/clnt_tcp.c: Likewise.
55247 * sunrpc/clnt_udp.c: Likewise.
55248 * sunrpc/clnt_unix.c: Likewise.
55249 * sunrpc/des_crypt.c: Likewise.
55250 * sunrpc/des_soft.c: Likewise.
55251 * sunrpc/get_myaddr.c: Likewise.
55252 * sunrpc/key_call.c: Likewise.
55253 * sunrpc/key_prot.c: Likewise.
55254 * sunrpc/netname.c: Likewise.
55255 * sunrpc/pm_getmaps.c: Likewise.
55256 * sunrpc/pm_getport.c: Likewise.
55257 * sunrpc/pmap_clnt.c: Likewise.
55258 * sunrpc/pmap_prot.c: Likewise.
55259 * sunrpc/pmap_prot2.c: Likewise.
55260 * sunrpc/pmap_rmt.c: Likewise.
55261 * sunrpc/publickey.c: Likewise.
55262 * sunrpc/rpc_cmsg.c: Likewise.
55263 * sunrpc/rpc_common.c: Likewise.
55264 * sunrpc/rpc_dtable.c: Likewise.
55265 * sunrpc/rpc_prot.c: Likewise.
55266 * sunrpc/rpc_thread.c: Likewise.
55267 * sunrpc/rtime.c: Likewise.
55268 * sunrpc/svc.c: Likewise.
55269 * sunrpc/svc_auth.c: Likewise.
55270 * sunrpc/svc_authux.c: Likewise.
55271 * sunrpc/svc_raw.c: Likewise.
55272 * sunrpc/svc_run.c: Likewise.
55273 * sunrpc/svc_simple.c: Likewise.
55274 * sunrpc/svc_tcp.c: Likewise.
55275 * sunrpc/svc_udp.c: Likewise.
55276 * sunrpc/svc_unix.c: Likewise.
55277 * sunrpc/svcauth_des.c: Likewise.
55278 * sunrpc/xcrypt.c: Likewise.
55279 * sunrpc/xdr.c: Likewise.
55280 * sunrpc/xdr_array.c: Likewise.
55281 * sunrpc/xdr_float.c: Likewise.
55282 * sunrpc/xdr_intXX_t.c: Likewise.
55283 * sunrpc/xdr_mem.c: Likewise.
55284 * sunrpc/xdr_rec.c: Likewise.
55285 * sunrpc/xdr_ref.c: Likewise.
55286 * sunrpc/xdr_sizeof.c: Likewise.
55287 * sunrpc/xdr_stdio.c: Likewise.
55288
55289 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55290
55291 [BZ #12650]
55292 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55293 * sysdeps/ia64/dl-tls.h: Likewise.
55294 * sysdeps/powerpc/dl-tls.h: Likewise.
55295 * sysdeps/s390/dl-tls.h: Likewise.
55296 * sysdeps/sh/dl-tls.h: Likewise.
55297 * sysdeps/sparc/dl-tls.h: Likewise.
55298 * sysdeps/x86_64/dl-tls.h: Likewise.
55299 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55300
55301 2011-03-14 Andreas Schwab <schwab@redhat.com>
55302
55303 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55304 rpath element also skip the following colon.
55305 (expand_dynamic_string_token): Add is_path parameter and pass
55306 down to DL_DST_REQUIRED and _dl_dst_substitute.
55307 (decompose_rpath): Call expand_dynamic_string_token with
55308 non-zero is_path. Ignore empty rpaths.
55309 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55310 with zero is_path.
55311
55312 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55313
55314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55315 Make cancelable.
55316
55317 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55318
55319 [BZ #12655]
55320 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55321 Patch by Filipe David Manana <fdmanana@apache.org>.
55322
55323 2011-04-07 Andreas Schwab <schwab@redhat.com>
55324
55325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55326 Maintain aligned stack.
55327 (CHECK_RSP): Remove unused macro.
55328
55329 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55330
55331 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55333
55334 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55335
55336 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55337
55338 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55339
55340 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55341
55342 [BZ #12518]
55343 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55344 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55345 * sysdeps/x86_64/memmove.c: New file.
55346 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55347 (memcpy): Renamed to ...
55348 (__new_memcpy): This.
55349 (memcpy): Provide GLIBC_2_14 memcpy.
55350 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55351 (memcpy): Provide GLIBC_2_2_5 memcpy.
55352
55353 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55354
55355 [BZ #12631]
55356 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55357
55358 2011-03-30 Andreas Schwab <schwab@redhat.com>
55359
55360 * misc/syncfs.c: New file.
55361 * misc/Makefile (routines): Add syncfs.
55362 * posix/unistd.h: Declare syncfs.
55363 * sysdeps/unix/syscalls.list: Add syncfs.
55364
55365 2011-04-01 Andreas Schwab <schwab@redhat.com>
55366
55367 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55368 open_by_handle_at.
55369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55374 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55376
55377 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55378
55379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55386
55387 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55388 sync_file_range.c with -fexceptions.
55389 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55390 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55391 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55392 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55393 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55394 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55396 sync_file_range as cancellation point
55397 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55398 now a wrapper around __call_sync_file_range with cancellation handling.
55399 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55400 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55401 function name to __call_sync_file_range.
55402 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55403 Add call_sync_file_range.
55404
55405 2011-04-01 Andreas Schwab <schwab@redhat.com>
55406
55407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55408 bits/timex.h.
55409
55410 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55411
55412 * iconv/iconv.h: Fix typo in comment.
55413 * io/fcntl.h: Likewise.
55414 * libio/stdio.h: Likewise.
55415 * posix/spawn.h: Likewise.
55416 * posix/unistd.h: Likewise.
55417 * stdlib/stdlib.h: Likewise.
55418 * time/time.h: Likewise.
55419 * wcsmbs/wchar.h: Likewise.
55420
55421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55422 open_by_handle): Add.
55423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55424 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55425 Augment a few comments.
55426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55431 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55432 open_by_handle.
55433
55434 * io/fcntl.h (AT_EMPTY_PATH): Define.
55435
55436 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55437
55438 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55439 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55440 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55441 to...
55442 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55443 * Versions.def: Add GLIBC_2.14.
55444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55445 Export.
55446
55447 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55448
55449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55450 round counter.
55451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55452
55453 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55454
55455 [BZ #12597]
55456 * string/test-strncmp.c (do_page_test): New function.
55457 (check2): Likewise.
55458 (test_main): Call check2.
55459 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55460
55461 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55462
55463 [BZ #12587]
55464 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55465 Handle cache information in CPU leaf 4.
55466 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55467
55468 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55469
55470 [BZ #12583]
55471 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55472 character representation.
55473 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55474
55475 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55476
55477 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55478 END(__isnan) to END(__isnanf) to match function entry point/label
55479 EALIGN(__isnanf,...).
55480
55481 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55482
55483 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55484
55485 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55486
55487 [BZ #12510]
55488 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55489 copy from the symbol referenced in the relocation to initialize the
55490 used variable.
55491 Patch by Piotr Bury <pbury@goahead.com>.
55492 * elf/Makefile: Add rules to build and tst-unique3.
55493 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55494 * elf/tst-unique3.cc: New file.
55495 * elf/tst-unique3.h: New file.
55496 * elf/tst-unique3lib.cc: New file.
55497 * elf/tst-unique3lib2.cc: New file.
55498
55499 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55500
55501 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55502
55503 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55504 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55505 to _start.
55506
55507 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55508
55509 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55510 to-be-loaded object along a path to loader is ld.so.
55511
55512 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55513 Ulrich Drepper <drepper@gmail.com>
55514
55515 * sysdeps/x86_64/memset.S: After aligning destination, code
55516 branches to different locations depending on the value of
55517 misalignment, when multiarch is enabled. Fix this.
55518
55519 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55520
55521 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55522 Set _x86_64_preferred_memory_instruction for AMD processsors.
55523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55524 Set bit_Prefer_SSE_for_memop for AMD processors.
55525
55526 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55527
55528 * libio/fmemopen.c (fmemopen): Optimize a bit.
55529
55530 2011-03-03 Andreas Schwab <schwab@redhat.com>
55531
55532 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55533
55534 2011-03-03 Roland McGrath <roland@redhat.com>
55535
55536 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55537
55538 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55539
55540 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55541 __bzero_ultra1 instead of __memset_ultra1.
55542
55543 2011-02-23 Andreas Schwab <schwab@redhat.com>
55544 Ulrich Drepper <drepper@gmail.com>
55545
55546 [BZ #12509]
55547 * include/link.h (struct link_map): Add l_orig_initfini.
55548 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55549 returning unsuccessfully.
55550 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55551 close of a file loaded at startup, restore the original l_initfini
55552 list.
55553 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55554 list, store the pointer.
55555 * elf/Makefile ($(objpfx)noload-mem): New rule.
55556 (noload-ENV): Define.
55557 (tests): Add $(objpfx)noload-mem.
55558 * elf/noload.c: Include <memcheck.h>.
55559 (main): Call mtrace. Close all opened handles.
55560
55561 2011-02-17 Andreas Schwab <schwab@redhat.com>
55562
55563 [BZ #12454]
55564 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55565 dependencies are missing.
55566
55567 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55568
55569 Fix __if_freereq crash: Unlike the generic version which uses free,
55570 Hurd needs munmap.
55571 * sysdeps/mach/hurd/ifreq.h: New file.
55572
55573 2011-01-27 Petr Baudis <pasky@suse.cz>
55574 Ulrich Drepper <drepper@gmail.com>
55575
55576 [BZ 12445]#
55577 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55578 to extend_alloca().
55579 * stdio-common/bug23.c: New file.
55580 * stdio-common/Makefile (tests): Add bug23.
55581
55582 2010-09-28 Andreas Schwab <schwab@redhat.com>
55583 Ulrich Drepper <drepper@gmail.com>
55584
55585 [BZ #12489]
55586 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55587 before performing relro protection. At old place add assertion
55588 to make sure nothing changed.
55589
55590 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55591 Glauber de Oliveira Costa <glommer@gmail.com>
55592
55593 * elf/elf.h: Add new ARM TLS relocs.
55594
55595 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55596
55597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55598 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55599 cast from r3.
55600 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55601 'tests' variable.
55602 * sysdeps/wordsize-64/tst-writev.c: New file.
55603
55604 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55605
55606 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55607 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55608 insns in _dl_start to prevent a TOC reference before relocs are
55609 resolved.
55610
55611 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55612
55613 [BZ #12469]
55614 * Makeconfig: Remove RANLIB definition.
55615 * Makerules: Don't use RANLIB.
55616 * aclocal.m4: Remove ranlib test.
55617 * configure.in: No need to check for ranlib.
55618 * elf/rtld-Rules: Don't use RANLIB.
55619
55620 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55621
55622 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55623 protection macro.
55624 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55625 inclusion protection macro.
55626
55627 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55628 SIGRTMIN and SIGRTMAX and print information in that case only when
55629 SIGRTMIN is defined.
55630
55631 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55632
55633 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55634 arginfo fn returning -1.
55635
55636 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55637 and thousands string is zero terminated.
55638
55639 2011-02-03 Andreas Schwab <schwab@redhat.com>
55640
55641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55642 sysdeps/unix/sysv/linux/bits/socket.h.
55643
55644 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55645
55646 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55647 (__CPU_COUNT): Remove old macros.
55648 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55649 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55650 (__CPU_ALLOC, __CPU_FREE): Add macros.
55651 (__sched_cpualloc, __sched_cpufree): Add declarations.
55652
55653 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55654
55655 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55656 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55657 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55658 (readdhstai): Return value of addhstaiX call.
55659 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55660 (addgrbyX): Return value returned by cache_addgr.
55661 (readdgrbyname): Return value returned by addgrbyX.
55662 (readdgrbygid): Likewise.
55663 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55664 (addpwbyX): Return value returned by cache_addpw.
55665 (readdpwbyname): Return value returned by addhstbyX.
55666 (readdpwbyuid): Likewise.
55667 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55668 (addservbyX): Return value returned by cache_addserv.
55669 (readdservbyname): Return value returned by addservbyX:
55670 (readdservbyport): Likewise.
55671 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55672 (addhstbyX): Return value returned by cache_addhst.
55673 (readdhstbyname): Return value returned by addhstbyX.
55674 (readdhstbyaddr): Likewise.
55675 (readdhstbynamev6): Likewise.
55676 (readdhstbyaddrv6): Likewise.
55677 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55678 (readdinitgroups): Return value returned by addinitgroupsX.
55679 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55680 (prune_cache): Keep track of timeout value of re-added entries.
55681 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55682 * nscd/nscd.h: Adjust prototypes of readd* functions.
55683
55684 2011-02-04 Roland McGrath <roland@redhat.com>
55685
55686 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55687 (nis_stats): Likewise.
55688 * nis/nis_modify.c (nis_modify): Likewise.
55689 * nis/nis_remove.c (nis_remove): Likewise.
55690 * nis/nis_add.c (nis_add): Likewise.
55691
55692 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55693
55694 * posix/fnmatch_loop.c: Add some consts.
55695
55696 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55697
55698 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55699
55700 [BZ #12460]
55701 * config.make.in (config-cflags-novzeroupper): Define.
55702 * configure.in: Substitute libc_cv_cc_novzeroupper.
55703 * elf/Makefile (AVX-CFLAGS): Define.
55704 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55705 (CFLAGS-tst-auditmod4a.c): Likewise.
55706 (CFLAGS-tst-auditmod4b.c): Likewise.
55707 (CFLAGS-tst-auditmod6b.c): Likewise.
55708 (CFLAGS-tst-auditmod6c.c): Likewise.
55709 (CFLAGS-tst-auditmod7b.c): Likewise.
55710 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55711
55712 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55713
55714 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55715 function to the callback.
55716 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55717
55718 2011-02-02 Andreas Schwab <schwab@redhat.com>
55719
55720 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55721 of errno.
55722
55723 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55724
55725 [BZ #11724]
55726 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55727 of constructors.
55728 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55729 of destructors.
55730 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55731
55732 [BZ #11724]
55733 * elf/Makefile: Add rules to build and run new test.
55734 * elf/tst-initorder.c: New file.
55735 * elf/tst-initorder.exp: New file.
55736 * elf/tst-initordera1.c: New file.
55737 * elf/tst-initordera2.c: New file.
55738 * elf/tst-initordera3.c: New file.
55739 * elf/tst-initordera4.c: New file.
55740 * elf/tst-initorderb1.c: New file.
55741 * elf/tst-initorderb2.c: New file.
55742 * elf/tst-order-a1.c: New file.
55743 * elf/tst-order-a2.c: New file.
55744 * elf/tst-order-a3.c: New file.
55745 * elf/tst-order-a4.c: New file.
55746 * elf/tst-order-b1.c: New file.
55747 * elf/tst-order-b2.c: New file.
55748 * elf/tst-order-main.c: New file.
55749 New test case by George Gensure <werkt0@gmail.com>.
55750
55751 2010-10-01 Andreas Schwab <schwab@redhat.com>
55752
55753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55754 decoding ACE if AI_CANONIDN.
55755
55756 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55757
55758 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55759
55760 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55761
55762 * version.h (RELEASE): Bump for 2.13 release.
55763 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55764
55765 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55766
55767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55768 MADV_NOHUGEPAGE.
55769 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55770 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55774 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55775
55776 * posix/getconf.c: Update copyright year.
55777 * catgets/gencat.c: Likewise.
55778 * csu/version.c: Likewise.
55779 * debug/catchsegv.sh: Likewise.
55780 * debug/xtrace.sh: Likewise.
55781 * elf/ldconfig.c: Likewise.
55782 * elf/ldd.bash.in: Likewise.
55783 * elf/sprof.c (print_version): Likewise.
55784 * iconv/iconv_prog.c: Likewise.
55785 * iconv/iconvconfig.c: Likewise.
55786 * locale/programs/locale.c: Likewise.
55787 * locale/programs/localedef.c: Likewise.
55788 * malloc/memusage.sh: Likewise.
55789 * malloc/mtrace.pl: Likewise.
55790 * nscd/nscd.c (print_version): Likewise.
55791 * nss/getent.c: Likewise.
55792
55793 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55794 PF_CAIF, and PF_ALG.
55795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55796
55797 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55798
55799 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55800 (modules-names): Use them.
55801 (ifunc-test-modules, ifunc-pie-tests): Define.
55802 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55803 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55804 (test-extras): Likewise.
55805 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55806 $(compile-command.c).
55807 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55808 (all-built-dso): Define.
55809 (check-textrel.out, check-execstack.out): Depend on it.
55810
55811 * configure.in: Don't override --enable-multi-arch.
55812
55813 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55814
55815 [BZ #6812]
55816 * nscd/hstcache.c (tryagain): Define.
55817 (cache_addhst): Return tryagain not notfound for temporary errors.
55818 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55819 failed.
55820
55821 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55822
55823 [BZ #10563]
55824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55825 to make the syscall.
55826 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55827
55828 [BZ #12378]
55829 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55830 and fall back to matching as normal character if the string ends before
55831 the matching ']' is found. This is what POSIX requires.
55832 * posix/testfnm.c: Adjust test result.
55833 * posix/globtest.sh: Adjust test result. Add new test.
55834 * posix/tst-fnmatch.input: Likewise.
55835 * posix/tst-fnmatch2.c: Add new test.
55836
55837 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55838
55839 * elf/Makefile (check-execstack): Revert last change. Depend on
55840 check-execstack.h.
55841 (check-execstack.h): New target.
55842 (generated): Add check-execstack.h.
55843 * elf/check-execstack.c: Include "check-execstack.h".
55844 (main): Revert last change.
55845 (handle_file): Return zero if GNU_STACK is absent and
55846 DEFAULT_STACK_PERMS doesn't include PF_X.
55847
55848 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55849
55850 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55851 in child fails because the descriptor is already closed.
55852 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55853 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55854 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55855
55856 [BZ #12397]
55857 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55858 syscall.
55859
55860 [BZ #10484]
55861 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55862 temporary buffer used to handle multi lookups locally.
55863 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55864
55865 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55866
55867 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55868 loader is ld.so.
55869
55870 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55871
55872 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55873 alignment for SSE2.
55874
55875 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55876
55877 [BZ #12394]
55878 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55879 characters. When rounding increased number of integer digits recompute
55880 number of groups.
55881 * stdio-common/tst-grouping.c: New file.
55882 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55883
55884 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55885
55886 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55887 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55888
55889 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55890 void.
55891 * bits/select.h: Likewise.
55892
55893 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55894
55895 * po/ja.po: Update from translation team.
55896
55897 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55898
55899 [BZ #11155]
55900 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55901 implementation just like for lxstat, fxstatat, et al.
55902
55903 2010-12-27 Jim Meyering <meyering@redhat.com>
55904
55905 [BZ #12348]
55906 * posix/regexec.c (build_trtable): Return failure indication upon
55907 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55908
55909 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55910
55911 [BZ #12201]
55912 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55913 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55916
55917 [BZ #12207]
55918 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55919
55920 [BZ #12204]
55921 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55922 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55923
55924 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55925
55926 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55927 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55928 script has SORT_BY_INIT_PRIORITY.
55929 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55930 NO_CTORS_DTORS_SECTIONS is defined.
55931 * elf/soinit.c: Likewise.
55932 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55933 NO_CTORS_DTORS_SECTIONS is defined.
55934 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55935 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55936 * sysdeps/sh/init-first.c: Likewise.
55937 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55938
55939 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55940
55941 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55942 always use the slow path.
55943
55944 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55945
55946 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55947 similar rule which adds the sysdep directories to the header search in
55948 order to pick up the correct platform stackinfo.h.
55949 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55950 perform test if it is, otherwise return successfully without testing.
55951 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55952 DEFAULT_STACK_PERMS define in stackinfo.h.
55953 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55954 defined in stackinfo.h.
55955 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55956 DEFAULT_STACK_PERMS defined in stackinfo.h.
55957 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55958 * sysdeps/ia64/stackinfo.h: Likewise.
55959 * sysdeps/s390/stackinfo.h: Likewise.
55960 * sysdeps/sh/stackinfo.h: Likewise.
55961 * sysdeps/sparc/stackinfo.h: Likewise.
55962 * sysdeps/x86_64/stackinfo.h: Likewise.
55963 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55964 PF_X for powerpc64. Retain PF_X for powerpc32.
55965
55966 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55967
55968 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55969 accurately.
55970 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55971 GETDENTS_64BIT_ALIGNED.
55972
55973 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55974
55975 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55976
55977 2010-12-10 Andreas Schwab <schwab@redhat.com>
55978
55979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55980 _GNU_SOURCE.
55981
55982 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55983 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55984 Remove __restrict.
55985 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55986 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55987
55988 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55989
55990 [BZ #11655]
55991 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55992 are initialized.
55993
55994 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55995
55996 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55997
55998 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55999
56000 * po/it.po: Update from translation team.
56001
56002 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56003
56004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56005 unused codes.
56006
56007 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56008
56009 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56010
56011 2010-11-24 Andreas Schwab <schwab@redhat.com>
56012
56013 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56014 specially.
56015 (gaih_getanswer_slice): Likewise.
56016
56017 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56018
56019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56020
56021 2010-05-31 Petr Baudis <pasky@suse.cz>
56022
56023 [BZ #11149]
56024 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56025 silently even in the chroot mode.
56026
56027 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56028
56029 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56030 last patch a bit. Pretty printing
56031
56032 2010-05-31 Petr Baudis <pasky@suse.cz>
56033
56034 [BZ #10085]
56035 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56036 initialization of skip_initgroups_dyn.
56037
56038 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56039
56040 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56041 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56042
56043 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56044
56045 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56046
56047 2010-11-11 Andreas Schwab <schwab@redhat.com>
56048
56049 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56050 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56051 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56052 ($(objpfx)tst-fnmatch-mem): New rule.
56053 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56054 * posix/tst-fnmatch.c (main): Call mtrace.
56055
56056 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56057
56058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56059 Support Intel processor model 6 and model 0x2c.
56060
56061 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56062
56063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56064 signed comparison.
56065
56066 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56067
56068 [BZ #12205]
56069 * string/test-strncasecmp.c (check_result): New function.
56070 (do_one_test): Use it.
56071 (check1): New function.
56072 (test_main): Use it.
56073 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56074 Support strcasecmp and strncasecmp.
56075
56076 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56077
56078 [BZ #12194]
56079 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56081
56082 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56083
56084 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56085 IFUNC support.
56086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56087 memset-x86-64.
56088 * sysdeps/x86_64/multiarch/bzero.S: New file.
56089 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56090 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56091 * sysdeps/x86_64/multiarch/memset.S: New file.
56092 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56094 Set bit_Prefer_SSE_for_memop for Intel processors.
56095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56096 Define.
56097 (index_Prefer_SSE_for_memop): Define.
56098 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56099
56100 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56101
56102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56103 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56104
56105 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56106
56107 [BZ #12191]
56108 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56109 (__x86_64_raw_data_cache_size_half): Likewise.
56110 (__x86_64_raw_shared_cache_size): Likewise.
56111 (__x86_64_raw_shared_cache_size_half): Likewise.
56112
56113 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56114 (__x86_64_raw_data_cache_size_half): Likewise.
56115 (__x86_64_raw_shared_cache_size): Likewise.
56116 (__x86_64_raw_shared_cache_size_half): Likewise.
56117 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56118 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56119 and __x86_64_raw_shared_cache_size_half. Round
56120 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56121 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56122 to multiple of 256 bytes.
56123
56124 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56125
56126 [BZ #12167]
56127 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56128 of inacessible symlinks. Verify result of symlink before returning it.
56129 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56130 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56131
56132 2010-10-28 Erich Ritz <erichritz@gmail.com>
56133
56134 * math/math.h (isinf): Fix typo in comment.
56135
56136 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56137
56138 * po/da.po: Update from translation team.
56139
56140 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56141
56142 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56143 is added to the list.
56144
56145 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56146 Ulrich Drepper <drepper@gmail.com>
56147
56148 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56149 the global list here. Move code to...
56150 (_dl_add_to_namespace_list): ...here. New function.
56151 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56152 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56153 * elf/dl-load.c (lose): Don't remove the element from the list.
56154 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56155 (_dl_map_object): Likewise.
56156
56157 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56158
56159 [BZ #12159]
56160 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56161 into all bytes of SSE register.
56162 Patch by Richard Li <richardpku@gmail.com>.
56163
56164 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56165
56166 [BZ #12140]
56167 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56168 perturbing.
56169
56170 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56171
56172 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56173 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56174 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56175 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56177 submachine.
56178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56179
56180 2010-10-22 Andreas Schwab <schwab@redhat.com>
56181
56182 * include/dlfcn.h (__RTLD_SECURE): Define.
56183 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56184 mode & __RTLD_SECURE instead.
56185 (open_path): Rename preloaded parameter to secure.
56186 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56187 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56188 * elf/dl-deps.c (openaux): Likewise.
56189 * elf/rtld.c (struct map_args): Remove is_preloaded.
56190 (map_doit): Don't use it.
56191 (dl_main): Likewise.
56192 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56193 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56194
56195 2010-09-09 Andreas Schwab <schwab@redhat.com>
56196
56197 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56198 (sysd-rules-targets): Remove duplicates.
56199 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56200 rtld-%.$o dependency.
56201
56202 2010-10-18 Andreas Schwab <schwab@redhat.com>
56203
56204 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56205 _dl_map_object do it.
56206
56207 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56208
56209 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56210 fast fma builtins, define the macros in the C99 standard.
56211 (FP_FAST_FMAF): Likewise.
56212 (FP_FAST_FMAL): Likewise.
56213 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56214
56215 * bits/mathdef.h: Update copyright year.
56216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56217
56218 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56219
56220 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56221 builtins, define the macros in the C99 standard.
56222 (FP_FAST_FMAF): Likewise.
56223 (FP_FAST_FMAL): Likewise.
56224 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56225 multiply/add.
56226 (FP_FAST_FMAF): Likewise.
56227
56228 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56229
56230 [BZ #3268]
56231 * math/libm-test.inc (fma_test): Some new testcases.
56232 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56234 y and infinite z. Do multiplication by C already in long double.
56235 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56237 y and infinite z. Do bitwise or of inexact bit into u.d.
56238 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56239 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56240 * sysdeps/i386/fpu/s_fma.S: Removed.
56241 * sysdeps/i386/fpu/s_fmal.S: Removed.
56242
56243 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56244
56245 [BZ #3268]
56246 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56248 computation is not scheduled after fetestexcept. Fix value
56249 of minimum denormal long double.
56250
56251 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56252
56253 [BZ #3268]
56254 * math/libm-test.inc (fma_test): Add some more tests.
56255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56256 correctly.
56257
56258 2010-10-15 Andreas Schwab <schwab@redhat.com>
56259
56260 * scripts/data/localplt-s390-linux-gnu.data: New file.
56261 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56262
56263 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56264
56265 [BZ #3268]
56266 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56267 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56268 instead of dbl-64.
56269 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56270 inlines.
56271 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56273 if one of x and y is very large and the other is subnormal.
56274 * sysdeps/s390/fpu/s_fmaf.c: New file.
56275 * sysdeps/s390/fpu/s_fma.c: New file.
56276 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56277 * sysdeps/powerpc/fpu/s_fma.S: New file.
56278 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56279 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56280 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56281
56282 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56283
56284 [BZ #3268]
56285 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56286 fma tests.
56287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56288 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56289 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56290 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56291 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56292 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56293 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56294
56295 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56296
56297 [BZ #12078]
56298 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56299 * posix/bug-regex31.input: Add test case.
56300
56301 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56302
56303 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56304 * posix/bug-regex31.input: New file.
56305
56306 [BZ #12078]
56307 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56308 (parse_sub_exp): Fix last change, use postorder.
56309
56310 * posix/bug-regex31.c: New file.
56311 * posix/Makefile: Add rules to build and run bug-regex31.
56312
56313 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56314
56315 [BZ #12078]
56316 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56317
56318 [BZ #12108]
56319 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56320 to have entries in sys_siglist.
56321
56322 [BZ #12093]
56323 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56324 be NULL.
56325
56326 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56327
56328 [BZ #3268]
56329 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56330 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56331 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56332 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56333 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56334 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56335 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56336 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56337 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56338 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56339 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56340 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56341 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56342 * math/ftestexcept.c (fetestexcept): Likewise.
56343 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56344 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56345 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56346 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56347 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56348 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56350
56351 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56352
56353 [BZ #12107]
56354 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56355 newline.
56356
56357 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56358
56359 * string/bug-strstr1.c: New file.
56360 * string/Makefile: Add rules to build and run bug-strstr1.
56361
56362 2010-10-05 Eric Blake <eblake@redhat.com>
56363
56364 [BZ #12092]
56365 * string/str-two-way.h (two_way_long_needle): Always clear memory
56366 when skipping input due to the shift table.
56367
56368 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56369
56370 [BZ #12005]
56371 * malloc/mcheck.c: Handle large requests.
56372
56373 [BZ #12077]
56374 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56375 for strncmp and strncasecmp.
56376 * string/stratcliff.c: Add tests for strcmp and strncmp.
56377 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56378
56379 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56380
56381 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56382 __set_fpscr.
56383
56384 2010-09-30 Andreas Jaeger <aj@suse.de>
56385
56386 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56387 (CGROUP_SUPER_MAGIC): Define.
56388 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56389 Handle btrfs and cgroup file systems.
56390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56391 Likewise.
56392
56393 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56394
56395 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56396 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56397
56398 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56399
56400 [BZ #12067]
56401 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56402 trying to locate the ELF header.
56403
56404 2010-09-27 Andreas Schwab <schwab@redhat.com>
56405
56406 [BZ #11611]
56407 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56408 Mask out sign-bit copies when constructing f_fsid.
56409
56410 2010-09-24 Petr Baudis <pasky@suse.cz>
56411
56412 * debug/stack_chk_fail_local.c: Add missing licence exception.
56413 * debug/warning-nop.c: Likewise.
56414
56415 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56416
56417 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56418 implementing getdents64 using getdents syscall, set d_type if
56419 __ASSUME_GETDENTS32_D_TYPE.
56420
56421 2010-09-16 Andreas Schwab <schwab@redhat.com>
56422
56423 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56424 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56425
56426 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56427
56428 [BZ #12037]
56429 * posix/unistd.h: Undo change of feature selection for ftruncate from
56430 2010-01-11.
56431
56432 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56433
56434 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56435 detection.
56436
56437 2010-09-20 Andreas Schwab <schwab@redhat.com>
56438
56439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56440 fanotify_mark.
56441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56442
56443 2010-09-14 Andreas Schwab <schwab@redhat.com>
56444
56445 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56446 variables after CHECK_SP call.
56447 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56448
56449 2010-09-13 Andreas Schwab <schwab@redhat.com>
56450 Ulrich Drepper <drepper@redhat.com>
56451
56452 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56453 re-relocationg ld.so.
56454 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56455 _dl_init_paths call.
56456 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56457 here anymore.
56458
56459 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56460
56461 * resolv/res_init.c (__res_vinit): Count the default server we added.
56462
56463 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56464 Ulrich Drepper <drepper@redhat.com>
56465
56466 [BZ #11968]
56467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56468 (____longjmp_chk): Use %ebx for saving value across system call.
56469 Add unwind info.
56470
56471 2010-09-06 Andreas Schwab <schwab@redhat.com>
56472
56473 * manual/Makefile: Don't mix pattern rules with normal rules.
56474
56475 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56476
56477 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56478 operation.
56479 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56480 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56481 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56482 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56484 Likewise.
56485
56486 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56487
56488 [BZ #11979]
56489 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56490 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56491
56492 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56493
56494 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56495 * sysdeps/x86_64/addmul_1.S: Likewise.
56496 * sysdeps/x86_64/lshift.S: Likewise.
56497 * sysdeps/x86_64/mul_1.S: Likewise.
56498 * sysdeps/x86_64/rshift.S: Likewise.
56499 * sysdeps/x86_64/sub_n.S: Likewise.
56500 * sysdeps/x86_64/submul_1.S: Likewise.
56501
56502 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56503
56504 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56505 Define __sched_param instead of SCHED_* and sched_param when
56506 <bits/sched.h> is included with __need_schedparam defined.
56507 * bits/sched.h [__need_schedparam]
56508 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56509 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56510 (__defined_schedparam): Define to 1.
56511 (__sched_param): New structure, identical to sched_param.
56512 (__need_schedparam): Undefine.
56513
56514 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56515
56516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56517 (epoll_create1): Declare.
56518
56519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56520
56521 2010-08-31 Andreas Schwab <schwab@redhat.com>
56522
56523 [BZ #7066]
56524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56525 shifting retval into place.
56526
56527 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56528
56529 * nis/rpcsvc/nis.h: Update copyright notice.
56530 * nis/rpcsvc/nis.x: Likewise.
56531 * nis/rpcsvc/nis_callback.h: Likewise.
56532 * nis/rpcsvc/nis_callback.x: Likewise.
56533 * nis/rpcsvc/nis_object.x: Likewise.
56534 * nis/rpcsvc/nis_tags.h: Likewise.
56535 * nis/rpcsvc/yp.h: Likewise.
56536 * nis/rpcsvc/yp.x: Likewise.
56537 * nis/rpcsvc/ypupd.h: Likewise.
56538 * nis/yp_xdr.c: Likewise.
56539 * nis/ypupdate_xdr.c: Likewise.
56540
56541 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56542 mainly the body of pmap_getport. Add parameters to specify timeouts.
56543 (pmap_getport): Use __libc_rpc_getport.
56544 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56545 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56546 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56547
56548 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56549
56550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56551 fanotify_mark.
56552
56553 2010-08-27 Roland McGrath <roland@redhat.com>
56554
56555 * sysdeps/i386/i686/multiarch/Makefile
56556 (CFLAGS-varshift.c): New variable.
56557
56558 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56559
56560 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56561 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56562
56563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56564
56565 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56566
56567 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56568
56569 * sysdeps/x86_64/strlen.S: Unroll the loop.
56570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56571 strlen-sse2 strlen-sse2-bsf.
56572 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56573 __strlen_no_bsf if bit_Slow_BSF is set.
56574 (__strlen_sse42): Removed.
56575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56576 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56577
56578 2010-08-25 Roland McGrath <roland@redhat.com>
56579
56580 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56581 * sysdeps/x86_64/multiarch/varshift.c: New file.
56582 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56583 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56584 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56586
56587 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56588
56589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56590 strlen-sse2 strlen-sse2-bsf.
56591 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56592 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56593 (__strlen_sse2): Removed.
56594 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56597 bit_Slow_BSF for Atom.
56598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56599 (index_Slow_BSF): Define.
56600 (HAS_SLOW_BSF): Define.
56601
56602 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56603
56604 [BZ #10851]
56605 * resolv/res_init.c (__res_vinit): When no server address at all
56606 is given default to loopback.
56607
56608 2010-08-24 Roland McGrath <roland@redhat.com>
56609
56610 * configure.in: Remove config-name.h generation.
56611 * configure: Regenerated.
56612 * config-name.in: File removed.
56613 * scripts/config-uname.sh: New file.
56614 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56615 ($(objdir)config-name.h): New target.
56616
56617 * sunrpc/rpc_parse.h: Avoid nested comment.
56618
56619 2010-08-24 Richard Henderson <rth@redhat.com>
56620 Ulrich Drepper <drepper@redhat.com>
56621 H.J. Lu <hongjiu.lu@intel.com>
56622
56623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56625 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56626 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56627 _mm_alignr_epi8 with _mm_loadu_si128.
56628 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56629 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56630 (__m128i_shift_right): Removed.
56631 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56632 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56633 * sysdeps/x86_64/multiarch/varshift.h: New file.
56634 * sysdeps/x86_64/multiarch/varshift.S: New file.
56635
56636 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56637
56638 * configure.in: Move assembler checks to before sysdep dir checking.
56639
56640 2010-08-20 Petr Baudis <pasky@suse.cz>
56641
56642 * LICENSES: Sync the sunrpc license.
56643
56644 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56645
56646 * sunrpc/auth_des.c: Update copyright notice once again.
56647 * sunrpc/auth_none.c: Likewise.
56648 * sunrpc/auth_unix.c: Likewise.
56649 * sunrpc/authdes_prot.c: Likewise.
56650 * sunrpc/authuxprot.c: Likewise.
56651 * sunrpc/bindrsvprt.c: Likewise.
56652 * sunrpc/clnt_gen.c: Likewise.
56653 * sunrpc/clnt_perr.c: Likewise.
56654 * sunrpc/clnt_raw.c: Likewise.
56655 * sunrpc/clnt_simp.c: Likewise.
56656 * sunrpc/clnt_tcp.c: Likewise.
56657 * sunrpc/clnt_udp.c: Likewise.
56658 * sunrpc/clnt_unix.c: Likewise.
56659 * sunrpc/des_crypt.c: Likewise.
56660 * sunrpc/des_soft.c: Likewise.
56661 * sunrpc/get_myaddr.c: Likewise.
56662 * sunrpc/getrpcport.c: Likewise.
56663 * sunrpc/key_call.c: Likewise.
56664 * sunrpc/key_prot.c: Likewise.
56665 * sunrpc/openchild.c: Likewise.
56666 * sunrpc/pm_getmaps.c: Likewise.
56667 * sunrpc/pm_getport.c: Likewise.
56668 * sunrpc/pmap_clnt.c: Likewise.
56669 * sunrpc/pmap_prot.c: Likewise.
56670 * sunrpc/pmap_prot2.c: Likewise.
56671 * sunrpc/pmap_rmt.c: Likewise.
56672 * sunrpc/rpc/auth.h: Likewise.
56673 * sunrpc/rpc/auth_unix.h: Likewise.
56674 * sunrpc/rpc/clnt.h: Likewise.
56675 * sunrpc/rpc/des_crypt.h: Likewise.
56676 * sunrpc/rpc/key_prot.h: Likewise.
56677 * sunrpc/rpc/netdb.h: Likewise.
56678 * sunrpc/rpc/pmap_clnt.h: Likewise.
56679 * sunrpc/rpc/pmap_prot.h: Likewise.
56680 * sunrpc/rpc/pmap_rmt.h: Likewise.
56681 * sunrpc/rpc/rpc.h: Likewise.
56682 * sunrpc/rpc/rpc_des.h: Likewise.
56683 * sunrpc/rpc/rpc_msg.h: Likewise.
56684 * sunrpc/rpc/svc.h: Likewise.
56685 * sunrpc/rpc/svc_auth.h: Likewise.
56686 * sunrpc/rpc/types.h: Likewise.
56687 * sunrpc/rpc/xdr.h: Likewise.
56688 * sunrpc/rpc_clntout.c: Likewise.
56689 * sunrpc/rpc_cmsg.c: Likewise.
56690 * sunrpc/rpc_common.c: Likewise.
56691 * sunrpc/rpc_cout.c: Likewise.
56692 * sunrpc/rpc_dtable.c: Likewise.
56693 * sunrpc/rpc_hout.c: Likewise.
56694 * sunrpc/rpc_main.c: Likewise.
56695 * sunrpc/rpc_parse.c: Likewise.
56696 * sunrpc/rpc_parse.h: Likewise.
56697 * sunrpc/rpc_prot.c: Likewise.
56698 * sunrpc/rpc_sample.c: Likewise.
56699 * sunrpc/rpc_scan.c: Likewise.
56700 * sunrpc/rpc_scan.h: Likewise.
56701 * sunrpc/rpc_svcout.c: Likewise.
56702 * sunrpc/rpc_tblout.c: Likewise.
56703 * sunrpc/rpc_util.c: Likewise.
56704 * sunrpc/rpc_util.h: Likewise.
56705 * sunrpc/rpcinfo.c: Likewise.
56706 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56707 * sunrpc/rpcsvc/key_prot.x: Likewise.
56708 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56709 * sunrpc/rpcsvc/mount.x: Likewise.
56710 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56711 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56712 * sunrpc/rpcsvc/rex.x: Likewise.
56713 * sunrpc/rpcsvc/rstat.x: Likewise.
56714 * sunrpc/rpcsvc/rusers.x: Likewise.
56715 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56716 * sunrpc/rpcsvc/spray.x: Likewise.
56717 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56718 * sunrpc/rtime.c: Likewise.
56719 * sunrpc/svc.c: Likewise.
56720 * sunrpc/svc_auth.c: Likewise.
56721 * sunrpc/svc_authux.c: Likewise.
56722 * sunrpc/svc_raw.c: Likewise.
56723 * sunrpc/svc_run.c: Likewise.
56724 * sunrpc/svc_simple.c: Likewise.
56725 * sunrpc/svc_tcp.c: Likewise.
56726 * sunrpc/svc_udp.c: Likewise.
56727 * sunrpc/svc_unix.c: Likewise.
56728 * sunrpc/svcauth_des.c: Likewise.
56729 * sunrpc/xcrypt.c: Likewise.
56730 * sunrpc/xdr.c: Likewise.
56731 * sunrpc/xdr_array.c: Likewise.
56732 * sunrpc/xdr_float.c: Likewise.
56733 * sunrpc/xdr_mem.c: Likewise.
56734 * sunrpc/xdr_rec.c: Likewise.
56735 * sunrpc/xdr_ref.c: Likewise.
56736 * sunrpc/xdr_sizeof.c: Likewise.
56737 * sunrpc/xdr_stdio.c: Likewise.
56738
56739 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56740 handling.
56741
56742 2010-08-19 Andreas Schwab <schwab@redhat.com>
56743
56744 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56745
56746 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56747
56748 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56751 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56752 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56753 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56754 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56755 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56758 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56760 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56762
56763 2010-07-26 Anton Blanchard <anton@samba.org>
56764
56765 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56766 * malloc/arena.c (heap_trim): Likewise.
56767
56768 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56769
56770 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56771 here. Not...
56772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56773 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56774
56775 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56776
56777 * sysdeps/i386/elf/Makefile: New file.
56778
56779 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56780
56781 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56782 from fanotify_init.
56783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56785
56786 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56787
56788 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56789 of strncasecmp_l.
56790 * sysdeps/multiarch/strcmp.S: Likewise.
56791
56792 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56793
56794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56795 strncase_l-nonascii.
56796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56797 Add strncase_l-ssse3.
56798 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56799 * sysdeps/x86_64/strcmp.S: Likewise.
56800 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56801 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56802 * sysdeps/x86_64/strncase.S: New file.
56803 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56804 * sysdeps/x86_64/strncase_l.S: New file.
56805 * string/Makefile (strop-tests): Add strncasecmp.
56806 * string/test-strncasecmp.c: New file.
56807
56808 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56809 warning.
56810
56811 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56812 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56813
56814 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56815
56816 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56817
56818 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56819
56820 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56823
56824 2010-05-01 Alan Modra <amodra@gmail.com>
56825
56826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56827 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56828 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56829 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56830 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56831 tidying. Don't tail-call __sigjmp_save for static lib.
56832 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56833 save location.
56834 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56835 (CALL_MCOUNT): Add eh info, and nop after bl.
56836 (TAIL_CALL_SYSCALL_ERROR): New macro.
56837 (PSEUDO_RET): Use it.
56838 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56839 Correct save location of integer regs and cr.
56840 (_dl_profile_resolve): Correct cr save location. Delete nops
56841 after bl when SHARED. Reduce cfi size a little by better
56842 placement of cfi directives.
56843 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56844 make a stack frame. Instead use parm save area as a temp.
56845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56846 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56848 Don't make a stack frame for parent, use parm save area.
56849 Increase child stack frame to 112 bytes. Don't save unused reg,
56850 and adjust reg usage. Set up cfi on error recovery and
56851 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56853 (__makecontext): Add dummy nop after jump to exit.
56854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56855 Use correct parm save area and cr save, reduce stack frame.
56856 Correct cfi for possible PSEUDO_RET frame setup.
56857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56858 Branch to local label emitted by PSEUDO_RET rather than
56859 __syscall_error.
56860
56861 2010-08-12 Andreas Schwab <schwab@redhat.com>
56862
56863 [BZ #11904]
56864 * locale/programs/locale.c (print_assignment): New function.
56865 (show_locale_vars): Use it.
56866
56867 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56868
56869 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56870 field.
56871 (struct statfs64): Likewise.
56872 (_STATFS_F_FLAGS): Define.
56873 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56875 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56876 (ST_VALID): Define locally.
56877 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56878 __statvfs_getflags, use the provided value.
56879 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56880 __ASSUME_STATFS_F_FLAGS.
56881
56882 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56883
56884 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56885 Add sys/fanotify.h.
56886 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56887 fanotify_mask for GLIBC_2.13.
56888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56889 fanotify_init and fanotify_mark.
56890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56891 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56892
56893 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56894 Add prlimit.
56895 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56896 prlimit64 for GLIBC_2.13.
56897 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56898 prlimit64.
56899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56900 syscall.
56901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56904 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56906 add prlimit alias.
56907 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56908
56909 [BZ #11903]
56910 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56911 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56912
56913 * nss/Makefile: Add rules to build and run tst-nss-test1.
56914 * shlib-versions: Add entry for libnss_test1.
56915 * nss/nss_test1.c: New file.
56916 * nss/tst-nss-test1.c: New file.
56917
56918 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56919 (__nss_configure_lookup): Set appropriate entry in
56920 __nss_configure_lookup to true.
56921 * nss/nsswitch.h: Define enum with indeces of databases in
56922 databases and __nss_database_custom arrays. Declare
56923 __nss_database_custom.
56924 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56925 to avoid using nscd when custom rules are installed.
56926 * nss/getXXbyYY_r.c: Likewise.
56927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56928
56929 * nss/nss_files/files-parse.c: Whitespace fixes.
56930
56931 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56932
56933 [BZ #11883]
56934 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56935 * posix/fnmatch_loop.c: Likewise.
56936
56937 2010-07-17 Andi Kleen <ak@linux.intel.com>
56938
56939 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56940 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56941 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56942 * Versions.def [GLIBC_2.13]: Add.
56943
56944 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56945
56946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56947 Also fail if tpwd after pwuid call is NULL.
56948
56949 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56950
56951 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56952 when converting to ms.
56953
56954 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56955
56956 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56957 EOPNOTSUPP errors with ENOTTY.
56958 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56959 EOPNOTSUPP errors with ENOTTY.
56960
56961 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56962
56963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56964 Add strcasecmp_l-ssse3.
56965 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56966 strcasecmp.
56967 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56968 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56969 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56970
56971 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56972
56973 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56974
56975 * string/Makefile (strop-tests): Add strcasecmp.
56976 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56977 strcasecmp_l-nonascii.
56978 (gen-as-const-headers): Add locale-defines.sym.
56979 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56980 * sysdeps/x86_64/strcasecmp.S: New file.
56981 * sysdeps/x86_64/strcasecmp_l.S: New file.
56982 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56983 * sysdeps/x86_64/locale-defines.sym: New file.
56984 * string/test-strcasecmp.c: New file.
56985
56986 * string/test-strcasestr.c: Test both ends of the range of characters.
56987 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56988
56989 2010-07-29 Roland McGrath <roland@redhat.com>
56990
56991 [BZ #11856]
56992 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56993
56994 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56995
56996 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56997 for ld.so.
56998
56999 2010-07-27 Andreas Schwab <schwab@redhat.com>
57000
57001 * manual/memory.texi (Malloc Tunable Parameters): Document
57002 M_PERTURB.
57003
57004 2010-07-26 Roland McGrath <roland@redhat.com>
57005
57006 [BZ #11840]
57007 * configure.in (-fgnu89-inline check): Set and substitute
57008 gnu89_inline, not libc_cv_gnu89_inline.
57009 * configure: Regenerated.
57010 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57011
57012 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57013
57014 * string/test-strnlen.c: New file.
57015 * string/Makefile (strop-tests): Add strnlen.
57016 * string/tester.c (test_strnlen): Add a few more test cases.
57017 * string/tst-strlen.c: Better error reporting.
57018
57019 * sysdeps/x86_64/strnlen.S: New file.
57020
57021 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57022
57023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57024 lower-latency instructions.
57025
57026 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57027
57028 * string/test-strcasestr.c: New file.
57029 * string/test-strstr.c: New file.
57030 * string/Makefile (strop-tests): Add strstr and strcasestr.
57031 * string/str-two-way.h: Don't undefine MAX.
57032 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57033
57034 2010-07-21 Andreas Schwab <schwab@redhat.com>
57035
57036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57037 strcasestr-nonascii.
57038 (CFLAGS-strcasestr-nonascii.c): Define.
57039 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57041 Remove unused attribute.
57042
57043 2010-07-20 Roland McGrath <roland@redhat.com>
57044
57045 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57046 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57047 ld.so.cache was broken. With it, there is no way to disable dsocaps
57048 like LD_HWCAP_MASK can disable hwcaps.
57049
57050 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57051
57052 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57053
57054 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57055
57056 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57057 call in strcasestr.
57058 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57059 __strcasestr_sse42_nonascii.
57060 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57061 strcasestr-nonascii.c.
57062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57063
57064 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57065
57066 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57070
57071 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57072
57073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57074 fcntl.
57075
57076 2010-07-06 Andreas Schwab <schwab@redhat.com>
57077
57078 [BZ #11577]
57079 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57080 dl_signal_cerror.
57081
57082 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57083
57084 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57085 _PC_PIPE_BUF using F_GETPIPE_SZ.
57086
57087 2010-07-05 Roland McGrath <roland@redhat.com>
57088
57089 * manual/arith.texi (Rounding Functions): Fix rint description
57090 implicit in round description.
57091
57092 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57093
57094 * elf/Makefile: Fix linking for a few tests to make recent linker
57095 happy.
57096
57097 2010-06-30 Andreas Schwab <schwab@redhat.com>
57098
57099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57100 $(common-objpfx)libc_nonshared.a.
57101
57102 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57103
57104 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57105 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57106 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57107 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57108 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57109 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57110 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57111 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57126 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57127 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57128 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57129 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57130 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57131 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57132 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57133 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57134 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57135 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57136 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57137 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57152
57153 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57154
57155 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57156 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57157 * string/memmove.c (memmove): Renamed to ...
57158 (MEMMOVE): ...this. Default to memmove.
57159 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57160 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57161 (END_CHK): Define.
57162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57163 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57164 mempcpy-ssse3-back memmove-ssse3-back.
57165 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57168 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57169 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57170 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57171 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57172 * sysdeps/x86_64/multiarch/memmove.c: New file.
57173 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57174 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57175 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57176 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57177 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57179 Define.
57180 (index_Fast_Copy_Backward): Define.
57181 (HAS_ARCH_FEATURE): Define.
57182 (HAS_FAST_REP_STRING): Define.
57183 (HAS_FAST_COPY_BACKWARD): Define.
57184
57185 2010-06-21 Andreas Schwab <schwab@redhat.com>
57186
57187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57188 Restore proper fallback handling.
57189
57190 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57191
57192 [BZ #11701]
57193 * posix/group_member.c (__group_member): Correct checking loop.
57194
57195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57196 OOM in getpwuid_r correctly. Return error number when the caller
57197 should return, otherwise -1.
57198 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57199 call returning > 0 value.
57200 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57201
57202 2010-06-07 Andreas Schwab <schwab@redhat.com>
57203
57204 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57205 libc_nonshared.a from targets in modules-names.
57206
57207 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57208
57209 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57210 requires it.
57211
57212 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57213
57214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57218
57219 2010-06-02 Andreas Schwab <schwab@redhat.com>
57220
57221 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57222
57223 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57224
57225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57226 and F_GETPIPE_SZ.
57227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57233
57234 2010-06-14 Roland McGrath <roland@redhat.com>
57235
57236 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57237
57238 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57239
57240 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57241 __REDIRECT followed by __THROW.
57242 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57243 * posix/getopt.h (getopt): Likewise.
57244
57245 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57246
57247 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57248 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57249 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57250 in AT_FLAGS.
57251 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57252 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57253
57254 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57255
57256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57257
57258 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57259
57260 [BZ #11640]
57261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57262 Properly check family and model.
57263
57264 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57265
57266 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57267
57268 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57269
57270 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57271
57272 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57273
57274 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57275 symbol reference.
57276
57277 2010-05-19 Andreas Schwab <schwab@redhat.com>
57278
57279 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57280 symbol reference.
57281
57282 2010-05-21 Andreas Schwab <schwab@redhat.com>
57283
57284 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57285 and internal_recvmmsg.
57286 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57287 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57288 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57289 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57290
57291 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57292 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57293 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57294
57295 2010-05-20 Andreas Schwab <schwab@redhat.com>
57296
57297 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57298
57299 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57300
57301 POWER7 optimizations.
57302 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57303 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57304
57305 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57306
57307 * version.h: Update for 2.13 development version.
57308
57309 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57310
57311 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57312 exceptions. Return 0.
57313
57314 2010-05-07 Roland McGrath <roland@redhat.com>
57315
57316 * elf/ldconfig.c (main): Add a const.
57317
57318 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57319
57320 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57321 (args_options): Add no-idn option.
57322 (ahosts_keys_int): Add idn_flags to ai_flags.
57323 (parse_option): Handle 'i' option to clear idn_flags.
57324
57325 * malloc/malloc.c (_int_free): Possible race in the most recently
57326 added check. Only act on the data if no current modification
57327 happened.
57328
57329 See ChangeLog.17 for earlier changes.